Bug#793582: FTBFS: geronimo/mail/Activator.java: error: package org.apache.geronimo.osgi.locator does not exist

Hans Joachim Desserud debian at desserud.org
Fri Aug 7 20:38:13 UTC 2015


tags 793582 patch
thanks

>    [javac] 
> /geronimo-javamail-1.4-spec-1.7.1/src/main/java/javax/mail/Session.java:43: 
> error: package org.apache.geronimo.osgi.locator does not exist
>    [javac] import org.apache.geronimo.osgi.locator.ProviderLocator;

I looked into this, and have attached a patch which makes the package
build successfully.

geronimo-osgi-support [1] recently uploaded a new version, but the
rules file in this package still tried to find the 1.0 jar which no
longer existed. My patch updates the version number to the current
one and adjust the dependency to also require 1.1 or higher to fail
early if the package is attempted built with an older version.

To the person reviewing this: the 1.0 version is also mentioned in
the pom.xml, and it is possible this should be updated also.
However, the svn repo seemd to only contain the debian directory
and I wasn't sure what would be best practice when patching it.

Btw, I'm generally confused why the package is built using ant when
it has a pom.xml.


[1] https://tracker.debian.org/pkg/geronimo-osgi-support

-- 
mvh / best regards
Hans Joachim Desserud
http://desserud.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ftbfs.patch
Type: text/x-diff
Size: 1218 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20150807/66deda3a/attachment.patch>


More information about the pkg-java-maintainers mailing list