Opened 14 years ago
Closed 14 years ago
#27886 closed defect (invalid)
pkgconfig @0.25 build failure
Reported by: | maziar@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | Cc: | ||
Port: | pkgconfig |
Description
When i try to install/upgrade or anything i get errors, as following:
somebody:~ someone$ sudo port install gerbv ---> Building pkgconfig Error: Target org.macports.build returned: shell command failed (see log for details) Log for pkgconfig is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_pkgconfig/main.log Error: Unable to upgrade port: 1 Error: Unable to execute port: upgrade gtk2 failed
Attachments (1)
Change History (8)
comment:3 Changed 14 years ago by jmroot (Joshua Root)
Cc: | maziar@… removed |
---|---|
Owner: | changed from macports-tickets@… to ryandesign@… |
Port: | pkgconfig added |
Summary: | Error on all commands → pkgconfig @0.25 build failure |
Please run these commands to generate a complete log:
sudo port clean pkgconfig sudo port destroot pkgconfig
Then add the log file as an attachment.
Changed 14 years ago by maziar@…
_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_pkgconfig/main.log
comment:4 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
The relevant error shown several times in the log is:
dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib Referenced from: /opt/local/bin/grep Reason: Incompatible library version: grep requires version 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0
The most common reason for this is that your libiconv port is built for the wrong architecture. And the most common reason for this is that you upgraded this machine to Snow Leopard from an earlier OS (or migrated data to this Snow Leopard machine from a Mac with an earlier OS), and that you had MacPorts installed on that previous OS/machine, and you have not since then uninstalled and reinstalled all ports. See the Migration page in the wiki for how to do that.
comment:5 Changed 14 years ago by maziar@…
I see the problem now as you explain, which is quite true. I will go through the migration now and report sucess/failure. Thanks alot for the observation and help so fare.
comment:7 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → invalid |
---|---|
Status: | new → closed |
Great! Glad you got it working.