Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31670 - nessus-core-2.0.8a && USE="-tcpd" compile FAILED
Summary: nessus-core-2.0.8a && USE="-tcpd" compile FAILED
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Patrick Kursawe (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-21 06:39 UTC by Bash
Modified: 2003-10-21 23:28 UTC (History)
0 users

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


Attachments
./configure --disable-tcpwrappers (nes-wrap-er,5.28 KB, text/plain)
2003-10-21 06:41 UTC, Bash
Details
./configure --without-tcpwrappers (nes-wrap-ok,5.95 KB, text/plain)
2003-10-21 06:42 UTC, Bash
Details
emerge nessus-core (all log) (n1,5.02 KB, text/plain)
2003-10-21 06:51 UTC, Bash
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bash 2003-10-21 06:39:25 UTC
I can't emerge nessus-core-2.0.8a without TCPD wrappers.
`nessus-core-2.0.8a.ebuild' conatain this string:
myconf="${myconf} `use_enable tcpd tcpwrappers`"
that with USE="-tcpd" produse "${myconf} --disable-tcpwrappers", but ./configure
of nessus-core packet can't correctly understand this configure flags.
But if i use "${myconf} --without-tcpwrappers" or only just "${myconf}" (nothing
about wrappers) all going corectly.

Reproducible: Always
Steps to Reproduce:
1.USE="-tcpd" emerge nessus-core
2.
3.

Actual Results:  
configure: error: The switch --enable-tcpwrappers has been set but your system
lacks libwrap !

Expected Results:  
emerged nessus-core

see attach.
Comment 1 Bash 2003-10-21 06:41:32 UTC
Created attachment 19579 [details]
./configure --disable-tcpwrappers
Comment 2 Bash 2003-10-21 06:42:13 UTC
Created attachment 19580 [details]
./configure --without-tcpwrappers
Comment 3 Bash 2003-10-21 06:49:26 UTC
Portage 2.0.49-r13 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r6, 2.4.20-gentoo-r7)
=================================================================
System uname: 2.4.20-gentoo-r7 i686 Mobile Intel(R) Pentium(R) 4 - M CPU
1.80GHz
Gentoo Base System version 1.4.3.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss avi foomaticdb gif jpeg libg++ libwww mad mikmod mpeg ncurses
nls pdflib png truetype xmms xv zlib gdbm berkdb slang readline sdl gpm pam
ssl perl python imlib qt motif X apm acl acpi alsa cdr crypt curl dvb dvd
encode ethereal flash sse usb mmx opengl xface xinerama fbcon pcmcia spell
samba xml xml2 gtk gtk2 -3dfx -debug -emacs -esd -3dnow -aalib -apache2 -arts
-canna -cjk -cups -freetds -gtkhtml -imap -ipv6 -java -junit -kde -ldap -lirc
-matrox -oci8 -odbc -pda -postgres -ruby -snmp -socks5 -tetex -ppc -sparc
-alpha -mips -hppa -arm -voodoo3 -svga -oggvorbis -gnome -quicktime -tcpd"

Comment 4 Bash 2003-10-21 06:51:45 UTC
Created attachment 19581 [details]
emerge nessus-core (all log)
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2003-10-21 16:07:47 UTC
should be use_with instead of use_enable
Comment 6 Patrick Kursawe (RETIRED) gentoo-dev 2003-10-21 23:23:39 UTC
It's not that easy, it's rather strange.
configure --help says you should use --enable-tcpwrappers.
When you use --disable-tcpwrappers, it will treat this exactly like --enable-tcpwrappers.
Seems the test in the configure script

# Check whether --enable-tcpwrappers or --disable-tcpwrappers was given.
if test "${enable_tcpwrappers+set}" = set; then
  enableval="$enable_tcpwrappers"
  libwrap="-lwrap"
fi

does not what it's supposed to do.

--with-tcpwrappers or --without-tcpwrappers will both result in no tcpwrappers
support.

Should be fixed in portage soon, no revision bump.
I'll try to report this upstream.
Comment 7 Patrick Kursawe (RETIRED) gentoo-dev 2003-10-21 23:28:28 UTC
The report is here: http://bugs.nessus.org/show_bug.cgi?id=641