[MacPorts] #17763: boost-1.37.0 Configure error: fails to build 64-bit
#17763: boost-1.37.0 Configure error: fails to build 64-bit -------------------------------+-------------------------------------------- Reporter: eborisch@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: boost x86_64 | Port: boost -------------------------------+-------------------------------------------- Building boost for x86_64 fails with : {{{ Command output: error: unrecognized option: --disable-dependency-tracking }}} Possible fix: (any other impacts?) {{{ variant universal { configure.args-delete --disable-dependency-tracking } }}} -- Ticket URL: <http://trac.macports.org/ticket/17763> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17763: boost-1.37.0 Configure error: fails to build 64-bit -------------------------------+-------------------------------------------- Reporter: eborisch@… | Owner: sanchom@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: x86_64 | Port: boost -------------------------------+-------------------------------------------- Changes (by macsforever2000@…): * keywords: boost x86_64 => x86_64 * owner: macports-tickets@… => sanchom@… Comment: Assigning to maintainer. -- Ticket URL: <http://trac.macports.org/ticket/17763#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17763: boost-1.37.0 Configure error: fails to build 64-bit -------------------------------+-------------------------------------------- Reporter: eborisch@… | Owner: sanchom@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: x86_64 | Port: boost -------------------------------+-------------------------------------------- Comment(by jmr@…): That won't work as you're replacing the default universal variant. This would do what you want: {{{ configure.universal_args-delete --disable-dependency-tracking }}} -- Ticket URL: <http://trac.macports.org/ticket/17763#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17763: boost-1.37.0 Configure error: fails to build 64-bit -------------------------------+-------------------------------------------- Reporter: eborisch@… | Owner: sanchom@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: x86_64 | Port: boost -------------------------------+-------------------------------------------- Comment(by eborisch@…): Turns out this successfully builds, but it's not creating 64-bit versions: {{{ MacPro: port echo installed and boost boost @1.37.0_0+darwin_9+universal MacPro: file /opt/local/lib/libboost_*.dylib /opt/local/lib/libboost_date_time-mt.dylib: Mach-O dynamically linked shared library i386 /opt/local/lib/libboost_filesystem-mt.dylib: Mach-O dynamically linked shared library i386 /opt/local/lib/libboost_graph-mt.dylib: Mach-O dynamically linked shared library i386 /opt/local/lib/libboost_iostreams-mt.dylib: Mach-O dynamically linked shared library i386 /opt/local/lib/libboost_math_c99-mt.dylib: Mach-O dynamically linked shared library i386 /opt/local/lib/libboost_math_c99f-mt.dylib: Mach-O dynamically linked shared library i386 /opt/local/lib/libboost_math_c99l-mt.dylib: Mach-O dynamically linked shared library i386 /opt/local/lib/libboost_math_tr1-mt.dylib: Mach-O dynamically linked shared library i386 /opt/local/lib/libboost_math_tr1f-mt.dylib: Mach-O dynamically linked shared library i386 /opt/local/lib/libboost_math_tr1l-mt.dylib: Mach-O dynamically linked shared library i386 /opt/local/lib/libboost_prg_exec_monitor-mt.dylib: Mach-O dynamically linked shared library i386 /opt/local/lib/libboost_program_options-mt.dylib: Mach-O dynamically linked shared library i386 /opt/local/lib/libboost_regex-mt.dylib: Mach-O dynamically linked shared library i386 /opt/local/lib/libboost_serialization-mt.dylib: Mach-O dynamically linked shared library i386 /opt/local/lib/libboost_signals-mt.dylib: Mach-O dynamically linked shared library i386 /opt/local/lib/libboost_system-mt.dylib: Mach-O dynamically linked shared library i386 /opt/local/lib/libboost_thread-mt.dylib: Mach-O dynamically linked shared library i386 /opt/local/lib/libboost_unit_test_framework-mt.dylib: Mach-O dynamically linked shared library i386 /opt/local/lib/libboost_wave-mt.dylib: Mach-O dynamically linked shared library i386 /opt/local/lib/libboost_wserialization-mt.dylib: Mach-O dynamically linked shared library i386 }}} (My universal_archs is set to i386 x86_64) See here for possible resolution: http://www.luxrender.net/forum/viewtopic.php?f=22&t=472#p8274 ... It looks like multiple build passes followed up with lipo may be required. (Ideally only building the subset of architectures requested in universal_archs) Any Portfile wizards out there up to the task? -- Ticket URL: <http://trac.macports.org/ticket/17763#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17763: boost-1.37.0 Configure error: fails to build 64-bit -------------------------------+-------------------------------------------- Reporter: eborisch@… | Owner: sanchom@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: x86_64 | Port: boost -------------------------------+-------------------------------------------- Comment(by dominik@…): Replying to [comment:2 jmr@…]:
That won't work as you're replacing the default universal variant.
I got the same problem, although I just want to build ppc and i386 versions. When I use that statement from above ("configure.universal_args- delete --disable-dependency-tracking"), the error message is: {{{ Error: Error executing universal: can't read "configure.universal_args": no such variable Error: Unable to open port: Error evaluating variants }}} There might be a problem with the "universal_args" and the port version 1.7, for now I just modified the portfile with a pre-configure step: {{{ pre-configure { if {[variant_isset universal]} { configure.args-delete --disable-dependency-tracking } } }}} This compiles without errors, but the result is not universal. For example: {{{ $ file /opt/local/lib/libboost_system-mt.dylib /opt/local/lib/libboost_system-mt.dylib: Mach-O dynamically linked shared library ppc }}} -- Ticket URL: <http://trac.macports.org/ticket/17763#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17763: boost-1.37.0 Configure error: fails to build 64-bit -------------------------------+-------------------------------------------- Reporter: eborisch@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Keywords: x86_64 | Port: boost -------------------------------+-------------------------------------------- Changes (by blb@…): * owner: sanchom@… => macports-tickets@… Comment: (sanchom@ is no longer maintainer) -- Ticket URL: <http://trac.macports.org/ticket/17763#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17763: boost-1.37.0 Configure error: fails to build 64-bit -------------------------------+-------------------------------------------- Reporter: eborisch@… | Owner: nox@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Keywords: x86_64 | Port: boost -------------------------------+-------------------------------------------- Changes (by jmr@…): * owner: macports-tickets@… => nox@… -- Ticket URL: <http://trac.macports.org/ticket/17763#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17763: boost-1.37.0 Configure error: fails to build 64-bit --------------------------------+------------------------------------------- Reporter: eborisch@… | Owner: nox@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: x86_64 Port: boost | --------------------------------+------------------------------------------- Changes (by nox@…): * status: new => closed * resolution: => fixed Comment: Update to 1.39.0_2. -- Ticket URL: <http://trac.macports.org/ticket/17763#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts