Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 418303 - app-mobilephone/smsclient-2.0.9a-r1 does not create group 'diropts'
Summary: app-mobilephone/smsclient-2.0.9a-r1 does not create group 'diropts'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Mobile Phone Developers (INACTIVE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-30 20:10 UTC by Ian Stakenvicius (RETIRED)
Modified: 2013-08-21 18:59 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Stakenvicius (RETIRED) gentoo-dev 2012-05-30 20:10:16 UTC
Build log error:
==================

install: invalid group `dialout'
dodir failed
/usr/lib64/portage/bin/phase-helpers.sh: line 156: /var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/image//var/lock/sms/.keep_app-mobilephone_smsclient-0: No such file or directory
 * ERROR: app-mobilephone/smsclient-2.0.9a-r1 failed (install phase):
 *   Failed to create .keep in /var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/image//var/lock/sms
 * 
 * Call stack:
 *          ebuild.sh, line   85:  Called src_install
 *        environment, line 1877:  Called keepdir '/var/lock/sms'
 *   phase-helpers.sh, line  157:  Called die
 * The specific snippet of code:
 *                      >> "${ED}${x}/.keep_${CATEGORY}_${PN}-${SLOT}" || \
 *                              die "Failed to create .keep in ${ED}${x}"


Relevant code in the ebuild (src_install() function):
=====================================================

        diropts -g dialout -m 0770
        keepdir /var/lock/sms
        diropts


the 'diropts' ebuild helper only assigns the group, it does not ensure said group is created.  This ebuild needs an 'enewgroup' call along with an inherit of the new 'user.eclass'
Comment 1 Michael Mair-Keimberger (iamnr3) 2013-04-05 18:53:18 UTC
I've fixed this issue and updated the ebuild, please have a look at bug 335238
Comment 2 Chris Reffett (RETIRED) gentoo-dev Security 2013-08-21 18:59:20 UTC
Fixed in CVS.