Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 170922 - net-analyzer/nessus-libraries-2.2.6 fails to compile
Summary: net-analyzer/nessus-libraries-2.2.6 fails to compile
Status: RESOLVED DUPLICATE of bug 156303
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-14 18:53 UTC by William Arlofski
Modified: 2007-03-14 20:55 UTC (History)
0 users

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 William Arlofski 2007-03-14 18:53:16 UTC
--[snip]--
x86_64-pc-linux-gnu-gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/lib/include -I/var/tmp/portage/net-analyzer/nessus-libraries-2.2.6/work/nessus-libraries/include -I/var/tmp/portage/net-analyzer/nessus-libraries-2.2.6/work/nessus-libraries/libpcap-nessus -march=athlon64 -O2 -pipe -g -c system.c  -fPIC -DPIC -o .libs/system.lo
In file included from /usr/include/asm/processor.h:8,
                 from /usr/include/linux/prefetch.h:15,
                 from /usr/include/linux/list.h:5,
                 from /usr/include/linux/msg.h:5,
                 from /var/tmp/portage/net-analyzer/nessus-libraries-2.2.6/work/nessus-libraries/include/includes.h:191,
                 from plugutils.c:22:
/usr/include/asm-x86_64/processor.h:70: error: syntax error before "cpumask_t"
/usr/include/asm-x86_64/processor.h:74: error: syntax error before '}' token
plugutils.c: In function `plug_set_id':
plugutils.c:222: warning: cast to pointer from integer of different size
plugutils.c: In function `_plug_get_id':
plugutils.c:229: warning: cast from pointer to integer of different size
plugutils.c: In function `plug_set_timeout':
plugutils.c:563: warning: cast to pointer from integer of different size
plugutils.c: In function `_plug_get_timeout':
plugutils.c:571: warning: cast from pointer to integer of different size
plugutils.c: In function `plug_set_launch':
plugutils.c:592: warning: cast to pointer from integer of different size
plugutils.c:594: warning: cast to pointer from integer of different size
plugutils.c: In function `plug_get_launch':
plugutils.c:603: warning: cast from pointer to integer of different size
plugutils.c: In function `plug_set_category':
plugutils.c:783: warning: cast to pointer from integer of different size
plugutils.c: In function `_plug_get_category':
plugutils.c:790: warning: cast from pointer to integer of different size
plugutils.c: In function `proto_post_wrapped':
plugutils.c:1135: warning: cast from pointer to integer of different size
plugutils.c: In function `plug_get_fresh_key':
plugutils.c:1406: warning: cast from pointer to integer of different size
plugutils.c:1442: warning: cast to pointer from integer of different size
plugutils.c: In function `plug_set_replace_key':
plugutils.c:1458: warning: cast from pointer to integer of different size
plugutils.c:1479: warning: cast from pointer to integer of different size
plugutils.c:1481: warning: cast from pointer to integer of different size
plugutils.c: In function `scanner_add_port':
plugutils.c:1538: warning: cast from pointer to integer of different size
plugutils.c:1569: warning: cast from pointer to integer of different size
plugutils.c: In function `plug_get_key':
plugutils.c:1676: warning: cast to pointer from integer of different size
plugutils.c:1702: warning: cast from pointer to integer of different size
plugutils.c:1706: warning: cast to pointer from integer of different size
plugutils.c:1707: warning: cast to pointer from integer of different size
plugutils.c:1729: warning: cast to pointer from integer of different size
plugutils.c:1753: warning: cast from pointer to integer of different size
plugutils.c: In function `plug_set_port_transport':
plugutils.c:1862: warning: cast to pointer from integer of different size
plugutils.c: In function `shared_socket_register':
plugutils.c:2028: warning: cast from pointer to integer of different size
plugutils.c: In function `shared_socket_acquire':
plugutils.c:2053: warning: cast from pointer to integer of different size
plugutils.c: In function `shared_socket_release':
plugutils.c:2085: warning: cast from pointer to integer of different size
plugutils.c: In function `shared_socket_destroy':
plugutils.c:2093: warning: cast from pointer to integer of different size
In file included from /usr/include/asm/processor.h:8,
                 from /usr/include/linux/prefetch.h:15,
                 from /usr/include/linux/list.h:5,
                 from /usr/include/linux/msg.h:5,
                 from /var/tmp/portage/net-analyzer/nessus-libraries-2.2.6/work/nessus-libraries/include/includes.h:191,
                 from system.c:21:
/usr/include/asm-x86_64/processor.h:70: error: syntax error before "cpumask_t"
/usr/include/asm-x86_64/processor.h:74: error: syntax error before '}' token
In file included from /usr/include/asm/processor.h:8,
                 from /usr/include/linux/prefetch.h:15,
                 from /usr/include/linux/list.h:5,
                 from /usr/include/linux/msg.h:5,
                 from /var/tmp/portage/net-analyzer/nessus-libraries-2.2.6/work/nessus-libraries/include/includes.h:191,
                 from network.c:23:
/usr/include/asm-x86_64/processor.h:70: error: syntax error before "cpumask_t"
/usr/include/asm-x86_64/processor.h:74: error: syntax error before '}' token
make[1]: *** [plugutils.o] Error 1
make[1]: *** Waiting for unfinished jobs....
network.c: In function `auth_send':
network.c:2008: warning: cast from pointer to integer of different size
network.c:2009: warning: cast from pointer to integer of different size
network.c: In function `auth_gets':
network.c:2071: warning: cast from pointer to integer of different size
make[1]: *** [system.o] Error 1
make[1]: *** [network.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-analyzer/nessus-libraries-2.2.6/work/nessus-libraries/libnessus'
make: *** [all] Error 2

!!! ERROR: net-analyzer/nessus-libraries-2.2.6 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 1829:   Called src_compile
  nessus-libraries-2.2.6.ebuild, line 22:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/net-analyzer/nessus-libraries-2.2.6/temp/build.log'.
--[snip]--
Comment 1 William Arlofski 2007-03-14 18:53:32 UTC
# emerge --info
Portage 2.1.2.2 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.5-r0, 2.6.18-SMP x86_64)
=================================================================
System uname: 2.6.18-SMP x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 14 Mar 2007 07:30:09 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-java/java-config: 1.3.7, 2.0.31-r4
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
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="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/fax /usr/share/X11/xkb /usr/share/config /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac alsa amd64 apache2 arts avi berkdb bidi bitmap-fonts cli cracklib crypt cups dbus divx4linux dri dvd dvdread eds emboss encode faad ffmpeg flac foomaticdb fortran gif gpm gstreamer gtk gtk2 hal iconv ieee1394 imlib ipv6 isdnlog jpeg kde kdeenablefinal ldap lm_sensors logrotate lzw lzw-tiff matroska midi mozilla mp3 mpeg mplayer ncurses nls nptl nptlonly nvidia ogg opengl pam pcre perl png postgres ppds pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts usb vorbis wma wxwindows xine xorg xpm xv xvid zeroconf zlib" ALSA_CARDS="intel8x0" 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Comment 2 William Arlofski 2007-03-14 19:22:02 UTC
Updating linux-headers to ~amd64 fixes the problem. 

sys-kernel/linux-headers-2.6.20-r1 emerged, nessus and all deps compile and emerge fine now. 

Thanks to angelos and hkBst in #gento-amd64 for the help.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-03-14 20:55:28 UTC

*** This bug has been marked as a duplicate of bug 156303 ***