Subject: pkg/29298: xorg-server doesn't build on sparc -current
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <htodd@twofifty.com>
List: pkgsrc-bugs
Date: 02/08/2005 19:27:00
>Number: 29298
>Category: pkg
>Synopsis: xorg-server doesn't build on sparc -current, missing machine/fbio.h?
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Feb 08 19:27:00 +0000 2005
>Originator: H. Todd Fujinaka
>Release: NetBSD 2.99.15
>Organization:
None
>Environment:
System: NetBSD anna 2.99.15 NetBSD 2.99.15 (ANNA) #20: Tue Feb 1 01:25:07 PST 2005 htodd@kerry.i8u.org:/usr/obj/sys/arch/sparc/compile.sparc/ANNA sparc
Architecture: sparc
Machine: sparc
>Description:
Here's the log of where it fails:
making all in programs/Xserver/hw/sun...
rm -f sunInit.o
cc -c -O2 -ansi -Dasm=__asm -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wundef -I. -I../.. -I../../mi -I../../mfb -I../../cfb -I../../cfb32 -I../../include -I/usr/obj/pkg/x11/xorg-server/work.sparc/xc/exports/include/X11 -I/usr/obj/pkg/x11/xorg-server/work.sparc/xc/include/fonts -I/usr/obj/pkg/x11/xorg-server/work.sparc/xc/include/extensions -I/usr/obj/pkg/x11/xorg-server/work.sparc/xc -I/usr/obj/pkg/x11/xorg-server/work.sparc/xc/exports/include -I/usr/obj/pkg/x11/xorg-server/work.sparc/.buildlink/include -DCSRG_BASED -DSHAPE -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP -DXF86BIGFONT -DDPMSExtension -DPIXPRIV -DPANORAMIX -DRENDER -DRANDR -DXFIXES -DDAMAGE -DCOMPOSITE -DXEVIE -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXvExtension -DXFree86Server -DXvMCExtension -DSMART_SCHEDULE -DBUILDDEBUG -DXResExtension -DX_BYTE_ORDER=X_BIG_ENDIAN -DXORG_VERSION_CURRENT="681" -DNDEBUG -DFUNCPROTO=15 -DNARROWPROT!
O -DDDXOSINIT -DMITMISC -DXTEST -DXTRAP -DXSYNC -DXCMISC -DXRECORD -DMITSHM -DBIGREQS -DXF86MISC -DDBE -DDPMSExtension -DEVI -DSCREENSAVER -DXV -DXVMC -DGLXEXT -DGLX_USE_MESA -D__GLX_ALIGN64 -DFONTCACHE -DRES -UXFree86LOADER -UXF86VIDMODE -UXFreeXDGA -UXF86MISC -UXF86DRI -UXF86BIGFONT sunInit.c
In file included from sunInit.c:49:
sun.h:103:29: machine/fbio.h: No such file or directory
In file included from sunInit.c:49:
sun.h:128: warning: function declaration isn't a prototype
sun.h:128: warning: redundant redeclaration of `gettimeofday' in same scope
/usr/include/sys/time.h:240: warning: previous declaration of `gettimeofday'
In file included from sunInit.c:49:
sun.h:161: warning: redundant redeclaration of `monitorResolution' in same scope
../../include/globals.h:18: warning: previous declaration of `monitorResolution'
sun.h:249: warning: function declaration isn't a prototype
sun.h:250: warning: function declaration isn't a prototype
sun.h:261: error: field `info' has incomplete type
sun.h:262: warning: function declaration isn't a prototype
sun.h:349: warning: function declaration isn't a prototype
sun.h:350: warning: function declaration isn't a prototype
sun.h:351: warning: function declaration isn't a prototype
sun.h:352: warning: function declaration isn't a prototype
sunInit.c:186: error: `FBTYPE_LASTPLUSONE' undeclared here (not in a function)
sunInit.c:186: error: conflicting types for `sunFbData'
>How-To-Repeat:
>Fix:
There is a /usr/include/dev/sun/fbio.h. It needs to be fixed in
xc/programs/Xserver/hw/sun/sun.h, and xc/programs/Xserver/hw/sun/constype.h.
There are other problems that I am looking into.
>Unformatted: