[MacPorts] #40150: gobject-introspection configure fails
#40150: gobject-introspection configure fails -----------------------------------+----------------------------------- Reporter: fabian@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: gobject-introspection | Port: gobject-introspection -----------------------------------+----------------------------------- This happened to me recently {{{ $ sudo port install ddd ---> Computing dependencies for ddd ---> Cleaning ddd ---> Scanning binaries for linking errors: 100.0% ---> Found 60 broken file(s), matching files to ports ---> Found 3 broken port(s), determining rebuild order ---> Rebuilding in order gobject-introspection @1.36.0 harfbuzz @0.9.19 pango @1.34.1 +x11 ---> Computing dependencies for gobject-introspection ---> Cleaning gobject-introspection ---> Computing dependencies for harfbuzz ---> Cleaning harfbuzz ---> Computing dependencies for pango ---> Cleaning pango ---> Scanning binaries for linking errors: 100.0% ---> Found 60 broken file(s), matching files to ports ---> Found 3 broken port(s), determining rebuild order ---> Rebuilding in order gobject-introspection @1.36.0 harfbuzz @0.9.19 pango @1.34.1 +x11 ---> Computing dependencies for gobject-introspection ---> Fetching distfiles for gobject-introspection ---> Verifying checksums for gobject-introspection ---> Extracting gobject-introspection ---> Applying patches to gobject-introspection ---> Configuring gobject-introspection Error: Failed to configure gobject-introspection, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_gnome_gobject-introspection/gobject- introspection/work/gobject-introspection-1.36.0/config.log Error: org.macports.configure for port gobject-introspection returned: configure failure: command execution failed Please see the log file for port gobject-introspection for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_gnome_gobject-introspection/gobject- introspection/main.log Error: Unable to upgrade port: 1 Error rebuilding gobject-introspection while executing "error "Error rebuilding $portname"" (procedure "revupgrade_scanandrebuild" line 382) invoked from within "revupgrade_scanandrebuild broken_port_counts $opts" (procedure "macports::revupgrade" line 5) invoked from within "macports::revupgrade $opts" (procedure "action_revupgrade" line 2) invoked from within "action_revupgrade $action $portlist $opts" (procedure "action_target" line 96) invoked from within "$action_proc $action $portlist [array get global_options]" (procedure "process_cmd" line 93) invoked from within "process_cmd $remaining_args" invoked from within "if { [llength $remaining_args] > 0 } { # If there are remaining arguments, process those as a command set exit_status [process_cmd $remaining..." (file "/opt/local/bin/port" line 4857) }}} -- Ticket URL: <https://trac.macports.org/ticket/40150> MacPorts <http://www.macports.org/> Ports system for OS X
#40150: gobject-introspection configure fails ------------------------------------+----------------------------------- Reporter: fabian@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: gobject-introspection Port: gobject-introspection | ------------------------------------+----------------------------------- Comment (by cal@…): `port list` does not what you expect it to do. See wiki:FAQ#portlist. Please attach the output of `port installed glib2` and the contents of the file `/opt/local/lib/pkgconfig/glib-2.0.pc`. -- Ticket URL: <https://trac.macports.org/ticket/40150#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#40150: gobject-introspection configure fails ------------------------------------+----------------------------------- Reporter: fabian@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: gobject-introspection Port: gobject-introspection | ------------------------------------+----------------------------------- Comment (by fabian@…): Thank you cal. {{{ $ port installed glib2 The following ports are currently installed: glib2 @2.34.3_0 (active) }}} -- Ticket URL: <https://trac.macports.org/ticket/40150#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40150: gobject-introspection configure fails ------------------------------------+----------------------------------- Reporter: fabian@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: gobject-introspection Port: gobject-introspection | ------------------------------------+----------------------------------- Comment (by cal@…): Your glib2 is outdated. The current version is 2.36.4. Normally MacPorts should automatically upgrade all dependencies to prevent situations like these. Do you happen to have a Portfile for glib2 in a local Portfile repository? What do `port outdated` and `port file glib2` print? When did you last run selfupdate? `glib2` was updated to a 2.36 series release 5 months ago. -- Ticket URL: <https://trac.macports.org/ticket/40150#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#40150: gobject-introspection configure fails ------------------------------------+----------------------------------- Reporter: fabian@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: gobject-introspection Port: gobject-introspection | ------------------------------------+----------------------------------- Comment (by fabian@…): {{{ $ port outdated The following installed ports are outdated: apr 1.4.6_1 < 1.4.8_0 apr-util 1.5.1_0 < 1.5.2_1 aria2 1.16.3_0 < 1.17.1_0 autoconf 2.69_0 < 2.69_1 automake 1.13.1_0 < 1.14_0 boost 1.53.0_1 < 1.54.0_0 fftw-3 3.3.3_0 < 3.3.3_1 file 5.12_2 < 5.14_1 gifsicle 1.70_0 < 1.71_0 git-core 1.8.3.1_0 < 1.8.3.4_0 glew 1.9.0_0 < 1.10.0_0 glib2 2.34.3_0 < 2.36.3_2 glm 0.9.4.3_0 < 0.9.4.4_0 gnupg 1.4.13_1 < 1.4.14_0 gnutls 2.12.19_0 < 3.1.10_0 gource 0.38_5 < 0.39_1 help2man 1.41.1_0 < 1.43.3_0 icu 49.1.2_1 < 51.2_0 ImageMagick 6.8.0-7_2 < 6.8.6-6_0 kerberos5 1.11.1_0 < 1.11.3_0 libffi 3.0.11_1 < 3.0.13_0 libgcrypt 1.5.0_0 < 1.5.3_0 libgpg-error 1.10_0 < 1.12_0 libogg 1.3.0_1 < 1.3.1_0 MPlayer 1.1_3 < 1.1_5 openjpeg 1.5.0_5 < 2.0.0_0 p5-app-ack 1.960.0_1 < 2.40.0_0 p5.12-app-ack 1.960.0_1 < 2.40.0_0 p5.12-file-next 1.20.0_3 < 1.120.0_0 pngcrush 1.7.53_0 < 1.7.67_0 serf1 1.2.0_0 < 1.3.0_0 subversion 1.7.8_2 < 1.8.1_1 wget 1.14_2 < 1.14_5 xorg-libXrandr 1.4.0_0 < 1.4.1_0 xrender 0.9.7_0 < 0.9.8_0 $ port file glib2 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/glib2/Portfile }}} It has roughly been a week since I last ran port selfupdate. -- Ticket URL: <https://trac.macports.org/ticket/40150#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#40150: rev-upgrade should update dependencies before attempting rebuilds ------------------------------------+------------------------- Reporter: fabian@… | Owner: cal@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: base | Version: 2.2.0 Resolution: | Keywords: rev-upgrade Port: gobject-introspection | ------------------------------------+------------------------- Changes (by cal@…): * keywords: gobject-introspection => rev-upgrade * owner: macports-tickets@… => cal@… * status: new => assigned * component: ports => base Comment: The problem is that the rebuild step in `rev-upgrade` is the equivalent of `sudo port -n upgrade --force $broken_port`, where the `-n` flag keeps MacPorts from upgrading any dependencies first. Until this is fixed, you can work around the problem by running `sudo port upgrade glib2` for now. -- Ticket URL: <https://trac.macports.org/ticket/40150#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#40150: rev-upgrade should update dependencies before attempting rebuilds ------------------------------------+------------------------- Reporter: fabian@… | Owner: cal@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: base | Version: 2.2.0 Resolution: | Keywords: rev-upgrade Port: gobject-introspection | ------------------------------------+------------------------- Comment (by fabian@…): Thank you, upgrading glib2 worked. I'm glad I could help you find the root cause. -- Ticket URL: <https://trac.macports.org/ticket/40150#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#40150: rev-upgrade should update dependencies before attempting rebuilds ------------------------------------+----------------------------- Reporter: fabian@… | Owner: cal@… Type: defect | Status: assigned Priority: Normal | Milestone: MacPorts Future Component: base | Version: 2.2.0 Resolution: | Keywords: rev-upgrade Port: gobject-introspection | ------------------------------------+----------------------------- Changes (by cal@…): * milestone: => MacPorts Future Comment: I've added a fix to trunk in r109649. -- Ticket URL: <https://trac.macports.org/ticket/40150#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#40150: rev-upgrade should update dependencies before attempting rebuilds ------------------------------------+----------------------------- Reporter: fabian@… | Owner: cal@… Type: defect | Status: assigned Priority: Normal | Milestone: MacPorts Future Component: base | Version: 2.2.0 Resolution: | Keywords: rev-upgrade Port: gobject-introspection | ------------------------------------+----------------------------- Comment (by coredumperror@…): If you could expedite this fix into the public release, I'd really appreciate it. I've been trying to install the git-core port, and I always get an error on the gobject-introspection package. It appears to be the same problem that fabian was suffering, but I have it a lot worse. Attempting to upgrade glib2 directly just causes a similar error for one of its dependencies. And attempting to upgrade that dependency causes another error for one of '''its''' dependencies. I eventually dug deep enough into this rabbit hole to hit the qt3 port, but it just causes another, apparently unrelated, error. Fortunately, git works without these dependencies, but gitk (the visual branch viewer) just instantly dies as soon as I attempt to run it. -- Ticket URL: <https://trac.macports.org/ticket/40150#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#40150: rev-upgrade should update dependencies before attempting rebuilds ------------------------------------+----------------------------- Reporter: fabian@… | Owner: cal@… Type: defect | Status: assigned Priority: Normal | Milestone: MacPorts Future Component: base | Version: 2.2.0 Resolution: | Keywords: rev-upgrade Port: gobject-introspection | ------------------------------------+----------------------------- Comment (by cal@…): I can merge this into the current branch for the 2.2.x series, but the next release will probably not be until the Mavericks release. -- Ticket URL: <https://trac.macports.org/ticket/40150#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#40150: rev-upgrade should update dependencies before attempting rebuilds ------------------------------------+----------------------------- Reporter: fabian@… | Owner: cal@… Type: defect | Status: assigned Priority: Normal | Milestone: MacPorts Future Component: base | Version: 2.2.0 Resolution: | Keywords: rev-upgrade Port: gobject-introspection | ------------------------------------+----------------------------- Comment (by cal@…): Running `sudo port upgrade outdated` should always be a valid workaround for this problem, though -- maybe you should try that, unless you have a specific reason not to. -- Ticket URL: <https://trac.macports.org/ticket/40150#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#40150: rev-upgrade should update dependencies before attempting rebuilds ------------------------------------+---------------------------- Reporter: fabian@… | Owner: cal@… Type: defect | Status: closed Priority: Normal | Milestone: MacPorts 2.2.1 Component: base | Version: 2.2.0 Resolution: fixed | Keywords: rev-upgrade Port: gobject-introspection | ------------------------------------+---------------------------- Changes (by cal@…): * status: assigned => closed * resolution: => fixed * milestone: MacPorts Future => MacPorts 2.2.1 Comment: In r112424. -- Ticket URL: <https://trac.macports.org/ticket/40150#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
#40150: rev-upgrade should update dependencies before attempting rebuilds ------------------------------------+----------------------------- Reporter: fabian@… | Owner: cal@… Type: defect | Status: reopened Priority: Normal | Milestone: MacPorts Future Component: base | Version: 2.2.0 Resolution: | Keywords: rev-upgrade Port: gobject-introspection | ------------------------------------+----------------------------- Changes (by cal@…): * status: closed => reopened * resolution: fixed => * milestone: MacPorts 2.2.1 => MacPorts Future Comment: Reverted in r112461 because it wasn't completely correct. -- Ticket URL: <https://trac.macports.org/ticket/40150#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
#40150: rev-upgrade should update dependencies before attempting rebuilds ------------------------------------+----------------------------- Reporter: fabian@… | Owner: cal@… Type: defect | Status: closed Priority: Normal | Milestone: MacPorts Future Component: base | Version: 2.2.0 Resolution: fixed | Keywords: rev-upgrade Port: gobject-introspection | ------------------------------------+----------------------------- Changes (by cal@…): * status: reopened => closed * resolution: => fixed Comment: Should be fixed without the problems in r112462 and r112464. -- Ticket URL: <https://trac.macports.org/ticket/40150#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X
#40150: rev-upgrade should update dependencies before attempting rebuilds ------------------------------------+---------------------------- Reporter: fabian@… | Owner: cal@… Type: defect | Status: closed Priority: Normal | Milestone: MacPorts 2.3.0 Component: base | Version: 2.2.0 Resolution: fixed | Keywords: rev-upgrade Port: gobject-introspection | ------------------------------------+---------------------------- Changes (by jmr@…): * milestone: MacPorts Future => MacPorts 2.3.0 -- Ticket URL: <https://trac.macports.org/ticket/40150#comment:15> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts