Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#20913 closed defect (fixed)

Case Sensitivity: xorg-server and xorg-server-devel not building

Reported by: phil@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: xorg-server, xorg-server-devel

Description

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

Change History (7)

comment:1 Changed 15 years ago by skymoo (Adam Mercer)

Owner: changed from macports-tickets@… to jeremyhu@…

comment:2 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Summary: xorg-server and xorg-server-devel not building under Snow Leopard 10.6Case Sensitivity: xorg-server and xorg-server-devel not building

comment:3 Changed 15 years ago by jmroot (Joshua Root)

Port: xorg-server xorg-server-devel added

Are you really running 1.7.1? (Doesn't look like it from the output, but if so, you need 1.8.0 on Snow Leopard.)

comment:4 in reply to:  3 Changed 15 years ago by phil@…

Replying to jmr@…:

Are you really running 1.7.1? (Doesn't look like it from the output, but if so, you need 1.8.0 on Snow Leopard.)

Definitely version 1.8.0. Sorry, I didn't set the version field correctly. I did a clean 10.6 install (not an upgrade). I formatted the hard disk as journaled, case-sensitive before installing, which may be the source of the problem.

comment:5 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Status: newassigned

This is just fallout from the proto header renaming... I must've missed a cherry-pick for that one. If you install the X11 SDK, it should have it under the old name (fix for now). I'll be doing a massive X11 update in MP in the next week (about 25 packages with header renaming, relocating, etc... it's gonna be good fun times...)

comment:6 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: assignedclosed

comment:7 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Please remember, you'll need to 'sudo port -v upgrade outdated' before trying to install xorg-server.

Note: See TracTickets for help on using tickets.