Bug#624503: asm3: FTBFS: install: cannot remove `/usr/share/java/asm3-all-3.2.jar': Permission denied

Daniel Schepler dschepler at gmail.com
Fri Apr 29 05:45:54 UTC 2011


Source: asm3
Version: 3.2-3
Severity: serious

From my pbuilder build log:

...
# make symlinks to the "all" jar
for FILE in debian/libasm3-java/usr/share/java/*.jar ; do \
                if [ ! -L "$FILE" ] ; then \
                        rm -f "$FILE" ; \
                        ln -s asm3-all-3.2.jar "$FILE" ; \
                fi ; \
        done
# Rename so the versionless link does not cause confusion/conflicts with earlier versions.
mv output/dist/lib/all/asm-all-3.2.jar output/dist/lib/all/asm3-all-3.2.jar
jar umf debian/osgi.MF output/dist/lib/all/asm3-all-3.2.jar
Apr 29, 2011 5:42:01 AM java.util.jar.Attributes read
WARNING: Duplicate name in Manifest: Bundle-SymbolicName.
Ensure that the manifest does not have duplicate entries, and
that blank lines separate individual sections in both your
manifest and in the META-INF/MANIFEST.MF entry in the jar file.
jh_installlibs output/dist/lib/all/asm3-all-3.2.jar
install: cannot remove `/usr/share/java/asm3-all-3.2.jar': Permission denied
make: *** [binary-post-install/libasm3-java] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
-- 
Daniel Schepler





More information about the pkg-java-maintainers mailing list