Bug#910041: aether-ant-tasks FTBFS: error: Can't rename /usr/share/java/commons-lang3.jar as /usr/share/java/commons-lang3.zbk Permission denied
Stuart Prescott
stuart at debian.org
Tue Oct 9 13:42:30 BST 2018
> | jh_classpath -O--buildsystem=maven
> |
> | error: Can't rename /usr/share/java/commons-lang3.jar as
> | /usr/share/java/commons-lang3.zbk Permission denied|
> | at /usr/share/perl5/Archive/Zip/Archive.pm line 471.
> |
> | Archive::Zip::Archive::overwriteAs(Archive::Zip::Archive=HASH(0x55
> | ba51fd0bf8), "/usr/share/java/commons-lang3.jar") called at
> | /usr/share/perl5/Archive/Zip/Archive.pm line 439
> | Archive::Zip::Archive::overwrite(Archive::Zip::Archive=HASH(0x55b
> | a51fd0bf8)) called at /usr/bin/jh_manifest line 342
> | main::update_jar("/usr/share/java/commons-lang3.jar", undef)
> | called at /usr/bin/jh_manifest line 147|
> | jh_manifest: Writing modified jar (/usr/share/java/commons-lang3.jar)
> | failed: Permission denied jh_classpath: jh_manifest
> | -plibaether-ant-tasks-java --classpath=\\
> | /usr/share/java/commons-lang3.jar returned exit code 13 make: ***
There are some subtle clues about stray whitespace being included in file
paths there. The debian/libaether-ant-tasks-java.classpath was broken up
across multiple lines with backslashes, however the newly rewritten
jh_classpath doesn't seem to support this and so each line was being
interpreted as a new jar that should have its classpath rewritten.
Is this a welcome behaviour change in javahelper?
(A suitable fix for this is package in git and builds OK now)
Cheers
Stuart
--
Stuart Prescott http://www.nanonanonano.net/ stuart at nanonanonano.net
Debian Developer http://www.debian.org/ stuart at debian.org
GPG fingerprint 90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7
More information about the pkg-java-maintainers
mailing list