[MacPorts] #30644: gobject-introspection fails to build on OSX10.5.8
MacPorts
noreply at macports.org
Sun Aug 7 14:54:09 PDT 2011
#30644: gobject-introspection fails to build on OSX10.5.8
--------------------------------+-------------------------------------------
Reporter: wlmcderm@… | Owner: singingwolfboy@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.1
Keywords: | Port: gobject-introspection
--------------------------------+-------------------------------------------
Changes (by ryandesign@…):
* keywords: build =>
* owner: macports-tickets@… => singingwolfboy@…
Old description:
> 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
New description:
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
}}}
--
Comment:
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.
--
Ticket URL: <https://trac.macports.org/ticket/30644#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list