Package: lidb4.7
Version: 4.7.25-9
Severity: normal

Source package of libdb4.7 fails to build from source on a Lenny host with all 
noted
build deps installed. This appears to be due to a change in the behaviour of 
mktemp
in the newer coreutils package:-

mkdir debian/libdb4.7-java-gcj
(TMPFILE=$(mktemp --tmpdir sourcelist.XXXXXXXXXX) && \
        find /usr/build/slapd/deps/db4.7-4.7.25 -type f ! -type l >$TMPFILE && \
        aot-compile -L /usr/lib/gcj -c -fsource-filename=$TMPFILE 
debian/libdb4.7-java debian/libdb4.7-java-gcj/usr/lib/gcj; \
        retval=checkroot build install-stamp; \
        rm -f $TMPFILE; exit $retval)
mktemp: invalid option -- -
Usage: mktemp [-V] | [-dqtu] [-p prefix] [template]
/bin/sh: line 3: build: command not found
mkdir -p debian/libdb4.7-java-gcj/usr/share/gcj/classmap.d
mv debian/libdb4.7-java-gcj/usr/lib/gcj/*.db 
debian/libdb4.7-java-gcj/usr/share/gcj/classmap.d
mv: cannot stat `debian/libdb4.7-java-gcj/usr/lib/gcj/*.db': No such file or 
directory
make: *** [binary-arch] Error 1

Ther version of mktemp provided with Lenny does not support the --tempdir 
option,
but has an apparently equivalent "-t" option.

This is not a particularly serious issue, as it only occurs when trying to 
backport
the package, but it looks trivially fixable, so is probably worth the effort.

Mike



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to