Re: rpm 4.1 x 4.20 and custom debuginfo packages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 3, 2025 at 1:40 PM Jiri Vanek <jvanek@xxxxxxxxxx> wrote:
>
>
>
> 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" :(

Maybe this fix can be backported to RPM in RHEL 9? I would file a JIRA
ticket for this.

Fabio
-- 
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux