Description of problem: java-1.8.0-openjdk*-slowdebug packages are intended for JVM developers in order to be able to diagnose issues when things go wrong. Unfortunately some provides of those packages can result in those packages being pulled in inadvertently by dnf. I've seen this happening in a VM of mine when trying to install eclipse-platform. java-1.8.0-openjdk-slowdebug packages got pulled in as dep, probably because of the libjawt.so provides needed by eclipse-swt a dep of eclipse-platform. Version-Release number of selected component (if applicable): java-1.8.0-openjdk-1.8.0.191.b12-11.fc29.x86_64 How reproducible: Non-deterministically as this issue is at the mercy of the dnf dep solver to pull in the "wrong" provider. Steps to Reproduce (contrived example): $ mock -r fedora-29-x86_64 --init $ mock -r fedora-29-x86_64 --install java-1.8.0-openjdk-slowdebug $ mock -r fedora-29-x86_64 --install eclipse-platform Observe no release builds get pulled in when eclipse-platform is installed. or better: $ mock -r fedora-29-x86_64 --init $ mock -r fedora-29-x86_64 --install java-1.8.0-openjdk-devel-slowdebug $ mock -r fedora-29-x86_64 --shell <mock-chroot> sh-4.4# rpm -q --provides java-1.8.0-openjdk{,-devel,-headless}-slowdebug | grep -v slowdebug Actual results (from second reproducer): application() java-1.8.0-openjdk = 1:1.8.0.191.b12-11.fc29 libjawt.so()(64bit) libjawt.so(SUNWprivate_1.1)(64bit) application() libjawt.so()(64bit) libjawt.so(SUNWprivate_1.1)(64bit) /usr/bin/jjs libjava.so()(64bit) libjava.so(SUNWprivate_1.1)(64bit) libjsig.so()(64bit) libjvm.so()(64bit) libjvm.so(SUNWprivate_1.1)(64bit) libverify.so()(64bit) libverify.so(SUNWprivate_1.1)(64bit) Expected results: <nothing> Additional info: We should filter all provides for the slowdebug packages.
Hi! Already known issue. Test is under construction and fix will arrive with it.
Jandrlik, test needs to be enhanced that slowdebug do not have those "normla" provides (like libawt or libjvm)
OK. According to [1] this might work as a fix: # Exclude all provides from the -slowdebug directory. See RHBZ#1655938 %global __provides_exclude_from ^%{uniquesuffix -- %{debugbuild_parameter}}/.*$ [1] https://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering#Preventing_files.2Fdirectories_from_being_scanned_for_deps_.28pre-scan_filtering.29
(In reply to Severin Gehwolf from comment #3) > OK. According to [1] this might work as a fix: > > # Exclude all provides from the -slowdebug directory. See RHBZ#1655938 > %global __provides_exclude_from ^%{uniquesuffix -- > %{debugbuild_parameter}}/.*$ > > > [1] > https://fedoraproject.org/wiki/Packaging: > AutoProvidesAndRequiresFiltering#Preventing_files. > 2Fdirectories_from_being_scanned_for_deps_.28pre-scan_filtering.29 + for techpreview: %global _privatelibs [.]so.* ?
(In reply to jiri vanek from comment #4) > (In reply to Severin Gehwolf from comment #3) > > OK. According to [1] this might work as a fix: > > > > # Exclude all provides from the -slowdebug directory. See RHBZ#1655938 > > %global __provides_exclude_from ^%{uniquesuffix -- > > %{debugbuild_parameter}}/.*$ > > > > > > [1] > > https://fedoraproject.org/wiki/Packaging: > > AutoProvidesAndRequiresFiltering#Preventing_files. > > 2Fdirectories_from_being_scanned_for_deps_.28pre-scan_filtering.29 > > + for techpreview: > %global _privatelibs [.]so.* > ? Seems reasonable.
There is wrong bugid in this palce in spec: is: https://bugzilla.redhat.com/show_bug.cgi?id=1111349 shouldbe: https://bugzilla.redhat.com/show_bug.cgi?id=1590796 for: %global _privatelibs will include it in this fix too.
(In reply to jiri vanek from comment #6) > There is wrong bugid in this palce in spec: > is: https://bugzilla.redhat.com/show_bug.cgi?id=1111349 > shouldbe: https://bugzilla.redhat.com/show_bug.cgi?id=1590796 > for: %global _privatelibs > > will include it in this fix too. Well both are valid bugs for _privatelibs. https://bugzilla.redhat.com/show_bug.cgi?id=1111349#c28 mentions 'libmawt.so()(64bit)'. So it's related. I wound't drop it.
ok. will jsut add it
Created attachment 1513064 [details] proof of correctnes of PR26 and PR27 The logs from rpm -q --provides and rpm -ql between current build, and CI for PR 25, 26 and 27. Diffing them have not shown any regressions and appear to be doing as the fixes meant to do. Review welcomed.
This message is a reminder that Fedora 29 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora 29 on 2019-11-26. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '29'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 29 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 29 changed to end-of-life (EOL) status on 2019-11-26. Fedora 29 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.