DataDrake / abi-wizard

Tool for generating ABI reports for libraries and binaries
Apache License 2.0
6 stars 5 forks source link

Failed to get abi report on one of the google-cloud-sdk binaries #4

Open chax opened 3 years ago

chax commented 3 years ago

When i build eopkg for google-cloud-sdk, make abireport step fails with following error:

make abireport
make[1]: Entering directory '/home/mcakaric/git/Solus/google-cloud-sdk'
"../."/common/Go/yabi/yabi *.eopkg
 ⮞  Scanning 'google-cloud-sdk-327.0.0-13-1-x86_64.eopkg'...
 🕱  Failed to add file 'usr/share/google-cloud-sdk/bin/anthoscli', reason: no symbol section
make[1]: *** [../Makefile.common:15: abireport] Error 1
make[1]: Leaving directory '/home/mcakaric/git/Solus/google-cloud-sdk'
make: *** [../Makefile.common:12: complete] Error 2

If i remove that one binary, abireport step completes successfully.

DataDrake commented 3 years ago

Can you run file on it inside the chroot and let me know what it is?

DataDrake commented 3 years ago

Assuming it's a static binary, this should be fixed in latest abi-wizard and yabi

chax commented 3 years ago
anthoscli: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, Go BuildID=-GhFr-_tbfmr9ryq_jPt/JDzCU65yTuaz-Vv4gNrt/wfcx3srAKE50Ypddp6sS/EssWlTB-OP4ORm9oQWlz, not stripped
chax commented 3 years ago

Sorry for reporting this so late, but today i tested latest commit ad32e33 and that basically fixed it, so i think this issue can be closed now.