I just installed gentoo a few weeks ago and have not had any problems with it. I am useing the stable x86 branch so I would think everything should just compile with emerge package name. I have not been able to get qmail to compile the output is below. Reproducible: Always Steps to Reproduce: 1.emerge qmail 2. 3. Actual Results: ./load ipmeprint ipme.o ip.o ipalloc.o stralloc.a alloc.a \ substdio.a error.a str.a fs.a `cat socket.lib` ./load qbiff headerbody.o hfield.o getln.a env.a open.a \ stralloc.a alloc.a substdio.a error.a str.a ./load maildirmake strerr.a substdio.a error.a str.a ./load maildirwatch hfield.o headerbody.o maildir.o \ prioq.o now.o getln.a env.a open.a strerr.a stralloc.a \ alloc.a substdio.a error.a str.a ./makelib sig.a sig_alarm.o sig_block.o sig_catch.o \ sig_pause.o sig_pipe.o sig_child.o sig_hup.o sig_term.o \ sig_bug.o sig_misc.o ./makelib lock.a lock_ex.o lock_exnb.o lock_un.o ./makelib wait.a wait_pid.o wait_nohang.o ./load auto-str substdio.a error.a str.a ./load auto-int8 substdio.a error.a str.a fs.a ./auto-int auto_spawn `head -n 1 conf-spawn` > auto_spawn.c ./chkshsgr || ( cat warn-shsgr; exit 1 ) qmail-send.c: In function `main': qmail-send.c:1528: warning: return type of `main' is not `int' ( ( ./compile tryshsgr.c \ && ./load tryshsgr && ./tryshsgr ) >/dev/null 2>&1 \ && echo \#define HASSHORTSETGROUPS 1 || exit 0 ) > \ hasshsgr.h ( ./auto-uid auto_uida `head -n 1 conf-users` \ &&./auto-uid auto_uidd `head -n 2 conf-users | tail -n -1` \ &&./auto-uid auto_uidl `head -n 3 conf-users | tail -n -1` \ &&./auto-uid auto_uido `head -n 4 conf-users | tail -n -1` \ &&./auto-uid auto_uidp `head -n 5 conf-users | tail -n -1` \ &&./auto-uid auto_uidq `head -n 6 conf-users | tail -n -1` \ &&./auto-uid auto_uidr `head -n 7 conf-users | tail -n -1` \ &&./auto-uid auto_uids `head -n 8 conf-users | tail -n -1` \ &&./auto-gid auto_gidq `head -n 1 conf-groups` \ &&./auto-gid auto_gidn `head -n 2 conf-groups | tail -n -1` \ ) > auto_uids.c.tmp && mv auto_uids.c.tmp auto_uids.c fatal: unable to find user qmaild make: *** [auto_uids.c] Error 111 make: *** Waiting for unfinished jobs.... rm -f tryshsgr.o tryshsgr make: *** Waiting for unfinished jobs.... !!! ERROR: net-mail/qmail-1.03-r13 failed. !!! Function src_compile, Line 174, Exitcode 2 !!! (no error message) rampage root # Expected Results: it should compile and install rampage root # emerge info Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.23_pre7-gss) ================================================================= System uname: 2.4.23_pre7-gss i686 AMD Athlon(tm) MP 1800+ Gentoo Base System version 1.4.3.10 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-mcpu=athlon-mp -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-mcpu=athlon-mp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rampage.matthews-etc.com/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif gtk2 jpeg kde libg++ mad mikmod motif mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml gdbm berkdb slang readline arts bonobo svga sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis qt opengl cdr X -java gtk gnome -alsa mozilla raid samba tcltk" rampage root #
1. what are you using for your user systems (ldap/db/files)? 2. did you delete the qmail* entries in /etc/{passwd,group} that was installed by baselayout? i'm fairly certain #2 happened. re-install baselayout and keep those entries!
no response from user, closing bug.
Shouldn't the qmail ebuild create the necessary /etc/passwd and /etc/group entries? Not everybody who uses Gentoo will want to install qmail, and those entries are kind of useless without qmail.
skunkworx: they may be useless without qmail installed, but they don't do any damage in that case either, and adding users/groups is a sticky issue with ebuilds for the moment (so for a long time the policy has been to file them with baselayout so there is one source of /etc/{passwd,group} and allow users to etc-update easier because of that).
Robin Johnson: Understood. Thanks for explaining.