Skip Menu |

This queue is for tickets about the IPTables-IPv4 CPAN distribution.

Report information
The Basics
Id: 59977
Status: new
Priority: 0/
Queue: IPTables-IPv4

People
Owner: Nobody in particular
Requestors: tlhackque [...] yahoo.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.98
Fixed in: (no value)



Subject: Build fails under Fedora Core 13, x64
Failed to build and install under Fedora Core 13, Perl 5.10.1, x_64. GCC errors include the rather scary "strncpy_chk will always overflow destination buffer"! Suspect this is a 64-bit problem... CPAN.pm: Going to build D/DP/DPATES/IPTables-IPv4-0.98.tar.gz Checking if your kit is complete... Looks good Writing Makefile for IPTables::IPv4 cp IPv4/TableTie.pm blib/lib/IPTables/IPv4/TableTie.pm cp IPv4/Chain.pm blib/lib/IPTables/IPv4/Chain.pm cp IPv4.pm blib/lib/IPTables/IPv4.pm AutoSplitting blib/lib/IPTables/IPv4.pm (blib/lib/auto/IPTables/IPv4) cp IPv6.pm blib/lib/IPTables/IPv6.pm AutoSplitting blib/lib/IPTables/IPv6.pm (blib/lib/auto/IPTables/IPv6) cp IPv4/Rule.pm blib/lib/IPTables/IPv4/Rule.pm cp IPv4/Toplevel.pm blib/lib/IPTables/IPv4/Toplevel.pm cp IPv4/RuleList.pm blib/lib/IPTables/IPv4/RuleList.pm /usr/bin/perl /usr/share/perl5/ExtUtils/xsubpp -noprototypes -typemap /usr/share/perl5/ExtUtils/typemap -typemap IPTables.typemap IPv4.xs > IPv4.xsc && mv IPv4.xsc IPv4.c gcc -c -Iinclude -I/usr/src/linux/include -Wall -DMODULE_PATH=\"/usr/local/lib/IPTables-IPv4\" -DPERL_USES_64BIT_INT -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"0.98\" -DXS_VERSION=\"0.98\" -fPIC "-I/usr/lib64/perl5/CORE" IPv4.c IPv4.c: In function âXS_IPTables__IPv4__Table_get_policyâ: IPv4.xs:136: warning: ignoring return value of âasprintfâ, declared with attribute warn_unused_result IPv4.xs:139: warning: ignoring return value of âasprintfâ, declared with attribute warn_unused_result IPv4.xs: In function âXS_IPTables__IPv4__Table_get_referencesâ: IPv4.xs:379: warning: pointer targets in passing argument 1 of âiptc_get_referencesâ differ in signedness include/libiptc/libiptc.h:132: note: expected âunsigned int *â but argument is of type âint *â gcc -c -Iinclude -I/usr/src/linux/include -Wall -DMODULE_PATH=\"/usr/local/lib/IPTables-IPv4\" -DPERL_USES_64BIT_INT -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"0.98\" -DXS_VERSION=\"0.98\" -fPIC "-I/usr/lib64/perl5/CORE" loader.c loader.c: In function âfind_module_intâ: loader.c:108: warning: ignoring return value of âasprintfâ, declared with attribute warn_unused_result gcc -c -Iinclude -I/usr/src/linux/include -Wall -DMODULE_PATH=\"/usr/local/lib/IPTables-IPv4\" -DPERL_USES_64BIT_INT -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"0.98\" -DXS_VERSION=\"0.98\" -fPIC "-I/usr/lib64/perl5/CORE" packer.c packer.c: In function âipt_do_packâ: packer.c:261: warning: passing argument 3 of âPerl_sv_2pv_flagsâ from incompatible pointer type /usr/lib64/perl5/CORE/proto.h:3039: note: expected âSTRLEN *â but argument is of type âunsigned int *â packer.c:319: warning: passing argument 3 of âPerl_sv_2pv_flagsâ from incompatible pointer type /usr/lib64/perl5/CORE/proto.h:3039: note: expected âSTRLEN *â but argument is of type âunsigned int *â packer.c:380: warning: passing argument 3 of âPerl_sv_2pv_flagsâ from incompatible pointer type /usr/lib64/perl5/CORE/proto.h:3039: note: expected âSTRLEN *â but argument is of type âunsigned int *â packer.c:249: warning: ignoring return value of âasprintfâ, declared with attribute warn_unused_result packer.c:310: warning: ignoring return value of âasprintfâ, declared with attribute warn_unused_result packer.c:372: warning: ignoring return value of âasprintfâ, declared with attribute warn_unused_result packer.c:542: warning: ignoring return value of âasprintfâ, declared with attribute warn_unused_result packer.c:558: warning: ignoring return value of âasprintfâ, declared with attribute warn_unused_result In file included from /usr/include/string.h:642, from /usr/lib64/perl5/CORE/perl.h:1001, from packer.c:26: In function âstrncpyâ, inlined from âipt_do_packâ at packer.c:269: /usr/include/bits/string3.h:123: warning: call to __builtin___strncpy_chk will always overflow destination buffer In function âstrncpyâ, inlined from âipt_do_packâ at packer.c:339: /usr/include/bits/string3.h:123: warning: call to __builtin___strncpy_chk will always overflow destination buffer In function âstrncpyâ, inlined from âipt_do_packâ at packer.c:394: /usr/include/bits/string3.h:123: warning: call to __builtin___strncpy_chk will always overflow destination buffer /usr/include/bits/string3.h:123: warning: call to __builtin___strncpy_chk will always overflow destination buffer In function âstrncpyâ, inlined from âipt_do_packâ at packer.c:594: /usr/include/bits/string3.h:123: warning: call to __builtin___strncpy_chk will always overflow destination buffer gcc -c -Iinclude -I/usr/src/linux/include -Wall -DMODULE_PATH=\"/usr/local/lib/IPTables-IPv4\" -DPERL_USES_64BIT_INT -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"0.98\" -DXS_VERSION=\"0.98\" -fPIC "-I/usr/lib64/perl5/CORE" unpacker.c unpacker.c: In function âaddr_and_mask_to_svâ: unpacker.c:92: warning: ignoring return value of âasprintfâ, declared with attribute warn_unused_result unpacker.c:95: warning: ignoring return value of âasprintfâ, declared with attribute warn_unused_result unpacker.c:101: warning: ignoring return value of âasprintfâ, declared with attribute warn_unused_result unpacker.c: In function âipt_do_unpackâ: unpacker.c:132: warning: value computed is not used unpacker.c:139: warning: value computed is not used unpacker.c:150: warning: value computed is not used unpacker.c:162: warning: value computed is not used unpacker.c:189: warning: value computed is not used unpacker.c:195: warning: value computed is not used unpacker.c:204: warning: value computed is not used unpacker.c:217: warning: value computed is not used unpacker.c:252: warning: value computed is not used unpacker.c:261: warning: value computed is not used unpacker.c:265: warning: value computed is not used unpacker.c:268: warning: value computed is not used unpacker.c:146: warning: ignoring return value of âasprintfâ, declared with attribute warn_unused_result unpacker.c:158: warning: ignoring return value of âasprintfâ, declared with attribute warn_unused_result unpacker.c:173: warning: ignoring return value of âasprintfâ, declared with attribute warn_unused_result unpacker.c:183: warning: ignoring return value of âasprintfâ, declared with attribute warn_unused_result unpacker.c:214: warning: ignoring return value of âasprintfâ, declared with attribute warn_unused_result unpacker.c:249: warning: ignoring return value of âasprintfâ, declared with attribute warn_unused_result unpacker.c:264: warning: ignoring return value of âasprintfâ, declared with attribute warn_unused_result unpacker.c:267: warning: ignoring return value of âasprintfâ, declared with attribute warn_unused_result gcc -c -Iinclude -I/usr/src/linux/include -Wall -DMODULE_PATH=\"/usr/local/lib/IPTables-IPv4\" -DPERL_USES_64BIT_INT -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"0.98\" -DXS_VERSION=\"0.98\" -fPIC "-I/usr/lib64/perl5/CORE" maskgen.c make -C libiptc/ all make[1]: Entering directory `/home/litt/.cpan/build/IPTables-IPv4-0.98-FuCCHV/libiptc' gcc -o libip4tc.o -c libip4tc.c -I../include -I/usr/src/linux/include -DIPTABLES_VERSION=\"1.2.8\" -O2 -Wall In file included from libip4tc.c:116: libiptc.c: In function âentry2indexâ: libiptc.c:136: warning: format â%iâ expects type âintâ, but argument 3 has type âlong intâ libiptc.c: In function âiptc_initâ: libiptc.c:312: warning: pointer targets in passing argument 5 of âgetsockoptâ differ in signedness /usr/include/sys/socket.h:190: note: expected âsocklen_t * __restrict__â but argument is of type âint *â libiptc.c: In function âtarget_nameâ: libiptc.c:727: warning: dereferencing type-punned pointer will break strict-aliasing rules libip4tc.c: In function âdump_entryâ: libip4tc.c:170: warning: dereferencing type-punned pointer will break strict-aliasing rules gcc -o libip6tc.o -c libip6tc.c -I../include -I/usr/src/linux/include -DIPTABLES_VERSION=\"1.2.8\" -O2 -Wall In file included from libip6tc.c:111: libiptc.c: In function âentry2indexâ: libiptc.c:136: warning: format â%iâ expects type âintâ, but argument 3 has type âlong intâ libiptc.c: In function âip6tc_initâ: libiptc.c:312: warning: pointer targets in passing argument 5 of âgetsockoptâ differ in signedness /usr/include/sys/socket.h:190: note: expected âsocklen_t * __restrict__â but argument is of type âint *â libiptc.c: In function âtarget_nameâ: libiptc.c:727: warning: dereferencing type-punned pointer will break strict-aliasing rules libip6tc.c: In function âipv6_prefix_lengthâ: libip6tc.c:121: error: âconst struct in6_addrâ has no member named âin6_uâ libip6tc.c:125: error: âconst struct in6_addrâ has no member named âin6_uâ libip6tc.c: In function âdump_entryâ: libip6tc.c:201: warning: dereferencing type-punned pointer will break strict-aliasing rules make[1]: *** [libip6tc.o] Error 1 make[1]: Leaving directory `/home/litt/.cpan/build/IPTables-IPv4-0.98-FuCCHV/libiptc' make: *** [libiptc/libiptc.a] Error 2 DPATES/IPTables-IPv4-0.98.tar.gz /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Failed during this command: DPATES/IPTables-IPv4-0.98.tar.gz : make NO perl -v This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi Linux hagrid.sb.litts.net 2.6.33.5-124.fc13.x86_64 #1 SMP Fri Jun 11 09:38:12 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux