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.
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.
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.