Opened 14 years ago

Closed 14 years ago

#22837 closed defect (invalid)

libgnomeui error with gdkpixbuf warning

Reported by: lisfolks.lists@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: libgnomeui

Description (last modified by jmroot (Joshua Root))

Getting the following when updating libgnomeui 2.24.2:

Building libgnomeui
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_libgnomeui/work/libgnomeui-2.24.2" && /usr/bin/make -j2 all " returned error 2
Command output: /usr/bin/make  all-recursive
Making all in libgnomeui
/usr/bin/make  all-recursive
Making all in pixmaps
rm -f gnome-stock-pixbufs.h
var=`echo "stock_attach.png stock_book_blue.png stock_book_green.png stock_book_open.png stock_book_red.png stock_book_yellow.png stock_line_in.png stock_mail.png stock_mail_compose.png stock_mail_forward.png stock_mail_receive.png stock_mail_reply.png stock_mail_send.png stock_menu_about.png stock_menu_blank.png stock_scores.png stock_mic.png stock_multiple_file.png stock_not.png stock_table_borders.png stock_table_fill.png stock_text_bulleted_list.png stock_text_indent.png stock_text_numbered_list.png stock_text_unindent.png stock_timer.png stock_timer_stopped.png stock_trash.png stock_trash_full.png stock_volume.png stock_midi.png stock_authentication.png" | sed -e 's,stock_\([^\.]*\)\.png,stock_\1 ./stock_\1.png,g'` ; \
	   /opt/local/bin/gdk-pixbuf-csource --raw --build-list $var > pixbufs-tmp && \
	   cat ./copyright.txt pixbufs-tmp > gnome-stock-pixbufs.h

(process:22638): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/opt/local/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
failed to load "./stock_attach.png": Couldn't recognize the image file format for file './stock_attach.png'
make[4]: *** [gnome-stock-pixbufs.h] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Problem while installing libgnomeui

Change History (4)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Description: modified (diff)
Keywords: libgnomeui gdkpixbuf stock_attach.png removed

That's odd, gtk2 runs this in post-activate:

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

so that file should exist.

comment:2 in reply to:  1 Changed 14 years ago by lisfolks.lists@…

I looked for /etc/gtk-2.0/gdk-pixbuf.loaders, but didn't see the file there. So, today I did a clean --all of libgnomeui, ran the selfupdate, and tried yet again so I could verify whether the file was there afterwards. But, this time it worked! It installed libgnomeui @2.24.2_0 without a hitch.

I had done those steps before, and I haven't tried since entering this ticket, so I'm not sure what changed. It's working, though, so you can close this ticket as far as I'm concerned...

comment:3 Changed 14 years ago by lisfolks.lists@…

(I looked for the gdk-pixbuf.loaders file with an /opt/local to replace the ${prefix} portion of the path in front of the /etc/gtk-2.0, of course! Didn't want you to think I didn't find it 'cause I looked in the wrong place. It wasn't there.) -- LL

comment:4 Changed 14 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.