Bug 28104 - libcanberra has problem to install with parallell make
Summary: libcanberra has problem to install with parallell make
Status: RESOLVED WONTFIX
Alias: None
Product: libcanberra
Classification: Unclassified
Component: Unspecified (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Lennart Poettering
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-14 03:57 UTC by Peter Hjalmarsson
Modified: 2010-05-14 13:44 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
patch that makes things at least build and install (387 bytes, patch)
2010-05-14 03:57 UTC, Peter Hjalmarsson
Details | Splinter Review

Description Peter Hjalmarsson 2010-05-14 03:57:08 UTC
Created attachment 35648 [details] [review]
patch that makes things at least build and install

libcanberra.la -lm -inst-prefix-dir
/var/tmp/portage/media-libs/libcanberra-0.23/image/)
/var/tmp/portage/media-libs/libcanberra-0.23/work/libcanberra-0.23/src/.libs/libcanberra-gtk.so:
file not recognized: File truncated
collect2: ld returned 1 exit status
libtool: install: error: relink `libcanberra-gtk-module.la' with the above
command before installing it
make[2]: *** [install-gtkmoduleLTLIBRARIES] Error 1
make[2]: *** Waiting for unfinished jobs....

The problem here seems to be that during install libcanberra-gtk-module.so and
libcanberra-gtk.so are processed at the same time, making
libcanberra-gtk-module.so fail since libcanberra-gtk.so are changed.

The thing is this patch made libcanberra build and install for me. I do not know if it breaks anything tho.
Comment 1 Peter Hjalmarsson 2010-05-14 13:42:04 UTC
Otoh this patch breaks the module runtime-wise for me, but I do not know enough about how libtool works to actually make this work dependency wise.
Comment 2 Lennart Poettering 2010-05-14 13:44:33 UTC
libtool is not compatible with parallel "make -j install". If you don't like that please file a bug against libtool and fix it there. Don't work around that limitation in libcanberra.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.