Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#31928 closed defect (wontfix)

xorg-server @1.11.1 fails to build on 10.4.11

Reported by: McDutchie (Martijn Dekker) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: tiger Cc:
Port: xorg-server

Description

Complete log attached. The seeminly relevant bit:

:info:build libtool: link: ccache /usr/bin/gcc-4.0 -std=gnu99 -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wformat=2 -Wold-style-definition -Wdeclaration-after-statement -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/opt/local/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I../../../include -I../../../include -I../../../Xext -I../../../damageext -I../../../xfixes -I../../../Xi -I../../../mi -I../../../miext/sync -I../../../miext/shadow -I../../../miext/damage -I../../../render -I../../../randr -I../../../fb -pipe -O2 -arch i386 -DROOTLESS_WORKAROUND -DROOTLESS_SAFEALPHA -DNO_ALLOCA -Objc -Wl,-u -Wl,_miDCInitialize -Wl,-framework -Wl,Carbon -Wl,-framework -Wl,Cocoa -Wl,-framework -Wl,CoreAudio -Wl,-framework -Wl,IOKit -Wl,-framework -Wl,OpenGL -arch i386 -o X11.bin bundle-main.o mach_startupServer.o mach_startupUser.o ../../../dix/.libs/dixfonts.o  -L/opt/local/lib /opt/local/lib/libXfont.dylib /opt/local/lib/libfreetype.dylib -lbz2 /opt/local/lib/libfontenc.dylib -lz -lXplugin ../../../hw/xquartz/.libs/libXquartz.a ../../../hw/xquartz/xpr/.libs/libXquartzXpr.a ../../../miext/rootless/.libs/librootless.a ../../../hw/xquartz/pbproxy/.libs/libxpbproxy.a /opt/local/lib/libAppleWM.dylib /opt/local/lib/libXext.dylib /opt/local/lib/libXfixes.dylib /opt/local/lib/libX11.dylib /opt/local/lib/libxcb.dylib /opt/local/lib/libXau.dylib /opt/local/lib/libXdmcp.dylib ../../../dix/.libs/libmain.a ../../../fb/.libs/libfb.a /opt/local/lib/libpixman-1.dylib -lpthread ../../../xfixes/.libs/libxfixes.a ../../../Xext/.libs/libXext.a ../../../dbe/.libs/libdbe.a ../../../randr/.libs/librandr.a ../../../render/.libs/librender.a ../../../damageext/.libs/libdamageext.a ../../../miext/sync/.libs/libsync.a ../../../miext/damage/.libs/libdamage.a ../../../miext/shadow/.libs/libshadow.a ../../../Xi/.libs/libXi.a ../../../xkb/.libs/libxkb.a ../../../xkb/.libs/libxkbstubs.a ../../../dix/.libs/libdix.a ../../../mi/.libs/libmi.a ../../../os/.libs/libos.a ../../../hw/xquartz/GL/.libs/libCGLCore.a ../../../glx/.libs/libglx.a ../../../record/.libs/librecord.a -lm -framework ApplicationServices
:info:build /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning multiple definitions of symbol _serverGeneration
:info:build ../../../dix/.libs/libdix.a(globals.o) definition of _serverGeneration in section (__DATA,__data)
:info:build /opt/local/lib/libXfont.dylib(miscutil.o) definition of _serverGeneration
:info:build /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: multiple definitions of symbol _ErrorF
:info:build /opt/local/lib/libXfont.dylib(errorf.o) definition of _ErrorF
:info:build ../../../os/.libs/libos.a(log.o) definition of _ErrorF in section (__TEXT,__text)
:info:build /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: multiple definitions of symbol _FatalError
:info:build /opt/local/lib/libXfont.dylib(fatalerror.o) definition of _FatalError
:info:build ../../../os/.libs/libos.a(log.o) definition of _FatalError in section (__TEXT,__text)
:info:build /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: multiple definitions of symbol _MakeAtom
:info:build /opt/local/lib/libXfont.dylib(atom.o) definition of _MakeAtom
:info:build ../../../dix/.libs/libdix.a(atom.o) definition of _MakeAtom in section (__TEXT,__text)
:info:build /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: multiple definitions of symbol _NameForAtom
:info:build /opt/local/lib/libXfont.dylib(atom.o) definition of _NameForAtom
:info:build ../../../dix/.libs/libdix.a(atom.o) definition of _NameForAtom in section (__TEXT,__text)
:info:build /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: multiple definitions of symbol _ValidAtom
:info:build /opt/local/lib/libXfont.dylib(atom.o) definition of _ValidAtom
:info:build ../../../dix/.libs/libdix.a(atom.o) definition of _ValidAtom in section (__TEXT,__text)
:info:build collect2: ld returned 1 exit status
:info:build make[4]: *** [X11.bin] Error 1
:info:build make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_xorg-server/xorg-server/work/xorg-server-1.11.1/hw/xquartz/mach-startup'
:info:build make[3]: *** [all] Error 2
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_xorg-server/xorg-server/work/xorg-server-1.11.1/hw/xquartz/mach-startup'
:info:build make[2]: *** [all-recursive] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_xorg-server/xorg-server/work/xorg-server-1.11.1/hw/xquartz'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_xorg-server/xorg-server/work/xorg-server-1.11.1/hw'
:info:build make: *** [all-recursive] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_xorg-server/xorg-server/work/xorg-server-1.11.1'
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_xorg-server/xorg-server/work/xorg-server-1.11.1" && /usr/bin/make -j2 -w all V=1 " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for xorg-server): org.macports.install org.macports.build org.macports.destroot
:notice:build Log for xorg-server is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_xorg-server/xorg-server/main.log

