D: [iurt_root_command] chroot warning: line 51: Possible unexpanded macro in: Obsoletes: net1.0-devel < {version}-20.mga7 Installing /home/pterjan/rpmbuild/SRPMS/libnet1.0.2-1.0.2a-20.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.lzEME7 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf Libnet-1.0.2a + /usr/bin/bzip2 -dc /home/pterjan/rpmbuild/SOURCES/libnet-1.0.2a.tar.bz2 + /usr/bin/tar -xof - + 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 -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 -p1 -b --suffix .strings --fuzz=0 patching file include/libnet.h + chmod 644 README doc/CHANGELOG doc/CHANGELOG-NEWFUNCTIONS + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Jsvfw3 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd Libnet-1.0.2a + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export FFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + /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 + '[' -f ./configure.in -o -f ./configure.ac ']' + CONFIGURE_XPATH='--x-includes=/usr/include --x-libraries=/usr/lib64' + ./configure --build=x86_64-mageia-linux-gnu --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 --x-includes=/usr/include --x-libraries=/usr/lib64 --with-pf_packet=yes creating cache ./config.cache Beginning autoconfiguration process for libnet-1.0.2a... checking host system type... Invalid configuration `x86_64-pc-linux-gnuoldld': machine `x86_64-pc' not recognized checking target system type... Invalid configuration `x86_64-pc-linux-gnuoldld': machine `x86_64-pc' not recognized checking build system type... Invalid configuration `x86_64-mageia-linux-gnu': machine `x86_64-mageia' not recognized checking for gcc... gcc checking whether the C compiler (gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags) works... yes checking whether the C compiler (gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags) 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 configure: warning: apparently your OS is not officially supported yet configure: warning: this may not work you'll have to edit the makefile by hand please send diffs to mike@infonexus.com checking for libnet_build_ip in -lnet... no checking machine endianess... lil checking if unaligned accesses fail... no 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 + echo 'warning: %make is deprecated, try %make_build instead' warning: %make is deprecated, try %make_build instead + /usr/bin/make -O -j8 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall' sed -e 's/.*/#define VERSION "&"/' ./VERSION > version.h gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -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] write(STDOUT_FILENO, banner, sizeof(banner) - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_resolve.c -o src/libnet_resolve.o src/libnet_resolve.c: In function 'libnet_host_lookup': src/libnet_resolve.c:66:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(((which % 2) ? hostname : hostname2), "%d.%d.%d.%d", ^ In file included from /usr/include/features.h:365:0, from /usr/include/stdio.h:27, from src/../include/libnet.h:35, from src/libnet_resolve.c:36: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_char * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ src/libnet_resolve.c:71:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(((which % 2) ? hostname : hostname2), host_ent->h_name, ^ In file included from /usr/include/features.h:365:0, from /usr/include/stdio.h:27, from src/../include/libnet.h:35, from src/libnet_resolve.c:36: /usr/include/bits/string3.h:123:1: note: expected 'char * restrict' but argument is of type 'u_char * {aka unsigned char *}' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ 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] sprintf(hostname, "%d.%d.%d.%d", ^~~~~~~~ In file included from /usr/include/features.h:365:0, from /usr/include/stdio.h:27, from src/../include/libnet.h:35, from src/libnet_resolve.c:36: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_char * {aka unsigned char *}' __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] 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] strncpy(hostname, host_ent->h_name, sizeof(hostname)); ^~~~~~~~ In file included from /usr/include/features.h:365:0, from /usr/include/stdio.h:27, from src/../include/libnet.h:35, from src/libnet_resolve.c:36: /usr/include/bits/string3.h:123:1: note: expected 'char * restrict' but argument is of type 'u_char * {aka unsigned char *}' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ 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] if ((addr.s_addr = inet_addr(host_name)) == -1) ^~~~~~~~~ In file included from src/../include/libnet.h:71:0, from src/libnet_resolve.c:36: /usr/include/arpa/inet.h:34:18: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' 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] if (!(host_ent = gethostbyname(host_name))) ^~~~~~~~~ In file included from src/../include/libnet.h:73:0, from src/libnet_resolve.c:36: /usr/include/netdb.h:144:24: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' extern struct hostent *gethostbyname (const char *__name); ^~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_socket.c -o src/libnet_socket.o src/libnet_socket.c: In function 'libnet_open_raw_sock': src/libnet_socket.c:39:1: warning: type of 'prot' defaults to 'int' [-Wimplicit-int] libnet_open_raw_sock(prot) ^~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_prand.c -o src/libnet_prand.o gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_write_ip.c -o src/libnet_write_ip.o gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_insert_tcpo.c -o src/libnet_insert_tcpo.o gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_error.c -o src/libnet_error.o gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_insert_ipo.c -o src/libnet_insert_ipo.o gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_checksum.c -o src/libnet_checksum.o gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_ip.c -o src/libnet_build_ip.o gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_link_sockpacket.c -o src/libnet_link_sockpacket.o gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_arp.c -o src/libnet_build_arp.o gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_packet_mem.c -o src/libnet_packet_mem.o gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_tcp.c -o src/libnet_build_tcp.o gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_udp.c -o src/libnet_build_udp.o gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_ethernet.c -o src/libnet_build_ethernet.o gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_igmp.c -o src/libnet_build_igmp.o gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_snmp.c -o src/libnet_build_snmp.o gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_dns.c -o src/libnet_build_dns.o gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_vrrp.c -o src/libnet_build_vrrp.o gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_icmp.c -o src/libnet_build_icmp.o gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_ospf.c -o src/libnet_build_ospf.o 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] 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' { ^ 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] 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' { ^ 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] 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' { ^ 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] 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' { ^ 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] 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' { ^ 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] 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' { ^ 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] 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' { ^ 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] 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' { ^ 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] 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' { ^ 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] 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' { ^ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_rip.c -o src/libnet_build_rip.o gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_hex_dump.c -o src/libnet_hex_dump.o gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -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] write(STDOUT_FILENO, banner, sizeof(banner) - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_port_list.c -o src/libnet_port_list.o 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] i = sprintf(&buf[j], "%d", p->bport); ^ In file included from /usr/include/features.h:365:0, from /usr/include/stdio.h:27, from src/../include/libnet.h:35, from src/libnet_port_list.c:36: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_char * {aka unsigned char *}' __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] i = sprintf(&buf[j], "%d-%d", p->bport, p->eport); ^ In file included from /usr/include/features.h:365:0, from /usr/include/stdio.h:27, from src/../include/libnet.h:35, from src/libnet_port_list.c:36: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_char * {aka unsigned char *}' __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] sprintf(&buf[j++], ","); ^ In file included from /usr/include/features.h:365:0, from /usr/include/stdio.h:27, from src/../include/libnet.h:35, from src/libnet_port_list.c:36: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_char * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ In file included from /usr/include/string.h:630:0, from src/../include/libnet.h:36, from src/libnet_port_list.c:36: src/libnet_port_list.c:271:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] return (strdup(buf)); /* XXX - reentrancy == no */ ^ In file included from src/../include/libnet.h:36:0, from src/libnet_port_list.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from src/../include/libnet.h:36, from src/libnet_port_list.c:36: src/libnet_port_list.c:271:20: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] return (strdup(buf)); /* XXX - reentrancy == no */ ^ /usr/include/bits/string2.h:1278:14: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^~~~~~~~ src/libnet_port_list.c:271:13: warning: pointer targets in return differ in signedness [-Wpointer-sign] return (strdup(buf)); /* XXX - reentrancy == no */ ^~~~~~ gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_resolve.c -o src/libnet_resolve_pic.o src/libnet_resolve.c: In function 'libnet_host_lookup': src/libnet_resolve.c:66:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(((which % 2) ? hostname : hostname2), "%d.%d.%d.%d", ^ In file included from /usr/include/features.h:365:0, from /usr/include/stdio.h:27, from src/../include/libnet.h:35, from src/libnet_resolve.c:36: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_char * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ src/libnet_resolve.c:71:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(((which % 2) ? hostname : hostname2), host_ent->h_name, ^ In file included from /usr/include/features.h:365:0, from /usr/include/stdio.h:27, from src/../include/libnet.h:35, from src/libnet_resolve.c:36: /usr/include/bits/string3.h:123:1: note: expected 'char * restrict' but argument is of type 'u_char * {aka unsigned char *}' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ 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] sprintf(hostname, "%d.%d.%d.%d", ^~~~~~~~ In file included from /usr/include/features.h:365:0, from /usr/include/stdio.h:27, from src/../include/libnet.h:35, from src/libnet_resolve.c:36: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_char * {aka unsigned char *}' __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] 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] strncpy(hostname, host_ent->h_name, sizeof(hostname)); ^~~~~~~~ In file included from /usr/include/features.h:365:0, from /usr/include/stdio.h:27, from src/../include/libnet.h:35, from src/libnet_resolve.c:36: /usr/include/bits/string3.h:123:1: note: expected 'char * restrict' but argument is of type 'u_char * {aka unsigned char *}' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ 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] if ((addr.s_addr = inet_addr(host_name)) == -1) ^~~~~~~~~ In file included from src/../include/libnet.h:71:0, from src/libnet_resolve.c:36: /usr/include/arpa/inet.h:34:18: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' 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] if (!(host_ent = gethostbyname(host_name))) ^~~~~~~~~ In file included from src/../include/libnet.h:73:0, from src/libnet_resolve.c:36: /usr/include/netdb.h:144:24: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' extern struct hostent *gethostbyname (const char *__name); ^~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_if_addr.c -o src/libnet_if_addr.o src/libnet_if_addr.c: In function 'libnet_ifaddrlist': src/libnet_if_addr.c:56:52: warning: variable 'mp' set but not used [-Wunused-but-set-variable] register struct ifreq *ifrp, *ifend, *ifnext, *mp; ^~ gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_socket.c -o src/libnet_socket_pic.o src/libnet_socket.c: In function 'libnet_open_raw_sock': src/libnet_socket.c:39:1: warning: type of 'prot' defaults to 'int' [-Wimplicit-int] libnet_open_raw_sock(prot) ^~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_asn1.c -o src/libnet_asn1.o gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_prand.c -o src/libnet_prand_pic.o gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_error.c -o src/libnet_error_pic.o gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_checksum.c -o src/libnet_checksum_pic.o gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_write_ip.c -o src/libnet_write_ip_pic.o gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_link_sockpacket.c -o src/libnet_link_sockpacket_pic.o gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_insert_ipo.c -o src/libnet_insert_ipo_pic.o gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_insert_tcpo.c -o src/libnet_insert_tcpo_pic.o gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_packet_mem.c -o src/libnet_packet_mem_pic.o gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_ip.c -o src/libnet_build_ip_pic.o gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_udp.c -o src/libnet_build_udp_pic.o gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_arp.c -o src/libnet_build_arp_pic.o gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_ethernet.c -o src/libnet_build_ethernet_pic.o gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_tcp.c -o src/libnet_build_tcp_pic.o gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_dns.c -o src/libnet_build_dns_pic.o gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_icmp.c -o src/libnet_build_icmp_pic.o gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_igmp.c -o src/libnet_build_igmp_pic.o gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_snmp.c -o src/libnet_build_snmp_pic.o gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_rip.c -o src/libnet_build_rip_pic.o 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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_vrrp.c -o src/libnet_build_vrrp_pic.o gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_build_ospf.c -o src/libnet_build_ospf_pic.o 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] 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' { ^ 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] 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' { ^ 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] 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' { ^ 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] 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' { ^ 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] 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' { ^ 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] 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' { ^ 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] 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' { ^ 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] 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' { ^ 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] 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' { ^ 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] 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' { ^ gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_hex_dump.c -o src/libnet_hex_dump_pic.o gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_asn1.c -o src/libnet_asn1_pic.o gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_if_addr.c -o src/libnet_if_addr_pic.o src/libnet_if_addr.c: In function 'libnet_ifaddrlist': src/libnet_if_addr.c:56:52: warning: variable 'mp' set but not used [-Wunused-but-set-variable] register struct ifreq *ifrp, *ifend, *ifnext, *mp; ^~ gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -DHAVE_CONFIG_H -c src/libnet_port_list.c -o src/libnet_port_list_pic.o 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] i = sprintf(&buf[j], "%d", p->bport); ^ In file included from /usr/include/features.h:365:0, from /usr/include/stdio.h:27, from src/../include/libnet.h:35, from src/libnet_port_list.c:36: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_char * {aka unsigned char *}' __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] i = sprintf(&buf[j], "%d-%d", p->bport, p->eport); ^ In file included from /usr/include/features.h:365:0, from /usr/include/stdio.h:27, from src/../include/libnet.h:35, from src/libnet_port_list.c:36: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_char * {aka unsigned char *}' __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] sprintf(&buf[j++], ","); ^ In file included from /usr/include/features.h:365:0, from /usr/include/stdio.h:27, from src/../include/libnet.h:35, from src/libnet_port_list.c:36: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_char * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ In file included from /usr/include/string.h:630:0, from src/../include/libnet.h:36, from src/libnet_port_list.c:36: src/libnet_port_list.c:271:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] return (strdup(buf)); /* XXX - reentrancy == no */ ^ In file included from src/../include/libnet.h:36:0, from src/libnet_port_list.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from src/../include/libnet.h:36, from src/libnet_port_list.c:36: src/libnet_port_list.c:271:20: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] return (strdup(buf)); /* XXX - reentrancy == no */ ^ /usr/include/bits/string2.h:1278:14: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^~~~~~~~ src/libnet_port_list.c:271:13: warning: pointer targets in return differ in signedness [-Wpointer-sign] 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 + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.XRGbA6 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64 '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64 ++ dirname /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64 + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64 + cd Libnet-1.0.2a + '[' 1 -eq 1 ']' + make DESTDIR=/home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64 INSTALL=/usr/bin/install MAN_PREFIX=/usr/share/man/man3 install ./ensure-dir.sh /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64/usr 755 ./ensure-dir.sh /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64/usr/lib64/ 755 ./ensure-dir.sh /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64/usr/include/libnet 755 ./ensure-dir.sh /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64/usr/include/ 755 ./ensure-dir.sh /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64/usr/share/man/man3 755 ./ensure-dir.sh /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64/usr/bin/ 755 ./install-sh -c -m 0644 lib/libnet.a /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64/usr/lib64/ ./install-sh -c -m 0755 lib/libnet.so.1.0.2 /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64/usr/lib64/ ln -f -s lib/libnet.so.1.0.2 /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64/usr/lib64/libnet.so ln -f -s lib/libnet.so.1.0.2 /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64/usr/lib64/libpwrite.so rm -f /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64/usr/lib64/libpwrite.a cd /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64/usr/lib64/; ln -f -s libnet.a libpwrite.a ./install-sh include/libnet.h /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64/usr/include/ ./install-sh include/libnet/libnet-headers.h /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64/usr/include/libnet ./install-sh include/libnet/libnet-functions.h /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64/usr/include/libnet ./install-sh include/libnet/libnet-structures.h /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64/usr/include/libnet ./install-sh include/libnet/libnet-macros.h /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64/usr/include/libnet ./install-sh include/libnet/libnet-asn1.h /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64/usr/include/libnet ./install-sh include/libnet/libnet-ospf.h /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64/usr/include/libnet ./install-sh doc/libnet.3 /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64/usr/share/man/man3 ./install-sh libnet-config /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64/usr/bin/ + rm -f /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64/usr/lib64/libnet.a /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64/usr/lib64/libnet.so /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64/usr/lib64/libnet.so.1.0.2 /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64/usr/lib64/libpwrite.a /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64/usr/lib64/libpwrite.so + install -m0755 lib/libnet.so.1.0.2 /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64/usr/lib64/ + ln -snf libnet.so.1.0.2 /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64/usr/lib64/libnet.so + ln -snf libnet.so /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64/usr/lib64/libpwrite.so + install -m0644 lib/libnet.a /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64/usr/lib64/ + ln -snf libnet.a /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64/usr/lib64/libpwrite.a + /usr/lib/rpm/find-debuginfo.sh -j8 -m -i --build-id-seed 1.0.2a-20.mga7 --unique-debug-suffix -1.0.2a-20.mga7.x86_64 --unique-debug-src-base libnet1.0.2-1.0.2a-20.mga7.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/Libnet-1.0.2a extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64/usr/lib64/libnet.so.1.0.2 /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 332 blocks + '[' -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/translate_menu + '[' -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_elf_files + '[' 1 -eq 1 ']' + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink Processing files: lib64net1.0.2-1.0.2a-20.mga7.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.zaKA0c + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd Libnet-1.0.2a + DOCDIR=/home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64/usr/share/doc/lib64net1.0.2 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64/usr/share/doc/lib64net1.0.2 + cp -pr README /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64/usr/share/doc/lib64net1.0.2 + cp -pr doc/CHANGELOG doc/CHANGELOG-NEWFUNCTIONS /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64/usr/share/doc/lib64net1.0.2 + exit 0 Provides: lib64net1 = 1.0.2a-20.mga7 lib64net1.0.2 = 1.0.2a-20.mga7 lib64net1.0.2(x86-64) = 1.0.2a-20.mga7 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-20.mga7 Processing files: lib64net1.0.2-devel-1.0.2a-20.mga7.x86_64 warning: Explicit %attr() mode not applicable to symlink: /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64/usr/lib64/libnet.so warning: Explicit %attr() mode not applicable to symlink: /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64/usr/lib64/libpwrite.so Provides: devel(libnet(64bit)) lib64net1-devel = 1.0.2a-20.mga7 lib64net1.0-devel = 1.0.2a-20.mga7 lib64net1.0.2-devel = 1.0.2a-20.mga7 lib64net1.0.2-devel(x86-64) = 1.0.2a-20.mga7 libnet1.0.2-devel = 1.0.2a-20.mga7 net-devel = 1.0.2a-20.mga7 net1.0-devel = 1.0.2a-20.mga7 net1.0.2-devel = 1.0.2a-20.mga7 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-20.mga7 lib64net1.0-devel < 1.0.2a-20.mga7 net1.0-devel < {version}-20.mga7 Processing files: lib64net1.0.2-static-devel-1.0.2a-20.mga7.x86_64 warning: Explicit %attr() mode not applicable to symlink: /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64/usr/lib64/libpwrite.a Provides: lib64net1.0.2-static-devel = 1.0.2a-20.mga7 lib64net1.0.2-static-devel(x86-64) = 1.0.2a-20.mga7 libnet1.0.2-static-devel = 1.0.2a-20.mga7 net1.0-static-devel = 1.0.2a-20.mga7 net1.0.2-static-devel = 1.0.2a-20.mga7 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-20.mga7.x86_64 Provides: libnet1.0.2-debugsource = 1.0.2a-20.mga7 libnet1.0.2-debugsource(x86-64) = 1.0.2a-20.mga7 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-20.mga7.x86_64 Provides: debuginfo(build-id) = 6b15169106bdc5b523cd3500e77a572cb8d8e1d7 lib64net1.0.2-debuginfo = 1.0.2a-20.mga7 lib64net1.0.2-debuginfo(x86-64) = 1.0.2a-20.mga7 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-20.mga7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64 Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64net1.0.2-1.0.2a-20.mga7.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64net1.0.2-devel-1.0.2a-20.mga7.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64net1.0.2-static-devel-1.0.2a-20.mga7.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/libnet1.0.2-debugsource-1.0.2a-20.mga7.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64net1.0.2-debuginfo-1.0.2a-20.mga7.x86_64.rpm Executing(%clean): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.VSHRwl + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd Libnet-1.0.2a + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILDROOT/libnet1.0.2-1.0.2a-20.mga7.x86_64 + exit 0 Executing(--clean): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.73D48t + umask 022 + cd /home/pterjan/rpmbuild/BUILD + rm -rf Libnet-1.0.2a + exit 0 D: [iurt_root_command] Success!