Skip to contentSkip to conversation

RFC: Recent insane.bbclass / RPATH issues need attention

DISCUSSION Leon Woestenberg 2 participants 2 messages Apr 29, 2007 – Apr 30, 2007

lore
Share & tools
lore
#0 lore raw

Hello,

the current insane.bbclass *behaviour* is bad (insane.bbclass itself is good!):

- insane.bbclass will detect invalid rpath and error (bitbake will bail out).
- *however*, on a new bitbake run, no errors are reported and the build happily continues, *but* the invalid file is never staged/installed.

This gives me similar errors as also reported on IRC:

sirfred> I don't know why, but gcc-cross didn't generate for me neither libgcc nor libstdc++

Alternative approaches from here:

0) Leave as is.

1) The correct behaviour would be that subsequent bitbake runs *also* error out.

2) We regard invalid RPATHs only as a warning, so that the files *do* get installed.

3) We do not use insane.bbclass by default in the distro's.

4) We fix the invalid RPATHs soon.

I only think I can (2) or (3) done soon, I'm struggling to get (4) implemented, did not try (1).

(0) is not an option because resulting images will miss important files, resulting in bogus error reports.

Regards,

Signature · 1 line
Leon
#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Leon Woestenberg schreef:

Quoted 8 lines

Hello,

the current insane.bbclass *behaviour* is bad (insane.bbclass itself is good!):

- insane.bbclass will detect invalid rpath and error (bitbake will bail out).
- *however*, on a new bitbake run, no errors are reported and the build happily continues, *but* the invalid file is never staged/installed.

This is not limited to rpath issues or insane.bbclass, but happens with every class that fiddles with PACKAGE_FUNCS.

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFGNaFGMkyGM64RGpERAn8cAKCEmrZr0W/XJVENdYXrDTdLfiFyUQCbBqok lQgL1qCchydp4umvc3XZm5o=
=+8nf
-----END PGP SIGNATURE-----