Opened 11 years ago

Closed 9 years ago

#38036 closed defect (invalid)

port install gobject-introspection +universal fails

Reported by: jeanchristophe.mincke@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), cooljeanius (Eric Gallager), juanrgar@…, dbevans (David B. Evans)
Port: gobject-introspection

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

When trying to install (osx 10.6.8) , I get:

--->  Computing dependencies for gobject-introspection
--->  Building gobject-introspection
Error: org.macports.build for port gobject-introspection returned: 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
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port gobject-introspection failed

Thank you for your help

Attachments (5)

main.log (140.4 KB) - added by jeanchristophe.mincke@… 11 years ago.
log file
main.2.log (145.1 KB) - added by jeanchristophe.mincke@… 11 years ago.
log
main.3.log (181.1 KB) - added by jeanchristophe.mincke@… 11 years ago.
main.4.log (181.1 KB) - added by jeanchristophe.mincke@… 11 years ago.
main.5.log (182.2 KB) - added by jeanchristophe.mincke@… 11 years ago.

Download all attachments as: .zip

Change History (18)

Changed 11 years ago by jeanchristophe.mincke@…

Attachment: main.log added

log file

comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)

Thanks for the ticket.

:debug:main Skipping completed org.macports.archivefetch (gobject-introspection)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (gobject-introspection)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (gobject-introspection)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (gobject-introspection)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (gobject-introspection)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (gobject-introspection)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Tue Feb 12 10:55:10 CET 2013
:notice:build --->  Building gobject-introspection

This was not a clean build attempt. Run sudo port clean gobject-introspection and try installing again. If it still fails, attach the new main.log.

comment:2 Changed 11 years ago by cooljeanius (Eric Gallager)

