All of lore.kernel.org
 help / color / mirror / Atom feed
* alsa-utils failure
@ 2010-08-17  2:20 Philip Balister
  2010-08-17  5:03 ` Martin Jansa
  2010-08-17  5:09 ` Khem Raj
  0 siblings, 2 replies; 5+ messages in thread
From: Philip Balister @ 2010-08-17  2:20 UTC (permalink / raw)
  To: openembedded-devel

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: alsa-utils failure
  2010-08-17  2:20 alsa-utils failure Philip Balister
@ 2010-08-17  5:03 ` Martin Jansa
  2010-08-17  5:21   ` Khem Raj
  2010-08-17  5:09 ` Khem Raj
  1 sibling, 1 reply; 5+ messages in thread
From: Martin Jansa @ 2010-08-17  5:03 UTC (permalink / raw)
  To: openembedded-devel

On Mon, Aug 16, 2010 at 07:20:23PM -0700, Philip Balister wrote:
> 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/openembedded-devel@lists.openembedded.org/msg06852.html

Regards,

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: alsa-utils failure
  2010-08-17  2:20 alsa-utils failure Philip Balister
  2010-08-17  5:03 ` Martin Jansa
@ 2010-08-17  5:09 ` Khem Raj
  1 sibling, 0 replies; 5+ messages in thread
From: Khem Raj @ 2010-08-17  5:09 UTC (permalink / raw)
  To: openembedded-devel

On (16/08/10 19:20), Philip Balister wrote:
> 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

> 
> 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
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: alsa-utils failure
  2010-08-17  5:03 ` Martin Jansa
@ 2010-08-17  5:21   ` Khem Raj
  2010-08-17  6:11     ` Martin Jansa
  0 siblings, 1 reply; 5+ messages in thread
From: Khem Raj @ 2010-08-17  5:21 UTC (permalink / raw)
  To: openembedded-devel

On (17/08/10 07:03), Martin Jansa wrote:
> On Mon, Aug 16, 2010 at 07:20:23PM -0700, Philip Balister wrote:
> > 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

> 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 ?

> 
> http://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg06852.html
> 
> Regards,
> 
> -- 
> Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: alsa-utils failure
  2010-08-17  5:21   ` Khem Raj
@ 2010-08-17  6:11     ` Martin Jansa
  0 siblings, 0 replies; 5+ messages in thread
From: Martin Jansa @ 2010-08-17  6:11 UTC (permalink / raw)
  To: openembedded-devel

On Mon, Aug 16, 2010 at 10:21:02PM -0700, Khem Raj wrote:
> On (17/08/10 07:03), Martin Jansa wrote:
> > On Mon, Aug 16, 2010 at 07:20:23PM -0700, Philip Balister wrote:
> > > 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
> 
> > 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,

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-08-17  6:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-17  2:20 alsa-utils failure Philip Balister
2010-08-17  5:03 ` Martin Jansa
2010-08-17  5:21   ` Khem Raj
2010-08-17  6:11     ` Martin Jansa
2010-08-17  5:09 ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.