Opened 11 years ago

Closed 3 years ago

#43079 closed defect (fixed)

gobject-introspection: configure fails

Reported by: lcr@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: cooljeanius (Eric Gallager), Polyergic (Shad Sterling)
Port: gobject-introspection

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I am trying to install Pallet on a MacPro3,1 running Mavericks 10.9.2, MacPorts 2.2.1, and Xcode 5.1. The installation encounters errors. Here is the transcript.

sudo port clean Pallet
Password:
--->  Cleaning Pallet
sudo port install Pallet
Password:
--->  Computing dependencies for Pallet
--->  Cleaning Pallet
--->  Scanning binaries for linking errors: 100.0%
--->  Found 132 broken file(s), matching files to ports
--->  Found 3 broken port(s), determining rebuild order
--->  Rebuilding in order
     gobject-introspection @1.38.0 
     gdk-pixbuf2 @2.30.6 +x11
     atk @2.10.0 
--->  Computing dependencies for gobject-introspection
--->  Cleaning gobject-introspection
--->  Computing dependencies for gdk-pixbuf2
--->  Cleaning gdk-pixbuf2
--->  Computing dependencies for atk
--->  Cleaning atk
--->  Scanning binaries for linking errors: 100.0%
--->  Found 132 broken file(s), matching files to ports
--->  Found 3 broken port(s), determining rebuild order
--->  Rebuilding in order
     gobject-introspection @1.38.0 
     gdk-pixbuf2 @2.30.6 +x11
     atk @2.10.0 
--->  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.38.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)

Attachments (3)

main.log (20.7 KB) - added by lcr@… 11 years ago.
as requested
config.log (128.1 KB) - added by lcr@… 11 years ago.
a file referenced in error message in main.log
main_140329.log (52.4 KB) - added by lcr@… 11 years ago.
main.log from 2nd try Pallet installation

Download all attachments as: .zip

Change History (21)

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: pallet removed
Owner: changed from macports-tickets@… to juanrgar@…
Port: gobject-introspection added; pallet removed
Summary: Pallet installation fails on Mavericks 10.9.2gobject-introspection: configure fails

The output shows Pallet is already successfully installed, but after that, gobject-introspection was found to be broken and MacPorts tried to rebuild it, and that failed. Please attach gobject-introspection's main.log so that we can see why it failed.

Changed 11 years ago by lcr@…

Attachment: main.log added

as requested

Changed 11 years ago by lcr@…

Attachment: config.log added

a file referenced in error message in main.log

comment:2 Changed 11 years ago by juanrgar (Juan R. García Blanco)

Thanks. I'll take a look.

comment:3 Changed 11 years ago by juanrgar (Juan R. García Blanco)

At first glance it seems gobject-introspection does not compile due to a non-consistent ports installation.

The build error is this one:

Requested 'glib-2.0 >= 2.36.0' but version of GLib is 2.30.2

