Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 59461 - mgetty emerge fails, user fax is NOT created
Summary: mgetty emerge fails, user fax is NOT created
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
: 69717 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-08-04 16:15 UTC by Robert Steinhäußer
Modified: 2004-11-02 00:35 UTC (History)
1 user (show)

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


Attachments
mgetty-1.1.30-r1.patch (mgetty-1.1.30-r1.patch,314 bytes, patch)
2004-09-14 13:47 UTC, Alin Năstac (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Steinhäußer 2004-08-04 16:15:56 UTC
Emerging mgetty fails, when no user "fax" exists, which is the *opposite* of bug #38969.

I cannot tell if/why enewgroup/-user is not called. If I create the group and user "fax" manually, the emerge succeedes.

Reproducible: Always
Steps to Reproduce:
emerge mgetty

Actual Results:  
install -c -o bin -g bin -m 755 
faxrunqd /var/tmp/portage/mgetty-1.1.30/image//usr/sbin 
install -c -o bin -g bin 
faxq-helper /var/tmp/portage/mgetty-1.1.30/image//usr/lib/mgetty+sendfax 
chown 
fax /var/tmp/portage/mgetty-1.1.30/image//usr/lib/mgetty+sendfax/faxq-helper 
chown: `fax': invalid user 
make[1]: *** [install] Error 1 
make[1]: Leaving directory 
`/var/tmp/portage/mgetty-1.1.30/work/mgetty-1.1.30/fax' 
make: *** [install.bin] Error 2 
 
!!! ERROR: net-dialup/mgetty-1.1.30 failed. 
!!! Function src_install, Line 81, Exitcode 2 
!!! (no error message) 
 

Expected Results:  
 

`emerge info` output PC #1: 
Portage 2.0.50-r9 (default-x86-2004.2, gcc-3.3.3, glibc-2.3.3.20040420-r0, 
2.4.25_pre7-gss-r8) 
================================================================= 
System uname: 2.4.25_pre7-gss-r8 i686 AMD Athlon(tm) Processor 
Gentoo Base System version 1.4.16 
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[enabled] 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.59-r4 
Automake: sys-devel/automake-1.8.3 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache distcc sandbox userpriv usersandbox" 
MAKEOPTS="-j3" 
PKGDIR="/usr/portage/packages" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
USE="3dnow X aalib acpi aim alsa apache2 apm arts artswrappersuid avi berkdb 
bonobo cdr chroot crypt cscope cups dga directfb divx4linux encode ethereal 
faad fam fbcon foomaticdb freetype gd gdbm gif gimp gimpprint gphoto2 gpm gtk 
gtk2 icq imagemagick imap imlib jabber java jikes joystick jpeg justify kde 
ldap libg++ libwww linguas_de log4j mad mikmod mmx mng mono motif mozilla 
moznocompose moznoirc moznomail mozsvg mozxmlterm mpeg mplayer msn music mysql 
nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses nls nvidia offensive 
oggvorbis ooo-kde opengl oscar oss pam pcap pcre pda pdflib perl pic pie png 
python qt quicktime readline samba scanner sdl slang snmp spell ssl svg svga 
tcltk tcpd tetex tiff truetype type1 usb video_cards_nvidia videos vim-with-x 
wmf x86 xinerama xml2 xmms xosd xv zlib" 
 
`emerge info` output PC #2: 
Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 
2.4.25_pre7-gss-r8) 
================================================================= 
System uname: 2.4.25_pre7-gss-r8 i686 Pentium II (Klamath) 
Gentoo Base System version 1.4.16 
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[enabled] 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.59-r4 
Automake: sys-devel/automake-1.8.3 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=pentium2 -mmmx -O2 -pipe -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=pentium2 -mmmx -O2 -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache distcc sandbox" 
MAKEOPTS="-j3" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
USE="apache2 apm berkdb chroot crypt curl fax foomaticdb gd gdbm gif gtk2 
imagemagick imap imlib isdn java jpeg justify ldap libg++ libwww mmx mysql 
ncurses nls pam pcre pdflib perl php png python readline regexp samba slang 
snmp ssl tcpd truetype x86 xml2 zlib"
Comment 1 Michael Kefeder 2004-08-30 10:57:03 UTC
I can verify this. Only after adding user and group "fax" emerging works.
Comment 2 Shawn Rutledge 2004-09-13 21:47:10 UTC
I have verified this as well.  After I added the user and group, it was happy.  But I hope my random guess for a user and group IDs is OK and doesn't conflict with anything else.
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2004-09-14 13:47:16 UTC
Created attachment 39606 [details, diff]
mgetty-1.1.30-r1.patch

corrected mgetty-1.1.30-r1.ebuild
Comment 4 Heinrich Wendel (RETIRED) gentoo-dev 2004-09-15 07:32:14 UTC
added patch to -r2
Comment 5 Daniel Black (RETIRED) gentoo-dev 2004-11-02 00:35:28 UTC
*** Bug 69717 has been marked as a duplicate of this bug. ***