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

annocheck: WARN: Could not find separate debug file... #1369

Closed
msrb opened this issue Apr 12, 2024 · 0 comments · Fixed by #1370
Closed

annocheck: WARN: Could not find separate debug file... #1369

msrb opened this issue Apr 12, 2024 · 0 comments · Fixed by #1370

Comments

@msrb
Copy link
Contributor

msrb commented Apr 12, 2024

Describe the bug

This issue blocks OSCI-6701.

annocheck inspection doesn't seem to tell annocheck where to look for the debuginfo files.

To Reproduce

Command: annocheck --ignore-unknown --verbose --profile=el10 /usr/bin/ippfind
Exit Code: 0

annocheck: Version 12.48.
Hardened: /usr/bin/ippfind: PASS: pie test because the ELF file header has the correct type 
Hardened: /usr/bin/ippfind: WARN: Could not find separate debug file: ippfind-2.4.7-9.el10.aarch64.debug.
Hardened: /usr/bin/ippfind: PASS: writable-got test 
Hardened: /usr/bin/ippfind: PASS: dynamic-segment test 
Hardened: /usr/bin/ippfind: PASS: bind-now test 
Hardened: /usr/bin/ippfind: PASS: dynamic-tags test because the BTI_PLT flag is present in the dynamic tags 
Hardened: ippfind:  try: /usr/lib/debug/.build-id/b0/017f9ee3dbcb19748bd3fd3e851b89c5ee889b.debug.
Hardened: ippfind:  try: usr/lib/debug/.build-id/b0/017f9ee3dbcb19748bd3fd3e851b89c5ee889b.debug.
Hardened: ippfind:  try: ./ippfind-2.4.7-9.el10.aarch64.debug.
Hardened: ippfind:  try: ./.debug/ippfind-2.4.7-9.el10.aarch64.debug.
Hardened: ippfind:  try: /ippfind-2.4.7-9.el10.aarch64.debug.
Hardened: ippfind:  try: /.debug/ippfind-2.4.7-9.el10.aarch64.debug.
Hardened: ippfind:  try: /usr/lib/debug/ippfind-2.4.7-9.el10.aarch64.debug.
Hardened: ippfind:  try: /usr/lib/debug/ippfind-2.4.7-9.el10.aarch64.debug.
Hardened: ippfind:  try: /usr/lib/debug/usr/ippfind-2.4.7-9.el10.aarch64.debug.
Hardened: ippfind:  try: /usr/lib/debug/usr/bin/ippfind-2.4.7-9.el10.aarch64.debug.
Hardened: ippfind:  try: /lib/debug/ippfind-2.4.7-9.el10.aarch64.debug.
Hardened: ippfind:  try: usr/lib/debug/ippfind-2.4.7-9.el10.aarch64.debug.
Hardened: ippfind:  try: usr/lib/debug/ippfind-2.4.7-9.el10.aarch64.debug.
Hardened: ippfind:  try: usr/lib/debug/usr/ippfind-2.4.7-9.el10.aarch64.debug.
Hardened: ippfind:  try: usr/lib/debug/usr/bin/ippfind-2.4.7-9.el10.aarch64.debug.
Hardened: ippfind:  try: lib/debug/ippfind-2.4.7-9.el10.aarch64.debug.
Hardened: ippfind:  try: /usr/lib/debug/ippfind-2.4.7-9.el10.aarch64.debug.
Hardened: ippfind:  try: /usr/lib/debug/usr/ippfind-2.4.7-9.el10.aarch64.debug.
Hardened: ippfind:  try: /usr/lib/debug/usr/bin/ippfind-2.4.7-9.el10.aarch64.debug.
Hardened: ippfind:  try: /lib/debug/ippfind-2.4.7-9.el10.aarch64.debug.
Hardened: ippfind:  try: /lib/debug/ippfind-2.4.7-9.el10.aarch64.debug.
Hardened: ippfind:  try: /usr/lib/debug/ippfind-2.4.7-9.el10.aarch64.debug.
Hardened: ippfind:  try: /usr/lib/debug/ippfind-2.4.7-8.el10.aarch64.debug.
Hardened: ippfind:  try: /usr/lib/debug/ippfind-2.4.7-7.el10.aarch64.debug.
Hardened: ippfind:  try: /usr/lib/debug/ippfind-2.4.7-6.el10.aarch64.debug.
Hardened: ippfind:  try: /usr/lib/debug/ippfind-2.4.7-5.el10.aarch64.debug.
Hardened: ippfind:  try: /usr/lib/debug/ippfind-2.4.7-4.el10.aarch64.debug.
Hardened: ippfind:  try: /usr/lib/debug/ippfind-2.4.7-3.el10.aarch64.debug.
Hardened: ippfind:  try: /usr/lib/debug/ippfind-2.4.7-2.el10.aarch64.debug.
Hardened: ippfind:  try: /usr/lib/debug/ippfind-2.4.7-1.el10.aarch64.debug.
Hardened: /usr/bin/ippfind: PASS: gnu-stack test because stack segment exists with the correct permissions 
Hardened: /usr/bin/ippfind: PASS: gnu-relro test 
Hardened: /usr/bin/ippfind: PASS: notes test 
Hardened: /usr/bin/ippfind: skip: branch-protection test because not built by GCC 
Hardened: /usr/bin/ippfind: skip: cf-protection test because not an x86_64 binary
...
$ rpminspect-redhat -T annocheck -a aarch64  --release=el10 --profile=rhel-10-devel cups-2.4.7-9.el10

Expected behavior

annocheck knows where to find the debuginfo files.

Environment:

  • RHEL CI
msrb added a commit to msrb/rpminspect that referenced this issue Apr 12, 2024
Fixes: rpminspect#1369

Signed-off-by: Michal Srb <michal@redhat.com>
dcantrell pushed a commit that referenced this issue Apr 12, 2024
Fixes: #1369

Signed-off-by: Michal Srb <michal@redhat.com>
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

Successfully merging a pull request may close this issue.

1 participant