Opened 13 years ago

Last modified 13 years ago

#30644 closed defect

gobject-introspection fails to build on OSX10.5.8 — at Version 2

Reported by: wlmcderm@… Owned by: singingwolfboy@…
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: Cc:
Port: gobject-introspection

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

gobject-introspection-0.10.6_0 fails to build. At the point where errors appear in the log (attached), the output is:

:info:build OSError: [Errno 13] Permission denied: '/Users/wes/.cache/g-ir-scanner/06e881d3462dd6af89e7002a4fe05682b10d8021'
:info:build make[2]: *** [GLib-2.0.gir] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gobject-introspection/gobject-introspection/work/gobject-introspection-0.10.6'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gobject-introspection/gobject-introspection/work/gobject-introspection-0.10.6'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gobject-introspection/gobject-introspection/work/gobject-introspection-0.10.6'
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gobject-introspection/gobject-introspection/work/gobject-introspection-0.10.6" && /usr/bin/make -w 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 gobject-introspection): org.macports.install org.macports.build org.macports.destroot
:notice:build Log for gobject-introspection is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gobject-introspection/gobject-introspection/main.log

Change History (3)

Changed 13 years ago by wlmcderm@…

Attachment: main.log.zip added

main.log file

comment:1 Changed 13 years ago by wlmcderm@…

The console output is:

mac:~ wes$ sudo port upgrade outdated
Password:
--->  Computing dependencies for gobject-introspection
--->  Building gobject-introspection
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for gobject-introspection is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gobject-introspection/gobject-introspection/main.log
Error: Unable to upgrade port: 1

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: build removed
Owner: changed from macports-tickets@… to singingwolfboy@…

The actual relevant error in the log seems to be:

:info:build OSError: [Errno 13] Permission denied: '/Users/wes/.cache/g-ir-scanner/06e881d3462dd6af89e7002a4fe05682b10d8021'

So this is probably a consequence of the new privilege-dropping code in MacPorts 2.0.

Note: See TracTickets for help on using tickets.