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

ruby-debuginfo.x86_64: W: unstripped-binary-or-object /usr/lib/debug/.dwz/ruby-3.1.0-1.fc36.x86_64 #780

Closed
voxik opened this issue Jan 4, 2022 · 2 comments

Comments

@voxik
Copy link

voxik commented Jan 4, 2022

I typically use rpmlint this way:

$ rpmlint -r ./ruby.rpmlintrc ./ruby.spec /var/lib/mock/ruby/result/ruby*.rpm

I.e. I check the .spec file I develop as well as the mock build results. Unfortunately, the output contains a lot of warnigns:

... snip ...

ruby-bundled-gems-debuginfo.x86_64: W: unstripped-binary-or-object /usr/lib/debug/usr/lib64/gems/ruby/debug-1.4.0/debug/debug.so-3.1.0-1.fc36.x86_64.debug
ruby-debuginfo.x86_64: W: unstripped-binary-or-object /usr/lib/debug/.dwz/ruby-3.1.0-1.fc36.x86_64
ruby-debuginfo.x86_64: W: unstripped-binary-or-object /usr/lib/debug/usr/bin/ruby-mri-3.1.0-1.fc36.x86_64.debug
ruby-libs-debuginfo.x86_64: W: unstripped-binary-or-object /usr/lib/debug/usr/lib64/libruby.so.3.1.0-3.1.0-1.fc36.x86_64.debug
ruby-libs-debuginfo.x86_64: W: unstripped-binary-or-object /usr/lib/debug/usr/lib64/ruby/cgi/escape.so-3.1.0-1.fc36.x86_64.debug

... snip ...

Obviously, these are *-debuginfo packages and they are expected to contain debug information, therefore rpmlint should handle them better

@voxik
Copy link
Author

voxik commented Jan 4, 2022

BTW there are also other warnings reported for -debuginfo:

... snip ...

ruby-bundled-gems-debuginfo.x86_64: W: dangling-relative-symlink /usr/lib/debug/.build-id/a2/bb968b5abd3d3c97308bc41a6f4cfc7204c09a ../../../.build-id/a2/bb968b5abd3d3c97308bc41a6f4cfc7204c09a
ruby-debuginfo.x86_64: W: dangling-relative-symlink /usr/lib/debug/.build-id/31/59ebbe346871776164d429fb3b5c64c9251ed1 ../../../.build-id/31/59ebbe346871776164d429fb3b5c64c9251ed1
ruby-libs-debuginfo.x86_64: W: dangling-relative-symlink /usr/lib/debug/.build-id/00/7358ffff6631bcddd9246f9f36b810dd6c4238 ../../../.build-id/00/7358ffff6631bcddd9246f9f36b810dd6c4238

... snip ...

@marxin
Copy link
Contributor

marxin commented Jan 5, 2022

Note one should not call rpmlint for debug info packages.

@marxin marxin closed this as completed Jan 5, 2022
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

2 participants