[MacPorts] #14132: cyrus-sasl2 +universal does not build on i386 Tiger

MacPorts trac at macosforge.org
Fri Feb 1 10:46:40 PST 2008


#14132: cyrus-sasl2 +universal does not build on i386 Tiger
-----------------------------------+----------------------------------------
 Reporter:  ryan at spacecoaster.org  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect                 |      Status:  new                                  
 Priority:  Normal                 |   Milestone:                                       
Component:  ports                  |     Version:  1.6.0                                
 Keywords:                         |  
-----------------------------------+----------------------------------------
 {{{
 /bin/sh ../libtool --mode=link /usr/bin/gcc-4.0  -Wall -W -O2 -isysroot
 /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc  -L/opt/local/lib
 -L/opt/local/lib -arch i386 -arch ppc -o dbconverter-2  dbconverter-2.o
 ../sasldb/libsasldb.la ../lib/libsasl2.la   -lresolv -lresolv  -lpam
 mkdir .libs
 /usr/bin/gcc-4.0 -Wall -W -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
 -arch i386 -arch ppc -L/opt/local/lib -L/opt/local/lib -arch i386 -arch
 ppc -o .libs/dbconverter-2 dbconverter-2.o ../sasldb/.libs/libsasldb.al
 -lresolv -lresolv -lpam -L../lib/.libs -lsasl2 -ldl -lresolv -lresolv
 -lpam -lresolv -lresolv -lpam
 /usr/bin/ld: for architecture ppc
 /usr/bin/ld: warning ../lib/.libs/libsasl2.dylib cputype (7, architecture
 i386) does not match cputype (18) for specified -arch flag: ppc (file not
 loaded)
 /usr/bin/ld: Undefined symbols:
 _sasl_dispose
 _sasl_done
 _sasl_global_utils
 _sasl_server_init
 _sasl_server_new
 collect2: ld returned 1 exit status
 lipo: can't open input file: /var/tmp//ccXswaSm.out (No such file or
 directory)
 make[2]: *** [dbconverter-2] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_security_cyrus-sasl2/work/cyrus-sasl-2.1.21" && make
 all " returned error 2
 Command output: (cd . && ln -s plugin_common.lo plugin_common.o)
 /usr/bin/gcc-4.0 -dynamiclib -undefined error -o
 .libs/libsasl2.2.0.21.dylib  auxprop.lo canonusr.lo checkpw.lo client.lo
 common.lo config.lo external.lo md5.lo saslutil.lo server.lo seterror.lo
 dlopen.lo plugin_common.lo  -L/opt/local/lib -ldl -lresolv -lresolv -lpam
 -lc  -install_name /opt/local/lib/libsasl2.2.dylib -compatibility_version
 3 -current_version 3.21
 (cd .libs && rm -f libsasl2.2.dylib && ln -s libsasl2.2.0.21.dylib
 libsasl2.2.dylib)
 (cd .libs && rm -f libsasl2.dylib && ln -s libsasl2.2.0.21.dylib
 libsasl2.dylib)
 creating libsasl2.la
 (cd .libs && rm -f libsasl2.la && ln -s ../libsasl2.la libsasl2.la)
 Making all in utils
 /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include
 -I/opt/local/include -I/opt/local/include  -Wall -W -O2 -isysroot
 /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc -c `test -f
 'dbconverter-2.c' || echo './'`dbconverter-2.c
 dbconverter-2.c: In function 'good_getopt':
 dbconverter-2.c:365: warning: unused parameter 'context'
 dbconverter-2.c:366: warning: unused parameter 'plugin_name'
 dbconverter-2.c: In function 'good_getopt':
 dbconverter-2.c:365: warning: unused parameter 'context'
 dbconverter-2.c:366: warning: unused parameter 'plugin_name'
 /bin/sh ../libtool --mode=link /usr/bin/gcc-4.0  -Wall -W -O2 -isysroot
 /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc  -L/opt/local/lib
 -L/opt/local/lib -arch i386 -arch ppc -o dbconverter-2  dbconverter-2.o
 ../sasldb/libsasldb.la ../lib/libsasl2.la   -lresolv -lresolv  -lpam
 mkdir .libs
 /usr/bin/gcc-4.0 -Wall -W -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
 -arch i386 -arch ppc -L/opt/local/lib -L/opt/local/lib -arch i386 -arch
 ppc -o .libs/dbconverter-2 dbconverter-2.o ../sasldb/.libs/libsasldb.al
 -lresolv -lresolv -lpam -L../lib/.libs -lsasl2 -ldl -lresolv -lresolv
 -lpam -lresolv -lresolv -lpam
 /usr/bin/ld: for architecture ppc
 /usr/bin/ld: warning ../lib/.libs/libsasl2.dylib cputype (7, architecture
 i386) does not match cputype (18) for specified -arch flag: ppc (file not
 loaded)
 /usr/bin/ld: Undefined symbols:
 _sasl_dispose
 _sasl_done
 _sasl_global_utils
 _sasl_server_init
 _sasl_server_new
 collect2: ld returned 1 exit status
 lipo: can't open input file: /var/tmp//ccXswaSm.out (No such file or
 directory)
 make[2]: *** [dbconverter-2] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2

 Warning: the following items did not execute (for cyrus-sasl2):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 Error: The following dependencies failed to build: openldap cyrus-sasl2
 db44 popt readline
 Error: Status 1 encountered during processing.
 }}}

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14132>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list