Bug#281780: Creation of sun-j2re1.4 package fails
Sven Lauritzen
Sven Lauritzen <the-pulse@gmx.net>, 281780@bugs.debian.org
Wed Nov 17 13:39:14 2004
Package: java-package
Version: 0.17
Severity: important
Tags: patch sid
make-jpkg crashes with a parse error.
These are the last lines of output:
Create debian package:
dh_testdir
dh_testroot
dh_installchangelogs
dh_installdocs
dh_strip
dh_compress
dh_fixperms
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: parse error, in file
`/tmp/make-jpkg.XXXX0Z1hJT/install/DEBIAN/control' near line 7 package
`sun-j2re1.4':
`Provides' field, invalid package name `j2re${j2se_release}': character
`$' not allowed - only letters, digits and -+._ allowed
dh_builddeb: command returned error code 512
I've fixed it by removing the backslash from line 15 of
/usr/share/java-package/j2re.sh:
Provides: java-common, java-virtual-machine, java-runtime,
java2-runtime, java-browser-plugin, j2re\${j2se_release}
^
Then it works.
Best regards
Sven Lauritzen
--
Sven Lauritzen
--------------------------------------------------------------------
mailto: the minus pulse at gmx dot net
pub 1024D/95C9A892 sub 1024g/D30E490F ABCDEFGHIJKLM
Fp 2FA9 FC9B 078C 5BC7 87DC 0B0D 2329 94F6 95C9 A892 NOPQRSTUVWXYZ
--------------------------------------------------------------------