Bug#708405: The missing files

Len Sorensen lennartsorensen at ruggedcom.com
Thu May 16 15:01:20 UTC 2013


On Thu, May 16, 2013 at 01:38:47AM -0400, tony mancill wrote:
> On 05/15/2013 01:05 PM, Len Sorensen wrote:
> > So the missing files in geronimo-jta-1.1-spec-java are:
> > 
> > wheezy/usr/share/java:
> > lrwxrwxrwx 1 root root 99 May 15 15:31 geronimo-jta_1.1_spec-1.1.1.jar -> ../maven-repo/org/apache/geronimo/specs/geronimo-jta_1.1_spec/1.1.1/geronimo-jta_1.1_spec-1.1.1.jar
> > lrwxrwxrwx 1 root root 99 May 15 15:31 geronimo-jta_1.1_spec.jar -> ../maven-repo/org/apache/geronimo/specs/geronimo-jta_1.1_spec/1.1.1/geronimo-jta_1.1_spec-1.1.1.jar
> > 
> > I don't know if a change in maven or something else is responsible for
> > this not working correctly anymore.
> 
> This sounds familiar - based on when geronimo-jta-1.1-spec_1.1.1-2
> entered unstable, it would have been built with a version of
> maven-debian-helper *prior* to 1.5, which is before a behavior change
> than necessitated a number of rebuilds/uploads to ensure that jars were
> installed in /usr/share/java and not only in the debian maven repo.
> 
> (And actually, I just ran into the same issue when trying to rebuild
> libgetopt-java to transition it from experimental to unstable.  I'm not
> sure yet if that means that the version of m-d-h in experimental reverts
> the default such that the --java-lib option is assumed if not provided.)
> 
> In any event, I believe the attached patch should address the problem
> with the build for you.  Would you mind retying your local build and
> reporting back?
> 
> Thank you,
> tony

> diff -Nru geronimo-jta-1.1-spec-1.1.1/debian/changelog geronimo-jta-1.1-spec-1.1.1/debian/changelog
> --- geronimo-jta-1.1-spec-1.1.1/debian/changelog	2011-09-24 13:23:00.000000000 -0700
> +++ geronimo-jta-1.1-spec-1.1.1/debian/changelog	2013-05-15 22:30:35.000000000 -0700
> @@ -1,3 +1,11 @@
> +geronimo-jta-1.1-spec (1.1.1-3) unstable; urgency=low
> +
> +  * Team upload.
> +  * Update pom to install jars in /usj for maven-debian-helper
> +    behavior change.
> +
> + -- tony mancill <tmancill at debian.org>  Wed, 15 May 2013 22:28:00 -0700
> +
>  geronimo-jta-1.1-spec (1.1.1-2) unstable; urgency=low
>  
>    * Fix compatibility symlink. (Closes: #642684)
> diff -Nru geronimo-jta-1.1-spec-1.1.1/debian/libgeronimo-jta-1.1-spec-java.poms geronimo-jta-1.1-spec-1.1.1/debian/libgeronimo-jta-1.1-spec-java.poms
> --- geronimo-jta-1.1-spec-1.1.1/debian/libgeronimo-jta-1.1-spec-java.poms	2011-09-24 13:23:00.000000000 -0700
> +++ geronimo-jta-1.1-spec-1.1.1/debian/libgeronimo-jta-1.1-spec-java.poms	2013-05-15 22:30:35.000000000 -0700
> @@ -23,4 +23,4 @@
>  #   --ignore-pom: don't install the POM with mh_install or mh_installpoms. To use with POM files that are created
>  #     temporarily for certain artifacts such as Javadoc jars.
>  #
> -pom.xml --no-parent --has-package-version
> +pom.xml --no-parent --has-package-version --java-lib

That would appear to fix the problem.

I will try and see if that then solves the jetty compile problem (I
suspect it will).

-- 
Len Sorensen



More information about the pkg-java-maintainers mailing list