Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 418303

Summary: app-mobilephone/smsclient-2.0.9a-r1 does not create group 'diropts'
Product: Gentoo Linux Reporter: Ian Stakenvicius (RETIRED) <axs>
Component: Current packagesAssignee: Gentoo Mobile Phone Developers (INACTIVE) <mobile-phone>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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 (mm1ke) 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.