D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 warning: line 53: Possible unexpanded macro in: Obsoletes: net1.0-devel < {version}-24.mga10 warning: line 83: It's not recommended to have unversioned Obsoletes: Obsoletes: lib64net1-static-devel warning: line 84: It's not recommended to have unversioned Obsoletes: Obsoletes: lib64net1.0-devel warning: line 85: It's not recommended to have unversioned Obsoletes: Obsoletes: net1.0-devel Installing /home/pterjan/rpmbuild/SRPMS/libnet1.0.2-1.0.2a-24.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.QdqIVf + umask 022 + cd /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build + test -d /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.m69bqL + umask 022 + cd /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build + rm -rf Libnet-1.0.2a + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/libnet-1.0.2a.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd Libnet-1.0.2a + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (Libnet-1.0.2a-1.0.2a.diff):' Patch #0 (Libnet-1.0.2a-1.0.2a.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile.in + echo 'Patch #1 (libnet-1.0.2a-strings.patch):' Patch #1 (libnet-1.0.2a-strings.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .strings --fuzz=0 patching file include/libnet.h + echo 'Patch #2 (libnet-fix-building-with-gcc14.patch):' Patch #2 (libnet-fix-building-with-gcc14.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .gcc14 --fuzz=0 patching file configure patching file src/libnet_socket.c + chmod 644 README doc/CHANGELOG doc/CHANGELOG-NEWFUNCTIONS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.uX3s5L + umask 022 + cd /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build + cd Libnet-1.0.2a + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-pf_packet=yes creating cache ./config.cache Beginning autoconfiguration process for libnet-1.0.2a... checking host system type... x86_64-mageia-linux-gnu checking target system type... x86_64-mageia-linux-gnu checking build system type... x86_64-mageia-linux-gnu checking for gcc... gcc checking whether the C compiler (gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) works... yes checking whether the C compiler (gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for working const... yes checking for a BSD compatible install... /usr/bin/install -c checking whether make sets ${MAKE}... yes checking for ranlib... ranlib checking for ar... ar checking for ln... ln checking for strerror... yes checking for pcap_open_live in -lpcap... yes checking low-level packet interface type... found SOCK_PACKET checking for PF_PACKET... test program choked... assuming no checking how to run the C preprocessor... /lib/cpp checking for net/ethernet.h... no checking for libnet_build_ip in -lnet... no checking machine endianess... lil checking if unaligned accesses fail... yes checking for sys/sockio.h... no updating cache ./config.cache creating ./config.status creating Makefile creating test/Makefile creating test/TCP/Makefile creating test/Ethernet/Makefile creating test/UDP/Makefile creating test/ICMP/Makefile creating test/Random/Makefile creating test/OSPF/Makefile creating util/Makefile creating util/Get-mac/Makefile creating example/Makefile creating libnet-config creating include/config.h + /usr/bin/make -O -j16 V=1 VERBOSE=1 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall' sed -e 's/.*/#define VERSION "&"/' ./VERSION > version.h gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_socket.c -o src/libnet_socket.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_socket.c:36: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_resolve.c -o src/libnet_resolve.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_resolve.c:36: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ src/libnet_resolve.c: In function 'libnet_host_lookup': src/libnet_resolve.c:66:41: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 66 | sprintf(((which % 2) ? hostname : hostname2), "%d.%d.%d.%d", | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:511: /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ src/libnet_resolve.c:71:41: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 71 | strncpy(((which % 2) ? hostname : hostname2), host_ent->h_name, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ | | | u_char * {aka unsigned char *} /usr/include/bits/string_fortified.h:96:17: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libnet_resolve.c: In function 'libnet_host_lookup_r': src/libnet_resolve.c:94:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 94 | sprintf(hostname, "%d.%d.%d.%d", | ^~~~~~~~ | | | u_char * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ src/libnet_resolve.c:100:51: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] 100 | strncpy(hostname, host_ent->h_name, sizeof(hostname)); | ^ src/libnet_resolve.c:100:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 100 | strncpy(hostname, host_ent->h_name, sizeof(hostname)); | ^~~~~~~~ | | | u_char * {aka unsigned char *} /usr/include/bits/string_fortified.h:96:17: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libnet_resolve.c: In function 'libnet_name_resolve': src/libnet_resolve.c:116:38: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign] 116 | if ((addr.s_addr = inet_addr(host_name)) == -1) | ^~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from src/../include/libnet.h:71: /usr/include/arpa/inet.h:34:41: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 34 | extern in_addr_t inet_addr (const char *__cp) __THROW; | ~~~~~~~~~~~~^~~~ src/libnet_resolve.c:118:44: warning: pointer targets in passing argument 1 of 'gethostbyname' differ in signedness [-Wpointer-sign] 118 | if (!(host_ent = gethostbyname(host_name))) | ^~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from src/../include/libnet.h:73: /usr/include/netdb.h:142:51: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 142 | extern struct hostent *gethostbyname (const char *__name); | ~~~~~~~~~~~~^~~~~~ src/libnet_resolve.c: In function 'libnet_host_lookup': src/libnet_resolve.c:71:9: warning: '__builtin_strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 71 | strncpy(((which % 2) ? hostname : hostname2), host_ent->h_name, | ^ src/libnet_resolve.c:71:9: warning: '__builtin_strncpy' specified bound 512 equals destination size [-Wstringop-truncation] gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_prand.c -o src/libnet_prand.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_prand.c:36: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_version.c -o src/libnet_version.o src/libnet_version.c: In function '__libnet_print_vers': src/libnet_version.c:45:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 45 | write(STDOUT_FILENO, banner, sizeof(banner) - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_write_ip.c -o src/libnet_write_ip.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_write_ip.c:36: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_checksum.c -o src/libnet_checksum.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_checksum.c:37: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_insert_ipo.c -o src/libnet_insert_ipo.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_insert_ipo.c:36: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_error.c -o src/libnet_error.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_error.c:36: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_packet_mem.c -o src/libnet_packet_mem.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_packet_mem.c:36: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_ip.c -o src/libnet_build_ip.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_build_ip.c:36: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_insert_tcpo.c -o src/libnet_insert_tcpo.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_insert_tcpo.c:36: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_link_sockpacket.c -o src/libnet_link_sockpacket.o In file included from /usr/include/sys/time.h:21, from src/libnet_link_sockpacket.c:33: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ src/libnet_link_sockpacket.c: In function 'libnet_write_link_layer': src/libnet_link_sockpacket.c:202:5: warning: '__builtin_strncpy' specified bound 14 equals destination size [-Wstringop-truncation] 202 | strncpy(sa.sa_data, device, sizeof (sa.sa_data)); | ^ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_tcp.c -o src/libnet_build_tcp.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_build_tcp.c:36: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_udp.c -o src/libnet_build_udp.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_build_udp.c:36: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_arp.c -o src/libnet_build_arp.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_build_arp.c:36: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_igmp.c -o src/libnet_build_igmp.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_build_igmp.c:36: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_icmp.c -o src/libnet_build_icmp.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_build_icmp.c:36: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_ethernet.c -o src/libnet_build_ethernet.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_build_ethernet.c:36: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_snmp.c -o src/libnet_build_snmp.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_build_snmp.c:36: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_rip.c -o src/libnet_build_rip.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_build_rip.c:36: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_dns.c -o src/libnet_build_dns.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_build_dns.c:36: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_ospf.c -o src/libnet_build_ospf.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_build_ospf.c:39: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ src/libnet_build_ospf.c: In function 'libnet_build_ospf': src/libnet_build_ospf.c:50:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 50 | if (!buf); | ^~ src/libnet_build_ospf.c:51:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 51 | { | ^ src/libnet_build_ospf.c: In function 'libnet_build_ospf_hello': src/libnet_build_ospf.c:82:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 82 | if (!buf); | ^~ src/libnet_build_ospf.c:83:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 83 | { | ^ src/libnet_build_ospf.c: In function 'libnet_build_ospf_dbd': src/libnet_build_ospf.c:110:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 110 | if (!buf); | ^~ src/libnet_build_ospf.c:111:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 111 | { | ^ src/libnet_build_ospf.c: In function 'libnet_build_ospf_lsr': src/libnet_build_ospf.c:135:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 135 | if (!buf); | ^~ src/libnet_build_ospf.c:136:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 136 | { | ^ src/libnet_build_ospf.c: In function 'libnet_build_ospf_lsu': src/libnet_build_ospf.c:159:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 159 | if (!buf); | ^~ src/libnet_build_ospf.c:160:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 160 | { | ^ src/libnet_build_ospf.c: In function 'libnet_build_ospf_lsa': src/libnet_build_ospf.c:182:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 182 | if (!buf); | ^~ src/libnet_build_ospf.c:183:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 183 | { | ^ src/libnet_build_ospf.c: In function 'libnet_build_ospf_lsa_rtr': src/libnet_build_ospf.c:213:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 213 | if (!buf); | ^~ src/libnet_build_ospf.c:214:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 214 | { | ^ src/libnet_build_ospf.c: In function 'libnet_build_ospf_lsa_net': src/libnet_build_ospf.c:241:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 241 | if (!buf); | ^~ src/libnet_build_ospf.c:242:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 242 | { | ^ src/libnet_build_ospf.c: In function 'libnet_build_ospf_lsa_sum': src/libnet_build_ospf.c:264:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 264 | if (!buf); | ^~ src/libnet_build_ospf.c:265:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 265 | { | ^ src/libnet_build_ospf.c: In function 'libnet_build_ospf_lsa_as': src/libnet_build_ospf.c:288:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 288 | if (!buf); | ^~ src/libnet_build_ospf.c:289:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 289 | { | ^ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_vrrp.c -o src/libnet_build_vrrp.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_build_vrrp.c:36: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_asn1.c -o src/libnet_asn1.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_asn1.c:59: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_hex_dump.c -o src/libnet_hex_dump.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_hex_dump.c:36: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_if_addr.c -o src/libnet_if_addr.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_if_addr.c:37: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ src/libnet_if_addr.c: In function 'libnet_ifaddrlist': src/libnet_if_addr.c:128:45: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] 128 | strncpy(device, ifr.ifr_name, sizeof(ifr.ifr_name)); | ^ src/libnet_if_addr.c:56:52: warning: variable 'mp' set but not used [-Wunused-but-set-variable] 56 | register struct ifreq *ifrp, *ifend, *ifnext, *mp; | ^~ src/libnet_if_addr.c:109:9: warning: '__builtin_strncpy' output may be truncated copying 16 bytes from a string of length 1279 [-Wstringop-truncation] 109 | strncpy(ifr.ifr_name, ifrp->ifr_name, sizeof(ifr.ifr_name)); | ^ gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_socket.c -o src/libnet_socket_pic.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_socket.c:36: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_insert_ipo.c -o src/libnet_insert_ipo_pic.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_insert_ipo.c:36: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_version.c -o src/libnet_version_pic.o src/libnet_version.c: In function '__libnet_print_vers': src/libnet_version.c:45:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 45 | write(STDOUT_FILENO, banner, sizeof(banner) - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_resolve.c -o src/libnet_resolve_pic.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_resolve.c:36: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ src/libnet_resolve.c: In function 'libnet_host_lookup': src/libnet_resolve.c:66:41: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 66 | sprintf(((which % 2) ? hostname : hostname2), "%d.%d.%d.%d", | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:511: /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ src/libnet_resolve.c:71:41: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 71 | strncpy(((which % 2) ? hostname : hostname2), host_ent->h_name, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ | | | u_char * {aka unsigned char *} /usr/include/bits/string_fortified.h:96:17: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libnet_resolve.c: In function 'libnet_host_lookup_r': src/libnet_resolve.c:94:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 94 | sprintf(hostname, "%d.%d.%d.%d", | ^~~~~~~~ | | | u_char * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ src/libnet_resolve.c:100:51: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] 100 | strncpy(hostname, host_ent->h_name, sizeof(hostname)); | ^ src/libnet_resolve.c:100:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 100 | strncpy(hostname, host_ent->h_name, sizeof(hostname)); | ^~~~~~~~ | | | u_char * {aka unsigned char *} /usr/include/bits/string_fortified.h:96:17: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libnet_resolve.c: In function 'libnet_name_resolve': src/libnet_resolve.c:116:38: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign] 116 | if ((addr.s_addr = inet_addr(host_name)) == -1) | ^~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from src/../include/libnet.h:71: /usr/include/arpa/inet.h:34:41: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 34 | extern in_addr_t inet_addr (const char *__cp) __THROW; | ~~~~~~~~~~~~^~~~ src/libnet_resolve.c:118:44: warning: pointer targets in passing argument 1 of 'gethostbyname' differ in signedness [-Wpointer-sign] 118 | if (!(host_ent = gethostbyname(host_name))) | ^~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from src/../include/libnet.h:73: /usr/include/netdb.h:142:51: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 142 | extern struct hostent *gethostbyname (const char *__name); | ~~~~~~~~~~~~^~~~~~ src/libnet_resolve.c: In function 'libnet_host_lookup': src/libnet_resolve.c:71:9: warning: '__builtin_strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 71 | strncpy(((which % 2) ? hostname : hostname2), host_ent->h_name, | ^ src/libnet_resolve.c:71:9: warning: '__builtin_strncpy' specified bound 512 equals destination size [-Wstringop-truncation] gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_write_ip.c -o src/libnet_write_ip_pic.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_write_ip.c:36: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_prand.c -o src/libnet_prand_pic.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_prand.c:36: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_error.c -o src/libnet_error_pic.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_error.c:36: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_port_list.c -o src/libnet_port_list.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_port_list.c:36: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ src/libnet_port_list.c: In function 'libnet_plist_chain_dump_string': src/libnet_port_list.c:259:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 259 | i = sprintf(&buf[j], "%d", p->bport); | ^~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:511: /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ src/libnet_port_list.c:263:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 263 | i = sprintf(&buf[j], "%d-%d", p->bport, p->eport); | ^~~~~~~ | | | u_char * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ src/libnet_port_list.c:268:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 268 | sprintf(&buf[j++], ","); | ^~~~~~~~~ | | | u_char * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ src/libnet_port_list.c:271:20: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 271 | return (strdup(buf)); /* XXX - reentrancy == no */ | ^~~ | | | u_char * {aka unsigned char *} In file included from src/../include/libnet.h:36: /usr/include/string.h:187:34: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 187 | extern char *strdup (const char *__s) | ~~~~~~~~~~~~^~~ src/libnet_port_list.c:271:13: warning: pointer targets in returning 'char *' from a function with return type 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 271 | return (strdup(buf)); /* XXX - reentrancy == no */ | ~^~~~~~~~~~~~ gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_checksum.c -o src/libnet_checksum_pic.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_checksum.c:37: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_insert_tcpo.c -o src/libnet_insert_tcpo_pic.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_insert_tcpo.c:36: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_ip.c -o src/libnet_build_ip_pic.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_build_ip.c:36: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_link_sockpacket.c -o src/libnet_link_sockpacket_pic.o In file included from /usr/include/sys/time.h:21, from src/libnet_link_sockpacket.c:33: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ src/libnet_link_sockpacket.c: In function 'libnet_write_link_layer': src/libnet_link_sockpacket.c:202:5: warning: '__builtin_strncpy' specified bound 14 equals destination size [-Wstringop-truncation] 202 | strncpy(sa.sa_data, device, sizeof (sa.sa_data)); | ^ gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_packet_mem.c -o src/libnet_packet_mem_pic.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_packet_mem.c:36: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_arp.c -o src/libnet_build_arp_pic.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_build_arp.c:36: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_ethernet.c -o src/libnet_build_ethernet_pic.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_build_ethernet.c:36: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_tcp.c -o src/libnet_build_tcp_pic.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_build_tcp.c:36: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_udp.c -o src/libnet_build_udp_pic.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_build_udp.c:36: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_snmp.c -o src/libnet_build_snmp_pic.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_build_snmp.c:36: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_igmp.c -o src/libnet_build_igmp_pic.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_build_igmp.c:36: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_ospf.c -o src/libnet_build_ospf_pic.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_build_ospf.c:39: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ src/libnet_build_ospf.c: In function 'libnet_build_ospf': src/libnet_build_ospf.c:50:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 50 | if (!buf); | ^~ src/libnet_build_ospf.c:51:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 51 | { | ^ src/libnet_build_ospf.c: In function 'libnet_build_ospf_hello': src/libnet_build_ospf.c:82:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 82 | if (!buf); | ^~ src/libnet_build_ospf.c:83:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 83 | { | ^ src/libnet_build_ospf.c: In function 'libnet_build_ospf_dbd': src/libnet_build_ospf.c:110:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 110 | if (!buf); | ^~ src/libnet_build_ospf.c:111:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 111 | { | ^ src/libnet_build_ospf.c: In function 'libnet_build_ospf_lsr': src/libnet_build_ospf.c:135:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 135 | if (!buf); | ^~ src/libnet_build_ospf.c:136:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 136 | { | ^ src/libnet_build_ospf.c: In function 'libnet_build_ospf_lsu': src/libnet_build_ospf.c:159:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 159 | if (!buf); | ^~ src/libnet_build_ospf.c:160:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 160 | { | ^ src/libnet_build_ospf.c: In function 'libnet_build_ospf_lsa': src/libnet_build_ospf.c:182:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 182 | if (!buf); | ^~ src/libnet_build_ospf.c:183:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 183 | { | ^ src/libnet_build_ospf.c: In function 'libnet_build_ospf_lsa_rtr': src/libnet_build_ospf.c:213:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 213 | if (!buf); | ^~ src/libnet_build_ospf.c:214:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 214 | { | ^ src/libnet_build_ospf.c: In function 'libnet_build_ospf_lsa_net': src/libnet_build_ospf.c:241:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 241 | if (!buf); | ^~ src/libnet_build_ospf.c:242:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 242 | { | ^ src/libnet_build_ospf.c: In function 'libnet_build_ospf_lsa_sum': src/libnet_build_ospf.c:264:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 264 | if (!buf); | ^~ src/libnet_build_ospf.c:265:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 265 | { | ^ src/libnet_build_ospf.c: In function 'libnet_build_ospf_lsa_as': src/libnet_build_ospf.c:288:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 288 | if (!buf); | ^~ src/libnet_build_ospf.c:289:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 289 | { | ^ gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_dns.c -o src/libnet_build_dns_pic.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_build_dns.c:36: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_vrrp.c -o src/libnet_build_vrrp_pic.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_build_vrrp.c:36: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_hex_dump.c -o src/libnet_hex_dump_pic.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_hex_dump.c:36: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_rip.c -o src/libnet_build_rip_pic.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_build_rip.c:36: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_icmp.c -o src/libnet_build_icmp_pic.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_build_icmp.c:36: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ar -cr lib/libnet.a src/libnet_resolve.o src/libnet_socket.o src/libnet_checksum.o src/libnet_prand.o src/libnet_version.o src/libnet_write_ip.o src/libnet_insert_ipo.o src/libnet_insert_tcpo.o src/libnet_error.o src/libnet_link_sockpacket.o src/libnet_packet_mem.o src/libnet_build_ip.o src/libnet_build_tcp.o src/libnet_build_udp.o src/libnet_build_arp.o src/libnet_build_ethernet.o src/libnet_build_icmp.o src/libnet_build_igmp.o src/libnet_build_dns.o src/libnet_build_snmp.o src/libnet_build_rip.o src/libnet_build_ospf.o src/libnet_build_vrrp.o src/libnet_asn1.o src/libnet_hex_dump.o src/libnet_if_addr.o src/libnet_port_list.o ranlib lib/libnet.a gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_if_addr.c -o src/libnet_if_addr_pic.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_if_addr.c:37: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ src/libnet_if_addr.c: In function 'libnet_ifaddrlist': src/libnet_if_addr.c:128:45: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] 128 | strncpy(device, ifr.ifr_name, sizeof(ifr.ifr_name)); | ^ src/libnet_if_addr.c:56:52: warning: variable 'mp' set but not used [-Wunused-but-set-variable] 56 | register struct ifreq *ifrp, *ifend, *ifnext, *mp; | ^~ src/libnet_if_addr.c:109:9: warning: '__builtin_strncpy' output may be truncated copying 16 bytes from a string of length 1279 [-Wstringop-truncation] 109 | strncpy(ifr.ifr_name, ifrp->ifr_name, sizeof(ifr.ifr_name)); | ^ gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_asn1.c -o src/libnet_asn1_pic.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_asn1.c:59: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_port_list.c -o src/libnet_port_list_pic.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/../include/libnet.h:35, from src/libnet_port_list.c:36: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ src/libnet_port_list.c: In function 'libnet_plist_chain_dump_string': src/libnet_port_list.c:259:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 259 | i = sprintf(&buf[j], "%d", p->bport); | ^~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:511: /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ src/libnet_port_list.c:263:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 263 | i = sprintf(&buf[j], "%d-%d", p->bport, p->eport); | ^~~~~~~ | | | u_char * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ src/libnet_port_list.c:268:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 268 | sprintf(&buf[j++], ","); | ^~~~~~~~~ | | | u_char * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ src/libnet_port_list.c:271:20: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 271 | return (strdup(buf)); /* XXX - reentrancy == no */ | ^~~ | | | u_char * {aka unsigned char *} In file included from src/../include/libnet.h:36: /usr/include/string.h:187:34: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 187 | extern char *strdup (const char *__s) | ~~~~~~~~~~~~^~~ src/libnet_port_list.c:271:13: warning: pointer targets in returning 'char *' from a function with return type 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 271 | return (strdup(buf)); /* XXX - reentrancy == no */ | ~^~~~~~~~~~~~ gcc -shared -Wl,-soname,libnet.so.1.0.2 -o lib/libnet.so.1.0.2 src/libnet_resolve_pic.o src/libnet_socket_pic.o src/libnet_checksum_pic.o src/libnet_prand_pic.o src/libnet_version_pic.o src/libnet_write_ip_pic.o src/libnet_insert_ipo_pic.o src/libnet_insert_tcpo_pic.o src/libnet_error_pic.o src/libnet_link_sockpacket_pic.o src/libnet_packet_mem_pic.o src/libnet_build_ip_pic.o src/libnet_build_tcp_pic.o src/libnet_build_udp_pic.o src/libnet_build_arp_pic.o src/libnet_build_ethernet_pic.o src/libnet_build_icmp_pic.o src/libnet_build_igmp_pic.o src/libnet_build_dns_pic.o src/libnet_build_snmp_pic.o src/libnet_build_rip_pic.o src/libnet_build_ospf_pic.o src/libnet_build_vrrp_pic.o src/libnet_asn1_pic.o src/libnet_hex_dump_pic.o src/libnet_if_addr_pic.o src/libnet_port_list_pic.o ln -s lib/libnet.so.1.0.2 libnet.so + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.nq9ehV + umask 022 + cd /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build + mkdir /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT + cd Libnet-1.0.2a + '[' 1 -eq 1 ']' + make DESTDIR=/home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT INSTALL=/usr/bin/install MAN_PREFIX=/usr/share/man/man3 install ./ensure-dir.sh /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT/usr 755 ./ensure-dir.sh /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT/usr/lib64/ 755 ./ensure-dir.sh /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT/usr/include/libnet 755 ./ensure-dir.sh /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT/usr/include/ 755 ./ensure-dir.sh /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT/usr/share/man/man3 755 ./ensure-dir.sh /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT/usr/bin/ 755 ./install-sh -c -m 0644 lib/libnet.a /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT/usr/lib64/ ./install-sh -c -m 0755 lib/libnet.so.1.0.2 /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT/usr/lib64/ ln -f -s lib/libnet.so.1.0.2 /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT/usr/lib64/libnet.so ln -f -s lib/libnet.so.1.0.2 /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT/usr/lib64/libpwrite.so rm -f /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT/usr/lib64/libpwrite.a cd /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT/usr/lib64/; ln -f -s libnet.a libpwrite.a ./install-sh include/libnet.h /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT/usr/include/ ./install-sh include/libnet/libnet-headers.h /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT/usr/include/libnet ./install-sh include/libnet/libnet-functions.h /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT/usr/include/libnet ./install-sh include/libnet/libnet-structures.h /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT/usr/include/libnet ./install-sh include/libnet/libnet-macros.h /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT/usr/include/libnet ./install-sh include/libnet/libnet-asn1.h /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT/usr/include/libnet ./install-sh include/libnet/libnet-ospf.h /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT/usr/include/libnet ./install-sh doc/libnet.3 /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT/usr/share/man/man3 ./install-sh libnet-config /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT/usr/bin/ + rm -f /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT/usr/lib64/libnet.a /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT/usr/lib64/libnet.so /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT/usr/lib64/libnet.so.1.0.2 /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT/usr/lib64/libpwrite.a /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT/usr/lib64/libpwrite.so + install -m0755 lib/libnet.so.1.0.2 /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT/usr/lib64/ + ln -snf libnet.so.1.0.2 /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT/usr/lib64/libnet.so + ln -snf libnet.so /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT/usr/lib64/libpwrite.so + install -m0644 lib/libnet.a /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT/usr/lib64/ + ln -snf libnet.a /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT/usr/lib64/libpwrite.a + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 1.0.2a-24.mga10 --unique-debug-suffix -1.0.2a-24.mga10.x86_64 --unique-debug-src-base libnet1.0.2-1.0.2a-24.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/Libnet-1.0.2a find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/libnet1.0.2-1.0.2a-24.mga10.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/libnet-config from /bin/sh to #!/usr/bin/sh *** WARNING: ./usr/include/libnet.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/libnet/libnet-functions.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/libnet/libnet-asn1.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/libnet/libnet-headers.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/libnet/libnet-macros.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/libnet/libnet-structures.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/libnet/libnet-ospf.h is executable but has no shebang, removing executable bit + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Reading /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/SPECPARTS/rpm-debuginfo.specpart Processing files: lib64net1.0.2-1.0.2a-24.mga10.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.VUxaa7 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build + cd Libnet-1.0.2a + DOCDIR=/home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT/usr/share/doc/lib64net1.0.2 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT/usr/share/doc/lib64net1.0.2 + cp -pr /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/Libnet-1.0.2a/README /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT/usr/share/doc/lib64net1.0.2 + cp -pr /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/Libnet-1.0.2a/doc/CHANGELOG /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT/usr/share/doc/lib64net1.0.2 + cp -pr /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/Libnet-1.0.2a/doc/CHANGELOG-NEWFUNCTIONS /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT/usr/share/doc/lib64net1.0.2 + RPM_EC=0 ++ jobs -p + exit 0 Provides: lib64net1 = 1.0.2a-24.mga10 lib64net1.0.2 = 1.0.2a-24.mga10 lib64net1.0.2(x86-64) = 1.0.2a-24.mga10 libnet.so.1.0.2()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) Obsoletes: lib64net1 < 1.0.2a-24.mga10 Processing files: lib64net1.0.2-devel-1.0.2a-24.mga10.x86_64 warning: Explicit %attr() mode not applicable to symlink: /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT/usr/lib64/libnet.so warning: Explicit %attr() mode not applicable to symlink: /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT/usr/lib64/libpwrite.so Provides: devel(libnet(64bit)) lib64net1-devel = 1.0.2a-24.mga10 lib64net1.0-devel = 1.0.2a-24.mga10 lib64net1.0.2-devel = 1.0.2a-24.mga10 lib64net1.0.2-devel(x86-64) = 1.0.2a-24.mga10 libnet1.0.2-devel = 1.0.2a-24.mga10 net-devel = 1.0.2a-24.mga10 net1.0-devel = 1.0.2a-24.mga10 net1.0.2-devel = 1.0.2a-24.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Conflicts: lib64net1.1.0-devel lib64net1.1.2-devel Obsoletes: lib64net1-devel < 1.0.2a-24.mga10 lib64net1.0-devel < 1.0.2a-24.mga10 net1.0-devel < {version}-24.mga10 Processing files: lib64net1.0.2-static-devel-1.0.2a-24.mga10.x86_64 warning: Explicit %attr() mode not applicable to symlink: /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT/usr/lib64/libpwrite.a Provides: lib64net1.0.2-static-devel = 1.0.2a-24.mga10 lib64net1.0.2-static-devel(x86-64) = 1.0.2a-24.mga10 libnet1.0.2-static-devel = 1.0.2a-24.mga10 net1.0-static-devel = 1.0.2a-24.mga10 net1.0.2-static-devel = 1.0.2a-24.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Conflicts: lib64net1.1.0-static-devel lib64net1.1.2-static-devel Obsoletes: lib64net1-static-devel lib64net1.0-devel net1.0-devel Processing files: libnet1.0.2-debugsource-1.0.2a-24.mga10.x86_64 Provides: libnet1.0.2-debugsource = 1.0.2a-24.mga10 libnet1.0.2-debugsource(x86-64) = 1.0.2a-24.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: lib64net1.0.2-debuginfo-1.0.2a-24.mga10.x86_64 Provides: debuginfo(build-id) = b177c49e054cba25d704d41ac1625f4ccd17a796 lib64net1.0.2-debuginfo = 1.0.2a-24.mga10 lib64net1.0.2-debuginfo(x86-64) = 1.0.2a-24.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libnet1.0.2-debugsource(x86-64) = 1.0.2a-24.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64net1.0.2-devel-1.0.2a-24.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64net1.0.2-1.0.2a-24.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64net1.0.2-debuginfo-1.0.2a-24.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/libnet1.0.2-debugsource-1.0.2a-24.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64net1.0.2-static-devel-1.0.2a-24.mga10.x86_64.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.UO0lju + umask 022 + cd /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build + test -d /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build + rm -rf /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: line 53: Possible unexpanded macro in: Obsoletes: net1.0-devel < {version}-24.mga10 line 83: It's not recommended to have unversioned Obsoletes: Obsoletes: lib64net1-static-devel line 84: It's not recommended to have unversioned Obsoletes: Obsoletes: lib64net1.0-devel line 85: It's not recommended to have unversioned Obsoletes: Obsoletes: net1.0-devel Explicit %attr() mode not applicable to symlink: /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT/usr/lib64/libnet.so Explicit %attr() mode not applicable to symlink: /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT/usr/lib64/libpwrite.so Explicit %attr() mode not applicable to symlink: /home/pterjan/rpmbuild/BUILD/libnet1.0.2-1.0.2a-build/BUILDROOT/usr/lib64/libpwrite.a D: [iurt_root_command] Success!