[oe] Bad gcc packaging (libgcc-s1 instead of libgcc1)
Koen Kooi
k.kooi at student.utwente.nl
Thu Mar 15 11:52:13 UTC 2007
Quoting Rod Whitby <rod at whitby.id.au>:
> I'm getting a libgcc-s1 package emitted by gcc_4.1.1.bb instead of the
> normal libgcc1.
The situation is a bit more nuanced: gcc (non-cross) never emitted libgcc1,
gcc-cross did. So gcc_4.bb was not packaging its libgcc as it should have.
> This is poisoning all builds that depend on libgcc1,
> and is polluting the slugos feeds with bad dependencies.
That is correct and indeed very annoying.
> I believe it is caused by the patch in
>
http://lists.linuxtogo.org/pipermail/openembedded-commits/2007-March/004007.html
>
> I have tested reverting that patch locally, and the libgcc-s1 package
> was not emitted.
>
> So I wish to revert that patch.
Please properly fix it by having gcc emit libgcc1 instead, otherwise your native
gcc package won't work properly if gcc-cross was a different version (which is
not a common case, but still). I think putting a construction like
gcc-package-cross.inc has:
python do_package() {
if bb.data.getVar('DEBIAN_NAMES', d, 1):
bb.data.setVar('PKG_libgcc', 'libgcc1', d)
bb.build.exec_func('package_do_package', d)
}
in gcc-package.inc should work. Could you test that?
Sorry for breaking everyones packages.
regards,
Koen
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
More information about the Openembedded-devel
mailing list