#23544 closed defect (invalid)
curl-ca-bundle: can't activate
Reported by: | cozimlate@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.2 |
Keywords: | Cc: | ||
Port: | curl-ca-bundle |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Having problems installing amarok, ticket #20199 solved the qt4-mac issue but now it's curl-ca-bundle and kdebase4-runtime stopping the installation:
sudo port install amarok ---> Computing dependencies for curl ---> Activating curl-ca-bundle @7.19.7_1 Error: The following dependencies failed to build: curl-ca-bundle Error: Unable to upgrade port: 1 Error: Unable to execute port: upgrade kdebase4-runtime failed Before reporting a bug, first run the command again with the -d flag to get complete output.
Bare in mind I am new to MacPorts and the terminal.
Attachments (3)
Change History (13)
Changed 15 years ago by cozimlate@…
Attachment: | Detail (sudo -d install amarok).rtf added |
---|
comment:1 Changed 15 years ago by mf2k (Frank Schima)
Keywords: | amarok kdebase4-runtime removed |
---|---|
Owner: | changed from macports-tickets@… to ryandesign@… |
Port: | curl-ca-bundle added; amarok removed |
comment:2 follow-up: 3 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Summary: | Can't install amarok → curl-ca-bundle: can't activate |
comment:3 follow-up: 4 Changed 15 years ago by cozimlate@…
Replying to ryandesign@…:
The error message in your debug output shows:
/opt/local/share/curl/curl-ca-bundle.crt already exists and does not belong to a registered port
So please delete that file and try again.
Went a little further aborted with building cyrus-sasl2:
sudo port install amarok ---> Computing dependencies for 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: /usr/bin/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 -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 Error: Unable to execute port: upgrade kdebase4-runtime failed Debug version: ---> Building cyrus-sasl2 DEBUG: Executing proc-pre-org.macports.build-build-0 DEBUG: Executing org.macports.build (cyrus-sasl2) DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5' DEBUG: Assembled 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' /usr/bin/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 -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: 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 DEBUG: Backtrace: 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 while executing "command_exec build" (procedure "portbuild::build_main" line 9) invoked from within "$procedure $targetname" Warning: the following items did not execute (for cyrus-sasl2): org.macports.destroot org.macports.build DEBUG: Error: Unable to upgrade port: 1 DEBUG: upgrade kdebase4-runtime failed while executing "macports::_upgrade_mport_deps $mport $target" (procedure "mportexec" line 27) invoked from within "mportexec $workername $target" Error: Unable to execute port: upgrade kdebase4-runtime failed
Changed 15 years ago by cozimlate@…
Attachment: | amarok 2nd attachment.rtf added |
---|
comment:5 follow-up: 6 Changed 15 years ago by cozimlate@…
I did but amarok installed curl and put the file back, so again:
sudo rm /opt/local/share/curl/curl-ca-bundle.crt sudo port install amarok ---> Computing dependencies for 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: /usr/bin/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 -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 Error: Unable to execute port: upgrade kdebase4-runtime failed
This time the file /opt/local/share/curl/curl-ca-bundle.crt is gone.
The DEBUG version is the same as the 2nd attachment.
Stuck again!
comment:6 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → invalid |
---|---|
Status: | new → closed |
Please remember WikiFormatting, otherwise it's pretty hard to read your replies. I've fixed the formatting of your previous comments above.
Replying to cozimlate@…:
I did but amarok installed curl and put the file back, so again:
sudo rm /opt/local/share/curl/curl-ca-bundle.crt
Well, the file is supposed to be there and registered to the curl-ca-bundle port. But for some inadequately explored reason it was there and not registered to a port. So now you should please deactivate curl-ca-bundle and reactivate curl-ca-bundle to get the file back, and then leave it there.
sudo port deactivate curl-ca-bundle sudo port activate curl-ca-bundle
---> Building cyrus-sasl2
[snip]
Undefined symbols:
"_auxprop_plugin_info", referenced from:
_main in pluginviewer.o
_main in pluginviewer.o
ld: symbol(s) not found
This is #20194. You need to deactivate your currently-installed cyrus-sasl2 before you can build the current one. Probably a good idea to clean before trying to build again.
sudo port deactivate cyrus-sasl2 sudo port clean cyrus-sasl2 sudo port install cyrus-sasl2
comment:7 follow-up: 9 Changed 15 years ago by cozimlate@…
It worked for cyrus-sasl2.
I applied the same recipe to all dependencies that gave me problems:libogg @1.1.4_0, flac @1.2.1_0+darwin_i386, mysql5-devel, taglib @1.6.1_1. to name a few,
after removing any file that did not belong in a registered port;
sudo port deactivate NAME sudo port clean NAME sudo port install NAME
All dependenties are installed but amarok wont build, stop at 34%, added the debug version in third attachment.
comment:8 Changed 15 years ago by cozimlate@…
OOOPS! the attachments is to big 2.1MB posting the short version.
Changed 15 years ago by cozimlate@…
Attachment: | amarok third attachment.rtf added |
---|
comment:9 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to cozimlate@…:
It worked for cyrus-sasl2.
I applied the same recipe to all dependencies that gave me problems:libogg @1.1.4_0, flac @1.2.1_0+darwin_i386, mysql5-devel, taglib @1.6.1_1. to name a few, after removing any file that did not belong in a registered port [...] All dependenties are installed
It remains to understand why you had all those conflicting files on your system. That should not have been the case. One possible explanation for this is if you had MacPorts installed before, uninstalled the part of MacPorts that kept track of what was installed where, but did not actually uninstall the software installed by MacPorts, then reinstalled MacPorts. As a result, there may yet be other files in your MacPorts prefix that are not registered to an installed port. It may be cleanest to uninstall MacPorts properly, then reinstall the ports you want. If you decide that's too much work right now, be aware you may continue to run into the situation of conflicting files when installing other ports, and if so, it's not a bug you need to report, but a problem in your installation.
but amarok wont build, stop at 34%, added the debug version in third attachment.
This is #23617.
Let's leave this ticket now since it is closed as invalid. If you have further difficulties, please search the issue tracker for existing issues that match your situation, file a new ticket if you believe there is a specific bug in a specific port, or ask on the macports-users mailing list if you need help.
comment:10 Changed 14 years ago by michaelld (Michael Dickens)
BTW> Tracking this issue now in ticket #25489.
The error message in your debug output shows:
So please delete that file and try again.