On 5/7/20 8:10 AM, Changqing Li wrote:
On 5/7/20 1:56 PM, Jacob Kroon wrote:
On 5/7/20 4:05 AM, Changqing Li wrote:
From: Changqing Li <[email protected]>
Reproduce steps:
1. add 'DISTRO_FEATURES_append = ' usrmerge'' in local.conf
2. bitbake iproute2
3. remove 'DISTRO_FEATURES_append = ' usrmerge'' from local.conf
4. bitbake iproute2
In step4, since CLEANBROKEN is set, files generated in step2 is not
cleaned and rebuilded. Check after step4:
file /sbin/ip.iproute2
/sbin/ip.iproute2: ELF 64-bit LSB pie executable, x86-64, version 1
(SYSV), dynamically linked, interpreter /usr/lib64/ld-linux-x86-64.so.2,
interpreter path is wrong, it should be /lib64/ld-linux-x86-64.so.2
This will make run ip.iproute2 report error:
-sh: /sbin/ip.iproute2: No such file or directory
Signed-off-by: Changqing Li <[email protected]>
---
meta/recipes-connectivity/iproute2/iproute2.inc | 4 ++++
1 file changed, 4 insertions(+)
Isn't this a general problem, and not specific to just iproute2 ?
For those recipe ${B} != ${S} , ${B} will be cleaned, will not have
this problem.
and by default, CLEANBROKEN is not set, make clean will be executed.
but for this specific recipe, both condition not matched.
btrfs-tools inherits autotools-brokensep and sets CLEANBROKEN = "1",
will it also require a similar fix ?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#138004):
https://lists.openembedded.org/g/openembedded-core/message/138004
Mute This Topic: https://lists.openembedded.org/mt/74043158/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-