Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 168581 - net-analyzer/nessus-libraries-2.2.6 failed to compile on amd64
Summary: net-analyzer/nessus-libraries-2.2.6 failed to compile on amd64
Status: RESOLVED DUPLICATE of bug 156303
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-27 14:45 UTC by Joshua
Modified: 2007-02-27 20:46 UTC (History)
0 users

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


Attachments
build.log (build.log,39.12 KB, text/plain)
2007-02-27 14:46 UTC, Joshua
Details
emerge --info (info.txt,2.78 KB, text/plain)
2007-02-27 20:31 UTC, Joshua
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua 2007-02-27 14:45:53 UTC
This happens for both 2.2.6 and 2.3.1.  To reproduce this all I have to do is perform another 'emerge nessus'

I am running kernel version: gentoo-sources-2.6.18-r6

Here is the last part of my logs (although I do not see an attachment button to attach the whole thing, so here is what I was able to fit):

/bin/sh /var/tmp/portage/net-analyzer/nessus-libraries-2.2.6/work/nessus-libraries/libtool x86_64-pc-linux-gnu-gcc -pipe -o libpcap-nessus.la pcap-linux.lo pcap.lo inet.lo gencode.lo optimize.lo nametoaddr.lo etherent.lo savefile.lo bpf_filter.lo bpf_image.lo scanner.lo grammar.lo version.lo -rpath /usr/lib64 \
	-version-info 4:6:2
rm -fr .libs/libpcap-nessus.la .libs/libpcap-nessus.* .libs/libpcap-nessus.*
x86_64-pc-linux-gnu-gcc -shared  pcap-linux.lo pcap.lo inet.lo gencode.lo optimize.lo nametoaddr.lo etherent.lo savefile.lo bpf_filter.lo bpf_image.lo scanner.lo grammar.lo version.lo   -Wl,-soname -Wl,libpcap-nessus.so.2 -o .libs/libpcap-nessus.so.2.2.6
(cd .libs && rm -f libpcap-nessus.so.2 && ln -s libpcap-nessus.so.2.2.6 libpcap-nessus.so.2)
(cd .libs && rm -f libpcap-nessus.so && ln -s libpcap-nessus.so.2.2.6 libpcap-nessus.so)
ar cru .libs/libpcap-nessus.a  pcap-linux.o pcap.o inet.o gencode.o optimize.o nametoaddr.o etherent.o savefile.o bpf_filter.o bpf_image.o scanner.o grammar.o version.o 
ranlib .libs/libpcap-nessus.a
creating libpcap-nessus.la
(cd .libs && rm -f libpcap-nessus.la && ln -s ../libpcap-nessus.la libpcap-nessus.la)
make[1]: Leaving directory `/var/tmp/portage/net-analyzer/nessus-libraries-2.2.6/work/nessus-libraries/libpcap-nessus'
cd libnessus && make
make[1]: Entering directory `/var/tmp/portage/net-analyzer/nessus-libraries-2.2.6/work/nessus-libraries/libnessus'
/bin/sh /var/tmp/portage/net-analyzer/nessus-libraries-2.2.6/work/nessus-libraries/libtool 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  -O2 -pipe -march=athlon64 -fomit-frame-pointer -fforce-addr -g -c plugutils.c
mkdir .libs
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 -O2 -pipe -march=athlon64 -fomit-frame-pointer -fforce-addr -g -c plugutils.c  -fPIC -DPIC -o .libs/plugutils.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: expected specifier-qualifier-list before 'cpumask_t'
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
make[1]: *** [plugutils.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 1834:   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'.
Comment 1 Joshua 2007-02-27 14:46:44 UTC
Created attachment 111425 [details]
build.log
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-02-27 15:00:07 UTC

*** This bug has been marked as a duplicate of bug 156303 ***
Comment 3 Joshua 2007-02-27 20:19:22 UTC
I have tried to move to the 2.6.19-gentoo-r2 kernel and it fails with the same error, so I decided to go ahead and try the 2.6.20-gentoo kernel and I get the same error.
Comment 4 Joshua 2007-02-27 20:31:33 UTC
Created attachment 111469 [details]
emerge --info
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-02-27 20:39:24 UTC
(In reply to comment #3)
> I have tried to move to the 2.6.19-gentoo-r2 kernel and it fails with the same
> error, so I decided to go ahead and try the 2.6.20-gentoo kernel and I get the
> same error.

Eh, not kernel, linux-headers...
 



*** This bug has been marked as a duplicate of bug 156303 ***
Comment 6 Joshua 2007-02-27 20:46:16 UTC
Ok, with 2.6.20-gentoo kernel and 2.6.20-r1 it all works.

Thanks,

Joshua
Comment 7 Joshua 2007-02-27 20:46:59 UTC
(In reply to comment #6)
> Ok, with 2.6.20-gentoo kernel and 2.6.20-r1 it all works.
> 
> Thanks,
> 
> Joshua
> 

I meant 2.6.20-r1 linux headers.

Thanks