[MacPorts] #32950: glib2 @2.30.2 destroot staging failure
#32950: glib2 @2.30.2 destroot staging failure -----------------------------------------+---------------------------------- Reporter: ollie@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: pkgconfig, gettext, leopard | Port: glib2 -----------------------------------------+---------------------------------- When trying to install glib2, I encounter a problem similar to #32185, though it seems that particular problem has been resolved already (and the work-around failed, too). I get the following message when trying to install glib2. (After sudo port clean glib2, of course.) I am running OSX 10.5.8 on a G5 and with XCode 3.1.4 installed. {{{ sandbox >: sudo port install glib2 ---> Computing dependencies for glib2 ---> Fetching archive for glib2 ---> Attempting to fetch glib2-2.30.2_2.darwin_9.ppc.tbz2 from http://packages.macports.org/glib2 ---> Fetching glib2 ---> Verifying checksum(s) for glib2 ---> Extracting glib2 ---> Applying patches to glib2 ---> Configuring glib2 ---> Building glib2 ---> Staging glib2 into destroot Error: Target org.macports.destroot returned: shell command failed (see log for details) Log for glib2 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_glib2/glib2/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> }}} It doesn't seem to be a problem with pkgconfig or gettext, as other similar problems are. To check what I already have, I did the following: {{{ sandbox >: sudo port installed glib2 None of the specified ports are installed. sandbox >: sudo port installed pkgconfig The following ports are currently installed: pkgconfig @0.25_1 pkgconfig @0.25_2 (active) sandbox >: sudo port installed gettext The following ports are currently installed: gettext @0.18.1.1_2 (active) gettext @0.18.1.1_2+universal }}} The log is attached. I can't figure out how glib2 could compile, but the last step would fail. -- Ticket URL: <https://trac.macports.org/ticket/32950> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32950: glib2 @2.30.2 destroot staging failure ---------------------------------+------------------------------------------ Reporter: ollie@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: glib2 ---------------------------------+------------------------------------------ Changes (by ryandesign@…): * keywords: pkgconfig, gettext, leopard => * owner: macports-tickets@… => ryandesign@… * cc: ryandesign@… (removed) Comment: I don't see any similarity with #32185. The relevant error seems to be: {{{ /opt/local/bin/gtkdoc-rebase: /opt/local/bin/perl: bad interpreter: No such file or directory }}} /opt/local/bin/gtkdoc-rebase is provided by the gtk-doc port, and the gtk- doc port does declare a dependency on the perl5 port, which is what is supposed to provide /opt/local/bin/perl. glib2 itself also declares a dependency on perl5. So my questions to you are: * is the perl5 port installed and active? (port installed perl5) * what does it contain? (port contents perl5) Possibly more curious is why gtkdoc-rebase is being run at all; glib2 does not declare a dependency on the gtk-doc port so it should not be using any part of it. -- Ticket URL: <https://trac.macports.org/ticket/32950#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32950: glib2 @2.30.2 destroot staging failure ---------------------------------+------------------------------------------ Reporter: ollie@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: glib2 ---------------------------------+------------------------------------------ Comment(by ollie@…): The installed version of perl is given by {{{
: port installed perl5The following ports are currently installed: perl5 @5.12.3_1+perl5_12 (active) }}}
The contents are in a file attached (perl5.contents.txt). -- Ticket URL: <https://trac.macports.org/ticket/32950#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32950: glib2 @2.30.2 destroot staging failure ---------------------------------+------------------------------------------ Reporter: ollie@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: glib2 ---------------------------------+------------------------------------------ Comment(by ryandesign@…): Ok, so it shows /opt/local/bin/perl does exist. It is usually a symlink. What is it a symlink to, and does that file exist? -- Ticket URL: <https://trac.macports.org/ticket/32950#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32950: glib2 @2.30.2 destroot staging failure ---------------------------------+------------------------------------------ Reporter: ollie@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: glib2 ---------------------------------+------------------------------------------ Comment(by ollie@…): Here's the results of ''ls -lr | grep perl'' while in /opt/local/bin. {{{ lrwxr-xr-x 1 root admin 19 May 13 2011 cpanp-run-perl -> cpanp- run-perl-5.12 lrwxr-xr-x 1 root admin 14 May 13 2011 find2perl -> find2perl-5.12 -rwxr-xr-x 1 root admin 24125 Mar 11 2011 find2perl-5.8 lrwxr-xr-x 1 root admin 8 May 13 2011 perl -> perl5.12 lrwxr-xr-x 1 root admin 8 May 13 2011 perl5 -> perl5.12 -rwxr-xr-x 1 root admin 1220364 Mar 11 2011 perl5.8 lrwxr-xr-x 1 root admin 7 Mar 11 2011 perl5.8.9 -> perl5.8 lrwxr-xr-x 1 root admin 12 May 13 2011 perlbug -> perlbug-5.12 -rwxr-xr-x 1 root admin 44765 Mar 11 2011 perlbug-5.8 -rwxr-xr-x 1 root admin 17965 Mar 11 2011 perlcc-5.8 lrwxr-xr-x 1 root admin 12 May 13 2011 perldoc -> perldoc-5.12 -rwxr-xr-x 1 root admin 236 Mar 11 2011 perldoc-5.8 lrwxr-xr-x 1 root admin 12 May 13 2011 perlivp -> perlivp-5.12 -rwxr-xr-x 1 root admin 12286 Mar 11 2011 perlivp-5.8 lrwxr-xr-x 1 root admin 15 May 13 2011 perlthanks -> perlthanks-5.12 -rwxr-xr-x 1 root admin 44765 Mar 11 2011 perlthanks-5.8 }}} However, ''which perl'' returns {{{ /usr/bin/perl }}} which is a binary. -- Ticket URL: <https://trac.macports.org/ticket/32950#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32950: glib2 @2.30.2 destroot staging failure when /opt/local/bin/perl doesn't work ---------------------------------+------------------------------------------ Reporter: ollie@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: glib2 ---------------------------------+------------------------------------------ Comment(by ryandesign@…): It looks like you have installed the variant of perl5 that says you want to use perl 5.12, but you don't have perl 5.12 installed. So you need to either: * `sudo port install perl5 +perl5_8` (if you want to use perl 5.8), or * `sudo port install perl5.12` (if you want to use perl 5.12) -- Ticket URL: <https://trac.macports.org/ticket/32950#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32950: glib2 @2.30.2 destroot staging failure when /opt/local/bin/perl doesn't work ---------------------------------+------------------------------------------ Reporter: ollie@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: glib2 ---------------------------------+------------------------------------------ Comment(by ollie@…): Replying to [comment:5 ryandesign@…]:
It looks like you have installed the variant of perl5 that says you want to use perl 5.12, but you don't have perl 5.12 installed. So you need to either:
That seems to have worked. Perl5.12 didn't want to activate, but activating 5.8 allowed glib2 to be installed. -- Ticket URL: <https://trac.macports.org/ticket/32950#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32950: glib2 @2.30.2 destroot staging failure when /opt/local/bin/perl doesn't work ----------------------------------+----------------------------------------- Reporter: ollie@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: invalid | Keywords: Port: glib2 | ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => invalid Comment: Ok, then I think we'll call it a day. -- Ticket URL: <https://trac.macports.org/ticket/32950#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts