Bug#340192: commons-pool: FTBFS: New, more restrictive coreutils cp

Roland Stigge stigge at antcom.de
Mon Nov 21 18:21:09 UTC 2005


Package: commons-pool
Version: 1.2-4
Severity: serious
Tags: patch

Hi,

building the package commons-pool in a clean sid build environment
(with pbuilder) on i386 results in:

=========================================================================
[...]

BUILD SUCCESSFUL
Total time: 4 seconds
touch debian/stamp-ant-build
 fakeroot debian/rules binary
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; using uid of process (0)
debian: warning: no utmp entry available and LOGNAME not defined; using uid of process (0)
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; using uid of process (0)
debian: warning: no utmp entry available and LOGNAME not defined; using uid of process (0)
test -x debian/rules
test "`id -u`" = 0
dh_clean -k
dh_installdirs -A 
if [ -n "" ]; then \
  mkdir -p ""; \
fi
if [ ! -d "." ]; then \
  mkdir -p "."; \
fi
if [ -z "" ]; then \
  if ! test -f debian/compat; then echo 4 > debian/compat; fi; \
fi
DEB_ANT_CHECK_TARGET unset, not running checks
DEB_ANT_INSTALL_TARGET unset, skipping default ant.mk common-install target
dh_installdirs -plibcommons-pool-java 
install -m 644 dist/commons-pool.jar debian/libcommons-pool-java/usr/share/java/commons-pool-1.2.jar
echo "usr/share/java/commons-pool-1.2.jar usr/share/java/commons-pool.jar" > debian/libcommons-pool-java.links
cp -a dist/docs/ debian/libcommons-pool-java/usr/share/doc/libcommons-pool-java/
cp: target `debian/libcommons-pool-java/usr/share/doc/libcommons-pool-java/' is not a directory: No such file or directory
make: *** [install/libcommons-pool-java] Error 1
=========================================================================

This patch fixes it:

=========================================================================
--- debian/rules.orig   2005-11-21 19:19:09.000000000 +0100
+++ debian/rules        2005-11-21 19:19:21.000000000 +0100
@@ -25,7 +25,7 @@
 install/lib${LIBRARY}-java::
        install -m 644 dist/${LIBRARY}.jar debian/lib${LIBRARY}-java/usr/share/java/${LIBRARY}-${VERSION}.jar
        echo "usr/share/java/${LIBRARY}-${VERSION}.jar usr/share/java/${LIBRARY}.jar" > debian/lib${LIBRARY}-java.links
-       cp -a dist/docs/ debian/lib${LIBRARY}-java/usr/share/doc/lib${LIBRARY}-java/
+       cp -a dist/docs debian/lib${LIBRARY}-java/usr/share/doc/lib${LIBRARY}-java

 clean::
        -rm debian/lib${LIBRARY}-java.links
=========================================================================

Thanks for considering.


--
DARTS - Debian Archive Regression Test Suite
http://darts.alioth.debian.org/




More information about the pkg-java-maintainers mailing list