Problem installing xorg-server on Tiger

Jeremy Huddleston jeremyhu at macports.org
Mon Feb 2 02:15:58 PST 2009


Ok, after a bit more poking, this seems to be a fairly annoying bug  
with glibtool.

Minimizing any chance of conflict, I have a working build using the  
libtool provided by configure in the tarball, and I have a broken  
build if I replace it with port:glibtool1's glibtool.  The delta  
between the verbose output of the builds is below.  For those not  
willing to go crosseyed looking for the difference, it's just a single  
-Wl,-single_module being added to the linking in the 'broken' build.   
This is not my area of expertise... so if someone could fill me in on  
why that is winding up in LDFLAGS and why it's causing up problems,  
I'd appreciate it...

--- vanilla.log	2009-02-02 02:08:20.000000000 -0800
+++ libtool1.log	2009-02-02 02:02:01.000000000 -0800
@@ -811,7 +811,9 @@ rm -fr .libs/libXfont.lax/libspeedo.a
  mkdir .libs/libXfont.lax/libspeedo.a
  Extracting /opt/local/var/macports/build/_Users_jeremy_src_macports- 
trunk_dports_x11_xorg-libXfont/work/libXfont-1.3.3/src/Speedo/.libs/ 
libspeedo.a
  (cd .libs/libXfont.lax/libspeedo.a && ar x /opt/local/var/macports/ 
build/_Users_jeremy_src_macports-trunk_dports_x11_xorg-libXfont/work/ 
libXfont-1.3.3/src/Speedo/.libs/libspeedo.a)
-/usr/bin/gcc-4.0 -dynamiclib  -o .libs/libXfont.1.4.1.dylib  .libs/ 
dummy.o  .libs/libXfont.lax/libfontfile.a/bitsource.o .libs/ 
libXfont.lax/libfontfile.a/bufio.o .libs/libXfont.lax/libfontfile.a/ 
catalogue.o .libs/libXfont.lax/libfontfile.a/decompress.o .libs/ 
libXfont.lax/libfontfile.a/defaults.o .libs/libXfont.lax/libfontfile.a/ 
dirfile.o .libs/libXfont.lax/libfontfile.a/ffcheck.o .libs/ 
libXfont.lax/libfontfile.a/fileio.o .libs/libXfont.lax/libfontfile.a/ 
filewr.o .libs/libXfont.lax/libfontfile.a/fontdir.o .libs/libXfont.lax/ 
libfontfile.a/fontencc.o .libs/libXfont.lax/libfontfile.a/ 
fontfile.o .libs/libXfont.lax/libfontfile.a/fontscale.o .libs/ 
libXfont.lax/libfontfile.a/gunzip.o .libs/libXfont.lax/libfontfile.a/ 
printerfont.o .libs/libXfont.lax/libfontfile.a/register.o .libs/ 
libXfont.lax/libfontfile.a/renderers.o  .libs/libXfont.lax/libft.a/ 
ftenc.o .libs/libXfont.lax/libft.a/ftfuncs.o .libs/libXfont.lax/ 
libft.a/fttools.o .libs/libXfont.lax/libft.a/xttcap.o  .libs/ 
libXfont.lax/libbitmap.a/bdfread.o .libs/libXfont.lax/libbitmap.a/ 
bdfutils.o .libs/libXfont.lax/libbitmap.a/bitmap.o .libs/libXfont.lax/ 
libbitmap.a/bitmapfunc.o .libs/libXfont.lax/libbitmap.a/ 
bitmaputil.o .libs/libXfont.lax/libbitmap.a/bitscale.o .libs/ 
libXfont.lax/libbitmap.a/fontink.o .libs/libXfont.lax/libbitmap.a/ 
pcfread.o .libs/libXfont.lax/libbitmap.a/pcfwrite.o .libs/libXfont.lax/ 
libbitmap.a/snfread.o  .libs/libXfont.lax/libbuiltins.a/dir.o .libs/ 
libXfont.lax/libbuiltins.a/file.o .libs/libXfont.lax/libbuiltins.a/ 
fonts.o .libs/libXfont.lax/libbuiltins.a/fpe.o .libs/libXfont.lax/ 
libbuiltins.a/render.o  .libs/libXfont.lax/libfc.a/fsconvert.o .libs/ 
libXfont.lax/libfc.a/fserve.o .libs/libXfont.lax/libfc.a/fsio.o .libs/ 
libXfont.lax/libfc.a/fstrans.o  .libs/libXfont.lax/libutil.a/ 
atom.o .libs/libXfont.lax/libutil.a/fontaccel.o .libs/libXfont.lax/ 
libutil.a/fontnames.o .libs/libXfont.lax/libutil.a/fontutil.o .libs/ 
libXfont.lax/libutil.a/fontxlfd.o .libs/libXfont.lax/libutil.a/ 
format.o .libs/libXfont.lax/libutil.a/miscutil.o .libs/libXfont.lax/ 
libutil.a/patcache.o .libs/libXfont.lax/libutil.a/private.o .libs/ 
libXfont.lax/libutil.a/utilbitmap.o  .libs/libXfont.lax/libstubs.a/ 
cauthgen.o .libs/libXfont.lax/libstubs.a/csignal.o .libs/libXfont.lax/ 
libstubs.a/delfntcid.o .libs/libXfont.lax/libstubs.a/errorf.o .libs/ 
libXfont.lax/libstubs.a/fatalerror.o .libs/libXfont.lax/libstubs.a/ 
findoldfnt.o .libs/libXfont.lax/libstubs.a/fontmod.o .libs/ 
libXfont.lax/libstubs.a/getcres.o .libs/libXfont.lax/libstubs.a/ 
getdefptsize.o .libs/libXfont.lax/libstubs.a/getnewfntcid.o .libs/ 
libXfont.lax/libstubs.a/gettime.o .libs/libXfont.lax/libstubs.a/ 
initfshdl.o .libs/libXfont.lax/libstubs.a/regfpefunc.o .libs/ 
libXfont.lax/libstubs.a/rmfshdl.o .libs/libXfont.lax/libstubs.a/ 
servclient.o .libs/libXfont.lax/libstubs.a/setfntauth.o .libs/ 
libXfont.lax/libstubs.a/stfntcfnt.o .libs/libXfont.lax/libstubs.a/ 
xpstubs.o  .libs/libXfont.lax/libfontcache.a/fontcache.o  .libs/ 
libXfont.lax/libtype1.a/arith.o .libs/libXfont.lax/libtype1.a/ 
curves.o .libs/libXfont.lax/libtype1.a/fontfcn.o .libs/libXfont.lax/ 
libtype1.a/hints.o .libs/libXfont.lax/libtype1.a/lines.o .libs/ 
libXfont.lax/libtype1.a/objects.o .libs/libXfont.lax/libtype1.a/ 
paths.o .libs/libXfont.lax/libtype1.a/regions.o .libs/libXfont.lax/ 
libtype1.a/scanfont.o .libs/libXfont.lax/libtype1.a/spaces.o .libs/ 
libXfont.lax/libtype1.a/t1funcs.o .libs/libXfont.lax/libtype1.a/ 
t1info.o .libs/libXfont.lax/libtype1.a/t1io.o .libs/libXfont.lax/ 
libtype1.a/t1malloc.o .libs/libXfont.lax/libtype1.a/t1snap.o .libs/ 
libXfont.lax/libtype1.a/t1unicode.o .libs/libXfont.lax/libtype1.a/ 
token.o .libs/libXfont.lax/libtype1.a/type1.o .libs/libXfont.lax/ 
libtype1.a/util.o  .libs/libXfont.lax/libspeedo.a/bics-unicode.o .libs/ 
libXfont.lax/libspeedo.a/do_char.o .libs/libXfont.lax/libspeedo.a/ 
do_trns.o .libs/libXfont.lax/libspeedo.a/out_bl2d.o .libs/libXfont.lax/ 
libspeedo.a/out_blk.o .libs/libXfont.lax/libspeedo.a/out_outl.o .libs/ 
libXfont.lax/libspeedo.a/out_scrn.o .libs/libXfont.lax/libspeedo.a/ 
out_util.o .libs/libXfont.lax/libspeedo.a/reset.o .libs/libXfont.lax/ 
libspeedo.a/set_spcs.o .libs/libXfont.lax/libspeedo.a/set_trns.o .libs/ 
libXfont.lax/libspeedo.a/spencode.o .libs/libXfont.lax/libspeedo.a/ 
sperr.o .libs/libXfont.lax/libspeedo.a/spfile.o .libs/libXfont.lax/ 
libspeedo.a/spfont.o .libs/libXfont.lax/libspeedo.a/spfuncs.o .libs/ 
libXfont.lax/libspeedo.a/spglyph.o .libs/libXfont.lax/libspeedo.a/ 
spinfo.o   -L/opt/local/lib /opt/local/lib/libfreetype.dylib /opt/ 
local/lib/libz.dylib -lz -lm /opt/local/lib/libfontenc.dylib  -Wl,- 
flat_namespace -Wl,-framework -Wl,CoreServices -Wl,-framework - 
Wl,ApplicationServices -install_name  /opt/local/lib/libXfont.1.dylib - 
compatibility_version 6 -current_version 6.1
+/usr/bin/gcc-4.0 -dynamiclib  -o .libs/libXfont.1.4.1.dylib  .libs/ 
dummy.o  .libs/libXfont.lax/libfontfile.a/bitsource.o .libs/ 
libXfont.lax/libfontfile.a/bufio.o .libs/libXfont.lax/libfontfile.a/ 
catalogue.o .libs/libXfont.lax/libfontfile.a/decompress.o .libs/ 
libXfont.lax/libfontfile.a/defaults.o .libs/libXfont.lax/libfontfile.a/ 
dirfile.o .libs/libXfont.lax/libfontfile.a/ffcheck.o .libs/ 
libXfont.lax/libfontfile.a/fileio.o .libs/libXfont.lax/libfontfile.a/ 
filewr.o .libs/libXfont.lax/libfontfile.a/fontdir.o .libs/libXfont.lax/ 
libfontfile.a/fontencc.o .libs/libXfont.lax/libfontfile.a/ 
fontfile.o .libs/libXfont.lax/libfontfile.a/fontscale.o .libs/ 
libXfont.lax/libfontfile.a/gunzip.o .libs/libXfont.lax/libfontfile.a/ 
printerfont.o .libs/libXfont.lax/libfontfile.a/register.o .libs/ 
libXfont.lax/libfontfile.a/renderers.o  .libs/libXfont.lax/libft.a/ 
ftenc.o .libs/libXfont.lax/libft.a/ftfuncs.o .libs/libXfont.lax/ 
libft.a/fttools.o .libs/libXfont.lax/libft.a/xttcap.o  .libs/ 
libXfont.lax/libbitmap.a/bdfread.o .libs/libXfont.lax/libbitmap.a/ 
bdfutils.o .libs/libXfont.lax/libbitmap.a/bitmap.o .libs/libXfont.lax/ 
libbitmap.a/bitmapfunc.o .libs/libXfont.lax/libbitmap.a/ 
bitmaputil.o .libs/libXfont.lax/libbitmap.a/bitscale.o .libs/ 
libXfont.lax/libbitmap.a/fontink.o .libs/libXfont.lax/libbitmap.a/ 
pcfread.o .libs/libXfont.lax/libbitmap.a/pcfwrite.o .libs/libXfont.lax/ 
libbitmap.a/snfread.o  .libs/libXfont.lax/libbuiltins.a/dir.o .libs/ 
libXfont.lax/libbuiltins.a/file.o .libs/libXfont.lax/libbuiltins.a/ 
fonts.o .libs/libXfont.lax/libbuiltins.a/fpe.o .libs/libXfont.lax/ 
libbuiltins.a/render.o  .libs/libXfont.lax/libfc.a/fsconvert.o .libs/ 
libXfont.lax/libfc.a/fserve.o .libs/libXfont.lax/libfc.a/fsio.o .libs/ 
libXfont.lax/libfc.a/fstrans.o  .libs/libXfont.lax/libutil.a/ 
atom.o .libs/libXfont.lax/libutil.a/fontaccel.o .libs/libXfont.lax/ 
libutil.a/fontnames.o .libs/libXfont.lax/libutil.a/fontutil.o .libs/ 
libXfont.lax/libutil.a/fontxlfd.o .libs/libXfont.lax/libutil.a/ 
format.o .libs/libXfont.lax/libutil.a/miscutil.o .libs/libXfont.lax/ 
libutil.a/patcache.o .libs/libXfont.lax/libutil.a/private.o .libs/ 
libXfont.lax/libutil.a/utilbitmap.o  .libs/libXfont.lax/libstubs.a/ 
cauthgen.o .libs/libXfont.lax/libstubs.a/csignal.o .libs/libXfont.lax/ 
libstubs.a/delfntcid.o .libs/libXfont.lax/libstubs.a/errorf.o .libs/ 
libXfont.lax/libstubs.a/fatalerror.o .libs/libXfont.lax/libstubs.a/ 
findoldfnt.o .libs/libXfont.lax/libstubs.a/fontmod.o .libs/ 
libXfont.lax/libstubs.a/getcres.o .libs/libXfont.lax/libstubs.a/ 
getdefptsize.o .libs/libXfont.lax/libstubs.a/getnewfntcid.o .libs/ 
libXfont.lax/libstubs.a/gettime.o .libs/libXfont.lax/libstubs.a/ 
initfshdl.o .libs/libXfont.lax/libstubs.a/regfpefunc.o .libs/ 
libXfont.lax/libstubs.a/rmfshdl.o .libs/libXfont.lax/libstubs.a/ 
servclient.o .libs/libXfont.lax/libstubs.a/setfntauth.o .libs/ 
libXfont.lax/libstubs.a/stfntcfnt.o .libs/libXfont.lax/libstubs.a/ 
xpstubs.o  .libs/libXfont.lax/libfontcache.a/fontcache.o  .libs/ 
libXfont.lax/libtype1.a/arith.o .libs/libXfont.lax/libtype1.a/ 
curves.o .libs/libXfont.lax/libtype1.a/fontfcn.o .libs/libXfont.lax/ 
libtype1.a/hints.o .libs/libXfont.lax/libtype1.a/lines.o .libs/ 
libXfont.lax/libtype1.a/objects.o .libs/libXfont.lax/libtype1.a/ 
paths.o .libs/libXfont.lax/libtype1.a/regions.o .libs/libXfont.lax/ 
libtype1.a/scanfont.o .libs/libXfont.lax/libtype1.a/spaces.o .libs/ 
libXfont.lax/libtype1.a/t1funcs.o .libs/libXfont.lax/libtype1.a/ 
t1info.o .libs/libXfont.lax/libtype1.a/t1io.o .libs/libXfont.lax/ 
libtype1.a/t1malloc.o .libs/libXfont.lax/libtype1.a/t1snap.o .libs/ 
libXfont.lax/libtype1.a/t1unicode.o .libs/libXfont.lax/libtype1.a/ 
token.o .libs/libXfont.lax/libtype1.a/type1.o .libs/libXfont.lax/ 
libtype1.a/util.o  .libs/libXfont.lax/libspeedo.a/bics-unicode.o .libs/ 
libXfont.lax/libspeedo.a/do_char.o .libs/libXfont.lax/libspeedo.a/ 
do_trns.o .libs/libXfont.lax/libspeedo.a/out_bl2d.o .libs/libXfont.lax/ 
libspeedo.a/out_blk.o .libs/libXfont.lax/libspeedo.a/out_outl.o .libs/ 
libXfont.lax/libspeedo.a/out_scrn.o .libs/libXfont.lax/libspeedo.a/ 
out_util.o .libs/libXfont.lax/libspeedo.a/reset.o .libs/libXfont.lax/ 
libspeedo.a/set_spcs.o .libs/libXfont.lax/libspeedo.a/set_trns.o .libs/ 
libXfont.lax/libspeedo.a/spencode.o .libs/libXfont.lax/libspeedo.a/ 
sperr.o .libs/libXfont.lax/libspeedo.a/spfile.o .libs/libXfont.lax/ 
libspeedo.a/spfont.o .libs/libXfont.lax/libspeedo.a/spfuncs.o .libs/ 
libXfont.lax/libspeedo.a/spglyph.o .libs/libXfont.lax/libspeedo.a/ 
spinfo.o   -L/opt/local/lib /opt/local/lib/libfreetype.dylib /opt/ 
local/lib/libz.dylib -lz -lm /opt/local/lib/libfontenc.dylib  -Wl,- 
flat_namespace -Wl,-framework -Wl,CoreServices -Wl,-framework - 
Wl,ApplicationServices -install_name  /opt/local/lib/libXfont.1.dylib - 
compatibility_version 6 -current_version 6.1 -Wl,-single_module
+dsymutil .libs/libXfont.1.4.1.dylib || :
+warning: no debug map in executable (-arch ppc)
  (cd .libs && rm -f libXfont.1.dylib && ln -s libXfont.1.4.1.dylib  
libXfont.1.dylib)
  (cd .libs && rm -f libXfont.dylib && ln -s libXfont.1.4.1.dylib  
libXfont.dylib)
  rm -fr .libs/libXfont.lax


