Skip to contentSkip to conversation

alsa-utils failure

DISCUSSION Philip Balister 3 participants 5 messages Aug 17, 2010

lore
Share & tools
lore
#0 lore raw

At least one other person is seeing this. Mine is on a clean build on a new F13 machine. Any thoughts?

Philip

gnueabi/alsa-utils-1.0.20-r2/alsa-utils-1.0.20/po'

| make[1]: Nothing to be done for `all'.
| make[1]: Leaving directory `/home/balister/oe/tmp/work/armv7a-angstrom-linux-gnueabi/alsa-utils-1.0.20-r2/alsa-utils-1.0.20/po'
| Making all in alsamixer
| make[1]: Entering directory `/home/balister/oe/tmp/work/armv7a-angstrom-linux-gnueabi/alsa-utils-1.0.20-r2/alsa-utils-1.0.20/alsamixer'
| arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -DCURSESINC="<ncurses.h>" -isystem/home/balister/oe/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb3 -L/home/balister/oe/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib -Wl,-rpath-link,/home/balister/oe/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -o alsamixer alsamixer.o -lncurses -ltinfo -lasound -lm -ldl -lpthread
| /home/balister/oe/tmp/sysroots/x86_64-linux/usr/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/bin/ld: cannot find -ltinfo
| collect2: ld returned 1 exit status
| make[1]: *** [alsamixer] Error 1
| make[1]: Leaving directory `/home/balister/oe/tmp/work/armv7a-angstrom-linux-gnueabi/alsa-utils-1.0.20-r2/alsa-utils-1.0.20/alsamixer'
| make: *** [all-recursive] Error 1
| FATAL: oe_runmake failed
| ERROR: Function do_compile failed

NOTE: package alsa-utils-1.0.20-r2: task do_compile: Failed

#1 lore raw
Quoted 2 lines · Philip Balister

At least one other person is seeing this. Mine is on a clean build on a new F13 machine. Any thoughts?

It's calling ncurses-config from your host which returns also -ltinfo. Default ncurses in OE (5.4) doesn't have ncurses-config. It will build ok with 5.7 or you have to update configure to ignore ncurses-config from host.

http://www.mail-archive.com/[email protected]/msg06852.html

Regards,

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#4 lore raw
In reply to Philip Balister
Quoted 2 lines · Philip Balister

At least one other person is seeing this. Mine is on a clean build on a new F13 machine. Any thoughts?

it seems something is seeping in from your host environment. mostly it could be because of ncurses. ncurses on your build box probably is compiled with --with-termlib and this gets picked up when configuring the target ncurses recipe and then linker does not find libtinfo in the sysroot that we created. It would be nice if you could find why -ltinfo is being configured in nucurses. A workaround would be that you compile ncurses after adding --with-termlib to configure option but that might have wider implications.

Thanks
-Khem

Quoted 29 lines

Philip

gnueabi/alsa-utils-1.0.20-r2/alsa-utils-1.0.20/po'

| make[1]: Nothing to be done for `all'.
| make[1]: Leaving directory `/home/balister/oe/tmp/work/armv7a-angstrom-linux-gnueabi/alsa-utils-1.0.20-r2/alsa-utils-1.0.20/po'
| Making all in alsamixer
| make[1]: Entering directory `/home/balister/oe/tmp/work/armv7a-angstrom-linux-gnueabi/alsa-utils-1.0.20-r2/alsa-utils-1.0.20/alsamixer'
| arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8
(quoted diff) +0 -6
-mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb
-DCURSESINC="<ncurses.h>" -isystem/home/balister/oe/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include
-fexpensive-optimizations -frename-registers -fomit-frame-pointer
-O2 -ggdb3 -L/home/balister/oe/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib -Wl,-rpath-link,/home/balister/oe/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib
-Wl,-O1 -Wl,--hash-style=gnu -o alsamixer alsamixer.o -lncurses
-ltinfo -lasound -lm -ldl -lpthread

| /home/balister/oe/tmp/sysroots/x86_64-linux/usr/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/bin/ld:
cannot find -ltinfo

| collect2: ld returned 1 exit status
| make[1]: *** [alsamixer] Error 1
| make[1]: Leaving directory `/home/balister/oe/tmp/work/armv7a-angstrom-linux-gnueabi/alsa-utils-1.0.20-r2/alsa-utils-1.0.20/alsamixer'
| make: *** [all-recursive] Error 1
| FATAL: oe_runmake failed
| ERROR: Function do_compile failed

NOTE: package alsa-utils-1.0.20-r2: task do_compile: Failed

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#2 lore raw
In reply to Martin Jansa
Quoted 5 lines · Martin Jansa
Quoted 2 lines · Philip Balister

At least one other person is seeing this. Mine is on a clean build on a new F13 machine. Any thoughts?

It's calling ncurses-config from your host which returns also -ltinfo.

heh you beat me to it. I was about to ask for
ncurses5-config --libs output on f13 :)
but yes thats precisely the problem

Quoted 3 lines

Default ncurses in OE (5.4) doesn't have ncurses-config. It will build ok with 5.7 or you have to update configure to ignore ncurses-config from host.

why dont we make 5.7 default for ncurses ?

Quoted 12 lines

http://www.mail-archive.com/[email protected]/msg06852.html

Regards,

Signature · 6 lines
Martin 'JaMa' Jansa     jabber: [email protected]

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
#3 lore raw
Quoted 11 lines · Khem Raj
Quoted 5 lines · Martin Jansa
Quoted 2 lines · Philip Balister

At least one other person is seeing this. Mine is on a clean build on a new F13 machine. Any thoughts?

It's calling ncurses-config from your host which returns also -ltinfo.

heh you beat me to it. I was about to ask for
ncurses5-config --libs output on f13 :)
but yes thats precisely the problem

Quoted 5 lines
Quoted 3 lines

Default ncurses in OE (5.4) doesn't have ncurses-config. It will build ok with 5.7 or you have to update configure to ignore ncurses-config from host.

why dont we make 5.7 default for ncurses ?

I would like to, it seems working well in SHR, only needs few PR bumps (as lot of stuff was linked agains ncurses package and now it's splitted to libncurses5 etc. And ie mc is now linked only to libtinfo.

Enrico did good jub with 5.7, if someone sends patch with PR bumps (again) and drops D_P = -1 or even removal of 5.4 I'll definetely ACK it.

Regards,

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]