Hi Do you have the resources in etc folder same as karaf vanilla ? The bnd version policy could cause such issues.
Regards JB On Fri, Aug 29, 2025 at 8:05 PM Steinar Bang <[email protected]> wrote: > > >>>>> Matt Pavlovich <[email protected]>: > > > Glad to hear you have it working! > > Not quite there yet unfortunately. > > When I try to install my "master karaf feature" ("one feature to load > all apps, one feature to bind them" > https://github.com/steinarb/myapps > the install fails on debian package installed karaf 4.4.8 > https://gist.github.com/steinarb/b303739d00c81f2611bbc16a89c544c4 > > Here is the stack trace and the commands leading up to it from karaf.log > https://gist.github.com/steinarb/aa9eedd05146d7132be5b90dea792e16 > > According to the stack trace it fails because it can't parse 8-SNAPSHOT > from the version number 9.8-SNAPSHOT. > > I have grepped the ~karaf/.m2/repository for "9.8-SNAPSHOT" but haven't > found anything (the debian packaged karaf runs as user karaf). > > I suspect that "-SNAPSHOT" is somehow appended to the 9.8 version of the > last attempted installed bundle mvn:org.ow2.asm/asm/9.8: > > https://gist.github.com/steinarb/aa9eedd05146d7132be5b90dea792e16#file-karaf-log-L88 > > However when I try installing myapps on karaf 4.4.8 unpacked from the > 4.4.8 binary tarball and started with "bin/karaf", the myapps feature > installs fine, including the ow2 9.8 bundles: > > https://gist.github.com/steinarb/69e0ba569c29ad3ba2aac4440213d5c9#file-karaf-log-L492 > > All ideas and suggestions are welcome. > > What could make my debian package and the binary tarball different? > > That I build with java 21, when building the deb package (it's what I have)? > > That I use as many dependencies as I can find from debian java packages? > > Not all that many debian java dependencies, and all in the boot set: > jna-debian, jna-platform-debian and jansi, as far as I can tell from the > rules file > https://github.com/steinarb/karaf-debian/blob/master/debian/rules >
