Parallel build problem

1 view
Skip to first unread message

Nick

unread,
Aug 7, 2008, 9:33:23 AM8/7/08
to Mirage - Automatic Playlist Generation
It would appear I can build with -j1 but not -j2
Perhaps the automake infrastructure is missing a dependancy between
components?
Can this be fixed so that it does not fail?

make -j2
Making all in libmirageaudio
make[1]: Entering directory `/home/nicbrown/rpm/BUILD/mirage-0.3.0/
libmirageaudio'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=
\"Mirage\" -DPACKAGE_TARNAME=\"mirage\" -DPACKAGE_VERSION=\"0.3.0\" -
DPACKAGE_STRING=\"Mirage\ 0.3.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=
\"mirage\" -DVERSION=\"0.3.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -
DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -
DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -
DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DGETTEXT_PACKAGE=
\"Mirage\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -
DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -
DENABLE_NLS=1 -DSTDC_HEADERS=1 -I. -I.. -Wall -ggdb3 -
D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/
include -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/
glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -
O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --
param=ssp-buffer-size=4 -MT gst-mirageaudio.lo -MD -MP -MF .deps/gst-
mirageaudio.Tpo -c -o gst-mirageaudio.lo gst-mirageaudio.c
gcc -DPACKAGE_NAME=\"Mirage\" -DPACKAGE_TARNAME=\"mirage\" -
DPACKAGE_VERSION=\"0.3.0\" -DPACKAGE_STRING=\"Mirage\ 0.3.0\" -
DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"mirage\" -DVERSION=\"0.3.0\" -
DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -
DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -
DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -
DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DGETTEXT_PACKAGE=\"Mirage\" -
DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1
-DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1 -DSTDC_HEADERS=1 -
I. -I.. -Wall -ggdb3 -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/
usr/lib64/glib-2.0/include -pthread -I/usr/include/gstreamer-0.10 -I/
usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/
libxml2 -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -
fstack-protector --param=ssp-buffer-size=4 -MT mirageaudiotest.o -MD -
MP -MF .deps/mirageaudiotest.Tpo -c -o mirageaudiotest.o
mirageaudiotest.c
mv -f .deps/mirageaudiotest.Tpo .deps/mirageaudiotest.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wp,-
D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-
size=4 -o mirageaudiotest mirageaudiotest.o -lmirageaudio
mkdir .libs
gcc -DPACKAGE_NAME=\"Mirage\" -DPACKAGE_TARNAME=\"mirage\" -
DPACKAGE_VERSION=\"0.3.0\" "-DPACKAGE_STRING=\"Mirage 0.3.0\"" -
DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"mirage\" -DVERSION=\"0.3.0\" -
DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -
DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -
DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -
DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DGETTEXT_PACKAGE=\"Mirage\" -
DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1
-DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1 -DSTDC_HEADERS=1 -
I. -I.. -Wall -ggdb3 -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/
usr/lib64/glib-2.0/include -pthread -I/usr/include/gstreamer-0.10 -I/
usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/
libxml2 -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-
protector --param=ssp-buffer-size=4 -MT gst-mirageaudio.lo -MD -MP -
MF .deps/gst-mirageaudio.Tpo -c gst-mirageaudio.c -fPIC -DPIC -
o .libs/gst-mirageaudio.o
gcc -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-
protector --param=ssp-buffer-size=4 -o mirageaudiotest
mirageaudiotest.o -lmirageaudio
/usr/bin/ld: cannot find -lmirageaudio
collect2: ld returned 1 exit status
make[1]: *** [mirageaudiotest] Error 1
make[1]: *** Waiting for unfinished jobs....
gcc -DPACKAGE_NAME=\"Mirage\" -DPACKAGE_TARNAME=\"mirage\" -
DPACKAGE_VERSION=\"0.3.0\" "-DPACKAGE_STRING=\"Mirage 0.3.0\"" -
DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"mirage\" -DVERSION=\"0.3.0\" -
DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -
DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -
DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -
DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DGETTEXT_PACKAGE=\"Mirage\" -
DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1
-DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1 -DSTDC_HEADERS=1 -
I. -I.. -Wall -ggdb3 -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/
usr/lib64/glib-2.0/include -pthread -I/usr/include/gstreamer-0.10 -I/
usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/
libxml2 -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-
protector --param=ssp-buffer-size=4 -MT gst-mirageaudio.lo -MD -MP -
MF .deps/gst-mirageaudio.Tpo -c gst-mirageaudio.c -o gst-mirageaudio.o
>/dev/null 2>&1
mv -f .deps/gst-mirageaudio.Tpo .deps/gst-mirageaudio.Plo
make[1]: Leaving directory `/home/nicbrown/rpm/BUILD/mirage-0.3.0/
libmirageaudio'
make: *** [all-recursive] Error 1

Bertrand Lorentz

unread,
Aug 7, 2008, 1:53:27 PM8/7/08
to mirag...@googlegroups.com
On Thu, 2008-08-07 at 06:33 -0700, Nick wrote:
> It would appear I can build with -j1 but not -j2
> Perhaps the automake infrastructure is missing a dependancy between
> components?
> Can this be fixed so that it does not fail?

Thanks for the info.
"make -j2" also fails for me, but later in the build, with a different
message.
I'll try to look into it, but any help or suggestion is welcome !

--
Bertrand Lorentz <bertrand...@gmail.com>
> http://flickr.com/photos/bl8/ <

signature.asc

Bertrand Lorentz

unread,
Aug 8, 2008, 10:48:20 AM8/8/08
to mirag...@googlegroups.com
On Thu, 2008-08-07 at 19:53 +0200, Bertrand Lorentz wrote:
> On Thu, 2008-08-07 at 06:33 -0700, Nick wrote:
> > It would appear I can build with -j1 but not -j2
> > Perhaps the automake infrastructure is missing a dependancy between
> > components?
> > Can this be fixed so that it does not fail?
>
> Thanks for the info.
> "make -j2" also fails for me, but later in the build, with a different
> message.
> I'll try to look into it, but any help or suggestion is welcome !

Hi,

I just committed a fix to mirage SVN that hopefully solves this.

Nick, could you grab the latest SVN and check if it also fixes the issue
for you ?

Cheers,

signature.asc

Nick Brown

unread,
Aug 8, 2008, 11:03:32 AM8/8/08
to mirag...@googlegroups.com
I can confirm that it allows me to build in parallel. Thanks for the fast fix.
All I need now is a fix for
http://bugzilla.gnome.org/show_bug.cgi?id=546925 and I'll be able to
package mirage for my distro.

Cheers,
Nick

2008/8/8 Bertrand Lorentz <bertrand...@gmail.com>:

Reply all
Reply to author
Forward
0 new messages