Skip to contentSkip to conversation

Glibc for Angstrom fails to build

DISCUSSION Andrey A Bondarenko 2 participants 3 messages Nov 22, 2006 – Nov 26, 2006

lore
Share & tools
lore
#0 lore raw

Hello!

I am just fallowing the manual on the oe.org site. I can not build glibc (i.e. can not build anything). I am using gcc 3.4 on Fedora Core 6.

[shaman@localhost build]$ bitbake gpe-image
NOTE: Using cache in '/OE/build/tmp/cache/hx4700'
NOTE: Handling BitBake files: / (4045/4045) [100 %]
NOTE: Parsing finished. 3882 cached, 0 parsed, 163 skipped, 0 masked.

NOTE: build 200611222009: started

OE Build Configuration:

BB_VERSION     = "1.6.3"
OE_REVISION    = "7faa9e1500d9ce5c29c1b92c2545f05b296a34ea"
TARGET_ARCH    = "arm"
TARGET_OS      = "linux-gnueabi"
MACHINE        = "hx4700"
DISTRO         = "angstrom"

DISTRO_VERSION = "test-20061122"
TARGET_FPU = "soft"

NOTE: preferred version 2.5 of glibc not available
NOTE: package glibc-2.5: started
NOTE: package glibc-2.5-r3: task do_compile: started
NOTE: SITE
files /OE/org.openembedded.dev/site/endian-little /OE/org.openembedded.dev/site/arm-linux
NOTE: package glibc-2.5-r3: task do_compile: completed
NOTE: package glibc-2.5-r3: task do_install: started
NOTE: SITE
files /OE/org.openembedded.dev/site/endian-little /OE/org.openembedded.dev/site/arm-linux
NOTE: package glibc-2.5-r3: task do_install: completed
NOTE: package glibc-2.5-r3: task do_package: started
NOTE: preparing tree for binary locale generation
NOTE: SITE
files /OE/org.openembedded.dev/site/endian-little /OE/org.openembedded.dev/site/arm-linux
NOTE: generating locale es_NI (UTF-8)
NOTE: Task failed: localedef returned an error (command was
PATH="/OE/build/tmp/staging/i686-linux/bin/arm-angstrom-linux-gnueabi:/OE/build/tmp/staging/i686-linux/bin:/OE/build/tmp/cross/bin:/OE/bitbake/bin/:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/shaman/bin" I18NPATH="/usr/share/i18n" qemu-arm -r 2.6.16 -L /OE/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.5-r3/locale-tree /OE/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.5-r3/locale-tree/bin/localedef --force --old-style --no-archive --prefix=/OE/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.5-r3/locale-tree --inputfile=/usr/share/i18n/locales/es_NI --charmap=UTF-8 es_NI).
NOTE: package glibc-2.5-r3: task do_package: failed
ERROR: TaskFailed event exception, aborting
NOTE: package glibc-2.5: failed
ERROR: Build of gpe-image failed

Signature · 5 lines
WBR,
Andrey "Shaman007" Bondarenko

http://mobilelinux.ru
http://mobilelinux.ru/wiki
#1 lore raw

Hi !
I am not sure if You still need help with that. I had similar problems while building image for h2200.

Have You tried playing with Your build config like

# adding qemu-native to ASSUME_PROVIDED
ENABLE_BINARY_LOCALE_GENERATION = "0"
ASSUME_PROVIDED += "qemu-native"

?

My problem was that image for h2200 was build with gcc >v4 (inside the OE). Additionally to the config above You need to have the qemu package on Your system which is not going to be a problem if You are using gcc3.

I hope it helps ...

Michal

Quoted 57 lines · Andrey A Bondarenko

Hello!

I am just fallowing the manual on the oe.org site. I can not build glibc (i.e. can not build anything). I am using gcc 3.4 on Fedora Core 6.

[shaman@localhost build]$ bitbake gpe-image
NOTE: Using cache in '/OE/build/tmp/cache/hx4700'
NOTE: Handling BitBake files: / (4045/4045) [100 %]
NOTE: Parsing finished. 3882 cached, 0 parsed, 163 skipped, 0 masked.

NOTE: build 200611222009: started

OE Build Configuration:

BB_VERSION     = "1.6.3"
OE_REVISION    = "7faa9e1500d9ce5c29c1b92c2545f05b296a34ea"
TARGET_ARCH    = "arm"
TARGET_OS      = "linux-gnueabi"
MACHINE        = "hx4700"
DISTRO         = "angstrom"

DISTRO_VERSION = "test-20061122"
TARGET_FPU = "soft"

