Summary: | dev-java/jna-5.13.0 installs pre-stripped files | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Java team <java> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sam |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Agostino Sarubbo
2022-06-01 06:16:03 UTC
CC'ing also the author of the commit (14be4a0ea20880015e350f99b0f0140a10877736) Created attachment 781784 [details]
build.log
build log and emerge --info
ci has reproduced this issue with version 5.11.0-r1 - Updating summary. ci has reproduced this issue with version 5.13.0 - Updating summary. Really strange. Unlike for other packages like app-misc/rox-filer-2.11 I cannot even reproduce that "QA Notice" for dev-java/jna. This bug report made me think my portage is broken, then I tested with rox-filer and there I can see the "QA Notice". But not for dev-java/jna. Here is what I have after src_compile: $ file /var/tmp/portage/dev-java/jna-5.13.0/work/jna-5.13.0/build/native/libjnidispatch.so /var/tmp/portage/dev-java/jna-5.13.0/work/jna-5.13.0/build/native/libjnidispatch.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, not stripped And here what's in image after src_install: $ file /var/tmp/portage/dev-java/jna-5.13.0/image/usr/lib64/jna-4/libjnidispatch.so /var/tmp/portage/dev-java/jna-5.13.0/image/usr/lib64/jna-4/libjnidispatch.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped (In reply to Volkmar W. Pogatzki from comment #5) > Really strange. Unlike for other packages like app-misc/rox-filer-2.11 I > cannot even reproduce that "QA Notice" for dev-java/jna. > > This bug report made me think my portage is broken, then I tested with > rox-filer and there I can see the "QA Notice". But not for dev-java/jna. > > > Here is what I have after src_compile: > $ file > /var/tmp/portage/dev-java/jna-5.13.0/work/jna-5.13.0/build/native/ > libjnidispatch.so > /var/tmp/portage/dev-java/jna-5.13.0/work/jna-5.13.0/build/native/ > libjnidispatch.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), > dynamically linked, not stripped > > > And here what's in image after src_install: > $ file > /var/tmp/portage/dev-java/jna-5.13.0/image/usr/lib64/jna-4/libjnidispatch.so > /var/tmp/portage/dev-java/jna-5.13.0/image/usr/lib64/jna-4/libjnidispatch.so: > ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, > stripped The only thing that differs is the path. You said: /var/tmp/portage/dev-java/jna-5.13.0/work/jna-5.13.0/build/native/libjnidispatch.so whil build log says: /var/tmp/portage/dev-java/jna-5.11.0/work/jna-5.11.0/build/native-linux-x86-64/libjnidispatch.so In any case, are you able to see the strip line on your log? [exec] x86_64-pc-linux-gnu-strip /var/tmp/portage/dev-java/jna-5.11.0/work/jna-5.11.0/build/native-linux-x86-64/libjnidispatch.so The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3768708989ba388546542ddb11e10f2140fcca93 commit 3768708989ba388546542ddb11e10f2140fcca93 Author: Volkmar W. Pogatzki <gentoo@pogatzki.net> AuthorDate: 2023-05-10 11:00:27 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-05-20 09:39:13 +0000 dev-java/jna: avoid installing pre-stripped files Closes: https://bugs.gentoo.org/848912 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/30971 Signed-off-by: Sam James <sam@gentoo.org> dev-java/jna/{jna-5.13.0.ebuild => jna-5.13.0-r1.ebuild} | 1 + 1 file changed, 1 insertion(+) |