#20194 closed defect (duplicate)
Unable to upgrade cyrus-sasl2
Reported by: | dimik@… | Owned by: | jmpalacios (Juan Manuel Palacios) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.1 |
Keywords: | Cc: | landonf (Landon Fuller), denro03@…, florian.feldhaus@…, dstwo@…, joe@…, ryandesign (Ryan Carsten Schmidt) | |
Port: | cyrus-sasl2 |
Description
sudo port -v upgrade outdated ---> Building cyrus-sasl2 make all-recursive Making all in include make[2]: Nothing to be done for `all'. Making all in sasldb ar cru .libs/libsasldb.a db_ndbm.o allockey.o Making all in plugins make[2]: Nothing to be done for `all'. Making all in lib make[2]: Nothing to be done for `all'. Making all in utils /bin/sh ../libtool --mode=link /usr/bin/gcc-4.0 -Wall -W -O2 -L/opt/local/lib -Wl,-rpath,/opt/local/lib -L/opt/local/lib -o pluginviewer pluginviewer.o ../lib/libsasl2.la -lresolv -lresolv -lpam /usr/bin/gcc-4.0 -Wall -W -O2 -L/opt/local/lib -Wl,-rpath,/opt/local/lib -L/opt/local/lib -o .libs/pluginviewer pluginviewer.o -L../lib/.libs -lsasl2 -ldl -lresolv -lresolv -lpam -lresolv -lresolv -lpam Undefined symbols: "_auxprop_plugin_info", referenced from: _main in pluginviewer.o _main in pluginviewer.o ld: symbol(s) not found collect2: ld returned 1 exit status make[2]: *** [pluginviewer] 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.23" && make all " returned error 2 Command output: make all-recursive Making all in include make[2]: Nothing to be done for `all'. Making all in sasldb ar cru .libs/libsasldb.a db_ndbm.o allockey.o Making all in plugins make[2]: Nothing to be done for `all'. Making all in lib make[2]: Nothing to be done for `all'. Making all in utils /bin/sh ../libtool --mode=link /usr/bin/gcc-4.0 -Wall -W -O2 -L/opt/local/lib -Wl,-rpath,/opt/local/lib -L/opt/local/lib -o pluginviewer pluginviewer.o ../lib/libsasl2.la -lresolv -lresolv -lpam /usr/bin/gcc-4.0 -Wall -W -O2 -L/opt/local/lib -Wl,-rpath,/opt/local/lib -L/opt/local/lib -o .libs/pluginviewer pluginviewer.o -L../lib/.libs -lsasl2 -ldl -lresolv -lresolv -lpam -lresolv -lresolv -lpam Undefined symbols: "_auxprop_plugin_info", referenced from: _main in pluginviewer.o _main in pluginviewer.o ld: symbol(s) not found collect2: ld returned 1 exit status make[2]: *** [pluginviewer] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Warning: the following items did not execute (for cyrus-sasl2): org.macports.destroot org.macports.build Error: Unable to upgrade port: 1 ---> Building screen /usr/bin/gcc-4.0 -c -I. -I. -O2 screen.c In file included from screen.c:106: vproc_priv.h:23:26: error: Availability.h: No such file or directory In file included from screen.c:106: vproc_priv.h:101: error: syntax error before '__OSX_AVAILABLE_STARTING' vproc_priv.h:101: warning: parameter names (without types) in function declaration vproc_priv.h:101: warning: data definition has no type or storage class vproc_priv.h:102: error: syntax error before '__OSX_AVAILABLE_STARTING' vproc_priv.h:102: warning: parameter names (without types) in function declaration vproc_priv.h:102: warning: data definition has no type or storage class vproc_priv.h:103: error: syntax error before '__OSX_AVAILABLE_STARTING' vproc_priv.h:103: warning: parameter names (without types) in function declaration vproc_priv.h:103: warning: data definition has no type or storage class vproc_priv.h:104: error: syntax error before '__OSX_AVAILABLE_STARTING' vproc_priv.h:104: warning: parameter names (without types) in function declaration vproc_priv.h:104: warning: data definition has no type or storage class vproc_priv.h:106: error: syntax error before '__OSX_AVAILABLE_STARTING' vproc_priv.h:106: warning: parameter names (without types) in function declaration vproc_priv.h:106: warning: data definition has no type or storage class vproc_priv.h:107: error: syntax error before '__OSX_AVAILABLE_STARTING' vproc_priv.h:107: warning: parameter names (without types) in function declaration vproc_priv.h:107: warning: data definition has no type or storage class vproc_priv.h:108: error: syntax error before '__OSX_AVAILABLE_STARTING' vproc_priv.h:108: warning: parameter names (without types) in function declaration vproc_priv.h:108: warning: data definition has no type or storage class vproc_priv.h:109: error: syntax error before '__OSX_AVAILABLE_STARTING' vproc_priv.h:109: warning: parameter names (without types) in function declaration vproc_priv.h:109: warning: data definition has no type or storage class vproc_priv.h:110: error: syntax error before '__OSX_AVAILABLE_STARTING' vproc_priv.h:110: warning: parameter names (without types) in function declaration vproc_priv.h:110: warning: data definition has no type or storage class vproc_priv.h:111: error: syntax error before '__OSX_AVAILABLE_STARTING' vproc_priv.h:111: warning: parameter names (without types) in function declaration vproc_priv.h:111: warning: data definition has no type or storage class make: *** [screen.o] Error 1 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_screen/work/screen-4.0.3" && make all " returned error 2 Command output: vproc_priv.h:101: warning: parameter names (without types) in function declaration vproc_priv.h:101: warning: data definition has no type or storage class vproc_priv.h:102: error: syntax error before '__OSX_AVAILABLE_STARTING' vproc_priv.h:102: warning: parameter names (without types) in function declaration vproc_priv.h:102: warning: data definition has no type or storage class vproc_priv.h:103: error: syntax error before '__OSX_AVAILABLE_STARTING' vproc_priv.h:103: warning: parameter names (without types) in function declaration vproc_priv.h:103: warning: data definition has no type or storage class vproc_priv.h:104: error: syntax error before '__OSX_AVAILABLE_STARTING' vproc_priv.h:104: warning: parameter names (without types) in function declaration vproc_priv.h:104: warning: data definition has no type or storage class vproc_priv.h:106: error: syntax error before '__OSX_AVAILABLE_STARTING' vproc_priv.h:106: warning: parameter names (without types) in function declaration vproc_priv.h:106: warning: data definition has no type or storage class vproc_priv.h:107: error: syntax error before '__OSX_AVAILABLE_STARTING' vproc_priv.h:107: warning: parameter names (without types) in function declaration vproc_priv.h:107: warning: data definition has no type or storage class vproc_priv.h:108: error: syntax error before '__OSX_AVAILABLE_STARTING' vproc_priv.h:108: warning: parameter names (without types) in function declaration vproc_priv.h:108: warning: data definition has no type or storage class vproc_priv.h:109: error: syntax error before '__OSX_AVAILABLE_STARTING' vproc_priv.h:109: warning: parameter names (without types) in function declaration vproc_priv.h:109: warning: data definition has no type or storage class vproc_priv.h:110: error: syntax error before '__OSX_AVAILABLE_STARTING' vproc_priv.h:110: warning: parameter names (without types) in function declaration vproc_priv.h:110: warning: data definition has no type or storage class vproc_priv.h:111: error: syntax error before '__OSX_AVAILABLE_STARTING' vproc_priv.h:111: warning: parameter names (without types) in function declaration vproc_priv.h:111: warning: data definition has no type or storage class make: *** [screen.o] Error 1 Warning: the following items did not execute (for screen): org.macports.destroot org.macports.build Error: Unable to upgrade port: 1
Change History (30)
comment:1 Changed 15 years ago by dimik@…
Cc: | dimik@… added |
---|
comment:2 Changed 15 years ago by mf2k (Frank Schima)
Cc: | dimik@… removed |
---|---|
Type: | update → defect |
This is really 2 separate issues. Both build for me. What version of Mac OS X are you running? What version of Xcode?
comment:3 Changed 15 years ago by dimik@…
System Version: Mac OS X 10.5.7 (9J61)
xcode: Version 3.1 (Beta)
comment:4 Changed 15 years ago by mf2k (Frank Schima)
Update Xcode to 3.1.3 (latest non-beta). Then run the following:
sudo port selfupdate sudo port clean --all cyrus-sasl2 screen sudo port upgrade outdated
comment:5 Changed 15 years ago by dimik@…
error again
dimik@dhcp217-167:~# sudo port selfupdate MacPorts base version 1.710 installed Downloaded MacPorts base version 1.710 The MacPorts installation is not outdated so it was not updated dimik@dhcp217-167:~# sudo port clean --all cyrus-sasl2 screen ---> Cleaning cyrus-sasl2 ---> Cleaning screen dimik@dhcp217-167:~# sudo port upgrade outdated ---> Fetching cyrus-sasl2 ---> Attempting to fetch cyrus-sasl-2.1.23.tar.gz from http://arn.se.distfiles.macports.org/cyrus-sasl2 ---> Verifying checksum(s) for cyrus-sasl2 ---> Extracting cyrus-sasl2 ---> Applying patches to cyrus-sasl2 ---> Configuring cyrus-sasl2 ---> Building cyrus-sasl2 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.23" && make all " returned error 2 Command output: if /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 -MT pluginviewer.o -MD -MP -MF ".deps/pluginviewer.Tpo" \ -c -o pluginviewer.o `test -f 'pluginviewer.c' || echo './'`pluginviewer.c; \ then mv -f ".deps/pluginviewer.Tpo" ".deps/pluginviewer.Po"; \ else rm -f ".deps/pluginviewer.Tpo"; exit 1; \ fi pluginviewer.c: In function 'sasl_my_log': pluginviewer.c:171: warning: unused parameter 'context' 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 argument 2 of 'getsubopt' from incompatible pointer type pluginviewer.c:465: warning: passing argument 2 of 'getsubopt' from incompatible pointer type pluginviewer.c:494: warning: passing argument 2 of 'getsubopt' from incompatible pointer type pluginviewer.c:676: warning: pointer targets in passing argument 8 of 'sasl_listmech' differ in signedness pluginviewer.c:769: warning: pointer targets in passing argument 8 of 'sasl_listmech' differ in signedness pluginviewer.c: At top level: 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-4.0 -Wall -W -O2 -L/opt/local/lib -Wl,-rpath,/opt/local/lib -L/opt/local/lib -o pluginviewer pluginviewer.o ../lib/libsasl2.la -lresolv -lresolv -lpam /usr/bin/gcc-4.0 -Wall -W -O2 -L/opt/local/lib -Wl,-rpath,/opt/local/lib -L/opt/local/lib -o .libs/pluginviewer pluginviewer.o -L../lib/.libs -lsasl2 -ldl -lresolv -lresolv -lpam -lresolv -lresolv -lpam Undefined symbols: "_auxprop_plugin_info", referenced from: _main in pluginviewer.o _main in pluginviewer.o ld: symbol(s) not found collect2: ld returned 1 exit status make[2]: *** [pluginviewer] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Unable to upgrade port: 1 ---> Fetching screen ---> Attempting to fetch screen-4.0.3.tar.gz from http://arn.se.distfiles.macports.org/screen ---> Attempting to fetch 18 from http://arn.se.distfiles.macports.org/screen ---> Attempting to fetch vproc_priv.h from http://arn.se.distfiles.macports.org/screen ---> Verifying checksum(s) for screen ---> Extracting screen ---> Applying patches to screen ---> Configuring screen ---> Building screen Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_screen/work/screen-4.0.3" && make all " returned error 2 Command output: vproc_priv.h:101: warning: parameter names (without types) in function declaration vproc_priv.h:101: warning: data definition has no type or storage class vproc_priv.h:102: error: syntax error before '__OSX_AVAILABLE_STARTING' vproc_priv.h:102: warning: parameter names (without types) in function declaration vproc_priv.h:102: warning: data definition has no type or storage class vproc_priv.h:103: error: syntax error before '__OSX_AVAILABLE_STARTING' vproc_priv.h:103: warning: parameter names (without types) in function declaration vproc_priv.h:103: warning: data definition has no type or storage class vproc_priv.h:104: error: syntax error before '__OSX_AVAILABLE_STARTING' vproc_priv.h:104: warning: parameter names (without types) in function declaration vproc_priv.h:104: warning: data definition has no type or storage class vproc_priv.h:106: error: syntax error before '__OSX_AVAILABLE_STARTING' vproc_priv.h:106: warning: parameter names (without types) in function declaration vproc_priv.h:106: warning: data definition has no type or storage class vproc_priv.h:107: error: syntax error before '__OSX_AVAILABLE_STARTING' vproc_priv.h:107: warning: parameter names (without types) in function declaration vproc_priv.h:107: warning: data definition has no type or storage class vproc_priv.h:108: error: syntax error before '__OSX_AVAILABLE_STARTING' vproc_priv.h:108: warning: parameter names (without types) in function declaration vproc_priv.h:108: warning: data definition has no type or storage class vproc_priv.h:109: error: syntax error before '__OSX_AVAILABLE_STARTING' vproc_priv.h:109: warning: parameter names (without types) in function declaration vproc_priv.h:109: warning: data definition has no type or storage class vproc_priv.h:110: error: syntax error before '__OSX_AVAILABLE_STARTING' vproc_priv.h:110: warning: parameter names (without types) in function declaration vproc_priv.h:110: warning: data definition has no type or storage class vproc_priv.h:111: error: syntax error before '__OSX_AVAILABLE_STARTING' vproc_priv.h:111: warning: parameter names (without types) in function declaration vproc_priv.h:111: warning: data definition has no type or storage class make: *** [screen.o] Error 1 Error: Unable to upgrade port: 1
comment:6 Changed 15 years ago by mf2k (Frank Schima)
Just to be clear, what is the output of the following?
xcodebuild -version
comment:7 Changed 15 years ago by dimik@…
dimik@dhcp217-167:~# xcodebuild -version xcodebuild 3.1 Component versions: DevToolsCore-1036.0; DevToolsSupport-1024.0
comment:9 Changed 15 years ago by dimik@…
ok it help me with screen but not with cyrus-sasl2
dimik@dhcp217-167:~# sudo port clean --all cyrus-sasl2 ---> Cleaning cyrus-sasl2 dimik@dhcp217-167:~# xcodebuild -version Xcode 3.1.3 Component versions: DevToolsCore-1192.0; DevToolsSupport-1186.0 BuildVersion: 9M2736 dimik@dhcp217-167:~# sudo port upgrade outdated ---> Fetching cyrus-sasl2 ---> Attempting to fetch cyrus-sasl-2.1.23.tar.gz from http://arn.se.distfiles.macports.org/cyrus-sasl2 ---> Verifying checksum(s) for cyrus-sasl2 ---> Extracting cyrus-sasl2 ---> Applying patches to cyrus-sasl2 ---> Configuring cyrus-sasl2 ---> Building cyrus-sasl2 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.23" && make all " returned error 2 Command output: if /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 -MT pluginviewer.o -MD -MP -MF ".deps/pluginviewer.Tpo" \ -c -o pluginviewer.o `test -f 'pluginviewer.c' || echo './'`pluginviewer.c; \ then mv -f ".deps/pluginviewer.Tpo" ".deps/pluginviewer.Po"; \ else rm -f ".deps/pluginviewer.Tpo"; exit 1; \ fi pluginviewer.c: In function 'sasl_my_log': pluginviewer.c:171: warning: unused parameter 'context' 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 argument 2 of 'getsubopt' from incompatible pointer type pluginviewer.c:465: warning: passing argument 2 of 'getsubopt' from incompatible pointer type pluginviewer.c:494: warning: passing argument 2 of 'getsubopt' from incompatible pointer type pluginviewer.c:676: warning: pointer targets in passing argument 8 of 'sasl_listmech' differ in signedness pluginviewer.c:769: warning: pointer targets in passing argument 8 of 'sasl_listmech' differ in signedness pluginviewer.c: At top level: 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-4.0 -Wall -W -O2 -L/opt/local/lib -Wl,-rpath,/opt/local/lib -L/opt/local/lib -o pluginviewer pluginviewer.o ../lib/libsasl2.la -lresolv -lresolv -lpam /usr/bin/gcc-4.0 -Wall -W -O2 -L/opt/local/lib -Wl,-rpath,/opt/local/lib -L/opt/local/lib -o .libs/pluginviewer pluginviewer.o -L../lib/.libs -lsasl2 -ldl -lresolv -lresolv -lpam -lresolv -lresolv -lpam Undefined symbols: "_auxprop_plugin_info", referenced from: _main in pluginviewer.o _main in pluginviewer.o ld: symbol(s) not found collect2: ld returned 1 exit status make[2]: *** [pluginviewer] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Unable to upgrade port: 1
comment:10 Changed 15 years ago by mf2k (Frank Schima)
Cc: | landonf@… added |
---|---|
Owner: | changed from macports-tickets@… to jmpp@… |
Port: | cyrus-sasl2 added |
Summary: | Unable to upgrade port → Unable to upgrade cyrus-sasl2 |
Assigning to the maintainers of cyrus-sasl2.
comment:11 follow-ups: 12 17 19 Changed 15 years ago by mf2k (Frank Schima)
Try the following as a workaround:
sudo port deactivate cyrus-sasl2 sudo port clean cyrus-sasl2 sudo port upgrade cyrus-sasl2
comment:12 Changed 15 years ago by jonas@…
Replying to macsforever2000@…:
Try the following as a workaround:
sudo port deactivate cyrus-sasl2 sudo port clean cyrus-sasl2 sudo port upgrade cyrus-sasl2
I was also hit by the "undefined symbols" problem in cyrus-sasl2 and your workaround helped here (OSX 10.5.7, XCode 3.1.1)
comment:13 Changed 15 years ago by tobypeterson
Cc: | denro03@… added |
---|
comment:15 Changed 15 years ago by florian.feldhaus@…
The problem also occurs on a fresh installation. In that case the workaround does not work!
comment:18 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Another user reported this issue on macports-users: build failed with a previous cyrus-sasl2 installed and active; problem resolved by uninstalling it first.
comment:19 Changed 15 years ago by bathizte@…
Same pb, this wordked for me :
Try the following as a workaround:
sudo port deactivate cyrus-sasl2 sudo port clean cyrus-sasl2 sudo port upgrade cyrus-sasl2
comment:21 Changed 15 years ago by dossy@…
I'm having a problem upgrading cyrus-sasl2 too:
$ xcodebuild -version Xcode 3.1.4 Component versions: DevToolsCore-1204.0; DevToolsSupport-1186.0 BuildVersion: 9M2809 $ sudo port version Version: 1.8.1 $ sudo port installed cyrus-sasl2 The following ports are currently installed: cyrus-sasl2 @2.1.21_0+kerberos (active) $ sudo port upgrade cyrus-sasl2 ---> Computing dependencies for cyrus-sasl2 ---> Fetching cyrus-sasl2 ---> Verifying checksum(s) for cyrus-sasl2 ---> Extracting cyrus-sasl2 ---> Applying patches to cyrus-sasl2 ---> Configuring cyrus-sasl2 ---> Building cyrus-sasl2 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.23" && /usr/bin/make -j1 all " returned error 2 Command output: if /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 -arch i386 -MT pluginviewer.o -MD -MP -MF ".deps/pluginviewer.Tpo" \ -c -o pluginviewer.o `test -f 'pluginviewer.c' || echo './'`pluginviewer.c; \ then mv -f ".deps/pluginviewer.Tpo" ".deps/pluginviewer.Po"; \ else rm -f ".deps/pluginviewer.Tpo"; exit 1; \ fi pluginviewer.c: In function 'sasl_my_log': pluginviewer.c:171: warning: unused parameter 'context' 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 argument 2 of 'getsubopt' from incompatible pointer type pluginviewer.c:465: warning: passing argument 2 of 'getsubopt' from incompatible pointer type pluginviewer.c:494: warning: passing argument 2 of 'getsubopt' from incompatible pointer type pluginviewer.c:676: warning: pointer targets in passing argument 8 of 'sasl_listmech' differ in signedness pluginviewer.c:769: warning: pointer targets in passing argument 8 of 'sasl_listmech' differ in signedness pluginviewer.c: At top level: 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-4.0 -Wall -W -O2 -arch i386 -L/opt/local/lib -Wl,-rpath,/opt/local/lib -L/opt/local/lib -o pluginviewer pluginviewer.o ../lib/libsasl2.la -lresolv -lresolv -lpam /usr/bin/gcc-4.0 -Wall -W -O2 -arch i386 -L/opt/local/lib -Wl,-rpath,/opt/local/lib -L/opt/local/lib -o .libs/pluginviewer pluginviewer.o -L../lib/.libs -lsasl2 -ldl -lresolv -lresolv -lpam -lresolv -lresolv -lpam Undefined symbols: "_auxprop_plugin_info", referenced from: _main in pluginviewer.o _main in pluginviewer.o ld: symbol(s) not found collect2: ld returned 1 exit status make[2]: *** [pluginviewer] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Unable to upgrade port: 1
comment:22 Changed 15 years ago by dossy@…
FYI, the workaround of deactivate/clean/upgrade worked for me.
comment:26 follow-ups: 27 28 Changed 15 years ago by joe@…
I'm having a similar problem, I have a fresh install of macports 1.8.1 on Snow Leopard. I have set build_arch to i386 and I get this
sudo port install cyrus-sasl2 ---> Computing dependencies for cyrus-sasl2 ---> Fetching cyrus-sasl2 ---> Verifying checksum(s) for cyrus-sasl2 ---> Extracting cyrus-sasl2 ---> Applying patches to cyrus-sasl2 ---> Configuring cyrus-sasl2 ---> Building cyrus-sasl2 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.23" && /usr/bin/make -j4 all " returned error 2 Command output: _saslfail in pluginviewer.o "_sasl_dispose", referenced from: _free_conn in pluginviewer.o _free_conn in pluginviewer.o "_sasl_server_init", referenced from: _main in pluginviewer.o "_sasl_done", referenced from: _saslfail in pluginviewer.o _saslfail in pluginviewer.o _main in pluginviewer.o _main in pluginviewer.o "_sasl_client_init", referenced from: _main in pluginviewer.o "_sasl_setprop", referenced from: _main in pluginviewer.o _main in pluginviewer.o _main in pluginviewer.o _main in pluginviewer.o _main in pluginviewer.o _main in pluginviewer.o "_auxprop_plugin_info", referenced from: _main in pluginviewer.o _main in pluginviewer.o "_sasl_server_new", referenced from: _main in pluginviewer.o ld: symbol(s) not found collect2: ld returned 1 exit status make[2]: *** [pluginviewer] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Status 1 encountered during processing.
comment:27 Changed 15 years ago by heiljd@…
Replying to joe@…:
I'm having a similar problem, I have a fresh install of macports 1.8.1 on Snow Leopard. I have set build_arch to i386 and I get this
sudo port install cyrus-sasl2
---> Computing dependencies for cyrus-sasl2
---> Fetching cyrus-sasl2
---> Verifying checksum(s) for cyrus-sasl2
...omitted...
make: * [all] Error 2
Error: Status 1 encountered during processing.
I had this exact problem on 10.6.2 with MP 1.8.1 and XCode 3.2.1 on a fresh install as a dependent when I was trying to install subversion. My workaround (which worked) was to install the remaining subversion dependencies (gettext, neon, serf) manually, then do the deactivate/clean/upgrade on cyrus-sasl2, which gave the following:
jh:bin$ sudo port install subversion ....omitted... ---> Building cyrus-sasl2 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.23" && /usr/bin/make -j2 all " returned error 2 Command output: _main in saslpasswd.o "_sasl_server_init", referenced from: _main in dbconverter-2.o "_sasl_server_new", referenced from: _main in dbconverter-2.o ld: symbol(s) not found ...omitted... collect2: ld returned 1 exit status make[2]: *** [saslpasswd2] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [dbconverter-2] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 jh:bin$ sudo port install cyrus-sasl2 Error: Requested variants "+kerberos" do not match original selection "". Please use the same variants again, perform 'port clean cyrus-sasl2' or specify the force option (-f). Error: Status 1 encountered during processing. jh:bin$ sudo port deactivate cyrus-sasl2 Error: port deactivate failed: Registry error: cyrus-sasl2 not registered as installed & active. jh:bin jh$ sudo port clean cyrus-sasl2 ---> Cleaning cyrus-sasl2 jh:bin jh$ sudo port upgrade cyrus-sasl2 Error: cyrus-sasl2 is not installed jh:bin jh$ sudo port install cyrus-sasl2 ---> Computing dependencies for cyrus-sasl2 ---> Fetching cyrus-sasl2 ---> Verifying checksum(s) for cyrus-sasl2 ---> Extracting cyrus-sasl2 ---> Applying patches to cyrus-sasl2 ---> Configuring cyrus-sasl2 ---> Building cyrus-sasl2 ---> Staging cyrus-sasl2 into destroot ---> Installing cyrus-sasl2 @2.1.23_0+kerberos ---> Activating cyrus-sasl2 @2.1.23_0+kerberos ---> Cleaning cyrus-sasl2
So, I'm assuming the problem was with installing the +kerberos variant????? Which it built anyway??? Anyhoo, it worked and subversion worked.
comment:28 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | joe@… ryandesign@… added |
---|
comment:29 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
comment:30 Changed 14 years ago by nyteshade@…
I was also having a problem and then I got it to work under 10.6.5 by doing a
sudo port install cyrus-sasl2 # Wait for it to fail then... sudo port patch cyrus-sasl2 sudo port install cyrus-sasl2
Cc Me!