Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 507466 - =app-cdr/cdrtools-3.01_alpha23 on Gentoo/FreeBSD - install fails / chgrp: root: illegal group name
Summary: =app-cdr/cdrtools-3.01_alpha23 on Gentoo/FreeBSD - install fails / chgrp: roo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-04-12 04:37 UTC by Yuta SATOH
Modified: 2014-04-13 00:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
sample patch for cdrtools-3.01_alpha23.ebuild (507466.patch,762 bytes, patch)
2014-04-12 04:39 UTC, Yuta SATOH
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yuta SATOH 2014-04-12 04:37:22 UTC
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.
Comment 1 Yuta SATOH 2014-04-12 04:39:31 UTC
Created attachment 374778 [details, diff]
sample patch for cdrtools-3.01_alpha23.ebuild
Comment 2 Naohiro Aota gentoo-dev 2014-04-12 23:56:49 UTC
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.
Comment 3 Naohiro Aota gentoo-dev 2014-04-13 00:39:05 UTC
Fixed by using "0"