Skip to contentSkip to conversation

Cannot compile helloworld-image

DISCUSSION Enrico 4 participants 6 messages Jul 4, 2011 – Aug 24, 2011 1 message not in the archive

lore
Share & tools
lore

Enrico

author
#1 lore raw
In reply to a message not in the archive
Quoted 6 lines · Alessandro Sappia

Hi all,
I just configured OE on my box and I tried to compile helloworld-image to check if everything is fine.
I'm actually unable to complete with success this build because of this error:
-----------------------------

Try with:

BB_NUMBER_THREADS = "1"

and have a look at the thread "[oe] gettext-native fails to build" of some days ago to know where i copied this hint from! (and maybe try oe-core branch too).

Ciao,

Enrico

#2 lore raw
Signature · 15 lines
-- 

Alessandro Sappia
CEO

________________________________________________________________________

Biotechware srl 
C.so Castelfidardo, 30/A c/o I3P
10129 Torino (TO) Italy
Tel: +39 011 0903260
Fax: +39 011 0905126
http://www.biotechware.com/ 

Il giorno lun, 04/07/2011 alle 22.05 +0200, Enrico ha scritto:
Quoted 9 lines
Quoted 6 lines · Alessandro Sappia

Hi all,
I just configured OE on my box and I tried to compile helloworld-image to check if everything is fine.
I'm actually unable to complete with success this build because of this error:
-----------------------------

Quoted 8 lines

Try with:

BB_NUMBER_THREADS = "1"

and have a look at the thread "[oe] gettext-native fails to build" of some days ago to know where i copied this hint from! (and maybe try oe-core branch too).

[outout cut]
m4
-I /home/alessandro/oe/build/tmp/work/x86_64-linux/gettext-native-0.18-r6/gettext-0.18/gettext-tools/m4 -I /home/alessandro/oe/build/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.11 -I /home/alessandro/oe/build/tmp/sysroots/x86_64-linux/usr/share/aclocal -I /home/alessandro/oe/build/tmp/work/x86_64-linux/gettext-native-0.18-r6/gettext-0.18/gnulib-local/m4/ -I /home/alessandro/oe/build/tmp/work/x86_64-linux/gettext-native-0.18-r6/gettext-0.18/gettext-runtime/m4 -I /home/alessandro/oe/build/tmp/work/x86_64-linux/gettext-native-0.18-r6/gettext-0.18/gettext-tools/m4 -I /home/alessandro/oe/build/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.11 -I /home/alessandro/oe/build/tmp/sysroots/x86_64-linux/usr/share/aclocal --force -I ../../m4 -I ../m4 -I gnulib-m4

| autoreconf: running: libtoolize --copy --force
| autoreconf: failed to run libtoolize: No such file or directory
| autoreconf: libtoolize is needed because this package uses Libtool
| + oefatal 'autoreconf execution failed.'
| + echo FATAL: 'autoreconf execution failed.'
| FATAL: autoreconf execution failed.
| + exit 1

NOTE: package gettext-native-0.18-r6: task do_configure: Failed
ERROR: Task 435
(virtual:native:/home/alessandro/oe/openembedded/recipes/gettext/gettext_0.18.bb, do_configure) failed with exit code '1' ERROR:
'virtual:native:/home/alessandro/oe/openembedded/recipes/gettext/gettext_0.18.bb' failed

It didn't work, but thanks.

Ciao,

Alessandro

#3 lore raw

Hi Alessandro,

This may be a silly question, but do you have all of the required dependencies installed for your OS? Looks like libtool isn't being found.

http://wiki.openembedded.net/index.php/OEandYourDistro

Chris

Quoted 64 lines · Alessandro Sappia

--

Alessandro Sappia
CEO

________________________________________________________________________

Biotechware srl
C.so Castelfidardo, 30/A c/o I3P 10129 Torino (TO) Italy
Tel: +39 011 0903260
Fax: +39 011 0905126
http://www.biotechware.com/

Il giorno lun, 04/07/2011 alle 22.05 +0200, Enrico ha scritto:

Quoted 9 lines
Quoted 6 lines · Alessandro Sappia

Hi all,
I just configured OE on my box and I tried to compile helloworld-image to check if everything is fine.
I'm actually unable to complete with success this build because of this error:
-----------------------------

Quoted 8 lines

Try with:

BB_NUMBER_THREADS = "1"

and have a look at the thread "[oe] gettext-native fails to build" of some days ago to know where i copied this hint from! (and maybe try oe-core branch too).

[outout cut]
m4
-I /home/alessandro/oe/build/tmp/work/x86_64-linux/gettext-native-0.18-r6/gettext-0.18/gettext-tools/m4 -I /home/alessandro/oe/build/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.11 -I /home/alessandro/oe/build/tmp/sysroots/x86_64-linux/usr/share/aclocal -I /home/alessandro/oe/build/tmp/work/x86_64-linux/gettext-native-0.18-r6/gettext-0.18/gnulib-local/m4/ -I /home/alessandro/oe/build/tmp/work/x86_64-linux/gettext-native-0.18-r6/gettext-0.18/gettext-runtime/m4 -I /home/alessandro/oe/build/tmp/work/x86_64-linux/gettext-native-0.18-r6/gettext-0.18/gettext-tools/m4 -I /home/alessandro/oe/build/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.11 -I /home/alessandro/oe/build/tmp/sysroots/x86_64-linux/usr/share/aclocal --force -I ../../m4 -I ../m4 -I gnulib-m4

| autoreconf: running: libtoolize --copy --force
| autoreconf: failed to run libtoolize: No such file or directory
| autoreconf: libtoolize is needed because this package uses Libtool
| + oefatal 'autoreconf execution failed.'
| + echo FATAL: 'autoreconf execution failed.'
| FATAL: autoreconf execution failed.
| + exit 1

