Source: apg
Version: 2.2.3.dfsg.1-2

This failed to build for me with an error like this:

./install-sh -c -m 0755 -o root -g `grep '^root:' /etc/passwd | awk
-F: '{ print $4 }'` ./apg /«PKGBUILDDIR»/debian/apg/usr/bin; \
./install-sh -c -m 0444 ./doc/man/apg.1
/«PKGBUILDDIR»/debian/apg/usr/share/man/man1; \
fi
mkdir /«PKGBUILDDIR»/debian/apg/usr/bin
mkdir /«PKGBUILDDIR»/debian/apg/usr/share
mkdir /«PKGBUILDDIR»/debian/apg/usr/share/man
mkdir /«PKGBUILDDIR»/debian/apg/usr/share/man/man1
install:  1 does not exist

This happened because I had two users called "root" in /etc/passwd,
perhaps a side-effect of how LDAP was set up, or something like that.
In any case, I don't think it's safe to assume that there will always
be exactly one user called "root" in /etc/passwd; there could be none
or more than one. So the code snippet

FIND_GROUP = `grep '^root:' /etc/passwd | awk -F: '{ print $$4 }'`

in the Makefile is not sufficiently robust. Could it be replaced or
somehow bypassed, please?


--
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