Bug 2061291

Summary: annocheck 10.56: misleading error message and outdated man
Product: [Fedora] Fedora Reporter: Václav Kadlčík <vkadlcik>
Component: annobinAssignee: Nick Clifton <nickc>
Status: VERIFIED --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 37CC: fweimer, jakub, nickc, sipoyare
Target Milestone: ---Keywords: Bugfix, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: annobin-10.57-1.fc37 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Václav Kadlčík 2022-03-07 09:58:09 UTC
Description of problem:

  # annocheck --skip-all /usr/lib64/libstdc++.so*

  annocheck: Version 10.56.
  annocheck: Warning: '/usr/lib64/libstdc++.so.6' is a symbolic link.  Run annocheck with -f to follow or -d to ignore.

I believe "-d" is wrong, "-I" is the right option.

The man page is outdated, doesn't mention "-f" not "-I":

  # man annocheck |& grep links


Version-Release number of selected component (if applicable):

annobin-annocheck-10.56-1.fc37.x86_64

Comment 1 Václav Kadlčík 2022-03-07 10:03:03 UTC
sorry for the typo above, should have read:

... doesn't mention "-f" *nor* "-I"

Comment 2 Nick Clifton 2022-03-07 12:22:25 UTC
*sigh*  Yes you are right.  I changed my mind about the name of the option half way through writing the patch.  Originally it was going to be --do-not-follow-links (abbreviated to -d) but there are already a lot of other -d options, so I decided that --ignore-links would be better.

As for the documentation, that is due to laziness on my part.  I documented the long options, but forgot to include the short versions...

Comment 3 Nick Clifton 2022-03-07 12:41:15 UTC
Fixed in annobin-10.57-1.fc37

Comment 4 Václav Kadlčík 2022-03-08 13:38:10 UTC
verified: annobin-10.57-1.fc37

Comment 5 Ben Cotton 2022-08-09 13:42:44 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 37 development cycle.
Changing version to 37.