Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 563920 - >=net-misc/ntp-4.2.8_p3 FEATURES=test - packetProcessing.c:141:15: warning: array subscript is above array bounds [-Warray-bounds]
Summary: >=net-misc/ntp-4.2.8_p3 FEATURES=test - packetProcessing.c:141:15: warning: a...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://bugs.ntp.org/show_bug.cgi?id=2950
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2015-10-24 05:43 UTC by Jeroen Roovers (RETIRED)
Modified: 2017-01-18 09:37 UTC (History)
0 users

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


Attachments
net-misc:ntp-4.2.8_p4:20151024-050259.log (20151024-050259.log,307.85 KB, text/plain)
2015-10-24 05:43 UTC, Jeroen Roovers (RETIRED)
Details
net-misc:ntp-4.2.8_p4:20151024-050351.log (20151024-050351.log,321.01 KB, text/plain)
2015-10-24 05:44 UTC, Jeroen Roovers (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2015-10-24 05:43:03 UTC
Created attachment 415318 [details]
net-misc:ntp-4.2.8_p4:20151024-050259.log

packetProcessing.c: In function ‘test_TooShortExtensionFieldLength’:
packetProcessing.c:141:15: warning: array subscript is above array bounds [-Warray-bounds]
  testpkt.exten[7] = htonl(3); // 3 bytes is too short.
               ^
[ebuild   R   ~] net-misc/ntp-4.2.8_p4::gentoo  USE="ipv6 readline ssl threads -caps -debug -openntpd (-parse-clocks) -samba (-selinux) -snmp -vim-syntax -zeroconf" 0 KiB
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2015-10-24 05:44:14 UTC
Created attachment 415320 [details]
net-misc:ntp-4.2.8_p4:20151024-050351.log

packetProcessing.c: In function ‘test_TooShortExtensionFieldLength’:
packetProcessing.c:141:15: warning: array subscript is above array bounds [-Warray-bounds]

[ebuild   R   ~] net-misc/ntp-4.2.8_p4::gentoo  USE="ipv6 readline samba ssl threads vim-syntax zeroconf -caps -debug -openntpd (-parse-clocks) (-selinux) -snmp" 0 KiB
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2015-10-24 05:46:10 UTC
(In reply to Jeroen Roovers from comment #0)
> Created attachment 415318 [details]
> net-misc:ntp-4.2.8_p4:20151024-050259.log
> 
> packetProcessing.c: In function ‘test_TooShortExtensionFieldLength’:
> packetProcessing.c:141:15: warning: array subscript is above array bounds
> [-Warray-bounds]
>   testpkt.exten[7] = htonl(3); // 3 bytes is too short.

Then later:

/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.9.3/../../../../powerpc64-unknown-linux-gnu/bin/ld: ../../libntp/libntp.a(work_thread.o):
 undefined reference to symbol 'pthread_sigmask@@GLIBC_2.3'
/lib64/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
distcc[6110] ERROR: compile (null) on localhost failed
Makefile:943: recipe for target 'test-packetHandling' failed
make[6]: *** [test-packetHandling] Error 1
make[6]: *** Waiting for unfinished jobs....
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2015-10-24 05:46:21 UTC
(In reply to Jeroen Roovers from comment #1)
> Created attachment 415320 [details]
> net-misc:ntp-4.2.8_p4:20151024-050351.log
> 
> packetProcessing.c: In function ‘test_TooShortExtensionFieldLength’:
> packetProcessing.c:141:15: warning: array subscript is above array bounds
> [-Warray-bounds]
> 
> [ebuild   R   ~] net-misc/ntp-4.2.8_p4::gentoo  USE="ipv6 readline samba ssl
> threads vim-syntax zeroconf -caps -debug -openntpd (-parse-clocks)
> (-selinux) -snmp" 0 KiB

/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.8.5/../../../../hppa2.0-unknown-linux-gnu/bin/ld: ../../libntp/libntp.a(lib.o): undefined r
eference to symbol 'pthread_once@@GLIBC_2.2'
/lib/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.8.5/../../../../hppa2.0-unknown-linux-gnu/bin/ld: ../../libntp/libntp.a(lib.o): undefined reference to symbol 'pthread_once@@GLIBC_2.2'
/lib/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
distcc[12273] ERROR: compile (null) on localhost failed
distcc[12270] ERROR: compile (null) on localhost failed
/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.8.5/../../../../hppa2.0-unknown-linux-gnu/bin/ld: ../../libntp/libntp.a(lib.o): undefined reference to symbol 'pthread_once@@GLIBC_2.2'
/lib/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
distcc[12278] ERROR: compile (null) on localhost failed
Makefile:931: recipe for target 'test-kodFile' failed
make[6]: *** [test-kodFile] Error 1
make[6]: *** Waiting for unfinished jobs....
Comment 4 SpanKY gentoo-dev 2015-10-25 00:15:47 UTC
moved upstream.  i don't think this is an actual test fail, just a warning that needs to get fixed.