Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.java > #13085
| Path | csiph.com!weretis.net!feeder8.news.weretis.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Emmanuel Bourg <ebourg@apache.org> |
| Newsgroups | linux.debian.maint.java |
| Subject | Re: Heads up: broken OSGi Bundle-version in debian package jar file MANIFEST.MF |
| Date | Sun, 19 Oct 2025 12:00:01 +0200 |
| Message-ID | <LHymJ-6kOh-1@gated-at.bofh.it> (permalink) |
| References | <LHwEh-6jUF-1@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-java-request@lists.debian.org Sun Oct 19 09:57:42 2025 |
| Old-Return-Path | <ebourg@apache.org> |
| X-Amavis-Spam-Status | No, score=-19.654 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, NICE_REPLY_A=-2.658, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -5.5 |
| X-Greylist | delayed 508 seconds by postgrey-1.36 at bendel; Sun, 19 Oct 2025 09:57:27 UTC |
| Authentication-Results | apache.org; auth=none |
| MIME-Version | 1.0 |
| User-Agent | Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 |
| Content-Language | en-US |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Mailing-List | <debian-java@lists.debian.org> archive/latest/23826 |
| List-ID | <debian-java.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-java/> |
| List-Archive | https://lists.debian.org/msgid-search/710c323a-a42f-23a0-4e24-4ea84bb4ebca@apache.org |
| Approved | robomod@news.nic.it |
| Lines | 38 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Sun, 19 Oct 2025 11:47:21 +0200 |
| X-Original-Message-ID | <710c323a-a42f-23a0-4e24-4ea84bb4ebca@apache.org> |
| X-Original-References | <87o6q3gw32.fsf@dod.no> |
| Xref | csiph.com linux.debian.maint.java:13085 |
Show key headers only | View raw
Hi, Thank you for spotting this issue. The build expects a gradle.property file with a 'release' property to disable the -SNAPSHOT suffix. This is now fixed in asm/9.8-2 Emmanuel Bourg On 19/10/2025 10:00, Steinar Bang wrote: > Today I reported the following bug on libasm-java 9.8-1 > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1118387 > > The problem is that the MANIFEST.MF header Bundle-version looks like > this: > Bundle-version: 9.8-SNAPSHOT > and this causes the asm jar file to fail when being loaded as an OSGi > bundle. > > This indicates two things: > 1. The debian package may not actually be built from the git tag > matching the release > 2. Whatever creates the OSGi headers of MANIFEST.MF doesn't handle > SNAPSHOT releases correctly (eg. the apache felix maven-bundle-plugin > would have created the header "Bundle-version: 9.8.SNAPSHOT" which > would have loaded correctly in OSGi) > > And the reason I'm writing here as well as reporting the bug is that > this could affect other debian java library packages with OSGi headers > in their MANIFEST.MF files. > > (It may be that not many others care about OSGi these days... but I > do... :-) ) > > If someone run into problems trying to fix OSGi headers in debian java > library packages I am willing to assist. >
Back to linux.debian.maint.java | Previous | Next — Previous in thread | Next in thread | Find similar
Heads up: broken OSGi Bundle-version in debian package jar file MANIFEST.MF Steinar Bang <sb@dod.no> - 2025-10-19 10:10 +0200
Re: Heads up: broken OSGi Bundle-version in debian package jar file MANIFEST.MF Emmanuel Bourg <ebourg@apache.org> - 2025-10-19 12:00 +0200
Re: Heads up: broken OSGi Bundle-version in debian package jar file MANIFEST.MF Steinar Bang <sb@dod.no> - 2025-10-19 16:50 +0200
csiph-web