Opened 14 years ago

Closed 14 years ago

Last modified 7 years ago

#21040 closed defect (duplicate)

apr + universal build fails in Snow Leopard

Reported by: njbutko@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: snowleopard universal Cc:
Port: apr

Description (last modified by ryandesign (Ryan Schmidt))

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.

Attachments (1)

apr_debug.txt (80.2 KB) - added by njbutko@… 14 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 14 years ago by tobypeterson

Description: modified (diff)

comment:2 Changed 14 years ago by tobypeterson

please attach debug log

Changed 14 years ago by njbutko@…

Attachment: apr_debug.txt added

comment:3 Changed 14 years ago by ryandesign (Ryan Schmidt)

Description: modified (diff)
Resolution: duplicate
Status: newclosed

Duplicate of #17090.

comment:4 Changed 7 years ago by ryandesign (Ryan Schmidt)

Keywords: snowleopard added; snow leopard apr removed
Note: See TracTickets for help on using tickets.