[MacPorts] #20913: xorg-server and xorg-server-devel not building under Snow Leopard 10.6

MacPorts noreply at macports.org
Sat Aug 29 21:03:31 PDT 2009


#20913: xorg-server and xorg-server-devel not building under Snow Leopard 10.6
--------------------------------+-------------------------------------------
 Reporter:  phil@…              |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:  1.7.1                                
 Keywords:                      |        Port:                                       
--------------------------------+-------------------------------------------
 From a completely clean macports installation (with XCode 3.2 installed,
 and Snow Leopard 10.6) I request "sudo port -v install xorg-server"

 It installs all prerequisites, but in xorg-server itself, it fails looking
 for xtest.h


 {{{
 Making all in bundle
 /usr/bin/cpp  -DAPPLE_APPLICATION_ID="org.macports.X11"
 -DAPPLE_APPLICATION_NAME="X11"  < Info.plist.cpp | /usr/bin/sed -e '/^#
 *[0-9][0-9]*  *.*$/d' -e '/^#line  *[0-9][0-9]*  *.*$/d' -e '/^[
 ]*XCOMM$/s/XCOMM/#/' -e '/^[    ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[
 ]*XHASH/s/XHASH/#/' -e '/XSLASHGLOB/s/XSLASHGLOB/\/\*/' -e
 '/\@\@$/s/\@\@$/\\/' > Info.plist
 Making all in .
 /bin/sh ../../libtool  --tag=CC   --mode=compile /usr/bin/gcc-4.2
 -DHAVE_CONFIG_H -I. -I../../include  -DBUILD_DATE=\"20090829\"
 -DXSERVER_VERSION=\"1.5.3-apple14\" -DINXQUARTZ -DUSE_NEW_CLUT
 -DXFree86Server -I../../miext/rootless -DX11LIBDIR=\"/opt/local/lib\"
 -I/opt/local/include -I/usr/include
 -I/opt/local/var/macports/sources/rsync.macports.org/release/ports/x11
 /xorg-server/files/dri  -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith
 -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-
 externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN
 -DHAS_STICKY_DIR_BIT -I/opt/local/include -I/opt/local/include/freetype2
 -I/opt/local/include/pixman-1    -I../../include -I../../include
 -I../../Xext  -I../../damageext -I../../xfixes -I../../Xi -I../../mi
 -I../../miext/shadow  -I../../miext/damage -I../../render -I../../randr
 -I../../fb -O2 -arch x86_64 -DROOTLESS_WORKAROUND -DROOTLESS_SAFEALPHA
 -DNO_ALLOCA -MT fbcmap_mi.lo -MD -MP -MF .deps/fbcmap_mi.Tpo -c -o
 fbcmap_mi.lo `test -f '../../fb/fbcmap_mi.c' || echo
 './'`../../fb/fbcmap_mi.c
 /bin/sh ../../libtool  --tag=CC   --mode=compile /usr/bin/gcc-4.2
 -DHAVE_CONFIG_H -I. -I../../include  -DBUILD_DATE=\"20090829\"
 -DXSERVER_VERSION=\"1.5.3-apple14\" -DINXQUARTZ -DUSE_NEW_CLUT
 -DXFree86Server -I../../miext/rootless -DX11LIBDIR=\"/opt/local/lib\"
 -I/opt/local/include -I/usr/include
 -I/opt/local/var/macports/sources/rsync.macports.org/release/ports/x11
 /xorg-server/files/dri  -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith
 -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-
 externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN
 -DHAS_STICKY_DIR_BIT -I/opt/local/include -I/opt/local/include/freetype2
 -I/opt/local/include/pixman-1    -I../../include -I../../include
 -I../../Xext  -I../../damageext -I../../xfixes -I../../Xi -I../../mi
 -I../../miext/shadow  -I../../miext/damage -I../../render -I../../randr
 -I../../fb -O2 -arch x86_64 -DROOTLESS_WORKAROUND -DROOTLESS_SAFEALPHA
 -DNO_ALLOCA -MT miinitext.lo -MD -MP -MF .deps/miinitext.Tpo -c -o
 miinitext.lo `test -f '../../mi/miinitext.c' || echo
 './'`../../mi/miinitext.c
 libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I../../include
 -DBUILD_DATE=\"20090829\" -DXSERVER_VERSION=\"1.5.3-apple14\" -DINXQUARTZ
 -DUSE_NEW_CLUT -DXFree86Server -I../../miext/rootless
 -DX11LIBDIR=\"/opt/local/lib\" -I/opt/local/include -I/usr/include
 -I/opt/local/var/macports/sources/rsync.macports.org/release/ports/x11
 /xorg-server/files/dri -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-
 prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
 -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT
 -I/opt/local/include -I/opt/local/include/freetype2
 -I/opt/local/include/pixman-1 -I../../include -I../../include -I../../Xext
 -I../../damageext -I../../xfixes -I../../Xi -I../../mi
 -I../../miext/shadow -I../../miext/damage -I../../render -I../../randr
 -I../../fb -O2 -arch x86_64 -DROOTLESS_WORKAROUND -DROOTLESS_SAFEALPHA
 -DNO_ALLOCA -MT miinitext.lo -MD -MP -MF .deps/miinitext.Tpo -c
 ../../mi/miinitext.c  -fno-common -DPIC -o .libs/miinitext.o
 libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I../../include
 -DBUILD_DATE=\"20090829\" -DXSERVER_VERSION=\"1.5.3-apple14\" -DINXQUARTZ
 -DUSE_NEW_CLUT -DXFree86Server -I../../miext/rootless
 -DX11LIBDIR=\"/opt/local/lib\" -I/opt/local/include -I/usr/include
 -I/opt/local/var/macports/sources/rsync.macports.org/release/ports/x11
 /xorg-server/files/dri -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-
 prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
 -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT
 -I/opt/local/include -I/opt/local/include/freetype2
 -I/opt/local/include/pixman-1 -I../../include -I../../include -I../../Xext
 -I../../damageext -I../../xfixes -I../../Xi -I../../mi
 -I../../miext/shadow -I../../miext/damage -I../../render -I../../randr
 -I../../fb -O2 -arch x86_64 -DROOTLESS_WORKAROUND -DROOTLESS_SAFEALPHA
 -DNO_ALLOCA -MT fbcmap_mi.lo -MD -MP -MF .deps/fbcmap_mi.Tpo -c
 ../../fb/fbcmap_mi.c  -fno-common -DPIC -o .libs/fbcmap_mi.o
 ../../mi/miinitext.c:179:34: error: X11/extensions/xtest.h: No such file
 or directory
 make[3]: *** [miinitext.lo] Error 1
 make[3]: *** Waiting for unfinished jobs....
 mv -f .deps/fbcmap_mi.Tpo .deps/fbcmap_mi.Plo
 make[2]: *** [all-recursive] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all-recursive] Error 1

 Warning: the following items did not execute (for xorg-server):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 Error: Status 1 encountered during processing.
 23:51:51 ~/dev $

 }}}

 I was able to get it to compile by copying
 /usr/include/X11/extensions/XTest.h (note capitalization)
 to
 /opt/local/include/X11/extensions/xtest.h

-- 
Ticket URL: <http://trac.macports.org/ticket/20913>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list