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)

main.log (38.9 KB) - added by maziar@… 14 years ago.
_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_pkgconfig/main.log

Download all attachments as: .zip

Change History (8)

comment:1 Changed 14 years ago by maziar@…

somebody:~ someone$ cat /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_pkgconfig/main.log
version:1
:debug:main Executing org.macports.main (pkgconfig)
:debug:main Skipping completed org.macports.fetch (pkgconfig)
:debug:main Skipping completed org.macports.checksum (pkgconfig)
:debug:main Skipping completed org.macports.extract (pkgconfig)
:debug:main Skipping completed org.macports.patch (pkgconfig)
:debug:main Skipping completed org.macports.configure (pkgconfig)
:msg:main --->  Building pkgconfig
:debug:build build phase started at Thu Jan  6 16:36:14 CET 2011
:debug:build Executing org.macports.build (pkgconfig)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_pkgconfig/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_pkgconfig/work/pkg-config-0.25" && /usr/bin/make -j2 all'
:info:build Makefile:417: .deps/main.Po: No such file or directory
:info:build Makefile:418: .deps/parse.Po: No such file or directory
:info:build Makefile:419: .deps/pkg.Po: No such file or directory
:info:build make: *** No rule to make target `.deps/pkg.Po'.  Stop.
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_pkgconfig/work/pkg-config-0.25" && /usr/bin/make -j2 all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for pkgconfig): org.macports.destroot org.macports.build
:notice:build Log for pkgconfig is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_pkgconfig/main.log

comment:2 Changed 14 years ago by maziar@…

Cc: maziar@… added

Cc Me!

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 commandspkgconfig @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@…

Attachment: main.log added

_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:6 Changed 14 years ago by maziar@…

Problem is solved!

Thank you once again.

comment:7 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed

Great! Glad you got it working.

Note: See TracTickets for help on using tickets.