However, glib2 version in MacPorts is 2.38.2 since Nov-2013 (https://trac.macports.org/changeset/113259/trunk/dports/devel/glib2/Portfile). I'd suggest you check your macports installation and check which version of glib2 is actually installed.

I don't know what you could provide us to help discover why you have installed glib2 @2.30.2.

I've checked that version requirements between gobject-introspection and glib2 had been met:

  • glib2 @2.38.2 entered the repo on 9/24/13
  • gobject-introspection entered the repo on 10/7/13

Changed 11 years ago by lcr@…

Attachment: main_140329.log added

main.log from 2nd try Pallet installation

comment:4 Changed 11 years ago by lcr@…

I did a complete uninstall and reinstall of MacPorts and then tried again to install Pallet. Again the Pallet installation failed, but apparently for some quite different reason. To judge by what I see in the log file, the problem is with the Pallet installation proper, not with gobject-introspection or any other ancillary package. I have inserted the terminal transcript below, and I have attached the new main.log (main_140329.log). Enjoy. (Seriously, I appreciate the help you are providing.)

$ sudo port install Pallet Password: ---> Computing dependencies for Pallet ---> Dependencies to be installed: MacPorts_Framework ---> Fetching archive for MacPorts_Framework ---> Attempting to fetch MacPorts_Framework-1.2.1_1.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/MacPorts_Framework ---> Attempting to fetch MacPorts_Framework-1.2.1_1.darwin_13.x86_64.tbz2.rmd160 from http://lil.fr.packages.macports.org/MacPorts_Framework ---> Installing MacPorts_Framework @1.2.1_1 ---> Activating MacPorts_Framework @1.2.1_1 ---> Cleaning MacPorts_Framework ---> Fetching archive for Pallet ---> Attempting to fetch Pallet-1.1_1.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/Pallet ---> Attempting to fetch Pallet-1.1_1.darwin_13.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/Pallet ---> Attempting to fetch Pallet-1.1_1.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/Pallet ---> Fetching distfiles for Pallet ---> Verifying checksums for Pallet ---> Extracting Pallet ---> Configuring Pallet ---> Building Pallet Error: org.macports.build for port Pallet returned: command execution failed Please see the log file for port Pallet for details:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_Pallet/Pallet/main.log

To report a bug, follow the instructions in the guide:

http://guide.macports.org/#project.tickets

Error: Processing of port Pallet failed $

comment:5 Changed 11 years ago by juanrgar (Juan R. García Blanco)

I've never tried to install Pallet; I didn't even know what was it. What I see in the log is

error: garbage collection is no longer supported

You said you're on Mavericks. Maybe Mavericks is simply too new for Pallet, i.e. Mavericks is not supported. I don't know if Pallet is under active development, but I guess it is not.

comment:6 Changed 11 years ago by lcr@…

I suspect you are correct that Pallet has not been updated for Mavericks. I was unable, however, to find in the MacPorts Guide any means of associating a date with a port. In addition to the "error: garbage ..." message the log file includes the message ":msg:archivefetch ---> Attempting to fetch Pallet-1.1_1.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/Pallet :debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found" and two similar messages for other URLs. What do you make of those messages?

comment:7 in reply to:  5 Changed 11 years ago by gui-dos (Guido Soranzio)

Replying to juanrgar@…:

error: garbage collection is no longer supported

You said you're on Mavericks. Maybe Mavericks is simply too new for Pallet.

It is Xcode 5.1, not Mavericks, which doesn't support garbage collection anymore. If you open the project manually, however, you are assisted in converting it for ARC.

comment:8 Changed 11 years ago by lcr@…

Thanks, gui_dos, for this intelligence. Perhaps you could direct me to some guidance on how I might open the Pallet project manually. Thanks again.

comment:9 in reply to:  8 Changed 11 years ago by gui-dos (Guido Soranzio)

Replying to lcr@…:

Perhaps you could direct me to some guidance on how I might open the Pallet project manually

If you download the latest revision with

svn co https://svn.macports.org/repository/macports/contrib/Pallet

and open Pallet.xcodeproj, Xcode 5.1 offers you to “Convert to ARC”.

You are presented with many errors and warnings but it is possible to compile Pallet successfully.

In particular, you have to:

  • Select the latest SDK and the x86_64 architecture only in the Build Settings
  • Link to the MacPorts.Framework in /opt/local/Library/Frameworks/ and to the included Grawl.framework
  • Remove GCC_ENABLE_OBJC_GC in the User Defined Settings
  • Avoid adjusting manually the “ARC Semantic Issues” displayed in the Issue Navigator by invoking Edit > Refactor > Convert to Objective-C ARC and rebuilding twice

comment:10 Changed 11 years ago by lcr@…

The above recipe worked with the exception of "Remove GCC_ENABLE_OBJC_GC." For this setting the Edit>Delete menu item was disabled. I succeeded by changing the setting's status to "unsupported." At that point the Edit>Delete menu item became enabled, but invoking it returned GCC_ENABLE_OBJC_GC to its former value instead of deleting it. When I just left the setting at unsupported, the build was successful. Thanks so much for your assistance.

comment:11 Changed 10 years ago by juanrgar@…

Any news on this? Could this be closed?

comment:12 in reply to:  11 Changed 10 years ago by lcr@…

Replying to juanrgar@…:

Any news on this? Could this be closed?

From my perspective, yes, it could be closed. I assumed it would be closed. Thanks for the help.

comment:13 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:14 Changed 10 years ago by Polyergic (Shad Sterling)

Cc: me@… added

Cc Me!

comment:15 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)

Owner: changed from juanrgar to devans
Status: newassigned

comment:16 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from devans to dbevans

comment:17 Changed 3 years ago by evanmiller (Evan Miller)

In 54761193303aba7b45e0b48a13cab520810a620c/macports-ports (master):

gobject-introspection-devel: update to 1.70.0

See: #43079
See: #45448
See: #53699
See: #59940
See: #62863

comment:18 Changed 3 years ago by mascguy (Christopher Nielsen)

Resolution: fixed
Status: assignedclosed

Fixed in commit:

gobject-introspection: update to 1.70.0

https://github.com/macports/macports-ports/commit/3eec87eed585dfa681320de08bf4c71421152e00

Credit To: @evanmiller

Note: See TracTickets for help on using tickets.