[oe] libsdl-mixer_1.2.11: task compile fails with `/bin/sed: can't read =/usr/lib/libts.la: No such file or directory`

Paul Menzel paulepanter at users.sourceforge.net
Thu Feb 10 22:09:03 UTC 2011


Am Donnerstag, den 10.02.2011, 21:44 +0100 schrieb Paul Menzel:
> Am Donnerstag, den 10.02.2011, 19:52 +0100 schrieb Paul Menzel:
> 
> > task compile of `libsdl-mixer_1.2.11.bb` fails with the following error
> > message using `angstrom-2010.x` for `MACHINE="beagleboard"`.
> > 
> >         NOTE: make -j4 SDL_LIBS=-lSDL -lpthread   -Wl,-rpath-link,/oe/build-angstrom-next/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib
> >         /bin/sh ./build-scripts/mkinstalldirs build
> >         
> >         […]
> >         
> >         libtool: compile:  arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -isystem/oe/build-angstrom-next/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb2 -isystem/oe/build-angstrom-next/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -D_GNU_SOURCE=1 -D_GNU_SOURCE=1 -D_REENTRANT -I/oe/build-angstrom-next/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/SDL -DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -pthread -D_REENTRANT -DMOD_DYNAMIC=\"libmikmod.so.2\" -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DFLAC_MUSIC -DFLAC_DYNAMIC=\"libFLAC.so.8\" -DMP3_MAD_MUSIC -MMD -MT build/playwave.lo -c playwave.c -o build/playwave.o >/dev/null 2>&1
> >         libtool: compile:  arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -isystem/oe/build-angstrom-next/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb2 -isystem/oe/build-angstrom-next/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -D_GNU_SOURCE=1 -D_GNU_SOURCE=1 -D_REENTRANT -I/oe/build-angstrom-next/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/SDL -DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -pthread -D_REENTRANT -DMOD_DYNAMIC=\"libmikmod.so.2\" -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DFLAC_MUSIC -DFLAC_DYNAMIC=\"libFLAC.so.8\" -DMP3_MAD_MUSIC -MMD -MT build/playmus.lo -c playmus.c -o build/playmus.o >/dev/null 2>&1
> >         libtool: link: warning: library `/oe/build-angstrom-next/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/libSDL.la' was moved.
> >         ./libtool: line 6399: cd: =/usr/lib: No such file or directory
> >         libtool: link: warning: cannot determine absolute directory name of `=/usr/lib'
> >         /bin/grep: =/usr/lib/libts.la: No such file or directory
> >         /bin/sed: can't read =/usr/lib/libts.la: No such file or directory
> >         libtool: link: `=/usr/lib/libts.la' is not a valid libtool archive
> >         make: *** [build/libSDL_mixer.la] Error 1
> >         make: *** Waiting for unfinished jobs....
> >         FATAL: oe_runmake failed
> >         ERROR: Function do_compile failed
> > 
> > I suspect that commit 024e010e [1] has to do with it, but I have not
> > bisected it. If you need a bisection please tell me.
> > 
> > Henning, do you know if this might be related?

I verified, that commit 024e010e indeed is the culprit. The recipe
builds just fine with d6e5809d [2].

> `libsdl-mixer_1.2.11.bb` builds fine using `angstrom-2008.1`. So it
> seems to be a Libtool issue.


Thanks,

Paul


> > [1] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=024e010e93704c5e6ba8276602b77b5ea59e40c5
[2] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=d6e5809d0874902ba951eb4b92338bbd61ecd533
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20110210/8033b7d4/attachment-0002.sig>


More information about the Openembedded-devel mailing list