Opened 12 years ago

Closed 12 years ago

#34105 closed defect (invalid)

glib2 fails when staging in destroot

Reported by: libeks@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc: dbevans (David B. Evans)
Port: glib2

Description

While installing ImageMagick, I ran into problems with glib2. It is configured and compiles fine, but it fails during this step:

--->  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_tarballs_ports_devel_glib2/glib2/main.log

These are the last few lines of main.log (attached):

:error:destroot Target org.macports.destroot returned: shell command failed (see log for details)
:debug:destroot Backtrace: shell command failed (see log for details)
    while executing
"command_exec destroot"
    (procedure "portdestroot::destroot_main" line 2)
    invoked from within
"$procedure $targetname"
:info:destroot Warning: the following items did not execute (for glib2): org.macports.activate org.macports.destroot org.macports.install
:notice:destroot Log for glib2 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/main.log

I've attempted to run the following multiple times, to no avail:

sudo port clean glib2
sudo port install glib2

I have run sudo port selfupdate before running the above two lines.

Attachments (1)

main.log (1.0 MB) - added by libeks@… 12 years ago.
main.log

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by libeks@…

Attachment: main.log added

main.log

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: devans@… added
Keywords: glib2 destroot removed
Owner: changed from macports-tickets@… to ryandesign@…

Please remember to Cc the maintainer of the port (in this case: me) so they can begin to analyze the problem.

The log says:

:info:destroot /bin/sh: line 1: 82667 Segmentation fault: 11  /opt/local/bin/gtkdoc-rebase --relative --dest-dir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/work/destroot --html-dir=${installdir}

So something is the matter with your gtkdoc-rebase command. Try reinstalling the gtk-doc port:

sudo port -n upgrade --force gtk-doc

comment:2 Changed 12 years ago by libeks@…

I followed your advice, ended up with a set of different problems, and reasoning that it was due to something being corrupt, I decided to reinstall MacPorts. All of my issues have now been resolved, so this ticket can be closed.

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed

Ok, glad you got it working.

Note: See TracTickets for help on using tickets.