[MacPorts] #27886: Error on all commands
#27886: Error on all commands ---------------------------+------------------------------------------------ Reporter: maziar@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: ---------------------------+------------------------------------------------ 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 }}} -- Ticket URL: <https://trac.macports.org/ticket/27886> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27886: Error on all commands ---------------------------+------------------------------------------------ Reporter: maziar@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: ---------------------------+------------------------------------------------ Comment(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 }}} -- Ticket URL: <https://trac.macports.org/ticket/27886#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27886: pkgconfig @0.25 build failure ---------------------------+------------------------------------------------ Reporter: maziar@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: pkgconfig ---------------------------+------------------------------------------------ Changes (by jmr@…): * owner: macports-tickets@… => ryandesign@… * cc: maziar@… (removed) * port: => pkgconfig Comment: 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. -- Ticket URL: <https://trac.macports.org/ticket/27886#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27886: pkgconfig @0.25 build failure ---------------------------+------------------------------------------------ Reporter: maziar@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: pkgconfig ---------------------------+------------------------------------------------ Comment(by ryandesign@…): 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 [wiki:Migration Migration] page in the wiki for how to do that. -- Ticket URL: <https://trac.macports.org/ticket/27886#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27886: pkgconfig @0.25 build failure ---------------------------+------------------------------------------------ Reporter: maziar@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: pkgconfig ---------------------------+------------------------------------------------ Comment(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. -- Ticket URL: <https://trac.macports.org/ticket/27886#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27886: pkgconfig @0.25 build failure ---------------------------+------------------------------------------------ Reporter: maziar@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: pkgconfig ---------------------------+------------------------------------------------ Comment(by maziar@…): Problem is solved! Thank you once again. -- Ticket URL: <https://trac.macports.org/ticket/27886#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27886: pkgconfig @0.25 build failure ----------------------------+----------------------------------------------- Reporter: maziar@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: invalid | Keywords: Port: pkgconfig | ----------------------------+----------------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => invalid Comment: Great! Glad you got it working. -- Ticket URL: <https://trac.macports.org/ticket/27886#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts