Subject: Trouble building x11/xorg-server on NetBSD-current/amd64
To: None <pkgsrc-users@netbsd.org>
From: Dave Huang <khym@azeotrope.org>
List: pkgsrc-users
Date: 02/25/2006 19:15:52
I was able to build x11/xorg-server a couple months back, but it no
longer builds for me on -current/amd64 with Feb 19th kernel/userland:
cc -O2 -ansi -Dasm=3D__asm -Wall -Wpointer-arith -Wstrict-prototypes -=
Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-=
externs -Wundef -fPIC -I/tmp/x11/xorg-server/work.cheetah/xc/include/font=
s -I../../include -I/tmp/x11/xorg-server/work.cheetah/xc/programs/Xserver/i=
nclude -I/tmp/x11/xorg-server/work.cheetah/xc/exports/include/X11 -I..=
/ -I/tmp/x11/xorg-server/work.cheetah/xc -I/tmp/x11/xorg-server/work.cheet=
ah/xc/exports/include -I/tmp/x11/xorg-server/work.cheetah/.buildlink/inclu=
de -DCSRG_BASED -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTO=
GCUP -DXF86BIGFONT -DDPMSExtension -DXPRINT -DPIXPRIV -DPANORAMIX -DRE=
NDER -DRANDR -DXFIXES -DDAMAGE -DCOMPOSITE -DXEVIE -DGCCUSESGAS -DNDEBUG=
-DFUNCPROTO=3D15 -DNARROWPROTO -DIN_MODULE -DXFree86Module -DFONTMODULE=
-DBDFFORMAT -DSNFFORMAT -DPCFFORMAT -c bitscale.c
bitscale.c: In function `initFontPropTable':
bitscale.c:291: warning: implicit declaration of function `strlen'
bitscale.c: In function `get_matrix_horizontal_component':
bitscale.c:316: warning: implicit declaration of function `hypot'
bitscale.c: In function `ComputeScaleFactors':
bitscale.c:352: warning: implicit declaration of function `fabs'
bitscale.c: In function `FindBestToScale':
bitscale.c:451: error: `HUGE_VAL' undeclared (first use in this function)
bitscale.c:451: error: (Each undeclared identifier is reported only once
bitscale.c:451: error: for each function it appears in.)
bitscale.c:452: warning: implicit declaration of function `memcpy'
bitscale.c: In function `ComputeScaledProperties':
bitscale.c:785: warning: implicit declaration of function `strchr'
bitscale.c: In function `ScaleFont':
bitscale.c:1153: warning: implicit declaration of function `floor'
bitscale.c:1155: warning: implicit declaration of function `ceil'
bitscale.c:1194: warning: implicit declaration of function `abs'
bitscale.c: In function `ScaleBitmap':
bitscale.c:1368: warning: implicit declaration of function `bzero'
bitscale.c:1442: warning: implicit declaration of function `memmove'
bitscale.c: In function `BitmapOpenScalable':
bitscale.c:1900: warning: implicit declaration of function `strcpy'
*** Error code 1
Stop.
make: stopped in /tmp/x11/xorg-server/work.cheetah/xc/lib/font/bitmap/module
*** Error code 1
Stop.
make: stopped in /tmp/x11/xorg-server/work.cheetah/xc/lib/font/bitmap
*** Error code 1
Stop.
make: stopped in /tmp/x11/xorg-server/work.cheetah/xc/lib/font
making all in lib/lbxutil/lbx_zlib...
[ note that it keeps going for a while even after the error ]
[ ... ]
cc -c -O2 -ansi -Dasm=3D__asm -Wall -Wpointer-arith -Wstrict-prototypes =
-Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnest=
ed-externs -Wundef -I. -I../include -I/tmp/x11/xorg-server/work.cheetah/=
xc/exports/include/X11 -I/tmp/x11/xorg-server/work.cheetah/xc/include/exten=
sions -I/tmp/x11/xorg-server/work.cheetah/xc/include/fonts -I../mi -I../r=
ender -I/tmp/x11/xorg-server/work.cheetah/xc/programs/Xserver/hw/xfree86/co=
mmon -I/tmp/x11/xorg-server/work.cheetah/xc/include/fonts -I/tmp/x11/x=
org-server/work.cheetah/xc -I/tmp/x11/xorg-server/work.cheetah/xc/exports/i=
nclude -I/tmp/x11/xorg-server/work.cheetah/.buildlink/include -DCSRG_BASED=
-DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP -DXF86BI=
GFONT -DDPMSExtension -DXPRINT -DPIXPRIV -DPANORAMIX -DRENDER -DRANDR -=
DXFIXES -DDAMAGE -DCOMPOSITE -DXEVIE -DGCCUSESGAS -DNDEBUG -DFUNCPROTO=
=3D15 -DNARROWPROTO -DMITMISC -DXTEST -DXTRAP -DXSYNC -DXCMISC -DXRECORD=
-DMITSHM -DBIGREQS -DXF86VIDMODE -DXF86MISC -DDBE -DDPMSExtension -DEVI =
-DSCREENSAVER -DXV -DXVMC -DGLXEXT -DGLX_USE_MESA -D__GLX_ALIGN64 -DFONT=
CACHE -DRES -DHAS_XVMCSHM xres.c
xres.c: In function `ProcXResQueryClientResources':
xres.c:165: error: `ResourceNames' undeclared (first use in this function)
xres.c:165: error: (Each undeclared identifier is reported only once
xres.c:165: error: for each function it appears in.)
xres.c:168: warning: implicit declaration of function `RegisterResourceName'
*** Error code 1
Stop.
make: stopped in /tmp/x11/xorg-server/work.cheetah/xc/programs/Xserver/Xext
*** Error code 1
Stop.
make: stopped in /tmp/x11/xorg-server/work.cheetah/xc/programs/Xserver
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/x11/xorg-server
=3D=3D=3D>=20
=3D=3D=3D> There was an error during the ``build'' phase.
=3D=3D=3D> Please investigate the following for more information:
=3D=3D=3D> * log of the build
=3D=3D=3D> * /tmp/x11/xorg-server/work.cheetah/.work.log
=3D=3D=3D>=20
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/x11/xorg-server
--=20
Name: Dave Huang | Mammal, mammal / their names are called /
INet: khym@azeotrope.org | they raise a paw / the bat, the cat /
FurryMUCK: Dahan | dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 30 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL=
++