Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 374573

Summary: media-libs/libcanberra-0.28-r2: cannot remove `/dev/shm/portage/media-libs/libcanberra-0.28-r2/image//usr/lib/gtk-*/modules/*.la': No such file or directory
Product: Gentoo Linux Reporter: Piotrek Juzwiak <piotrek.juzwiak>
Component: [OLD] LibraryAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal CC: sound
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Piotrek Juzwiak 2011-07-09 17:40:33 UTC
Installing libcanberra only with "gstreamer pulseaudio sound" USE flags, the failure is probably due to -gtk and a badly written ebuild not taking into accout possibility of installing libcanberra without gtk USE flag? I remember long time ago removing this line from the ebuild helped:

"rm -v "${ED}"/usr/$(get_libdir)/gtk-*/modules/*.la || die"

After i had removed this line i installed it but i understand this is more like a hack?


Reproducible: Always

Steps to Reproduce:
1.Install libcanberra without gtk USE flag?
2.
3.
Actual Results:  
Installing fail at install phase with 

cannot remove `/dev/shm/portage/media-libs/libcanberra-0.28-r2/image//usr/lib/gtk-*/modules/*.la': No such file or directory

message



Expected Results:  
It should ignore non existing files and install despite that?
Comment 1 Pacho Ramos gentoo-dev 2011-07-10 18:43:45 UTC
+  10 Jul 2011; Pacho Ramos <pacho@gentoo.org> -libcanberra-0.28-r1.ebuild,
+  libcanberra-0.28-r2.ebuild, +files/gconf-2.m4:
+  gconf-2.m4 is needed for autoconf, bug #374561 by Piotrek Juzwiak. Also
+  handle .la files removal better (bug #374573 by Piotrek Juzwiak). Remove old.
+