[MacPorts] #14132: cyrus-sasl2 +universal does not build on i386 Tiger
MacPorts
noreply at macports.org
Fri Jul 11 10:39:12 PDT 2008
#14132: cyrus-sasl2 +universal does not build on i386 Tiger
------------------------------------+---------------------------------------
Reporter: ryan at spacecoaster.org | Owner: jmpp at macports.org
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Resolution: | Keywords:
------------------------------------+---------------------------------------
Comment (by robbie at rail.com):
Replying to [comment:1 ryandesign at macports.org]:
> Assigning to / Cc'ing maintainers of cyrus-sasl2.
I just ran into this again on Leopard 10.5.4 (Intel, MacPorts 1.6, just
ran a sync) as a dependency of openssl +universal. I get a very similar
error.
Cleaning and attempting to install again has no effect.
One thing that I noticed is that it's using the MacOSX10.5.sdk rather than
the 10.4u one.
I found this page (http://www.theronge.com/2006/04/15/how-to-compile-
cyrus-sasl-as-universal/) , which suggests configuring with 10.4u instead
of 10.5 ... I'm unfamiliar with modifying portfiles, otherwise I would
have a patch.
Thanks,
Robert Iannucci Jr.
// Begin trace
---> Building cyrus-sasl2 with target all
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 .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.5.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.5.sdk -arch i386 -arch ppc -L/opt/local/lib
-Wl,-rpath,/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.5.sdk
-arch i386 -arch ppc -L/opt/local/lib -Wl,-rpath,/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
ld: warning in ../lib/.libs/libsasl2.dylib, file is not of required
architecture
Undefined symbols for architecture ppc:
"_sasl_global_utils", referenced from:
_sasl_global_utils$non_lazy_ptr in dbconverter-2.o
...
"_sasl_server_new", referenced from:
_main in dbconverter-2.o
ld: symbol(s) not found for architecture ppc
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//cc3iRxlR.out (No such file or
directory)
make[2]: *** [dbconverter-2] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
--
Ticket URL: <http://trac.macports.org/ticket/14132#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list