The following message is displayed and fails to install. >>> Install cdrtools-3.01_alpha23 into /var/tmp/portage/app-cdr/cdrtools-3.01_alpha23/image/ category app-cdr gmake -j5 -j1 CPPOPTX= 'COPTX=-O0 -pipe -ggdb -finput-charset=ISO-8859-1 -fexec-charset=UTF-8 -DNO_LINUX_CAPS' 'C++OPTX=-O0 -pipe -ggdb -finput-charset=ISO-8859-1 -fexec-charset=UTF-8' LDOPTX= GMAKE_NOWARN=true install ==> MAKING "install" ON SUBDIRECTORY "SRCROOT/conf" gmake[1]: Entering directory '/var/tmp/portage/app-cdr/cdrtools-3.01_alpha23/work/cdrtools-3.01/conf' ==> MAKING DIRECTORY "/var/tmp/portage/app-cdr/cdrtools-3.01_alpha23/image//usr/include/schily/amd64-fbsd-freebsd-cc" ==> INSTALLING "/var/tmp/portage/app-cdr/cdrtools-3.01_alpha23/image//usr/include/schily/amd64-fbsd-freebsd-cc/xconfig.h" chgrp: root: illegal group name ../RULES/rules.ins:27: recipe for target '/var/tmp/portage/app-cdr/cdrtools-3.01_alpha23/image//usr/include/schily/amd64-fbsd-freebsd-cc/xconfig.h' failed gmake[1]: *** [/var/tmp/portage/app-cdr/cdrtools-3.01_alpha23/image//usr/include/schily/amd64-fbsd-freebsd-cc/xconfig.h] Error 1 gmake[1]: Leaving directory '/var/tmp/portage/app-cdr/cdrtools-3.01_alpha23/work/cdrtools-3.01/conf' RULES/rules1.dir:25: recipe for target 'install' failed gmake: *** [install] Error 2 * ERROR: app-cdr/cdrtools-3.01_alpha23::gentoo failed (install phase): * emake failed * * If you need support, post the output of `emerge --info '=app-cdr/cdrtools-3.01_alpha23::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-cdr/cdrtools-3.01_alpha23::gentoo'`. * The complete build log is located at '/var/tmp/portage/app-cdr/cdrtools-3.01_alpha23/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-cdr/cdrtools-3.01_alpha23/temp/environment'. * Working directory: '/var/tmp/portage/app-cdr/cdrtools-3.01_alpha23/work/cdrtools-3.01' * S: '/var/tmp/portage/app-cdr/cdrtools-3.01_alpha23/work/cdrtools-3.01' Reproducible: Always FreeBSD and Darwin does not have root group. Please set wheel instead.
Created attachment 374778 [details, diff] sample patch for cdrtools-3.01_alpha23.ebuild
Using 0 instead of root would be just fine. Anyway I'd prefer group=root or wheel assignment and use it within single sed command.
Fixed by using "0"