Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136905 - net-analyzer/libnasl-2.3.1 compile
Summary: net-analyzer/libnasl-2.3.1 compile
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-15 09:09 UTC by matsuba
Modified: 2007-03-27 20:41 UTC (History)
3 users (show)

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


Attachments
Error Message (5731-libnasl-2.3.1.log,39.29 KB, text/plain)
2006-06-15 09:11 UTC, matsuba
Details
cflags (cflags,188 bytes, text/plain)
2006-11-29 08:46 UTC, matsuba
Details
var/tmp/portage/libnasl-2.3.1/work/libnasl/include/config.h (config.h,3.88 KB, text/plain)
2006-12-17 08:35 UTC, matsuba
Details
var/tmp/portage/libnasl-2.3.1/work/libnasl/include/config.h (config.h,3.88 KB, text/plain)
2006-12-17 08:47 UTC, matsuba
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matsuba 2006-06-15 09:09:10 UTC
libnasl-2.3.1 compile with gcc 4.1.1 failed.
see attachment file that output of build message.

below is output of emerge --info 

Gentoo Base System version 1.12.1
Portage 2.1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.16-gentoo-r2 i686)
=================================================================
System uname: 2.6.16-gentoo-r2 i686 AMD Athlon(tm) XP 2500+
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
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/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mcpu=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-mcpu=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg digest distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="ja_JP.utf8"
LC_ALL="ja_JP.utf8"
LINGUAS="ja"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portagejp /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts cjk cli crypt cups dba dlloader doc eds emacs emboss encode esd fbcon firefox foomaticdb fortran gd gdbm gif gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg ldap leim libg++ libwww lynxkeymap mad migemo mikmod motif mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl png pppd python quicktime readline reflection sasl sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode userlocales vorbis xface xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_ja userland_GNU video_cards_radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 matsuba 2006-06-15 09:11:30 UTC
Created attachment 89252 [details]
Error Message
Comment 2 SpanKY gentoo-dev 2006-06-15 10:04:59 UTC
net a gcc-4 bug
Comment 3 Cédric Krier gentoo-dev 2006-11-24 14:13:58 UTC
Can you post the file :

/var/tmp/portage/libnasl-2.3.1/work/libnasl/nasl/cflags

Thanks
Comment 4 matsuba 2006-11-29 08:46:03 UTC
Created attachment 102993 [details]
cflags

/var/tmp/portage/libnasl-2.3.1/work/libnasl/nasl/cflags
Comment 5 Cédric Krier gentoo-dev 2006-12-16 13:32:28 UTC
can you post also the file

var/tmp/portage/libnasl-2.3.1/work/libnasl/include/config.h

thanks
Comment 6 matsuba 2006-12-17 08:35:54 UTC
Created attachment 104215 [details]
var/tmp/portage/libnasl-2.3.1/work/libnasl/include/config.h

Attache config.h

thanks
Comment 7 matsuba 2006-12-17 08:47:21 UTC
Created attachment 104216 [details]
var/tmp/portage/libnasl-2.3.1/work/libnasl/include/config.h

Attache config.h

thanks
Comment 8 Thomas Heinrichsdobler 2007-02-19 17:24:41 UTC
exact same error message here.

Portage 2.1.2-r9 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.20-gentoo i686)
=================================================================
System uname: 2.6.20-gentoo i686 AMD Athlon(tm) XP 2500+
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 19 Feb 2007 07:00:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
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.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mcpu=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-mcpu=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE"
LC_ALL="de_DE.UTF-8"
LINGUAS="de en"
MAKEOPTS="-j1"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/enlightenment /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X X509 Xaw3d a52 aac aalib acl acpi adns alsa aotuv artworkextra asf async atlas audiofile bash-completion bcmath bdf bidi bitmap-fonts bl blas blender-game bluetooth boost bootsplash bzip2 cairo canna cap cdb cdda cddb cdio cdparanoia cdr cgi chroot cjk cli clock-screen console cracklib crypt css cups curl curlwrappers custom-cflags daap dbus devmap dga dio djbfft djvu dlloader dmi dpms dri dts dv dvd dvdr dvdread dvi dynagraph ecc editor effects encode escreen exif expat fam fame fastcgi fat fbcon ffmpeg fftw flac flash flood fmod fortran fping fpx freewnn ftp gcj gd gdbm gif gimp gimpprint glitz gmail gmailtimestamps gmp gmtfull gmthigh gmtsuppl gmttria gnutls gphoto2 gpm graphviz gs gtk gtk2 hal hbci hfs hou hub icecast iconv icq idea idl idn imagemagick imap imlib imlib2 inkjar ipv6 isdnlog iso14755 jabber java javascript jbig jfs jikes joystick jpeg jpeg2k junit ladcca lame lapack latex lcms libcaca libg++ libgda libwww live lm_sensors logrotate lua lzo lzw mad maildir mailwrapper mbox mbrola menubar mhash midi migemo mikmod mime ming mjpeg mmx mmxext mng mod motif mozsvg mp3 mpeg mpi mplayer musepack ncurses neXt network nextaw nls nntp nodrm nogg nowin nptl nptlonly nsplugin ntfs ntlm nvidia nviz objc offensive ofx ogg opengl oscar pam pcap pcre pdf perl php plugin png portaudio posix postgres ppds pppd print python qemu-fast qt-static quicktime rar readline real recode reflection reiser4 reiserfs rtc ruby sblive scanner screen sdk sdl session shaper shared silc slang smime sms sndfile snmp soap sockets softmmu softquota sou soundtouch speex spell spl sqlite sse ssl startup-notification stencil-buffer stream subp subtitles svg svga svgz sysvipc szip t1lib tcl tcltk tcpd tetex tga theora thumbnail tidy tiff tk tokenizer toolbar transcode truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vcd vcdimager videos vidix vim-pager vim-with-x vlm vorbis win32codecs wmf wxwindows x264 x86 xanim xface xfs xine xml xorg xosd xpm xrandr xscreensaver xv xvid xvmc yv12 zeo zlib zvbi" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="keyboard mouse joystick evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 9 Markus Ullmann (RETIRED) gentoo-dev 2007-03-27 20:41:07 UTC
I just tried again and compared the config.h

--- SNIP --- SNIP --- SNIP ---
% diff -urN ./config.h.mine ./config.h
--- ./config.h.mine     2007-03-27 22:35:01.000000000 +0200
+++ ./config.h.frombugz  2007-03-27 22:37:47.000000000 +0200
@@ -28,9 +28,9 @@
 /* #undef _CYGWIN_ */
 #endif

-#define STDC_HEADERS 1
-#define HAVE_UNISTD_H 1
-#define HAVE_ASSERT_H 1
+/* #undef STDC_HEADERS */
+/* #undef HAVE_UNISTD_H */
+/* #undef HAVE_ASSERT_H */
--- SNIP --- SNIP --- SNIP ---

Seems it doesn't detect some includes... that's a local issue, not that much app related.