Re: rpm 4.1 x 4.20 and custom debuginfo packages

2025-06-15 Thread Fabio Valentini
On Tue, Jun 3, 2025 at 1:40 PM Jiri Vanek 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

Re: rpm 4.1 x 4.20 and custom debuginfo packages

2025-06-03 Thread Jiri Vanek
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. U

Re: rpm 4.1 x 4.20 and custom debuginfo packages

2025-06-03 Thread Jiri Vanek
hi! That would be very long story... JDK have feature of jlink. This can link a native image from only really needed subset of jdk, and your applciation. To do this, it was using jmod files. which contained copy of jdk "prepared" for jlinking. The https://openjdk.org/jeps/493 allowed to do th

Re: rpm 4.1 x 4.20 and custom debuginfo packages

2025-06-03 Thread Michal Domonkos
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.

Re: rpm 4.1 x 4.20 and custom debuginfo packages

2025-06-03 Thread Florian Weimer
* Jiri Vanek: > Hi Florian, thanx a lot for kind reply! > > I saw the wrapper you have, and found it quite intensive. I was trying much > more simple workarounds, and also similar macro redefinition, but withotu > success. > > I'm, not sure I need any redefinition at all. The only thing I know i

Re: rpm 4.1 x 4.20 and custom debuginfo packages

2025-06-03 Thread Jiri Vanek
Hi Florian, thanx a lot for kind reply! I saw the wrapper you have, and found it quite intensive. I was trying much more simple workarounds, and also similar macro redefinition, but withotu success. I'm, not sure I need any redefinition at all. The only thing I know is that rpm 4.1 is ignoring

Re: rpm 4.1 x 4.20 and custom debuginfo packages

2025-06-03 Thread Jiri Vanek
I have incorrectly stated "I'm, not sure I need any redefinition at all". it is not precisse. It seems tah in 4.1 the custom debuginfo packages needed the debuginfo enabled, however the debuginfo macros redefined to nil. That is what pointed me to search for debuginfo macro refeiniton and to

Re: rpm 4.1 x 4.20 and custom debuginfo packages

2025-06-02 Thread Florian Weimer
* Jiri Vanek: > Florian, I saw you were playing with advanced debuginfo macros in past. Maybe > you may know? > > TY! > J. > > On 5/30/25 17:12, Jiri Vanek wrote: >> Hello! >> We had recently changed how we handle debuginfo in JDK: >> https://src.fedoraproject.org/rpms/java-latest-openjdk/pull-r

Re: rpm 4.1 x 4.20 and custom debuginfo packages

2025-06-02 Thread Jiri Vanek
Florian, I saw you were playing with advanced debuginfo macros in past. Maybe you may know? TY! J. On 5/30/25 17:12, Jiri Vanek wrote: Hello! We had recently changed how we handle debuginfo in JDK: https://src.fedoraproject.org/rpms/java-latest-openjdk/pull-request/147#request_diff