I had an issue with gobject-introspection back on my old computer that ran 10.6.8 (issue #37137 for reference), and it turned out to actually be an issue with my glib2 installation instead. What does port installed glib2 report for you?

comment:3 in reply to:  2 Changed 11 years ago by jeanchristophe.mincke@…

Replying to egall@…:

I had an issue with gobject-introspection back on my old computer that ran 10.6.8 (issue #37137 for reference), and it turned out to actually be an issue with my glib2 installation instead. What does port installed glib2 report for you?

I had already checked it, it seems ok

port installed glib2

The following ports are currently installed:
  glib2 @2.34.3_0+universal (active)

Regards

J-C

Last edited 11 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

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

Description: modified (diff)

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

Cc: ryandesign@… added

There are a number of strange things in the log you attached, but I'll refrain from analyzing them until you provide a log from a clean build, as requested above.

comment:6 in reply to:  5 ; Changed 11 years ago by jeanchristophe.mincke@…

Replying to ryandesign@…:

There are a number of strange things in the log you attached, but I'll refrain from analyzing them until you provide a log from a clean build, as requested above.

Thank you, but...

Where is it requested (above). I can noot really see it?

Thank you

Regards

J-C

comment:7 in reply to:  6 Changed 11 years ago by larryv (Lawrence Velázquez)

Replying to jeanchristophe.mincke@…:

Where is it requested (above). I can noot really see it?

I requested it in comment 1. I could tell that it was not a clean build attempt because all the phases up until the build phase were skipped. Please run the following and attach the new main.log if it fails.

sudo port clean gobject-introspection
sudo port install gobject-introspection

Changed 11 years ago by jeanchristophe.mincke@…

Attachment: main.2.log added

log

comment:8 Changed 11 years ago by jeanchristophe.mincke@…

Thank you , I tried again. Here are the results (see main.2.log file)

sudo port install gobject-introspection +universal
--->  Computing dependencies for gobject-introspection
--->  Building gobject-introspection
Error: org.macports.build for port gobject-introspection returned: 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
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port gobject-introspection failed
Last edited 11 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:9 in reply to:  8 ; Changed 11 years ago by larryv (Lawrence Velázquez)

This is still not a clean build. If it were, the archive, fetch, checksum, extract, patch, and configure phases would not be skipped.

:debug:main Skipping completed org.macports.archivefetch (gobject-introspection)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (gobject-introspection)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (gobject-introspection)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (gobject-introspection)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (gobject-introspection)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (gobject-introspection)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Wed Feb 13 22:15:32 CET 2013
:notice:build --->  Building gobject-introspection

As previously instructed, you must run these two commands, in this order.

sudo port clean gobject-introspection
sudo port install gobject-introspection +universal

Changed 11 years ago by jeanchristophe.mincke@…

Attachment: main.3.log added

Changed 11 years ago by jeanchristophe.mincke@…

Attachment: main.4.log added

Changed 11 years ago by jeanchristophe.mincke@…

Attachment: main.5.log added

comment:10 in reply to:  9 ; Changed 11 years ago by jeanchristophe.mincke@…

Replying to larryv@…:

This is still not a clean build. If it were, the archive, fetch, checksum, extract, patch, and configure phases would not be skipped.

:debug:main Skipping completed org.macports.archivefetch (gobject-introspection)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (gobject-introspection)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (gobject-introspection)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (gobject-introspection)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (gobject-introspection)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (gobject-introspection)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Wed Feb 13 22:15:32 CET 2013
:notice:build --->  Building gobject-introspection

As previously instructed, you must run these two commands, in this order.

sudo port clean gobject-introspection
sudo port install gobject-introspection +universal

Thank you

here it is ( see main.5.log)

6-240-178-46:evasrv V3$ sudo port clean  gobject-introspection
--->  Cleaning gobject-introspection
16-240-178-46:evasrv V3$ sudo port install gobject-introspection +universal
--->  Computing dependencies for gobject-introspection
--->  Fetching archive for gobject-introspection
--->  Attempting to fetch gobject-introspection-1.34.1.1_2+universal.darwin_10.i386-ppc.tbz2 from http://lil.fr.packages.macports.org/gobject-introspection
--->  Attempting to fetch gobject-introspection-1.34.1.1_2+universal.darwin_10.i386-ppc.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/gobject-introspection
--->  Attempting to fetch gobject-introspection-1.34.1.1_2+universal.darwin_10.i386-ppc.tbz2 from http://packages.macports.org/gobject-introspection
--->  Fetching distfiles for gobject-introspection
--->  Verifying checksum(s) for gobject-introspection
--->  Extracting gobject-introspection
--->  Applying patches to gobject-introspection
--->  Configuring gobject-introspection
--->  Building gobject-introspection
Error: org.macports.build for port gobject-introspection returned: 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
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port gobject-introspection failed
Last edited 9 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:11 Changed 11 years ago by shlaer@…

This happened to me, and I fixed it by noticing that my macports.config file had ppc instead of x86_64 set for my architecture. see http://superuser.com/questions/176561/mac-ports-installation-of-gcc46-failing-due-to-architecture-problems I followed the migration instructions to reinstall everything with x86_64 and gobject-introspection installed fine.

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

Cc: egall@… added

Cc Me!

comment:13 in reply to:  10 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: juanrgar@… devans@… added
Resolution: invalid
Status: newclosed

Replying to jeanchristophe.mincke@…:

here it is ( see main.5.log)

It says the problem is:

:info:build ld: warning: in /opt/local/lib/libgobject-2.0.dylib, missing required architecture x86_64 in file
:info:build ld: warning: in /opt/local/lib/libgthread-2.0.dylib, missing required architecture x86_64 in file
:info:build ld: warning: in /opt/local/lib/libffi.dylib, missing required architecture x86_64 in file
:info:build ld: warning: in /opt/local/lib/libglib-2.0.dylib, missing required architecture x86_64 in file
:info:build ld: warning: in /opt/local/lib/libintl.dylib, missing required architecture x86_64 in file
:info:build ld: warning: in /opt/local/lib/libiconv.dylib, missing required architecture x86_64 in file

For some reason, on your system, the ports glib2, libffi, gettext and libintl are missing the x86_64 portion, which should be there.

I think shlaer was probably right: you probably have build_arch set to either ppc or i386, and/or you have universal_archs set to ppc i386 in macports.conf. These values would have been appropriate for Mac OS X 10.4 and 10.5, but when you upgraded to Mac OS X 10.6 you needed to have changed build_arch to x86_64 and universal_archs to x86_64 i386, or commented them out to use the MacPorts default value. More generally, you needed to have followed the instructions in wiki:Migration; one of the steps is manually updating your macports.conf file.

Note: See TracTickets for help on using tickets.