! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfce4-mixer-4.4.2 fails to build with MAKEOPTS="-j2" or higher
Status:
RESOLVED: WORKSFORME
Product:
Xfce4-mixer
Component:
General

Comments

Description Samuli Suominen 2007-02-10 15:27:42 CET
Please remove panel-plugins/xfce4-mixer.desktop from sources because make install creates it again.

/bin/install -c -m 644 'xfce4-mixer.desktop'
'/var/tmp/portage/xfce-extra/xfce4-mixer-4.4.0-r1/image//usr/share/xfce4/panel-plugins/xfce4-mixer.desktop'
/bin/install: cannot create regular file
`/var/tmp/portage/xfce-extra/xfce4-mixer-4.4.0-r1/image//usr/share/xfce4/panel-plugins/xfce4-mixer.desktop':
File exists
Comment 1 Samuli Suominen 2007-02-18 07:33:22 CET
We just had another report of this, http://bugs.gentoo.org/show_bug.cgi?id=167308
so it might be that parallel make (MAKEOPTS="-j2" or higher) is causing make install failure after all. Reporting back soonish..
Comment 2 Samuli Suominen 2007-04-12 19:56:35 CEST
Parallel make failure in 4.4.0:
http://bugs.gentoo.org/show_bug.cgi?id=166167

Parallel make failure in 4.4.1:
http://bugs.gentoo.org/show_bug.cgi?id=174296

MAKEOPTS"-j2" or higher is broken, needs some love :)
Comment 3 dannym editbugs 2007-04-15 01:22:52 CEST
yeah, oops. I just fixed the "duplicate desktop entry file" issue in 4.4 and trunk.
Comment 4 Samuli Suominen 2007-04-15 02:05:10 CEST
(In reply to comment #3)
> yeah, oops. I just fixed the "duplicate desktop entry file" issue in 4.4 and
> trunk.
> 

Thanks. Did you see this as well?

This is the error:
/bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc  -O2 -march=k8
-pipe -I/usr/include/alsa    -Wl,-O1,--hash-style=gnu -Wl,-O1 -o
libxfce4mixer.la -rpath /usr/lib64/xfce4/modules -export-dynamic
libxfce4mixer_la-trans.lo libxfce4mixer_la-vc_alsa.lo
libxfce4mixer_la-vc_alsa_fallback.lo libxfce4mixer_la-vc.lo
libxfce4mixer_la-vc_oss.lo libxfce4mixer_la-vcs.lo libxfce4mixer_la-vc_sun.lo
libxfce4mixer_la-vc_sgi.lo -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
-lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0
-lgmodule-2.0 -ldl -lglib-2.0   -lxfce4util -lglib-2.0   -lasound
libtool: link: cannot find the library `libxfce4mixer.la' or unhandled argument
`libxfce4mixer.la'
make[2]: *** [test_vc] Error 1
make[2]: *** Waiting for unfinished jobs...

Seems it's trying to use .la before it's created.. It's http://bugs.gentoo.org/show_bug.cgi?id=174296

Sorry I didn't post it properly here in the first place.

Comment 5 dannym editbugs 2007-04-15 20:14:23 CEST
Yes, I've added

   xfce4_mixer_plugin_DEPENDENCIES = $(top_builddir)/lib/libxfce4mixer.la

to both "xfce_4_4" branch and "trunk" now, let's see whether that helps.

Please report back :-)



Comment 6 Samuli Suominen 2007-04-16 17:12:59 CEST
Created attachment 1093 
Patch I got from SVN changes.

I svn diffed your changes and got this patch against Makefile.am which didn't work as expected,

/bin/sh ../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc  -O2 -march=athlon-xp -pipe -I/usr/include/alsa    -Wl,-O1,--as-needed -Wl,-O1 -o libxfce4mixer.la -rpath /usr/lib/xfce4/modules -export-dynamic libxfce4mixer_la-trans.lo libxfce4mixer_la-vc_alsa.lo libxfce4mixer_la-vc_alsa_fallback.lo libxfce4mixer_la-vc.lo libxfce4mixer_la-vc_oss.lo libxfce4mixer_la-vcs.lo libxfce4mixer_la-vc_sun.lo libxfce4mixer_la-vc_sgi.lo -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   -lxfce4util -lglib-2.0   -lasound  
/bin/sh ../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc  -O2 -march=athlon-xp -pipe -I/usr/include/alsa    -Wl,-O1,--as-needed -Wl,-O1 -o test_vc -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   -lxfce4util -lglib-2.0   libxfce4mixer.la test_vc-test_vc.o  -lasound  
libtool: link: cannot find the library `libxfce4mixer.la' or unhandled argument `libxfce4mixer.la'
make[2]: *** [test_vc] Error 1
make[2]: *** Waiting for unfinished jobs....
i686-pc-linux-gnu-gcc -shared  .libs/libxfce4mixer_la-trans.o .libs/libxfce4mixer_la-vc_alsa.o .libs/libxfce4mixer_la-vc_alsa_fallback.o .libs/libxfce4mixer_la-vc.o .libs/libxfce4mixer_la-vc_oss.o .libs/libxfce4mixer_la-vcs.o .libs/libxfce4mixer_la-vc_sun.o .libs/libxfce4mixer_la-vc_sgi.o  /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so -L/usr/lib /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangocairo-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libxfce4util.so /usr/lib/libglib-2.0.so /usr/lib/libasound.so  -march=athlon-xp -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,-soname -Wl,libxfce4mixer.so.0 -o .libs/libxfce4mixer.so.0.0.0
(cd .libs && rm -f libxfce4mixer.so.0 && ln -s libxfce4mixer.so.0.0.0 libxfce4mixer.so.0)
(cd .libs && rm -f libxfce4mixer.so && ln -s libxfce4mixer.so.0.0.0 libxfce4mixer.so)
creating libxfce4mixer.la
(cd .libs && rm -f libxfce4mixer.la && ln -s ../libxfce4mixer.la libxfce4mixer.la)
make[2]: Leaving directory `/var/tmp/portage/xfce-extra/xfce4-mixer-4.4.1/work/xfce4-mixer-4.4.1/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xfce-extra/xfce4-mixer-4.4.1/work/xfce4-mixer-4.4.1'
make: *** [all] Error 2
Comment 7 Samuli Suominen 2007-04-16 17:14:21 CEST
libtool is still wanting .la file before that..
Comment 8 Samuli Suominen 2007-04-16 17:17:03 CEST
Created attachment 1094 
Full buildlog with -j2
Comment 9 Yves-Alexis Perez editbugs 2007-12-02 12:15:45 CET
I can confirm this with upcoming release 4.4.2.

Cheers
Comment 10 dannym editbugs 2009-01-11 22:46:01 CET
Hmm, are you sure your clock is fine? And you ran autogen?

I'm not sure what it could be otherwise.
Works fine for me and a lot of other projects use "_DEPENDENCIES" too. So try a clean checkout and if it still doesn't work, please report back. I've done some cleanup in current 4.4 branch xfce4-mixer today, maybe that helps (didn't touch library dependencies, though).

Bug #2892

Reported by:
Samuli Suominen
Reported on: 2007-02-10
Last modified on: 2009-07-14

People

CC List:
2 users

Version

Attachments

Patch I got from SVN changes. (1.03 KB, patch)
2007-04-16 17:12 CEST , Samuli Suominen
no flags
Full buildlog with -j2 (13.80 KB, text/plain)
2007-04-16 17:17 CEST , Samuli Suominen
no flags

Additional information