Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 199168 - net-analyzer/nepenthes-0.2.0 compilation fails (-Werror)
Summary: net-analyzer/nepenthes-0.2.0 compilation fails (-Werror)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo TreeCleaner Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-14 20:03 UTC by Marc Vilanova
Modified: 2008-08-27 20:56 UTC (History)
3 users (show)

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


Attachments
Patch to comment the offending line (nepenthes-0.2.0-curlopt_fix.diff,1002 bytes, patch)
2007-11-21 11:41 UTC, Lori
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Vilanova 2007-11-14 20:03:38 UTC
net-analyzer/nepenthes-0.2.0 compilation fails caused by an error in download-curl.cpp.

Reproducible: Always

Steps to Reproduce:
1.emerge =net-analyzer/nepenthes-0.2.0

Actual Results:  
Can't install nepenthes.


Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-suspend2-r1 i686)
=================================================================
System uname: 2.6.22-suspend2-r1 i686 Intel(R) Pentium(R) M processor 1.60GHz
Timestamp of tree: Mon, 12 Nov 2007 18:28:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer -mmmx -msse -msse2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /stuff/enemy-territory /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/local/portage /usr/share/X11/xkb /usr/share/config /usr/share/vim/vim63/colors /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d /usr/X11R6/bin/startx"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer -mmmx -msse -msse2"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.udc.es/gentoo/ http://gentoo.virginmedia.com/ http://gentoo.modulix.net/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.tiscali.nl/"
LANG="ca_ES"
LC_ALL="ca_ES"
LINGUAS="ca en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/xgl-coffee /usr/local/portage/neohydra/trunk"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa arts avahi bash-completion beagle berkdb bitmap-fonts bluetooth branding browserplugin bzip2 cairo cardbus cdda cddb cdio cdparanoia cdr chm cli cracklib crypt css cups dbus dhcp divx dri dvd dvdr dvdread eap-tls eds emboss emerald emovix encode esd evo exif extras fam ffmpeg firefox flac gaim galago gdbm gencertdaily gif gimp gmedia gnokii gnome gnutls gphoto2 gpm gstreamer gtk hal hddtemp iconv ieee1394 imagemagick imlib injection isdnlog jabber jce jikes john jpeg kdeenablefinal kerberos keyring latin1 libnotify logrotate mad midi mikmod mmx mono mozilla mp3 mpeg msn mudflap ncurses nfs nls nokia6600 nptl nptlonly nsplugin nvidia offensive ogg ole opengl openmp oss pam pcmcia pcre pda pdf perl pic png posix ppds pppd prediction python qmail qmail-spp qt-static qt3support qt4 quicktime radius rar readline real realmedia reflection reiserfs samba sdl session shorten sms snmp spell spl sse sse2 ssl svg symlink tcpd tetex theora tiff toolbar tordns totem truetype truetype-fonts type1-fonts usb userlocales v4l v4l2 vcd vhosts vidix vim vim-syntax vim-with-x vorbis wifi win32codecs wmp x86 xine xml xorg xosd xprint xv xvid xvmc zlib" ALSA_CARDS="intel8x0 intel8x0m" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="synaptics evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ca en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

--

 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../nepenthes-core/include -I../../nepenthes-core/src -pipe -D _GNU_SOURCE -D _GNU_SOURCE -I/usr/local/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -Wall -Werror -O2 -march=pentium-m -pipe -fomit-frame-pointer -mmmx -msse -msse2 -MT download-curl.lo -MD -MP -MF .deps/download-curl.Tpo -c download-curl.cpp  -fPIC -DPIC -o .libs/download-curl.o
download-curl.cpp: In member function 'virtual bool nepenthes::CurlDownloadHandler::download(nepenthes::Download*)':
download-curl.cpp:233: error: 'CURLOPT_SOURCE_USERPWD' was not declared in this scope
make[3]: *** [download-curl.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/net-analyzer/nepenthes-0.2.0/work/nepenthes-0.2.0/modules/download-curl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-analyzer/nepenthes-0.2.0/work/nepenthes-0.2.0/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-analyzer/nepenthes-0.2.0/work/nepenthes-0.2.0'
make: *** [all] Error 2
 * 
 * ERROR: net-analyzer/nepenthes-0.2.0 failed.
 * Call stack:
 *                ebuild.sh, line 1701:  Called dyn_compile
 *                ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *                ebuild.sh, line   44:  Called src_compile
 *   nepenthes-0.2.0.ebuild, line   33:  Called die
 * The specific snippet of code:
 *      emake || die "make failed"
 *  The die message:
 *   make failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/net-analyzer:nepenthes-0.2.0:20071114-195419.log'.
 *
Comment 1 Tomoyuki Sakurai (RETIRED) gentoo-dev 2007-11-21 03:03:03 UTC
commenting out the offensive line in the code works for me.

http://bugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=423817
Comment 2 Lori 2007-11-21 11:41:04 UTC
Created attachment 136598 [details, diff]
Patch to comment the offending line

Here is the patch to do that. Someone should include it in the ebuild.
Comment 3 Evil Compile Person 2008-01-12 21:58:35 UTC
same here 
Comment 4 Lori 2008-02-14 18:21:57 UTC
Today upstream released version 0.2.2 of nepenthes. It works with the old ebuild (renamed accordingly), no patch needed. More people should test it, so the ebuild in portage could be updated.
Comment 5 Stefan Behte (RETIRED) gentoo-dev Security 2008-04-18 19:57:26 UTC
Same error over here.
Can we get 0.2.2 to portage so this will be fixed?
Comment 6 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-06-14 01:47:12 UTC
Confirmed issue on x86

Since 0.2.2 is already in portage I think it is appropriate to remove this version.

CC'ing netmon in case they would like to salvage this package but I'm not sure if simply commenting out the offending line is the correct thing to do.

# Jeremy Olexa <darkside@gentoo.org> (14 Jul 2008)
# Doesn't compile. Removed by treecleaners in ~30 days. bug #199168
# Later version in tree works.
=net-analyzer/nepenthes-0.2.0
Comment 7 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-08-27 20:56:57 UTC
removed.