Bug#665076: libjpfcodegen-java: FTBFS: [javac] CodeGenerator.java:223: cannot find symbol

gregor herrmann gregoa at debian.org
Thu Mar 22 16:26:46 UTC 2012


reassign 665076 velocity 1.7-2
retitle 665076 velocity: /usr/share/java/velocity.jar missing
affects 665076 libjpfcodegen-java
thanks

On Thu, 22 Mar 2012 13:20:39 +0100, Lucas Nussbaum wrote:

> Source: libjpfcodegen-java
> Version: 0.4+dfsg-2
> Severity: serious
> Tags: wheezy sid
> User: debian-qa at lists.debian.org
> Usertags: qa-ftbfs-20120321 qa-ftbfs
> Justification: FTBFS on amd64

> During a rebuild of all packages in sid, your package failed to build on
> amd64.

> > compile:
> >     [mkdir] Created dir: /«BUILDDIR»/libjpfcodegen-java-0.4+dfsg/build
> >     [javac] /«BUILDDIR»/libjpfcodegen-java-0.4+dfsg/build.xml:53: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
> >     [javac] Compiling 5 source files to /«BUILDDIR»/libjpfcodegen-java-0.4+dfsg/build
> >     [javac] CodeGenerator.java:25: package org.apache.velocity does not exist
> >     [javac] import org.apache.velocity.Template;
> >     [javac]                           ^

This looks like a problem in velocity:

% dpkg -L velocity
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/velocity
/usr/share/doc/velocity/changelog.Debian.gz
/usr/share/doc/velocity/copyright
/usr/share/doc/velocity/README.Debian
/usr/share/maven-repo
/usr/share/maven-repo/org
/usr/share/maven-repo/org/apache
/usr/share/maven-repo/org/apache/velocity
/usr/share/maven-repo/org/apache/velocity/velocity
/usr/share/maven-repo/org/apache/velocity/velocity/1.7
/usr/share/maven-repo/org/apache/velocity/velocity/1.7/velocity-1.7.jar
/usr/share/maven-repo/org/apache/velocity/velocity/1.7/velocity-1.7.pom
/usr/share/maven-repo/org/apache/velocity/velocity/debian
/usr/share/maven-repo/org/apache/velocity/velocity/debian/velocity-debian.pom
/etc
/etc/velocity
/etc/velocity/velocity.properties
/usr/share/maven-repo/org/apache/velocity/velocity/debian/velocity-debian.jar


If my understanding of the java policy is correct, there should be a
/usr/share/java/velocity.jar file or symlink, which went missing at
some point. - Ok, 1.7-1 still has it, 1.7-2 doesn't (and
libjpfcodegen-java builds against 1.7-1 but not against -2 and -3).

Please add it back :)


Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Alannah Myles: Black Velvet
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20120322/1637769f/attachment.pgp>


More information about the pkg-java-maintainers mailing list