Your message dated Sun, 19 Oct 2025 10:04:29 +0000
with message-id <[email protected]>
and subject line Bug#1118387: fixed in asm 9.8-2
has caused the Debian Bug report #1118387,
regarding libasm-java: The Bundle-version header of MANIFEST.MF contains 
SNAPSHOT which prevents OSGi bundle loading
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1118387: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1118387
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libasm-java
Version: 9.8-1
Severity: important

Dear Maintainer,

I maintain an unofficial debian package for apache karaf
 https://github.com/steinarb/karaf-debian

When testing the packaging of karaf 4.4.8 the test failed with the following
error (full stack trace below):
2025-10-18T12:13:28,860 | INFO  | features-3-thread-1 | FeaturesServiceImpl
| 19 - org.apache.karaf.features.core - 4.4.8 |   mvn:org.ow2.asm/asm/9.8
2025-10-18T12:13:28,870 | ERROR | Karaf ssh console user karaf | ShellUtil
| 45 - org.apache.karaf.shell.core - 4.4.8 | Exception caught while executing
command
org.osgi.framework.BundleException: Could not create bundle object.
        at org.apache.felix.framework.Felix.installBundle(Felix.java:3339)
~[?:?]
        [snip!]
Caused by: java.lang.IllegalArgumentException: invalid version "9.8-SNAPSHOT":
non-numeric "8-SNAPSHOT"
        at org.osgi.framework.Version.parseInt(Version.java:169)
~[osgi.core-8.0.0.jar:?]
        [snip!]
Caused by: java.lang.NumberFormatException: For input string: "8-SNAPSHOT"
        at
java.lang.NumberFormatException.forInputString(NumberFormatException.java:67)
~[?:?]
        [snip!]

My unofficial apache karaf debian package tries to satisfy its runtime
dependencies from debian java library packages (with the hope of making it an
official debian package once all of the library dependencies are fulfilled from
debian packages).

The reason apache karaf has started failing is because the Bundle-version
header of MANIFEST.MF in the jar file of libasm-java 9.8-1 looks like this:
 Bundle-Version: 9.8-SNAPSHOT

This means that:
 1. libasm-java 9.8-1 may be built from a SNAPSHOT rather from the version 9.8
tag
 2. when building from a SNAPSHOT Bundle-version is handled incorrectly (the
felix maven-bundle-plugin would have put "Bundle-version: 9.8.SNAPSHOT" which
works when loading an OSGi module)

The full stack trace of the error message from the karaf.log file, is attached.


-- System Information:
Debian Release: 13.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'oldstable-security'), (500, 
'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.43+deb13-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- no debconf information
2025-10-18T12:13:28,860 | INFO  | features-3-thread-1 | FeaturesServiceImpl     
         | 19 - org.apache.karaf.features.core - 4.4.8 |   
mvn:org.ow2.asm/asm/9.8
2025-10-18T12:13:28,870 | ERROR | Karaf ssh console user karaf | ShellUtil      
                  | 45 - org.apache.karaf.shell.core - 4.4.8 | Exception caught 
while executing command
org.osgi.framework.BundleException: Could not create bundle object.
        at org.apache.felix.framework.Felix.installBundle(Felix.java:3339) 
~[?:?]
        at 
org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:147)
 ~[?:?]
        at 
org.eclipse.equinox.internal.region.BundleIdBasedRegion.installBundle0(BundleIdBasedRegion.java:120)
 ~[?:?]
        at 
org.eclipse.equinox.internal.region.BundleIdBasedRegion.installBundleAtLocation(BundleIdBasedRegion.java:100)
 ~[?:?]
        at 
org.apache.karaf.features.internal.service.BundleInstallSupportImpl.installBundle(BundleInstallSupportImpl.java:135)
 ~[?:?]
        at 
org.apache.karaf.features.internal.service.FeaturesServiceImpl.installBundle(FeaturesServiceImpl.java:1145)
 ~[?:?]
        at 
org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:906) 
~[?:?]
        at 
org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1069)
 ~[?:?]
        at 
org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:1004)
 ~[?:?]
        at java.util.concurrent.FutureTask.run(FutureTask.java:317) ~[?:?]
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) 
~[?:?]
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) 
~[?:?]
        at java.lang.Thread.run(Thread.java:1583) [?:?]
Caused by: java.lang.IllegalArgumentException: invalid version "9.8-SNAPSHOT": 
non-numeric "8-SNAPSHOT"
        at org.osgi.framework.Version.parseInt(Version.java:169) 
~[osgi.core-8.0.0.jar:?]
        at org.osgi.framework.Version.<init>(Version.java:130) 
~[osgi.core-8.0.0.jar:?]
        at org.osgi.framework.Version.valueOf(Version.java:255) 
~[osgi.core-8.0.0.jar:?]
        at org.osgi.framework.Version.parseVersion(Version.java:226) 
~[osgi.core-8.0.0.jar:?]
        at 
org.apache.felix.framework.util.manifestparser.ManifestParser.<init>(ManifestParser.java:129)
 ~[?:?]
        at 
org.apache.felix.framework.BundleRevisionImpl.<init>(BundleRevisionImpl.java:117)
 ~[?:?]
        at 
org.apache.felix.framework.BundleImpl.createRevision(BundleImpl.java:1290) 
~[?:?]
        at org.apache.felix.framework.BundleImpl.<init>(BundleImpl.java:114) 
~[?:?]
        at org.apache.felix.framework.Felix.installBundle(Felix.java:3287) 
