[MacPorts] #17763: boost-1.37.0 Configure error: fails to build 64-bit

MacPorts noreply at macports.org
Sat Dec 27 13:52:11 PST 2008


#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


More information about the macports-tickets mailing list