Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ldflags and rpaths yocto erros in zeus branch [do_package_qa] #1

Open
bhstalel opened this issue Aug 20, 2020 · 0 comments
Open

ldflags and rpaths yocto erros in zeus branch [do_package_qa] #1

bhstalel opened this issue Aug 20, 2020 · 0 comments

Comments

@bhstalel
Copy link

bhstalel commented Aug 20, 2020

Hi,
I'm working on a custom board based on NXP IMX8MM chip,
and I'm using zeus freescale sources, and I tried to integrate the macchia.io recipe so I took directly the recipe without the whole layer. After compiling the source code and passing to do_package_qa two errors appeared:

ERROR: macchina.io-0.10.0+gitAUTOINC+9c28a0a0d6-r0 do_package_qa: QA Issue: No GNU_HASH in the ELF binary /media/talel/data/menzu-zeus/menzu/tmp/work/aarch64-poky-linux/macchina.io/0.10.0+gitAUTOINC+9c28a0a0d6-r0/packages-split/macchina.io/opt/macchina/lib/libPocoRemotingNG.so.60, didn't pass LDFLAGS?
No GNU_HASH in the ELF binary /media/talel/data/menzu-zeus/menzu/tmp/work/aarch64-poky-linux/macchina.io/0.10.0+gitAUTOINC+9c28a0a0d6-r0/packages-split/macchina.io/opt/macchina/lib/libPocoGeo.so.1, didn't pass LDFLAGS?
No GNU_HASH in the ELF binary /media/talel/data/menzu-zeus/menzu/tmp/work/aarch64-poky-linux/macchina.io/0.10.0+gitAUTOINC+9c28a0a0d6-r0/packages-split/macchina.io/opt/macchina/lib/libPocoOSP.so.2, didn't pass LDFLAGS? [ldflags]
ERROR: macchina.io-0.10.0+gitAUTOINC+9c28a0a0d6-r0 do_package_qa: QA Issue: package macchina.io contains bad RPATH /media/talel/data/menzu-zeus/menzu/tmp/work/aarch64-poky-linux/macchina.io/0.10.0+gitAUTOINC+9c28a0a0d6-r0/git/lib/Linux/aarch64 in file /media/talel/data/menzu-zeus/menzu/tmp/work/aarch64-poky-linux/macchina.io/0.10.0+gitAUTOINC+9c28a0a0d6-r0/packages-split/macchina.io/opt/macchina/bin/macchina [rpaths]
ERROR: macchina.io-0.10.0+gitAUTOINC+9c28a0a0d6-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.

so I added a variable to the recipe to avoid those errors :
**INSANE_SKIP_${PN} += "ldflags rpaths"**

I'm asking is it possible to fix it from the source code ?
Can I fix the RPATH error from in the Makefile ?

Thanks, Talel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant