Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 417153 - app-misc/uptimed - /usr/portage/app-misc/uptimed/uptimed-0.3.16-r4.ebuild: line 17: enewgroup: command not found
Summary: app-misc/uptimed - /usr/portage/app-misc/uptimed/uptimed-0.3.16-r4.ebuild: li...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Raúl Porcel (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-05-22 19:26 UTC by Eugene Ho
Modified: 2012-05-23 13:23 UTC (History)
1 user (show)

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


Attachments
Full build log. (file_417153.txt,22.27 KB, text/plain)
2012-05-22 19:27 UTC, Eugene Ho
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Ho 2012-05-22 19:26:32 UTC
app-misc/uptimed attempts to call enewuser and enewgroup to create the uptimed user and group, but is unable to call them.

Reproducible: Always

Steps to Reproduce:
1. emerge uptimed
2. /etc/init.d/uptimed start
Actual Results:  
Build log will be attached. Relevant lines from the build:

>>> Compiling source in /var/tmp/portage/app-misc/uptimed-0.3.16-r4/work/uptimed-0.3.16 ...
 * econf: updating uptimed-0.3.16/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating uptimed-0.3.16/config.guess with /usr/share/gnuconfig/config.guess

...

install: invalid user `uptimed'
dodir failed
install: invalid user `uptimed'
dodir failed
chown: invalid user: `uptimed:uptimed'
fowners failed
>>> Completed installing uptimed-0.3.16-r4 into /var/tmp/portage/app-misc/uptimed-0.3.16-r4/image/

 * QA Notice: command not found:
 * 
 * 	/usr/portage/app-misc/uptimed/uptimed-0.3.16-r4.ebuild: line 17: enewgroup: command not found
 * 	/usr/portage/app-misc/uptimed/uptimed-0.3.16-r4.ebuild: line 18: enewuser: command not found

...

 * Fixing permissions in /var/spool/uptimed
chown: invalid user: `uptimed:uptimed'



Upon doing /etc/init.d/uptimed start:

 * Caching service dependencies ...                                                                                                                                                                                                                                      [ ok ]
 * Starting uptimed ...
 * start-stop-daemon: user `uptimed' not found
 * start-stop-daemon: user `uptimed' not found                                                                                                                                                                                                                           [ !! ]
 * ERROR: uptimed failed to start



Expected Results:  
Portage should create the uptimed user and group during installation so that uptimed can start successfully.
Comment 1 Eugene Ho 2012-05-22 19:27:19 UTC
Created attachment 312743 [details]
Full build log.
Comment 2 Michael Palimaka (kensington) gentoo-dev 2012-05-22 20:34:25 UTC
Looks like fallout from the removal of eutils inheritance (which in turn inherits user) from autotools.eclass
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-05-22 20:36:09 UTC
Please post your `emerge --info' output in a comment.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2012-05-22 20:37:26 UTC
-inherit autotools
+inherit autotools user
Comment 5 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-05-23 13:23:22 UTC
+  23 May 2012; Kacper Kowalik <xarthisius@gentoo.org> uptimed-0.3.16-r4.ebuild:
+  Add missing user.eclass for enewgroup. Fixes #417153 by Eugene Ho
+  <blasterol@gmail.com>