Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 353228 - =media-libs/portaudio-19_pre20071207 - make[2]: *** No rule to make target `../../../lib/libportaudio.la', needed by `libportaudiocpp.la'. Stop.
Summary: =media-libs/portaudio-19_pre20071207 - make[2]: *** No rule to make target `....
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-30 13:55 UTC by Israel G. Lugo
Modified: 2011-12-11 11:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,77.80 KB, text/plain)
2011-01-30 13:57 UTC, Israel G. Lugo
Details
emerge --info =media-libs/portaudio-19_pre20071207 (info.txt,5.92 KB, text/plain)
2011-01-30 13:57 UTC, Israel G. Lugo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Israel G. Lugo 2011-01-30 13:55:22 UTC
While doing an emerge -ve world on a dual core amd64, with MAKEOPTS="-j3 --load-average=3" and EMERGE_DEFAULT_OPTS="--jobs=2 --load-average=3.00 --with-bdeps=y", I got the following failure:

        then mv -f ".deps/System.Tpo" ".deps/System.Plo"; else rm -f ".deps/System.Tpo"; exit 1; fi
 x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"PortAudioCpp\" -DPACKAGE_TARNAME=\"portaudiocpp\" -DPACKAGE_VERSION=\"12\" "-DPACKAGE_STRING=\"PortAudioCpp 12\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"portaudiocpp\" -DVERSION=\"12\" -DSTDC_HEADE
RS=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 -I../include -I../../../include -O2 -mtune=na
tive -mmmx -msse -msse2 -msse3 -mfpmath=sse -pipe -MT System.lo -MD -MP -MF .deps/System.Tpo -c ../source/portaudiocpp/System.cxx  -fPIC -DPIC -o .libs/System.o
 x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"PortAudioCpp\" -DPACKAGE_TARNAME=\"portaudiocpp\" -DPACKAGE_VERSION=\"12\" "-DPACKAGE_STRING=\"PortAudioCpp 12\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"portaudiocpp\" -DVERSION=\"12\" -DSTDC_HEADE
RS=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 -I../include -I../../../include -O2 -mtune=na
tive -mmmx -msse -msse2 -msse3 -mfpmath=sse -pipe -MT System.lo -MD -MP -MF .deps/System.Tpo -c ../source/portaudiocpp/System.cxx -o System.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"PortAudioCpp\" -DPACKAGE_TARNAME=\"portaudiocpp\" -DPACKAGE_VERSION=\"12\" -DPACKAGE_STRING=\"PortAudioCpp\ 12\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\
"portaudiocpp\" -DVERSION=\"12\" -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 
-I../include -I../../../include     -O2 -mtune=native -mmmx -msse -msse2 -msse3 -mfpmath=sse -pipe -MT SystemDeviceIterator.lo -MD -MP -MF ".deps/SystemDeviceIterator.Tpo" -c -o SystemDeviceIterator.lo `test -f '../source/portaudiocpp/Sy
stemDeviceIterator.cxx' || echo './'`../source/portaudiocpp/SystemDeviceIterator.cxx; \
        then mv -f ".deps/SystemDeviceIterator.Tpo" ".deps/SystemDeviceIterator.Plo"; else rm -f ".deps/SystemDeviceIterator.Tpo"; exit 1; fi
 x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"PortAudioCpp\" -DPACKAGE_TARNAME=\"portaudiocpp\" -DPACKAGE_VERSION=\"12\" "-DPACKAGE_STRING=\"PortAudioCpp 12\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"portaudiocpp\" -DVERSION=\"12\" -DSTDC_HEADE
RS=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 -I../include -I../../../include -O2 -mtune=na
tive -mmmx -msse -msse2 -msse3 -mfpmath=sse -pipe -MT SystemDeviceIterator.lo -MD -MP -MF .deps/SystemDeviceIterator.Tpo -c ../source/portaudiocpp/SystemDeviceIterator.cxx  -fPIC -DPIC -o .libs/SystemDeviceIterator.o
 x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"PortAudioCpp\" -DPACKAGE_TARNAME=\"portaudiocpp\" -DPACKAGE_VERSION=\"12\" "-DPACKAGE_STRING=\"PortAudioCpp 12\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"portaudiocpp\" -DVERSION=\"12\" -DSTDC_HEADE
