Package: java-imaging-utilities Version: 0.14.2+3-2 Severity: normal Hi Stuart I've tried to rebuild java-imaging-utilities for Univention Corporate Server, a Debian derived distribution based on Debian stable (currently Lenny, our next release will be based on Squeeze).
The guidelines for derived distributions recommend to add a distribution specific version suffix to distinguish the rebuilt package with the original Debian package: http://wiki.debian.org/Derivatives/Guidelines debian/rules currently auto-generates the name of the jar file by parsing debian/changelog: VERSION=$(shell dpkg-parsechangelog | sed -n 's/Version: \(.*\)+[0-9\-]*/\1/p') If you add a suffix, the build fails: dh_installchangelogs -plibjiu-java doc/ChangeLog dh_installdocs rm -f debian/libjiu-java-doc/usr/share/doc/libjiu-java/copyright dh_install cp: cannot stat `./net.sourceforge.jiu-0.14.2.jar': No such file or directory dh_install: cp -a ./net.sourceforge.jiu-0.14.2.jar debian/libjiu-java/usr/share/java/ returned exit code 1 make: *** [binary-indep] Error 2 dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2 This does not only break the build for derived distributions adding a suffix, but affects the standard naming scheme used for security updates, which would normally be named "0.14.2+3-2+squeeze1". Either the regexp should be tightened up or the jar file should be set manually in debian/rules. Cheers, Moritz -- System Information: Debian Release: 5.0.1 Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.32-ucs35-amd64 Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