~[?:?]
        ... 12 more
Caused by: java.lang.NumberFormatException: For input string: "8-SNAPSHOT"
        at 
java.lang.NumberFormatException.forInputString(NumberFormatException.java:67) 
~[?:?]
        at java.lang.Integer.parseInt(Integer.java:662) ~[?:?]
        at java.lang.Integer.parseInt(Integer.java:778) ~[?:?]
        at org.osgi.framework.Version.parseInt(Version.java:167) 
~[osgi.core-8.0.0.jar:?]
        at org.osgi.framework.Version.<init>(Version.java:130) 
~[osgi.core-8.0.0.jar:?]
        at org.osgi.framework.Version.valueOf(Version.java:255) 
~[osgi.core-8.0.0.jar:?]
        at org.osgi.framework.Version.parseVersion(Version.java:226) 
~[osgi.core-8.0.0.jar:?]
        at 
org.apache.felix.framework.util.manifestparser.ManifestParser.<init>(ManifestParser.java:129)
 ~[?:?]
        at 
org.apache.felix.framework.BundleRevisionImpl.<init>(BundleRevisionImpl.java:117)
 ~[?:?]
        at 
org.apache.felix.framework.BundleImpl.createRevision(BundleImpl.java:1290) 
~[?:?]
        at org.apache.felix.framework.BundleImpl.<init>(BundleImpl.java:114) 
~[?:?]
        at org.apache.felix.framework.Felix.installBundle(Felix.java:3287) 
~[?:?]
        ... 12 more

--- End Message ---
--- Begin Message ---
Source: asm
Source-Version: 9.8-2
Done: Emmanuel Bourg <[email protected]>

We believe that the bug you reported is fixed in the latest version of
asm, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Emmanuel Bourg <[email protected]> (supplier of updated asm package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 19 Oct 2025 11:35:58 +0200
Source: asm
Architecture: source
Version: 9.8-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers 
<[email protected]>
Changed-By: Emmanuel Bourg <[email protected]>
Closes: 1118387
Changes:
 asm (9.8-2) unstable; urgency=medium
 .
   * Set the 'release' build property to remove the -SNAPSHOT version suffix
     (Closes: #1118387)
Checksums-Sha1:
 9dc095f2a1dcbe069719fa553585133db8c0e0bd 1987 asm_9.8-2.dsc
 b366a7d47eb5cd1e0a75613e13f3596679c2ff9a 10996 asm_9.8-2.debian.tar.xz
 4f5b2c2ad50bca7c9032f30f05cffd015b4b3400 14788 asm_9.8-2_source.buildinfo
Checksums-Sha256:
 986e17ff9603e647535ef9e6a06eee6c9582f73fe6308b497b53e5f7dafde516 1987 
asm_9.8-2.dsc
 e3c7371d729a6651809e626e607555fd993541210494a397c20bbfa76bc1ab80 10996 
asm_9.8-2.debian.tar.xz
 d1843ac50a6354ee65b09c6018dfde04cf2ff3aec56ae7e29af8163d28be45b3 14788 
asm_9.8-2_source.buildinfo
Files:
 6fbdd53d314e5842e3ab0f995ea9c6be 1987 java optional asm_9.8-2.dsc
 5c595ff31438df746f0ceb3d3e73bc05 10996 java optional asm_9.8-2.debian.tar.xz
 25b5b4e7a2b1113a91d09f5a8a8bd53c 14788 java optional asm_9.8-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEEuM5N4hCA3PkD4WxA9RPEGeS50KwFAmj0swsSHGVib3VyZ0Bh
cGFjaGUub3JnAAoJEPUTxBnkudCsz+AP/1JGtW8XWjHrshabS0HAuwPWvx4eVqUJ
CzP0kRrv7oXxdnhcQjTJx7LOfxu2civb7m3XEv2Kb4Q7Ya2Rliv/oRFnnNdirmlY
7l62gNYuZMlR1G+HK0WNFix1tIiE+YkmdTCQJni8s/Xv4SJytAzYb7dgicikiPoW
QFgH1i6dBornyMVKszZ/o3JehDukS+MSEfDWC+TYD2OmKo8N6pSXYYaa3hZpeApz
jWBa6C6DXR/uFyPqFmYs9xE51WES5G029DMiiP9NelYM3J3VFFQ0MvlUVKwxqzRl
oGPkUrTph9XXgz31tm6QHGv7PlHiwPSnrIjuoIGhvPWr6segEkpWL/41IbEexO5a
gHbU0+uVV79lXCZILsV3Qnl9mAKz7+ZabCD+wVGcjwj4dujg8bwIIF4A60WE/LR0
qpwGdeGIugtCIn3s8dj5yw3LWKkGHmee6rOPuFQwUhY+NX7u4LZCuYHk1lULEHL2
ULC5pByWtbGd40EQMpljrj3vnKN8HwTF6NMR+F2Uxe5MDM27MJBpM6nOxEYMszlr
xLhzP0ObSTiaFhNnniFbv3K/tLqn7zhSSoysztnUbki/EVoz76rBp9HziXJf8O4t
Ik883wuosJiRjAddZiucmPnySEVgrV0tgLcseCVV58+AQ9s4OFMogLvCSzF3hEJw
t3ALmk0HEw+p
=qp6P
-----END PGP SIGNATURE-----

Attachment: pgp13acl9KvGy.pgp
Description: PGP signature


--- End Message ---
__
This is the maintainer address of Debian's Java team
<https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
 Please use
[email protected] for discussions and questions.

Reply via email to