I suspect the output from emerge states it best. * djbdns-1.05.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * Adding user 'dnscache' to your system ... * - Userid: 102 * - Shell: /sbin/nologin * - Home: /dev/null * You must add group nofiles to the system first * ERROR: net-dns/djbdns-1.05-r23 failed (setup phase): * nofiles is not a valid GID * * Call stack: * ebuild.sh, line 56: Called pkg_setup * djbdns-1.05-r23.ebuild, line 124: Called enewuser 'dnscache' '-1' '-1' '-1' 'nofiles' * eutils.eclass, line 697: Called die * The specific snippet of code: * die "${g} is not a valid GID" A simple workaround: groupadd -r nofiles Reproducible: Always
The 'nofiles' group used to be supplied by baselayout, but I'm guessing that ended with baselayout-2. This seems to be what other packages are doing. $ cat djbdns-1.05-r23.patch --- /usr/portage/net-dns/djbdns/djbdns-1.05-r23.ebuild 2011-01-29 19:01:10.000000000 -0500 +++ djbdns-1.05-r23.ebuild 2011-10-26 10:53:59.085089316 -0400 @@ -120,7 +120,10 @@ } pkg_setup() { - # The nofiles group is provided by baselayout + # The nofiles group is no longer provided by baselayout. + # Share it with qmail if possible. + enewgroup nofiles 200 + enewuser dnscache -1 -1 -1 nofiles enewuser dnslog -1 -1 -1 nofiles enewuser tinydns -1 -1 -1 nofiles $ cat djbdns-1.05-r24.patch --- /usr/portage/net-dns/djbdns/djbdns-1.05-r24.ebuild 2011-04-11 09:31:18.000000000 -0400 +++ djbdns-1.05-r24.ebuild 2011-10-26 10:54:06.273034126 -0400 @@ -122,7 +122,10 @@ } pkg_preinst() { - # The nofiles group is provided by baselayout + # The nofiles group is no longer provided by baselayout. + # Share it with qmail if possible. + enewgroup nofiles 200 + enewuser dnscache -1 -1 -1 nofiles enewuser dnslog -1 -1 -1 nofiles enewuser tinydns -1 -1 -1 nofiles
Thanks. Fixed in -r25