Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130732 - net-dialup/freeradius-1.1.1-r1 fails b/c of enewgroup usage
Summary: net-dialup/freeradius-1.1.1-r1 fails b/c of enewgroup usage
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-21 07:22 UTC by Richard Fleming
Modified: 2006-04-21 12:52 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Fleming 2006-04-21 07:22:27 UTC
Emerging FreeRadius dies with the following error on install.

>>> Install freeradius-1.1.1-r1 into /var/tmp/portage/freeradius-1.1.1-r1/image/ category net-dialup
 * 'enewgroup()' called from 'install()' which is not a pkg_* function.
 * Package fails at QA and at life.  Please file a bug.

This ebuild fails on multiple platforms and is reproducable always.

darktama (#gentoo-amd64) investigated the ebuild and found that that ebuild calls pkg_preinst() in it's src_install.  He further killed the call to pkg_preinst() but the package also fails multilib-strict, if set in FEATURES.



*********************
*** emerge --info ***
*********************

Portage 2.0.54 (hardened/x86/2.6, gcc-3.4.5, glibc-2.3.5-r3, 2.6.14-hardened-r7 i686)
=================================================================
System uname: 2.6.14-hardened-r7 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.ussg.indiana.edu http://adelie.polymtl.ca/ http://gentoo.osuosl.org/ ftp://cs.ubishops.ca/pub/gentoo ftp://gentoo.risq.qc.ca/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage//packages/x86/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="apache2 berkdb bzip2 cdrom cli crypt dlloader dvd expat gdbm gpm hardened kerberos mysql ncurses nls nptl nptlonly pam perl php pic python readline ssl tcpd udev usb userlocales x86 zlib input_devices_mouse input_devices_keyboard userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2006-04-21 12:52:42 UTC
I'm embarassed because this error is probably mine...

Fixed in cvs, for both current versions of freeradius.