Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130849 - net-im/{jabberd,ejabberd} tries to call enewgroup() from install()
Summary: net-im/{jabberd,ejabberd} tries to call enewgroup() from install()
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gustavo Felisberto (RETIRED)
URL:
Whiteboard:
Keywords: QAcanfix
: 131233 131612 132203 132392 132518 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-04-22 09:41 UTC by Felix Finch
Modified: 2007-07-19 19:00 UTC (History)
12 users (show)

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


Attachments
I think it would work with this ebuild (jabberd-2.0.10.ebuild,3.63 KB, application/octet-stream)
2006-04-25 17:53 UTC, Dawid Węgliński (RETIRED)
Details
I think it should work with this ebuild (jabberd-2.0.10.ebuild,3.63 KB, text/plain)
2006-04-25 17:54 UTC, Dawid Węgliński (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Finch 2006-04-22 09:41:03 UTC
* '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
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-04-25 09:04:40 UTC
*** Bug 131233 has been marked as a duplicate of this bug. ***
Comment 2 Dawid Węgliński (RETIRED) gentoo-dev 2006-04-25 17:53:49 UTC
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.
Comment 3 Dawid Węgliński (RETIRED) gentoo-dev 2006-04-25 17:54:33 UTC
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.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-04-28 14:30:05 UTC
*** Bug 131612 has been marked as a duplicate of this bug. ***
Comment 5 Chad A. Simmons 2006-05-01 04:30:56 UTC
Occurs in 2.0.11 ebuild as well.
Comment 6 Sandro Bonazzola (RETIRED) gentoo-dev 2006-05-01 12:42:36 UTC
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.
Comment 7 Dustin J. Mitchell 2006-05-03 22:10:07 UTC
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
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-05-04 00:39:56 UTC
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.
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2006-05-04 00:40:13 UTC
*** Bug 132203 has been marked as a duplicate of this bug. ***
Comment 10 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-05-05 03:43:00 UTC
Fixed all versions in portage to have enewuser/enewgroup in pkg_setup, hope HumpBack won't mind.
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2006-05-05 15:23:11 UTC
*** Bug 132392 has been marked as a duplicate of this bug. ***
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2006-05-06 18:29:21 UTC
*** Bug 132518 has been marked as a duplicate of this bug. ***
Comment 13 Sandro Bonazzola (RETIRED) gentoo-dev 2006-05-22 11:37:52 UTC
Verified, works fine for me.