<html>
<head>
<base href="https://bugzilla.netfilter.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - 1.8.2: build fails with gcc 9"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1333">1333</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>1.8.2: build fails with gcc 9
</td>
</tr>
<tr>
<th>Product</th>
<td>iptables
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86_64
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P5
</td>
</tr>
<tr>
<th>Component</th>
<td>iptables
</td>
</tr>
<tr>
<th>Assignee</th>
<td>netfilter-buglog@lists.netfilter.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>kloczko.tomasz@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>[tkloczko@domek iptables-1.8.2]$ make -k V=1
make all-recursive
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/iptables-1.8.2'
Making all in libiptc
make[2]: Entering directory
'/home/tkloczko/rpmbuild/BUILD/iptables-1.8.2/libiptc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory
'/home/tkloczko/rpmbuild/BUILD/iptables-1.8.2/libiptc'
Making all in libxtables
make[2]: Entering directory
'/home/tkloczko/rpmbuild/BUILD/iptables-1.8.2/libxtables'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory
'/home/tkloczko/rpmbuild/BUILD/iptables-1.8.2/libxtables'
Making all in include
make[2]: Entering directory
'/home/tkloczko/rpmbuild/BUILD/iptables-1.8.2/include'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory
'/home/tkloczko/rpmbuild/BUILD/iptables-1.8.2/include'
Making all in utils
make[2]: Entering directory
'/home/tkloczko/rpmbuild/BUILD/iptables-1.8.2/utils'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/iptables-1.8.2/utils'
Making all in extensions
make[2]: Entering directory
'/home/tkloczko/rpmbuild/BUILD/iptables-1.8.2/extensions'
gcc -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT
-DXTABLES_LIBDIR=\"/usr/lib64/xtables\" -DXTABLES_INTERNAL -I../include -I..
-I../include -I.. -I/usr/include/uapi -I/usr/include -I/usr/include/uapi
-I/usr/include -Wp,-MMD,./.libipt_icmp.oo.d,-MT,libipt_icmp.oo -Wall
-Waggregate-return -Wmissing-declarations -Wmissing-prototypes
-Wredundant-decls -Wshadow -Wstrict-prototypes -Wlogical-op -Winline
-pipe -D_INIT=libipt_icmp_init -DPIC -fPIC -O2 -g -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-fexceptions -fstack-protector-strong -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto -o
libipt_icmp.oo -c libipt_icmp.c;
libipt_icmp.c: In function ‘type_xlate_print’:
libipt_icmp.c:239:5: error: format not a string literal and no format arguments
[-Werror=format-security]
239 | xt_xlate_add(xl, icmp_codes[i].name);
| ^~~~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [GNUmakefile:107: libipt_icmp.oo] Error 1
gcc -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT
-DXTABLES_LIBDIR=\"/usr/lib64/xtables\" -DXTABLES_INTERNAL -I../include -I..
-I../include -I.. -I/usr/include/uapi -I/usr/include -I/usr/include/uapi
-I/usr/include -Wp,-MMD,./.libip6t_icmp6.oo.d,-MT,libip6t_icmp6.oo -Wall
-Waggregate-return -Wmissing-declarations -Wmissing-prototypes
-Wredundant-decls -Wshadow -Wstrict-prototypes -Wlogical-op -Winline
-pipe -D_INIT=libip6t_icmp6_init -DPIC -fPIC -O2 -g -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-fexceptions -fstack-protector-strong -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto -o
libip6t_icmp6.oo -c libip6t_icmp6.c;
libip6t_icmp6.c: In function ‘type_xlate_print’:
libip6t_icmp6.c:233:3: error: format not a string literal and no format
arguments [-Werror=format-security]
233 | xt_xlate_add(xl, type_name);
| ^~~~~~~~~~~~
libip6t_icmp6.c:242:4: error: format not a string literal and no format
arguments [-Werror=format-security]
242 | xt_xlate_add(xl, icmpv6_codes[i].name);
| ^~~~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [GNUmakefile:107: libip6t_icmp6.oo] Error 1
make[2]: Target 'all' not remade because of errors.
make[2]: Leaving directory
'/home/tkloczko/rpmbuild/BUILD/iptables-1.8.2/extensions'
Making all in iptables
make[2]: Entering directory
'/home/tkloczko/rpmbuild/BUILD/iptables-1.8.2/iptables'
make all-am
make[3]: Entering directory
'/home/tkloczko/rpmbuild/BUILD/iptables-1.8.2/iptables'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory
'/home/tkloczko/rpmbuild/BUILD/iptables-1.8.2/iptables'
make[2]: Leaving directory
'/home/tkloczko/rpmbuild/BUILD/iptables-1.8.2/iptables'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/iptables-1.8.2'
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/iptables-1.8.2'
make[1]: *** [Makefile:506: all-recursive] Error 1
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/iptables-1.8.2'
make: *** [Makefile:413: all] Error 2</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>