On Feb 2, 2009, at 01:20, Jeremy Huddleston wrote:

> Ok, so I played a bit on my Tiger box, and this is a bit odd.  As a  
> workaround for now, you can drop x11/xorg-libXfont to version 1.3.3.
>
> It's weird because if you autoreconf before compiling, this bug is  
> triggered... which means there's something odd happening in libtool  
> somewhere... hrm...
>
>
> On Jan 31, 2009, at 12:46, Simon Ruderich wrote:
>
>> Hi,
>>
>> Today I tried to install xorg-server on my Intel Tiger. The
>> installation worked fine, but when I want to start X11.app in
>> /Applications/MacPorts I get the following error:
>>
>> X11.app: main(): argc=1
>> 	argv[0] = /Applications/MacPorts/X11.app/Contents/MacOS/X11.bin
>> Waiting for startup parameters via Mach IPC.
>> X11.app: Could not connect to server (DISPLAY is not set).   
>> Starting X server.
>> X11.app: Launching /opt/local/bin/startx:
>> 	argv[0] = /bin/sh
>> 	argv[1] = -c
>> 	argv[2] = /opt/local/bin/startx
>> bootstrap_look_up(): 1102l
>> font_cache: Scanning user font directories to generate X11 font  
>> caches
>> font_cache: Updating FC cache
>> /opt/local/bin/font_cache: line 197: /opt/local/bin/fc-cache: No  
>> such file or directory
>> font_cache: Done
>> xauth:  creating new authority file /Users/ 
>> simonruderich/.serverauth.3088
>>
>> X11.app: do_start_x11_server(): argc=6
>> 	argv[0] = /opt/local/bin/X
>> 	argv[1] = :1
>> 	argv[2] = -nolisten
>> 	argv[3] = tcp
>> 	argv[4] = -auth
>> 	argv[5] = /Users/simonruderich/.serverauth.3088
>> X11.app: Debug Info: kKLuchrData failed, trying kKLKCHRData.
>> If you are using a 3rd party keyboard layout, please see http://xquartz.macosforge.org/trac/ticket/154
>> Xquartz starting:
>> X.Org X Server 1.4.2-apple31
>> Build Date: 20090131
>> (EE) XKB: Couldn't open rules file /opt/local/share/X11/xkb/rules/ 
>> base
>> (EE) XKB: Couldn't open rules file /opt/local/share/X11/xkb/rules/ 
>> base
>> Could not init font path element /opt/local/share/fonts/misc/,  
>> removing from list!
>> Could not init font path element /opt/local/share/fonts/TTF/,  
>> removing from list!
>> Could not init font path element /opt/local/share/fonts/OTF,  
>> removing from list!
>> Could not init font path element /opt/local/share/fonts/Type1/,  
>> removing from list!
>> Could not init font path element /opt/local/share/fonts/100dpi/,  
>> removing from list!
>> Could not init font path element /opt/local/share/fonts/75dpi/,  
>> removing from list!
>> Could not init font path element /Library/Fonts, removing from list!
>> Could not init font path element /System/Library/Fonts, removing  
>> from list!
>>
>> Fatal server error:
>> could not open default font 'fixed'
>>  AbortDDX
>> Quitting Xquartz...
>> Xquartz: start_x11_server: (ipc/mig) server died
>> giving up.
>> xinit:  Connection refused (errno 61):  unable to connect to X server
>> xinit:  No such process (errno 3):  Server error.
>>
>> The first error (X11.app: Debug Info: kKLuchrData failed, trying
>> kKLKCHRData.) can be fixed by using a US keyboard layout (I use a
>> German one). But I have no idea how to fix the others.
>>
>> Thanks for your help,
>> Simon
>> -- 
>> + privacy is necessary
>> + using http://gnupg.org
>> + public key id: 0x6115F804EFB33229
>> _______________________________________________
>> macports-dev mailing list
>> macports-dev at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
>
> _______________________________________________
> macports-dev mailing list
> macports-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev



More information about the macports-dev mailing list