Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#17326 closed defect (worksforme)

cyrus-sasl2 fails to build on Panther

Reported by: face@… Owned by: jmpp@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: landonf (Landon Fuller)
Port: cyrus-sasl2

Description

cyrus-sasl2 as dependency of svn

--->  Attempting to fetch cyrus-sasl-2.1.22.tar.gz from ftp://ftp.andrew.cmu.edu/pub/cyrus-mail
--->  Verifying checksum(s) for cyrus-sasl2
--->  Extracting cyrus-sasl2
--->  Applying patches to cyrus-sasl2
--->  Configuring cyrus-sasl2
--->  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.22" && make all " returned error 2
Command output:   -c -o sasldblistusers.o `test -f 'sasldblistusers.c' || echo './'`sasldblistusers.c; \
then mv ".deps/sasldblistusers.Tpo" ".deps/sasldblistusers.Po"; \
else rm -f ".deps/sasldblistusers.Tpo"; exit 1; \
fi
/bin/sh ../libtool --mode=link /usr/bin/gcc-3.3  -Wall -W -O2  -L/opt/local/lib -L/opt/local/lib -o sasldblistusers2  sasldblistusers.o ../sasldb/libsasldb.la ../lib/libsasl2.la   -lresolv  -lpam
/usr/bin/gcc-3.3 -Wall -W -O2 -L/opt/local/lib -L/opt/local/lib -o .libs/sasldblistusers2 sasldblistusers.o ../sasldb/.libs/libsasldb.al -lresolv -lpam -L../lib/.libs -lsasl2 -ldl -lresolv -lpam -lresolv -lpam
creating sasldblistusers2
if /usr/bin/gcc-3.3 -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include   -I/opt/local/include -I/opt/local/include  -Wall -W -O2 -MT pluginviewer.o -MD -MP -MF ".deps/pluginviewer.Tpo" \
  -c -o pluginviewer.o `test -f 'pluginviewer.c' || echo './'`pluginviewer.c; \
then mv ".deps/pluginviewer.Tpo" ".deps/pluginviewer.Po"; \
else rm -f ".deps/pluginviewer.Tpo"; exit 1; \
fi
pluginviewer.c: In function `sasl_getopt':
pluginviewer.c:220: warning: unused parameter `context'
pluginviewer.c:221: warning: unused parameter `plugin_name'
pluginviewer.c: In function `main':
pluginviewer.c:440: warning: passing arg 2 of `getsubopt' from incompatible pointer type
pluginviewer.c:465: warning: passing arg 2 of `getsubopt' from incompatible pointer type
pluginviewer.c:494: warning: passing arg 2 of `getsubopt' from incompatible pointer type
/usr/include/stdio.h: At top level:
pluginviewer.c:92: warning: `build_ident' defined but not used
pluginviewer.c:138: warning: `ip_subopts' defined but not used
pluginviewer.c:283: warning: `osfail' defined but not used
/bin/sh ../libtool --mode=link /usr/bin/gcc-3.3  -Wall -W -O2  -L/opt/local/lib -L/opt/local/lib -o pluginviewer  pluginviewer.o ../lib/libsasl2.la   -lresolv  -lpam
/usr/bin/gcc-3.3 -Wall -W -O2 -L/opt/local/lib -L/opt/local/lib -o .libs/pluginviewer pluginviewer.o -L../lib/.libs -lsasl2 -ldl -lresolv -lpam -lresolv -lpam
ld: Undefined symbols:
_auxprop_plugin_info
make[2]: *** [pluginviewer] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Unable to upgrade port: 1

Change History (5)

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Cc: landonf@… added
Owner: changed from macports-tickets@… to jmpp@…

Assigning to maintainers.

comment:2 Changed 12 years ago by jmroot (Joshua Root)

That's the failure I saw on Leopard when the old version was active, which led to the instructions to deactivate it first. Do you have the latest Portfile, which refuses to upgrade?

comment:3 Changed 12 years ago by face@…

I got the latest Portfile, tried the upgrade, got the instruction to deactivate/uninstall

I uninstalled, then installed

Built just fine.

comment:4 Changed 12 years ago by mf2k (Frank Schima)

Resolution: worksforme
Status: newclosed

glad you got it working!

comment:5 Changed 12 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.