On 6/3/25 11:48, Michal Domonkos wrote:
On Fri, May 30, 2025 at 05:12:41PM +0200, Jiri Vanek wrote:
We had recently changed how we handle debuginfo in JDK:
https://src.fedoraproject.org/rpms/java-latest-openjdk/pull-request/147#request_diff
Main change is, that we create debuginfo manually. Unluckily it was
developed with rpm 4.20, so it built fine in f41-f43, but during porting to
epels, I found it build in none. Just for curiosity I tried also in f40,
and it failed too. So my guessing pointed to rpm 4.20.
The failure in f41/epels is, that they ignore the manual %package
debuginfo (debugsource seems fine) and insted they later print:
error: Installed (but unpackaged) file(s) found:
/usr/lib/debug/usr/lib/jvm/java-24-openjdk/bin/jar.debuginfo
/usr/lib/debug/usr/lib/jvm/java-24-openjdk/bin/jarsigner.debuginfo
/usr/lib/debug/usr/lib/jvm/java-24-openjdk/bin/java.debuginfo
/usr/lib/debug/usr/lib/jvm/java-24-openjdk/bin/javac.debuginfo
....
Which is contnet of my debugfiles.list, which is in 4.20 correctly used. In
logs is visible that the debuginfo subpkg is not processed at all:
ok: https://koji.fedoraproject.org/koji/taskinfo?taskID=133271306
not ok: https://koji.fedoraproject.org/koji/taskinfo?taskID=133347836
Anybody any thoughts please?
AIUI, there's a regression in RPM < 4.20 preventing the creation of manual
debuginfo subpackages, as you've also noted in another reply to this thread.
This is the relevant patch:
https://github.com/rpm-software-management/rpm/commit/e0b9ffea8e73710622316e0308856cba96407d9a
Thanx a lot for confirmation! Any ideas how to workaroudn that?-) It seems that the only
way is to have that subpackage named differently then "debuginfo" :(
--
Jiri Vanek Mgr.
Principal QA Software Engineer
Red Hat Inc.
+420 775 39 01 09
--
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue