[MacPorts] #21040: apr + universal build fails in Snow Leopard

MacPorts noreply at macports.org
Wed Sep 2 18:17:49 PDT 2009


#21040: apr + universal build fails in Snow Leopard
------------------------------------------+---------------------------------
 Reporter:  njbutko@…                     |       Owner:  macports-tickets@…                   
     Type:  defect                        |      Status:  new                                  
 Priority:  Normal                        |   Milestone:                                       
Component:  ports                         |     Version:  1.8.0                                
 Keywords:  snow leopard, apr, universal  |        Port:  apr                                  
------------------------------------------+---------------------------------
 In OSX 10.6 on a Mac Mini, the port command

 $ port install apr +universal

 Leads to the following:

 /bin/sh
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_apr/work/apr-1.3.8/libtool
 --silent --mode=compile /usr/bin/gcc-4.2   -O2 -arch x86_64 -arch i386
 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp
 -I/opt/local/include -I./include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_apr/work/apr-1.3.8/include/arch/unix
 -I./include/arch/unix
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_apr/work/apr-1.3.8/include/arch/unix
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_apr/work/apr-1.3.8/include
 -o tables/apr_tables.lo -c tables/apr_tables.c && touch
 tables/apr_tables.lo
 strings/apr_snprintf.c: In function 'conv_os_thread_t':
 strings/apr_snprintf.c:500: error: duplicate case value
 strings/apr_snprintf.c:498: error: previously used here
 strings/apr_snprintf.c: In function 'conv_os_thread_t_hex':
 strings/apr_snprintf.c:671: error: duplicate case value
 strings/apr_snprintf.c:669: error: previously used here
 lipo: can't figure out the architecture type of: /var/tmp//ccpaM9b1.out
 make[1]: *** [strings/apr_snprintf.lo] Error 1
 make[1]: *** Waiting for unfinished jobs....
 make: *** [all-recursive] Error 1

 Error: Status 1 encountered during processing.

-- 
Ticket URL: <http://trac.macports.org/ticket/21040>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list