NOTE: preferred version 2.5 of glibc not available
NOTE: package glibc-2.5: started
NOTE: package glibc-2.5-r3: task do_compile: started
NOTE: SITE
files /OE/org.openembedded.dev/site/endian-little /OE/org.openembedded.dev/site/arm-linux
NOTE: package glibc-2.5-r3: task do_compile: completed
NOTE: package glibc-2.5-r3: task do_install: started
NOTE: SITE
files /OE/org.openembedded.dev/site/endian-little /OE/org.openembedded.dev/site/arm-linux
NOTE: package glibc-2.5-r3: task do_install: completed
NOTE: package glibc-2.5-r3: task do_package: started
NOTE: preparing tree for binary locale generation
NOTE: SITE
files /OE/org.openembedded.dev/site/endian-little /OE/org.openembedded.dev/site/arm-linux
NOTE: generating locale es_NI (UTF-8)
NOTE: Task failed: localedef returned an error (command was
PATH="/OE/build/tmp/staging/i686-linux/bin/arm-angstrom-linux-gnueabi:/OE/build/tmp/staging/i686-linux/bin:/OE/build/tmp/cross/bin:/OE/bitbake/bin/:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/shaman/bin" I18NPATH="/usr/share/i18n" qemu-arm -r 2.6.16 -L /OE/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.5-r3/locale-tree /OE/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.5-r3/locale-tree/bin/localedef --force --old-style --no-archive --prefix=/OE/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.5-r3/locale-tree --inputfile=/usr/share/i18n/locales/es_NI --charmap=UTF-8 es_NI).
NOTE: package glibc-2.5-r3: task do_package: failed
ERROR: TaskFailed event exception, aborting
NOTE: package glibc-2.5: failed
ERROR: Build of gpe-image failed

--
WBR,
Andrey "Shaman007" Bondarenko

http://mobilelinux.ru
http://mobilelinux.ru/wiki

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

Signature · 1 line
Michal
#2 lore raw

Hello!

Yes, I had done so and now it works. Thank you!

2006/11/26, Michal Panczyk <[email protected]>:

Quoted 102 lines

Hi !
I am not sure if You still need help with that. I had similar problems while building image for h2200.

Have You tried playing with Your build config like

# adding qemu-native to ASSUME_PROVIDED
ENABLE_BINARY_LOCALE_GENERATION = "0"
ASSUME_PROVIDED += "qemu-native"

?

My problem was that image for h2200 was build with gcc >v4 (inside the OE). Additionally to the config above You need to have the qemu package on Your system which is not going to be a problem if You are using gcc3.

I hope it helps ...

Michal

Quoted 19 lines · Andrey A Bondarenko

Hello!

I am just fallowing the manual on the oe.org site. I can not build glibc (i.e. can not build anything). I am using gcc 3.4 on Fedora Core 6.

[shaman@localhost build]$ bitbake gpe-image
NOTE: Using cache in '/OE/build/tmp/cache/hx4700'
NOTE: Handling BitBake files: / (4045/4045) [100 %]
NOTE: Parsing finished. 3882 cached, 0 parsed, 163 skipped, 0 masked.

NOTE: build 200611222009: started

OE Build Configuration:

BB_VERSION     = "1.6.3"
OE_REVISION    = "7faa9e1500d9ce5c29c1b92c2545f05b296a34ea"
TARGET_ARCH    = "arm"
TARGET_OS      = "linux-gnueabi"
MACHINE        = "hx4700"
DISTRO         = "angstrom"
Quoted 8 lines

DISTRO_VERSION = "test-20061122"
TARGET_FPU = "soft"

NOTE: preferred version 2.5 of glibc not available
NOTE: package glibc-2.5: started
NOTE: package glibc-2.5-r3: task do_compile: started
NOTE: SITE
files /OE/org.openembedded.dev/site/endian-little

/OE/org.openembedded.dev/site/arm-linux

Quoted 4 lines

NOTE: package glibc-2.5-r3: task do_compile: completed
NOTE: package glibc-2.5-r3: task do_install: started
NOTE: SITE
files /OE/org.openembedded.dev/site/endian-little

/OE/org.openembedded.dev/site/arm-linux

Quoted 5 lines

NOTE: package glibc-2.5-r3: task do_install: completed
NOTE: package glibc-2.5-r3: task do_package: started
NOTE: preparing tree for binary locale generation
NOTE: SITE
files /OE/org.openembedded.dev/site/endian-little

/OE/org.openembedded.dev/site/arm-linux

Quoted 3 lines

NOTE: generating locale es_NI (UTF-8)
NOTE: Task failed: localedef returned an error (command was

PATH="/OE/build/tmp/staging/i686-linux/bin/arm-angstrom-linux-gnueabi:/OE/build/tmp/staging/i686-linux/bin:/OE/build/tmp/cross/bin:/OE/bitbake/bin/:/usr/lib/qt- 3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/shaman/bin"
I18NPATH="/usr/share/i18n" qemu-arm -r 2.6.16 -L
/OE/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.5-r3/locale-tree /OE/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.5-r3/locale-tree/bin/localedef
--force --old-style --no-archive
--prefix=/OE/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.5-r3/locale-tree
--inputfile=/usr/share/i18n/locales/es_NI --charmap=UTF-8 es_NI).

Quoted 9 lines

NOTE: package glibc-2.5-r3: task do_package: failed
ERROR: TaskFailed event exception, aborting
NOTE: package glibc-2.5: failed
ERROR: Build of gpe-image failed

--
WBR,
Andrey "Shaman007" Bondarenko

Quoted 9 lines

http://mobilelinux.ru
http://mobilelinux.ru/wiki

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

--

Michal

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

Signature · 4 lines
WBR,
Andrey "Shaman007" Bondarenko

http://mobilelinux.ru