* 'enewgroup()' called from 'install()' which is not a pkg_* function. * Package fails at QA and at life. Please file a bug. !!! ERROR: net-im/jabberd-2.0.10 failed. Call stack: ebuild.sh, line 1532: Called dyn_install ebuild.sh, line 1005: Called src_install jabberd-2.0.10.ebuild, line 64: Called enewgroup 'jabber' eutils.eclass, line 648: Called die !!! Bad package! enewgroup is only for use in pkg_* functions! !!! If you need support, post the topmost build error, and the call stack if relevant. emerge --info: Portage 2.1_pre7-r5 (default-linux/amd64/2005.1, gcc-3.4.6, glibc-2.4-r1, 2.6.15-gentoo-r7 x86_64) ================================================================= System uname: 2.6.15-gentoo-r7 x86_64 AMD Opteron(tm) Processor 244 Gentoo Base System version 1.12.0_pre17 ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -march=k8 -mtune=k8 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/fax /usr/lib64/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 /var/qmail/alias /var/qmail/control /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=k8 -mtune=k8 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="amd64 X a52 aac acpi aim alsa apache2 arts avi bash-completion bcmath berkdb bidi bitmap-fonts bluetooth bonobo bzlib canna cdb cdparanoia cdr cjk cli crypt cups curl dba dbm dga divx4linux doc dri dv dvb dvd dvdr dvdread eds emacs emacs-w3 emboss encode esd ethereal evo examples exif expat fam fastcgi ffmpeg flac foomaticdb fortran freetds freewnn ftp gb gcj gd gdbm gif ginac glut gmp gnome gnustep gnutls gphoto2 gps gstreamer gtk gtk2 gtkhtml guile iconv icq imagemagick imap imlib innodb isdnlog ithreads jabber jack java javascript jpeg junit kde lcms ldap leim libg++ libgda libwww lirc lm_sensors lzw lzw-tiff mad maildir mikmod mime ming mmap mng mono mp3 mpeg mpi mule mysql mysqli nas ncurses nis nls nptl nptlonly nsplugin odbc offensive ofx ogg oggvorbis openal opengl pam pcre pda pdflib perl php plotutils png portaudio posix postgres ppds pppd python qdbm qt quicktime readline recode reflection ruby samba sasl scanner sdl session shared sharedmem slang slp sndfile snmp soap sockets sox spell spl ssl sysvipc tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb v4l vcd vorbis wifi wmf xine xml xml2 xmlrpc xorg xosd xpm xv xvid zlib elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS
*** Bug 131233 has been marked as a duplicate of this bug. ***
Created attachment 85508 [details] I think it would work with this ebuild There were bad placement for enewuser and enewgroup functions, so i decided to move it to configure section to avoid collision with chown and chmod commands. Apologise me if it is not correct.
Created attachment 85509 [details] I think it should work with this ebuild There were bad placement for enewuser and enewgroup functions, so i decided to move it to configure section to avoid collision with chown and chmod commands. Apologise me if it is not correct.
*** Bug 131612 has been marked as a duplicate of this bug. ***
Occurs in 2.0.11 ebuild as well.
confirmed on net-im/jabberd-2.0.11 * 'enewgroup()' called from 'install()' which is not a pkg_* function. * Package fails at QA and at life. Please file a bug.
This happens with ejabberd too. This seems like a fairly obvious error in the ebuild -- how did it persist for so many different versions? What's the ETA on getting a fix in portage? Dustin
Broken for way too long, CCing QA. @humpback - why did you reassign the bug to wschlich@gentoo.org? He's not even in metadata.xml.
*** Bug 132203 has been marked as a duplicate of this bug. ***
Fixed all versions in portage to have enewuser/enewgroup in pkg_setup, hope HumpBack won't mind.
*** Bug 132392 has been marked as a duplicate of this bug. ***
*** Bug 132518 has been marked as a duplicate of this bug. ***
Verified, works fine for me.