Bug#726988: findbugs: fails to build from source

tony mancill tmancill at debian.org
Thu Oct 24 06:23:23 UTC 2013


On 10/21/2013 02:48 AM, Ronny Standtke wrote:
> Package: findbugs
> Version: 2.0.2-1
> Severity: important
> 
> 
> The findbugs package fails to build from source with the following error messages:
> --------------------
> generatemanual:
>      [echo] Generating HTML version of manual
>      [echo] Running saxon: /usr/share/java/saxon.jar
>      [java] Error at xsl:import on line 8 of file:/home/ronny/lernstick/backports/wheezy/src/findbugs-2.0.2/doc/manual.xsl:
>      [java]   Failure reading file:/Users/pugh/tools/docbook-xsl-1.76.1/html/chunk.xsl: /Users/pugh/tools/docbook-xsl-1.76.1/html/chunk.xsl (No such file or directory)
>      [java] Transformation failed: Failed to compile stylesheet. 1 error detected.
> 
> BUILD FAILED
> /home/ronny/lernstick/backports/wheezy/src/findbugs-2.0.2/build.xml:748: The following error occurred while executing this line:
> /home/ronny/lernstick/backports/wheezy/src/findbugs-2.0.2/build.xml:919: Java returned: 2
> 
> Total time: 11 seconds
> make[1]: *** [override_dh_auto_build] Error 1
> make[1]: Leaving directory `/home/ronny/lernstick/backports/wheezy/src/findbugs-2.0.2'
> make: *** [build] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
> debuild: fatal error at line 1357:
> dpkg-buildpackage -rfakeroot -D -us -uc -nc failed
> --------------------
> 
> Looks like the hard-coded path "/Users/pugh/tools/docbook-xsl-1.76.1/html/chunk.xsl" is the culprit here...

Hi Ronny,

It appears that you're trying to build the package before the debian
patches are applied.  debian/patches/0001-fix-ant-docs.patch patches
build.xml such that you shouldn't see that path during the build.

I'm not able to reproduce the build failure here.

Regards,
tony

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20131023/af7fb49a/attachment.sig>


More information about the pkg-java-maintainers mailing list