Opened 15 years ago

Closed 15 years ago

#7727 closed defect (fixed)

BUG: librsvg-2.12.7 - during install "child process exited abnormally"

Reported by: markd@… Owned by: gnome-darwinports@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc: yves@…
Port:

Description

I'm on 10.4.5 Xcode 2.2.1. The full debug output is attached and my installed ports list. But here is what happens immediately before the error.

DEBUG: installing directory: /opt/local/var/db/dports/software/librsvg/2.12.7_1/opt/local/share/man DEBUG: installing directory: /opt/local/var/db/dports/software/librsvg/2.12.7_1/opt/local/share/man/man1 DEBUG: installing file: /opt/local/var/db/dports/software/librsvg/2.12.7_1/opt/local/share/man/

man1/rsvg.1.gz DEBUG: installing directory: /opt/local/var/db/dports/software/librsvg/2.12.7_1/opt/local/share/pixmaps DEBUG: installing file: /opt/local/var/db/dports/software/librsvg/2.12.7_1/opt/local/share/pixmaps/svg-viewer.svg DEBUG: Executing proc-post-com.apple.install-install-0 Error: Target com.apple.install returned: child process exited abnormally Warning: the following items did not execute (for librsvg): com.apple.activate com.apple.install Error: /opt/local/bin/port: Status 1 encountered during processing.

Attachments (2)

librsvgdebug.txt (216.5 KB) - added by markd@… 15 years ago.
librsvg 2.12.7 debug output
installedports.txt (7.6 KB) - added by markd@… 15 years ago.
Current installed ports list

Download all attachments as: .zip

Change History (11)

Changed 15 years ago by markd@…

Attachment: librsvgdebug.txt added

librsvg 2.12.7 debug output

Changed 15 years ago by markd@…

Attachment: installedports.txt added

Current installed ports list

comment:1 Changed 15 years ago by blb@…

Owner: changed from darwinports-bugs@… to gnome-darwinports@…

Assigning to maintainer.

comment:2 Changed 15 years ago by rhwood@…

Resolution: fixed
Status: newclosed

Fix committed to CVS.

comment:3 Changed 15 years ago by rhwood@…

Resolution: fixed
Status: closedreopened

Reopening as my fix did not correctly address this bug.

comment:4 Changed 15 years ago by yves@…

you need something like

set fl [open "| grep -c svg ${prefix}/etc/gtk-2.0/gdk-pixbuf.loaders" ] set data [read $fl] if {[catch {close $fl} err]}

comment:5 Changed 15 years ago by rhwood@…

Cc: yves@… added

With a recent CVS commit, the port is now installing.

However, it is not correctly running the command

system "gdk-pixbuf-query-loaders > ${prefix}/etc/gtk-2.0/gdk-pixbuf.loaders"

even though it claims it is (the ui_msg in the same logic block is displayed)

trying

sudo gdk-pixbuf-query-loaders > ${prefix}/etc/gtk-2.0/gdk-pixbuf.loaders

gives me a "permissions denied" error. gdk-pixbuf.loaders is owned by root:admin with permissions 644, so I am not sure what is going wrong or how to handle this.

Yves: added you to the CC list--don't know if you get gnome-darwinports email.

comment:6 Changed 15 years ago by yves@…

what about the permissions on ${prefix}/etc/gtk-2.0 ?

I also notice that there is a gremlin in the Portfile :

set fl [open "|<A0>grep -c svg ${prefix}/etc/gtk-2.0/gdk-pixbuf.loaders" ]

Finally, shouldn't it be a post-activate like in the gtk2 port, and do we really need to grep the file ?

Just a plain :

post-activate { system "gdk-pixbuf-query-loaders > ${prefix}/etc/gtk-2.0/gdk-pixbuf.loaders" }

could be alright.

comment:7 Changed 15 years ago by yves@…

about the permission error, I just got the same, but I also notice that I was never asked for a password when doing the command. This is kind of strange.

comment:8 Changed 15 years ago by rhwood@…

(In reply to comment #8)

set fl [open "|<A0>grep -c svg ${prefix}/etc/gtk-2.0/gdk-pixbuf.loaders" ]

Got fixed in CVS just a couple of hours ago.

comment:9 Changed 15 years ago by markd@…

Resolution: fixed
Status: reopenedclosed

Works great. Thanks!

Note: See TracTickets for help on using tickets.