RS=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 -I../include -I../../../include -O2 -mtune=na
tive -mmmx -msse -msse2 -msse3 -mfpmath=sse -pipe -MT SystemDeviceIterator.lo -MD -MP -MF .deps/SystemDeviceIterator.Tpo -c ../source/portaudiocpp/SystemDeviceIterator.cxx -o SystemDeviceIterator.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"PortAudioCpp\" -DPACKAGE_TARNAME=\"portaudiocpp\" -DPACKAGE_VERSION=\"12\" -DPACKAGE_STRING=\"PortAudioCpp\ 12\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\
"portaudiocpp\" -DVERSION=\"12\" -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 
-I../include -I../../../include     -O2 -mtune=native -mmmx -msse -msse2 -msse3 -mfpmath=sse -pipe -MT SystemHostApiIterator.lo -MD -MP -MF ".deps/SystemHostApiIterator.Tpo" -c -o SystemHostApiIterator.lo `test -f '../source/portaudiocpp
/SystemHostApiIterator.cxx' || echo './'`../source/portaudiocpp/SystemHostApiIterator.cxx; \
        then mv -f ".deps/SystemHostApiIterator.Tpo" ".deps/SystemHostApiIterator.Plo"; else rm -f ".deps/SystemHostApiIterator.Tpo"; exit 1; fi
 x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"PortAudioCpp\" -DPACKAGE_TARNAME=\"portaudiocpp\" -DPACKAGE_VERSION=\"12\" "-DPACKAGE_STRING=\"PortAudioCpp 12\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"portaudiocpp\" -DVERSION=\"12\" -DSTDC_HEADE
RS=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 -I../include -I../../../include -O2 -mtune=na
tive -mmmx -msse -msse2 -msse3 -mfpmath=sse -pipe -MT SystemHostApiIterator.lo -MD -MP -MF .deps/SystemHostApiIterator.Tpo -c ../source/portaudiocpp/SystemHostApiIterator.cxx  -fPIC -DPIC -o .libs/SystemHostApiIterator.o
 x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"PortAudioCpp\" -DPACKAGE_TARNAME=\"portaudiocpp\" -DPACKAGE_VERSION=\"12\" "-DPACKAGE_STRING=\"PortAudioCpp 12\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"portaudiocpp\" -DVERSION=\"12\" -DSTDC_HEADE
RS=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 -I../include -I../../../include -O2 -mtune=na
tive -mmmx -msse -msse2 -msse3 -mfpmath=sse -pipe -MT SystemHostApiIterator.lo -MD -MP -MF .deps/SystemHostApiIterator.Tpo -c ../source/portaudiocpp/SystemHostApiIterator.cxx -o SystemHostApiIterator.o >/dev/null 2>&1
make[2]: *** No rule to make target `../../../lib/libportaudio.la', needed by `libportaudiocpp.la'.  Stop.
make[2]: Leaving directory `/var/tmp/portage/media-libs/portaudio-19_pre20071207
/work/portaudio/bindings/cpp/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/portaudio-19_pre20071207/work/portaudio/bindings/cpp'
make: *** [all-recursive] Error 2
make: INTERNAL: Exiting with 4 jobserver tokens available; should be 3!
emake failed
 * ERROR: media-libs/portaudio-19_pre20071207 failed:
 *   emake failed.
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 178:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed."

I checked and the portaudio-19_pre20071207/work/portaudio/bindings/cpp/lib/Makefile contains the following:
libportaudiocpp_la_DEPENDENCIES =  \
        $(top_builddir)/$(PORTAUDIO_ROOT)/lib/libportaudio.la

However, the $(top_builddir)/$(PORTAUDIO_ROOT)/lib/ directory (which translates to "../../../lib" since top_builddir=.. and PORTAUDIO_ROOT=../..) was empty.

I have since emerged the package individually with success, so this is an intermittent problem. I suspect a race condition triggered by a missing dependency somewhere; I've been seeing this in several different packages lately (bug 351663 and bug 352198, for example).

I will attach build.log and emerge --info output.
Comment 1 Israel G. Lugo 2011-01-30 13:57:19 UTC
Created attachment 261095 [details]
build.log
Comment 2 Israel G. Lugo 2011-01-30 13:57:53 UTC
Created attachment 261097 [details]
emerge --info =media-libs/portaudio-19_pre20071207
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2011-03-31 21:08:19 UTC
Try 19_pre20110317 instead... that 2007 version is not intresting anymore