Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 163159 - net-misc/iputils-021109-r3 fails to build with linux-headers-2.6.19.2-r1
Summary: net-misc/iputils-021109-r3 fails to build with linux-headers-2.6.19.2-r1
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: sane-linux-headers
  Show dependency tree
 
Reported: 2007-01-22 03:53 UTC by Justus Ranvier
Modified: 2007-01-23 07:41 UTC (History)
1 user (show)

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 Justus Ranvier 2007-01-22 03:53:53 UTC
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=pentium3 -O2 -pipe -Wstrict-prototypes -Wall -g -Iinclude-glibc -include include-glibc/glibc-bugs.h  -I../include       tracepath.c  -lresolv -o tracepath
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=pentium3 -O2 -pipe -Wstrict-prototypes -Wall -g -Iinclude-glibc -include include-glibc/glibc-bugs.h  -I../include      -c -o ping.o ping.c
ping.c:93: warning: 'struct iphdr' declared inside parameter list
ping.c:93: warning: its scope is only this definition or declaration, which is probably not what you want
ping.c: In function 'main':
ping.c:161: error: 'IPOPT_TS_TSONLY' undeclared (first use in this function)
ping.c:161: error: (Each undeclared identifier is reported only once
ping.c:161: error: for each function it appears in.)
ping.c:163: error: 'IPOPT_TS_TSANDADDR' undeclared (first use in this function)
ping.c:165: error: 'IPOPT_TS_PRESPEC' undeclared (first use in this function)
ping.c:398: error: 'IPOPT_NOP' undeclared (first use in this function)
ping.c:399: error: 'IPOPT_OPTVAL' undeclared (first use in this function)
ping.c:399: error: 'IPOPT_RR' undeclared (first use in this function)
ping.c:400: error: 'IPOPT_OLEN' undeclared (first use in this function)
ping.c:401: error: 'IPOPT_OFFSET' undeclared (first use in this function)
ping.c:401: error: 'IPOPT_MINOFF' undeclared (first use in this function)
ping.c:410: error: 'IPOPT_TIMESTAMP' undeclared (first use in this function)
ping.c:432: error: 'IPOPT_NOOP' undeclared (first use in this function)
ping.c:433: error: 'IPOPT_SSRR' undeclared (first use in this function)
ping.c:434: error: 'IPOPT_LSRR' undeclared (first use in this function)
ping.c: In function 'parse_reply':
ping.c:702: error: dereferencing pointer to incomplete type
ping.c:703: error: dereferencing pointer to incomplete type
ping.c:720: error: dereferencing pointer to incomplete type
ping.c:738: error: dereferencing pointer to incomplete type
ping.c:740: error: invalid application of 'sizeof' to incomplete type 'struct iphdr'
ping.c:741: error: dereferencing pointer to incomplete type
ping.c:744: error: dereferencing pointer to incomplete type
ping.c:804: error: invalid application of 'sizeof' to incomplete type 'struct iphdr'
ping.c: In function 'pr_icmph':
ping.c:885: warning: passing argument 1 of 'pr_iph' from incompatible pointer type
ping.c:890: warning: passing argument 1 of 'pr_iph' from incompatible pointer type
ping.c:913: warning: passing argument 1 of 'pr_iph' from incompatible pointer type
ping.c:932: warning: passing argument 1 of 'pr_iph' from incompatible pointer type
ping.c:937: warning: passing argument 1 of 'pr_iph' from incompatible pointer type
ping.c: In function 'pr_options':
ping.c:976: error: 'MAX_IPOPTLEN' undeclared (first use in this function)
ping.c:978: error: invalid application of 'sizeof' to incomplete type 'struct iphdr'
ping.c:982: error: 'IPOPT_EOL' undeclared (first use in this function)
ping.c:984: error: 'IPOPT_NOP' undeclared (first use in this function)
ping.c:996: error: 'IPOPT_SSRR' undeclared (first use in this function)
ping.c:997: error: 'IPOPT_LSRR' undeclared (first use in this function)
ping.c:1003: error: 'IPOPT_MINOFF' undeclared (first use in this function)
ping.c:1019: error: 'IPOPT_RR' undeclared (first use in this function)
ping.c:1053: error: 'IPOPT_TS' undeclared (first use in this function)
ping.c:1070: error: 'IPOPT_TS_TSONLY' undeclared (first use in this function)
ping.c:976: warning: unused variable 'old_rr'
ping.c: At top level:
ping.c:1123: warning: 'struct iphdr' declared inside parameter list
ping.c:1124: error: conflicting types for 'pr_iph'
ping.c:93: error: previous declaration of 'pr_iph' was here
ping.c: In function 'pr_iph':
ping.c:1128: error: dereferencing pointer to incomplete type
ping.c:1133: error: dereferencing pointer to incomplete type
ping.c:1133: error: dereferencing pointer to incomplete type
ping.c:1133: error: dereferencing pointer to incomplete type
ping.c:1133: error: dereferencing pointer to incomplete type
ping.c:1133: error: dereferencing pointer to incomplete type
ping.c:1134: error: dereferencing pointer to incomplete type
ping.c:1135: error: dereferencing pointer to incomplete type
ping.c:1136: error: dereferencing pointer to incomplete type
ping.c:1136: error: dereferencing pointer to incomplete type
ping.c:1136: error: dereferencing pointer to incomplete type
ping.c:1137: error: dereferencing pointer to incomplete type
ping.c:1138: error: dereferencing pointer to incomplete type
make: *** [ping.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: net-misc/iputils-021109-r3 failed.
Call stack:
  ebuild.sh, line 1611:   Called dyn_compile
  ebuild.sh, line 968:   Called qa_call 'src_compile'
  environment, line 3205:   Called src_compile
  iputils-021109-r3.ebuild, line 56:   Called die

!!! make main 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-misc/iputils-021109-r3/temp/build.log'.


Reproducible: Always




Success with linux-headers-2.7.17-r2
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-22 07:18:54 UTC
So try w/ 20060512 ;)
Comment 2 Justus Ranvier 2007-01-22 12:03:47 UTC
(In reply to comment #1)
> So try w/ 20060512 ;)
> 

It does indeed work.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-01-22 12:28:08 UTC
OK, closing ;)
Comment 4 Justus Ranvier 2007-01-23 02:18:25 UTC
(In reply to comment #3)
> OK, closing ;)
> 

For cases like this, do you update the ebuild dependencies?
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-01-23 07:39:44 UTC
(In reply to comment #4)
> For cases like this, do you update the ebuild dependencies?

No; the new version will be stabilized when linux-headers-2.6.19 goes stable.