Skip to contentSkip to conversation

linux-libc-headers build problem for tosa

DISCUSSION Junqian Gordon Xu 6 participants 11 messages Apr 22, 2007 – Apr 28, 2007

lore
Share & tools
lore
#0 lore raw

I'm testing my OE build system after upgrading my host to Debian Lenny (testing). host gcc version: gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21), But I can't pass the stage of building linux-libc-headers-2.6.xx in either Angstrom or OZ-3.5.5 distro.

My local.conf is minimally modified with machine=tosa and qemu-native assumed.

Angstrom bug report: http://bugs.openembedded.org/show_bug.cgi?id=2128
OZ-3.5.5 bug report: http://bugs.openembedded.org/show_bug.cgi?id=2132

Any idea what's wrong?

Gordon

#1 lore raw
Quoted 8 lines · Junqian Gordon Xu

I'm testing my OE build system after upgrading my host to Debian Lenny (testing). host gcc version: gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21), But I can't pass the stage of building linux-libc-headers-2.6.xx in either Angstrom or OZ-3.5.5 distro.

My local.conf is minimally modified with machine=tosa and qemu-native assumed.

Angstrom bug report: http://bugs.openembedded.org/show_bug.cgi?id=2128
OZ-3.5.5 bug report: http://bugs.openembedded.org/show_bug.cgi?id=2132

You need to install scanelf. It is indeed required by the Quality Assurance tests performed in OE. scanelf is provided by the pax-utils package under Gentoo (and also under Debian if I remember correctly).

Best regards,

Cyril

PS: Have you carefully read the required software ? It has been added to the list some week ago.

#2 lore raw
Quoted 4 lines · cyril Romain
Quoted 2 lines · Junqian Gordon Xu

I'm testing my OE build system after upgrading my host to Debian Lenny (testing). host gcc version: gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21), But I can't pass the stage of building linux-libc-headers-2.6.xx in either Angstrom or OZ-3.5.5 distro.

Quoted 9 lines
Quoted 7 lines

My local.conf is minimally modified with machine=tosa and qemu-native assumed.

Angstrom bug report: http://bugs.openembedded.org/show_bug.cgi?id=2128
OZ-3.5.5 bug report: http://bugs.openembedded.org/show_bug.cgi?id=2132

You need to install scanelf. It is indeed required by the Quality Assurance tests performed in OE.

To overcome the issue, I installed pax-utils in my host Linux system. But I admit now that it was not really necessary:
In fact OE already provides the pax-utils-native package, automatically built by OE if insane.bbclass is included (angstrom actually includes insane.bbclass). Maybe is there a missing dependency that would force bitbake to build pax-utils-native prior to any task that require scanelf (?)

Any thought from bitbake/oe hackers ?

cyril

#3 lore raw
Quoted 16 lines · cyril Romain
Quoted 6 lines · cyril Romain
Quoted 2 lines · Junqian Gordon Xu

Angstrom bug report: http://bugs.openembedded.org/show_bug.cgi?id=2128
OZ-3.5.5 bug report: http://bugs.openembedded.org/show_bug.cgi?id=2132

You need to install scanelf. It is indeed required by the Quality Assurance tests performed in OE.

To overcome the issue, I installed pax-utils in my host Linux system. But I admit now that it was not really necessary:
In fact OE already provides the pax-utils-native package, automatically built by OE if insane.bbclass is included (angstrom actually includes insane.bbclass).
Maybe is there a missing dependency that would force bitbake to build pax-utils-native prior to any task that require scanelf (?)

Quoted 1 line

Any thought from bitbake/oe hackers ?

The dependency is present and works correctly in the versions of bitbake I've tested. Which version of bitbake was the problem seen with?

Cheers,

Richard

#4 lore raw

Same types of issues here with linux-libc-headers.

URL: svn://svn.berlios.de/bitbake/branches/bitbake-1.8
Revision: 816

When I install pax-utils natively (Ubuntu 7.04 x86_64) the insane class works.

#5 lore raw
Quoted 11 lines · Leon Woestenberg

Same types of issues here with linux-libc-headers.

URL: svn://svn.berlios.de/bitbake/branches/bitbake-1.8
Revision: 816

When I install pax-utils natively (Ubuntu 7.04 x86_64) the insane class works.

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

I installed pax_utils natively (Debian testing). But it's still not working.

My bitbake-1.8 may be a bit old at revision: 802. I can not update to the latest version due to the berlios.de server problem.

I will give it another try when svn update works.

Thanks
Gordon

#6 lore raw
In reply to Leon Woestenberg

Am 22.04.2007 um 21:39 schrieb Leon Woestenberg:

Quoted 6 lines

Same types of issues here with linux-libc-headers.

URL: svn://svn.berlios.de/bitbake/branches/bitbake-1.8
Revision: 816

When I install pax-utils natively (Ubuntu 7.04 x86_64) the insane class works.

Hi,
purge it, it should get build automatically and we have to find out why it wasn't built. So my two questions in this issue are:

-Which BitBake version do you really use? (python -vvv `which
bitbake` -p
-Is your setup in anyway not standard or is it the default angstrom
build?

please feel free to mail the output to this list, or if too large to me privately.

z.

#7 lore raw
In reply to Leon Woestenberg
Quoted 5 lines · Leon Woestenberg

Same types of issues here with linux-libc-headers.

URL: svn://svn.berlios.de/bitbake/branches/bitbake-1.8
Revision: 816

Quoted 8 lines

When I install pax-utils natively (Ubuntu 7.04 x86_64) the insane class works.

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

Works for me after updating the bitbake to revision 816 and installing pax-utils.

Should I close the bug or does anyone has anything to add?

#8 lore raw

Hello,

Quoted 8 lines · Junqian Gordon Xu
Quoted 7 lines · Leon Woestenberg

Same types of issues here with linux-libc-headers.

URL: svn://svn.berlios.de/bitbake/branches/bitbake-1.8
Revision: 816

When I install pax-utils natively (Ubuntu 7.04 x86_64) the insane class works.

Like Holger said, it should work without pax-utils installed on your host, as OE should pick up and build a native version for you.

I'm going to try that.

Regards,

Leon.

#9 lore raw
Quoted 9 lines · Leon Woestenberg

Hello,

Quoted 6 lines · Junqian Gordon Xu
Quoted 5 lines · Leon Woestenberg

Same types of issues here with linux-libc-headers.

URL: svn://svn.berlios.de/bitbake/branches/bitbake-1.8
Revision: 816

Quoted 7 lines
Quoted 2 lines
Quoted 2 lines

When I install pax-utils natively (Ubuntu 7.04 x86_64) the insane class works.

Like Holger said, it should work without pax-utils installed on your host, as OE should pick up and build a native version for you.

I'm going to try that.

The thing is, scanelf is definately installed on my host. OE *should* have found and used my host's version as it's in my path. Sounds like there's both a path and a dep issue in bitbake.

Signature · 1 line
Justin Patrin
#10 lore raw
In reply to Leon Woestenberg
Quoted 8 lines · Leon Woestenberg

Like Holger said, it should work without pax-utils installed on your host, as OE should pick up and build a native version for you.

I'm going to try that.

Regards,

Leon.

Ok, it works fine for me without pax-utils on host.

Seems the dev team is starting a bug squashing party. I don't have time to read up all the emails now. But once I got through that, I will probably close the bug or mark it dependent on the insane.bb bug.

Gordon