NOTE: package gettext-native-0.18-r6: task do_configure: Failed
ERROR: Task 435
(virtual:native:/home/alessandro/oe/openembedded/recipes/gettext/gettext_0.18.bb, do_configure) failed with exit code '1' ERROR:
'virtual:native:/home/alessandro/oe/openembedded/recipes/gettext/gettext_0.18.bb' failed

It didn't work, but thanks.

Ciao,

Alessandro

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

#4 lore raw

Il giorno mar, 05/07/2011 alle 00.37 -0700, Chris Verges ha scritto:

Quoted 8 lines

Hi Alessandro,

This may be a silly question, but do you have all of the required dependencies installed for your OS? Looks like libtool isn't being found.

http://wiki.openembedded.net/index.php/OEandYourDistro

Yes, I've already read that page.
From what I've seen list of required software is missing of (for ubuntu distro 64bit):
- chrpath (for newer bitbake)

Rechecking packages gave me that every package in that list is already installed.
After package list recheck and I didn't get libtool isn't installed on host (no package in wiki list has libtool as prerequisite).

so after checking required software in wiki I did a

$ sudo apt-get install libtool
just in case.

but compilation fails on bison-native.

Seem solved by using the host bison ASSUME_PROVIDED += "bison-native" instead of let bitbake compile
(bison from recipes complains about a "perhaps missing m4 macro gl_GLIBC21").

Waiting for news.

If no news, then good news.

Thanks for now

Alessandro

Quoted 62 lines

Chris

Quoted 43 lines · Alessandro Sappia

--

Il giorno lun, 04/07/2011 alle 22.05 +0200, Enrico ha scritto:

Quoted 9 lines
Quoted 6 lines · Alessandro Sappia

Hi all,
I just configured OE on my box and I tried to compile helloworld-image to check if everything is fine.
I'm actually unable to complete with success this build because of this error:
-----------------------------

Quoted 8 lines

Try with:

BB_NUMBER_THREADS = "1"

and have a look at the thread "[oe] gettext-native fails to build" of some days ago to know where i copied this hint from! (and maybe try oe-core branch too).

[outout cut]
m4
-I /home/alessandro/oe/build/tmp/work/x86_64-linux/gettext-native-0.18-r6/gettext-0.18/gettext-tools/m4 -I /home/alessandro/oe/build/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.11 -I /home/alessandro/oe/build/tmp/sysroots/x86_64-linux/usr/share/aclocal -I /home/alessandro/oe/build/tmp/work/x86_64-linux/gettext-native-0.18-r6/gettext-0.18/gnulib-local/m4/ -I /home/alessandro/oe/build/tmp/work/x86_64-linux/gettext-native-0.18-r6/gettext-0.18/gettext-runtime/m4 -I /home/alessandro/oe/build/tmp/work/x86_64-linux/gettext-native-0.18-r6/gettext-0.18/gettext-tools/m4 -I /home/alessandro/oe/build/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.11 -I /home/alessandro/oe/build/tmp/sysroots/x86_64-linux/usr/share/aclocal --force -I ../../m4 -I ../m4 -I gnulib-m4

| autoreconf: running: libtoolize --copy --force
| autoreconf: failed to run libtoolize: No such file or directory
| autoreconf: libtoolize is needed because this package uses Libtool
| + oefatal 'autoreconf execution failed.'
| + echo FATAL: 'autoreconf execution failed.'
| FATAL: autoreconf execution failed.
| + exit 1

NOTE: package gettext-native-0.18-r6: task do_configure: Failed
ERROR: Task 435
(virtual:native:/home/alessandro/oe/openembedded/recipes/gettext/gettext_0.18.bb, do_configure) failed with exit code '1' ERROR:
'virtual:native:/home/alessandro/oe/openembedded/recipes/gettext/gettext_0.18.bb' failed

It didn't work, but thanks.

Quoted 10 lines

Ciao,

Alessandro

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

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

#5 lore raw

Hi,

I have encountered the problem with the missing gl_GLIBC21 too.

This is what solved the problem for me:

bitbake -c clean gettext-native
bitbake gettext-native

Afterwards the string "GLIBC21" appears in sysroots/x86_64-linux/usr/share/aclocal/glibc21.m4 and sysroots/x86_64-linux/usr/share/aclocal/intl.m4

Best regards,

Jan

on 05.07.2011 12:10 Alessandro Sappia said the following:

Quoted 8 lines

but compilation fails on bison-native.

Seem solved by using the host bison ASSUME_PROVIDED += "bison-native" instead of let bitbake compile
(bison from recipes complains about a "perhaps missing m4 macro gl_GLIBC21").

#6 lore raw
Quoted 4 lines · Jan Kobler

Hi,

I have encountered the problem with the missing gl_GLIBC21 too.

Quoted 8 lines

This is what solved the problem for me:

bitbake -c clean gettext-native
bitbake gettext-native

Afterwards the string "GLIBC21" appears in sysroots/x86_64-linux/usr/share/aclocal/glibc21.m4 and sysroots/x86_64-linux/usr/share/aclocal/intl.m4

The problem is something in master branch of bitbake. using .12 let a fresh enviroment build everything.

Quoted 13 lines

Best regards,

Jan

on 05.07.2011 12:10 Alessandro Sappia said the following:

Quoted 7 lines

but compilation fails on bison-native.

Seem solved by using the host bison ASSUME_PROVIDED += "bison-native" instead of let bitbake compile
(bison from recipes complains about a "perhaps missing m4 macro gl_GLIBC21").