Attachments (1)

main.log (913.1 KB) - added by McDutchie (Martijn Dekker) 13 years ago.

Download all attachments as: .zip

Change History (6)

Changed 13 years ago by McDutchie (Martijn Dekker)

Attachment: main.log added

comment:1 Changed 13 years ago by McDutchie (Martijn Dekker)

I should add that turning off the ccache makes no difference, still the same link errors are produced.

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

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

comment:3 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: wontfix
Status: newclosed

We don't intentionally break builds on ancient OS versions, but we only support the last two releases (10.6 and 10.7). I don't even test on 10.5 any more, let alone 10.4. If you want to provide a patch, please email it to me (or reopen with an attachment).

comment:4 Changed 13 years ago by ballapete (Peter "Pete" Dyballa)

The same failure happens on PPC:

libtool: link: /usr/bin/gcc-4.0 -std=gnu99 -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wformat=2 -Wold-style-definition -Wdeclaration-after-statement -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/opt/local/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I../../../include -I../../../include -I../../../Xext -I../../../damageext -I../../../xfixes -I../../../Xi -I../../../mi -I../../../miext/sync -I../../../miext/shadow -I../../../miext/damage -I../../../render -I../../../randr -I../../../fb -pipe -O2 -arch ppc -DROOTLESS_WORKAROUND -DROOTLESS_SAFEALPHA -DNO_ALLOCA -Objc -Wl,-u -Wl,_miDCInitialize -Wl,-framework -Wl,Carbon -Wl,-framework -Wl,Cocoa -Wl,-framework -Wl,CoreAudio -Wl,-framework -Wl,IOKit -Wl,-framework -Wl,OpenGL -arch ppc -o X11.bin bundle-main.o mach_startupServer.o mach_startupUser.o ../../../dix/.libs/dixfonts.o  -L/opt/local/lib /opt/local/lib/libXfont.dylib /opt/local/lib/libfreetype.dylib -lbz2 /opt/local/lib/libfontenc.dylib -lz -lXplugin ../../../hw/xquartz/.libs/libXquartz.a ../../../hw/xquartz/xpr/.libs/libXquartzXpr.a ../../../miext/rootless/.libs/librootless.a ../../../hw/xquartz/pbproxy/.libs/libxpbproxy.a /opt/local/lib/libAppleWM.dylib /opt/local/lib/libXext.dylib /opt/local/lib/libXfixes.dylib /opt/local/lib/libX11.dylib /opt/local/lib/libxcb.dylib /opt/local/lib/libXau.dylib /opt/local/lib/libXdmcp.dylib ../../../dix/.libs/libmain.a ../../../fb/.libs/libfb.a /opt/local/lib/libpixman-1.dylib -lpthread ../../../xfixes/.libs/libxfixes.a ../../../Xext/.libs/libXext.a ../../../dbe/.libs/libdbe.a ../../../randr/.libs/librandr.a ../../../render/.libs/librender.a ../../../damageext/.libs/libdamageext.a ../../../miext/sync/.libs/libsync.a ../../../miext/damage/.libs/libdamage.a ../../../miext/shadow/.libs/libshadow.a ../../../Xi/.libs/libXi.a ../../../xkb/.libs/libxkb.a ../../../xkb/.libs/libxkbstubs.a ../../../dix/.libs/libdix.a ../../../mi/.libs/libmi.a ../../../os/.libs/libos.a ../../../hw/xquartz/GL/.libs/libCGLCore.a ../../../glx/.libs/libglx.a ../../../record/.libs/librecord.a -lm -framework ApplicationServices
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning multiple definitions of symbol _serverGeneration
../../../dix/.libs/libdix.a(globals.o) definition of _serverGeneration in section (__DATA,__data)
/opt/local/lib/libXfont.dylib(miscutil.o) definition of _serverGeneration
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of symbol _ErrorF
/opt/local/lib/libXfont.dylib(errorf.o) definition of _ErrorF
../../../os/.libs/libos.a(log.o) definition of _ErrorF in section (__TEXT,__text)
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of symbol _FatalError
/opt/local/lib/libXfont.dylib(fatalerror.o) definition of _FatalError
../../../os/.libs/libos.a(log.o) definition of _FatalError in section (__TEXT,__text)
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of symbol _MakeAtom
/opt/local/lib/libXfont.dylib(atom.o) definition of _MakeAtom
../../../dix/.libs/libdix.a(atom.o) definition of _MakeAtom in section (__TEXT,__text)
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of symbol _NameForAtom
/opt/local/lib/libXfont.dylib(atom.o) definition of _NameForAtom
../../../dix/.libs/libdix.a(atom.o) definition of _NameForAtom in section (__TEXT,__text)
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of symbol _ValidAtom
/opt/local/lib/libXfont.dylib(atom.o) definition of _ValidAtom
../../../dix/.libs/libdix.a(atom.o) definition of _ValidAtom in section (__TEXT,__text)
collect2: ld returned 1 exit status
make[4]: *** [X11.bin] Error 1
make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_xorg-server/xorg-server/work/xorg-server-1.11.1/hw/xquartz/mach-startup'

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

Yep... patches welcome...

Note: See TracTickets for help on using tickets.