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

Bug 132961

Summary: enewgroup and slocate
Product: Gentoo Linux Reporter: ads <arnaud.desmons>
Component: New packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: VERIFIED NEEDINFO    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --debug slocate

Description ads 2006-05-10 16:33:57 UTC
I am installing a brand new 2006.0 and get this error :

# emerge slocate
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/slocate-2.7-r8 to /
>>> md5 files   ;-) slocate-2.7-r7.ebuild
>>> md5 files   ;-) slocate-2.7-r8.ebuild
>>> md5 files   ;-) slocate-3.1-r1.ebuild
>>> md5 files   ;-) files/digest-slocate-2.7-r7
>>> md5 files   ;-) files/digest-slocate-2.7-r8
>>> md5 files   ;-) files/digest-slocate-3.1-r1
>>> md5 files   ;-) files/slocate-2.7-bounds.patch
>>> md5 files   ;-) files/slocate-3.1-build.patch
>>> md5 files   ;-) files/slocate-2.7-really-long-paths.patch
>>> md5 files   ;-) files/slocate-3.1-cron.patch
>>> md5 files   ;-) files/updatedb.conf
>>> md5 files   ;-) files/slocate-3.1-incompat-warning.patch
>>> md5 src_uri ;-) slocate-2.7.tar.gz
>>> md5 src_uri ;-) slocate-2.7-debian.patch.bz2
 * Adding group 'locate' to your system ...
 *  - Groupid: 245

!!! ERROR: sys-apps/slocate-2.7-r8 failed.
!!! Function enewgroup, Line 743, Exitcode 1
!!! enewgroup failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 SpanKY gentoo-dev 2006-05-10 20:10:21 UTC
are you doing this from a stage1 ?  do you have shadow installed ?

run `emerge --debug slocate >& log` and post the log as an attachment
Comment 2 ads 2006-05-10 21:17:47 UTC
Created attachment 86583 [details]
emerge --debug slocate
Comment 3 ads 2006-05-10 21:18:06 UTC
This is a stage2 (2006.0), I am still in the chroot. I think that I have shadow :

# emerge -p shadow

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] sys-apps/shadow-4.0.14-r1
[ebuild  N    ] sys-devel/libtool-1.5.22
[ebuild  N    ] sys-apps/pam-login-4.0.14
Comment 4 SpanKY gentoo-dev 2006-05-11 20:33:13 UTC
so run:
groupadd -g 245 locate
echo $?
Comment 5 ads 2006-05-11 21:49:06 UTC
(chroot) livecd bin # groupadd -g 245 locate
(chroot) livecd bin # echo $?
1

Anyway, I am doing emerge --emptytree system (I think it will be like a stage1).
I hope it will fix the problem. My bug report was more to lighten up a potential problem with the stage2 but it looks I am the only one encoutering this problem.