Skip to contentSkip to conversation

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

DISCUSSION Paul Menzel 2 participants 7 messages Feb 10, 2011 – Feb 12, 2011

lore
Share & tools
lore
#0 lore raw

Dear OE folks,

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?

Thanks,

Paul

[1] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=024e010e93704c5e6ba8276602b77b5ea59e40c5

#1 lore raw

Am Donnerstag, den 10.02.2011, 19:52 +0100 schrieb Paul Menzel:

Quoted 21 lines

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

Quoted 4 lines

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?

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

Thanks,

Paul

Quoted 1 line

[1] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=024e010e93704c5e6ba8276602b77b5ea59e40c5

#2 lore raw

Am Donnerstag, den 10.02.2011, 21:44 +0100 schrieb Paul Menzel:

Quoted 27 lines

Am Donnerstag, den 10.02.2011, 19:52 +0100 schrieb Paul Menzel:

Quoted 25 lines

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

Quoted 2 lines

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

Thanks,

Paul

Quoted 1 line
Quoted 1 line

[1] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=024e010e93704c5e6ba8276602b77b5ea59e40c5

[2] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=d6e5809d0874902ba951eb4b92338bbd61ecd533

#4 lore raw

Dear Henning,

Am Freitag, den 11.02.2011, 10:16 +0100 schrieb Henning Heinold:

Quoted 1 line

should be fixed now in master.

your commit eae7de30 [1] indeed solved this problem.

Could you add a reference to the mailing list thread or copy the error message to the commit message next time please? That would be awesome.

Thanks a lot for your quick response,

Paul

[1] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=eae7de3042a099edc762d01ba62a161af6a1a934

#5 lore raw

libsdl-mixer_1.2.11: task compile fails with libtool 2.2.x: `Version mismatch error. This is libtool 2.2.6, but the definition of this LT_INIT comes from libtool 2.2.6b.`

In reply to Henning Heinold

Dear Henning,

Am Freitag, den 11.02.2011, 10:16 +0100 schrieb Henning Heinold:

Quoted 1 line

should be fixed now in master.

I am sorry to bother you again. After your commit it now breaks with angstrom-2008.1 for MACHINE = "beagleboard".

NOTE: make -j4
/bin/sh ./build-scripts/mkinstalldirs build
/bin/sh ./arm-angstrom-linux-gnueabi-libtool --mode=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-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 -isystem/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -D_GNU_SOURCE=1 -D_GNU_SOURCE=1 -D_REENTRANT -I/oe/build/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/effect_position.lo -c effect_position.c -o build/effect_position.lo
/bin/sh ./arm-angstrom-linux-gnueabi-libtool --mode=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-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 -isystem/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -D_GNU_SOURCE=1 -D_GNU_SOURCE=1 -D_REENTRANT -I/oe/build/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/effect_stereoreverse.lo -c effect_stereoreverse.c -o build/effect_stereoreverse.lo
/bin/sh ./arm-angstrom-linux-gnueabi-libtool --mode=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-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 -isystem/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -D_GNU_SOURCE=1 -D_GNU_SOURCE=1 -D_REENTRANT -I/oe/build/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/effects_internal.lo -c effects_internal.c -o build/effects_internal.lo
mkdir -p -- build
arm-angstrom-linux-gnueabi-libtool: Version mismatch error. This is libtool 2.2.6, but the arm-angstrom-linux-gnueabi-libtool: definition of this LT_INIT comes from libtool 2.2.6b. arm-angstrom-linux-gnueabi-libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6 arm-angstrom-linux-gnueabi-libtool: and run autoconf again.
/bin/sh ./arm-angstrom-linux-gnueabi-libtool --mode=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-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 -isystem/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -D_GNU_SOURCE=1 -D_GNU_SOURCE=1 -D_REENTRANT -I/oe/build/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/load_aiff.lo -c load_aiff.c -o build/load_aiff.lo
arm-angstrom-linux-gnueabi-libtool: Version mismatch error. This is libtool 2.2.6, but the arm-angstrom-linux-gnueabi-libtool: definition of this LT_INIT comes from libtool 2.2.6b. arm-angstrom-linux-gnueabi-libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6 arm-angstrom-linux-gnueabi-libtool: and run autoconf again.
make: *** [build/effect_position.lo] Error 63
make: *** Waiting for unfinished jobs....
make: *** [build/effect_stereoreverse.lo] Error 63 arm-angstrom-linux-gnueabi-libtool: Version mismatch error. This is libtool 2.2.6, but the arm-angstrom-linux-gnueabi-libtool: definition of this LT_INIT comes from libtool 2.2.6b. arm-angstrom-linux-gnueabi-libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6 arm-angstrom-linux-gnueabi-libtool: and run autoconf again.
make: *** [build/effects_internal.lo] Error 63 arm-angstrom-linux-gnueabi-libtool: Version mismatch error. This is libtool 2.2.6, but the arm-angstrom-linux-gnueabi-libtool: definition of this LT_INIT comes from libtool 2.2.6b. arm-angstrom-linux-gnueabi-libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6 arm-angstrom-linux-gnueabi-libtool: and run autoconf again.
make: *** [build/load_aiff.lo] Error 63
FATAL: oe_runmake failed
ERROR: Function do_compile failed

Thanks,

Paul

#6 lore raw
In reply to Henning Heinold

Dear Henning,

Am Freitag, den 11.02.2011, 10:16 +0100 schrieb Henning Heinold:

Quoted 1 line

should be fixed now in master.

another issues I noticed is, that the library SDL_mixer is not found when compiling xbmc_svn.bb with angstrom-2008.1 for MACHINE = "beagleboard".

        | checking for main in -lsmbclient... yes
        | checking for main in -lSDL_mixer... no
        | configure: error: Could not find a required library. Please see the README for your platform.
        | ERROR: Function do_configure failed
        NOTE: package xbmc-10.05-r11+gitr0+e2ab481ebe964321c358ab9d6402088c714adcbe: task do_configure: Failed

Thanks,

Paul