#30644 closed defect (duplicate)
gobject-introspection fails to build on OSX10.5.8
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
Attachments (1)
Change History (8)
Changed 13 years ago by wlmcderm@…
Attachment: | main.log.zip added |
---|
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.
comment:3 follow-up: 5 Changed 13 years ago by mf2k (Frank Schima)
I believe it works now, but the was broken in the past leaving files owned by root. Can you try deleting the entire g-ir-scanner directory and try again?
comment:4 Changed 13 years ago by jmroot (Joshua Root)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
comment:5 follow-up: 6 Changed 13 years ago by wlmcderm@…
Replying to macsforever2000@…:
I believe it works now, but the was broken in the past leaving files owned by root. Can you try deleting the entire g-ir-scanner directory and try again?
Which g-ir-scanner directory? The build directory at:
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 ?
If I run:
$port clean --all gobject-introspection (which deletes that directory, among others)
$port upgrade gobject-introspection
I get the same error.
comment:6 Changed 13 years ago by wlmcderm@…
Replying to wlmcderm@…:
Replying to macsforever2000@…:
I believe it works now, but the was broken in the past leaving files owned by root. Can you try deleting the entire g-ir-scanner directory and try again?
Oh, I see, you must have meant the ~/.cache/g-ir-scanner
Deleting that and rebuilding gobject-introspection works.
Thanks!
main.log file