[MacPorts] #18028: xorg-liblbxutil can't build universal
#18028: xorg-liblbxutil can't build universal -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: xorg-liblbxutil -------------------------------------+-------------------------------------- I'm on Mac OS X 10.4.11 Intel with Xcode 2.5 and MacPorts 1.7.0 and cannot build xorg-liblbxutil universal (i386 ppc); see attached log. -- Ticket URL: <http://trac.macports.org/ticket/18028> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18028: xorg-liblbxutil can't build universal -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: xorg-liblbxutil -------------------------------------+-------------------------------------- Description changed by ryandesign@…: Old description:
I'm on Mac OS X 10.4.11 Intel with Xcode 2.5 and MacPorts 1.7.0 and cannot build xorg-liblbxutil universal (i386 ppc); see attached log.
New description: I'm on Mac OS X 10.4.11 Intel with Xcode 2.5 and MacPorts 1.7.0 and cannot build xorg-liblbxutil universal (i386 ppc). It fails with: {{{ ld: common symbols not allowed with MH_DYLIB output format with the -multi_module option }}} See the attached log. -- -- Ticket URL: <http://trac.macports.org/ticket/18028#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18028: xorg-liblbxutil can't build universal -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: xorg-liblbxutil -------------------------------------+-------------------------------------- Comment(by jeremyhu@…): Here on 10.5: {{{ ~/src/macports-trunk/dports/x11/xorg-liblbxutil $ file /opt/local/lib/liblbxutil.dylib /opt/local/lib/liblbxutil.dylib: Mach-O universal binary with 2 architectures /opt/local/lib/liblbxutil.dylib (for architecture ppc7400): Mach-O dynamically linked shared library ppc /opt/local/lib/liblbxutil.dylib (for architecture i386): Mach-O dynamically linked shared library i386 }}} -- Ticket URL: <http://trac.macports.org/ticket/18028#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18028: xorg-liblbxutil can't build universal -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: xorg-liblbxutil -------------------------------------+-------------------------------------- Comment(by ryandesign@…): Perhaps a Tiger-specific problem? Searching Google, I see a suggestion to use -fno-common to fix this. I see these lines in the output: {{{ checking for /usr/bin/gcc-4.0 option to produce PIC... -fno-common checking if /usr/bin/gcc-4.0 PIC flag -fno-common works... no }}} {{{ checking for /usr/bin/g++-4.0 option to produce PIC... -fno-common checking if /usr/bin/g++-4.0 PIC flag -fno-common works... yes }}} But -fno-common isn't actually used to compile, perhaps causing the problem. -- Ticket URL: <http://trac.macports.org/ticket/18028#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18028: xorg-liblbxutil can't build universal -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: xorg-liblbxutil -------------------------------------+-------------------------------------- Comment(by jeremyhu@…): Hmm... can you try: use_autoreconf yes autoreconf.args -fvi Maybe an updated/smarter libtool will fix this... -- Ticket URL: <http://trac.macports.org/ticket/18028#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18028: xorg-liblbxutil can't build universal -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: xorg-liblbxutil -------------------------------------+-------------------------------------- Comment(by ryandesign@…): Replying to [comment:4 jeremyhu@…]:
use_autoreconf yes autoreconf.args -fvi
Yes, that works! Your favorite incantation saves the day yet again :) -- Ticket URL: <http://trac.macports.org/ticket/18028#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18028: xorg-liblbxutil can't build universal --------------------------------------+------------------------------------- Reporter: ryandesign@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: Port: xorg-liblbxutil | --------------------------------------+------------------------------------- Changes (by jeremyhu@…): * status: new => closed * resolution: => fixed Comment: r45445 Thanks. -- Ticket URL: <http://trac.macports.org/ticket/18028#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts