D: [iurt_root_command] chroot warning: line 27: It's not recommended to have unversioned Obsoletes: Obsoletes: lib64vde2 warning: line 62: It's not recommended to have unversioned Obsoletes: Obsoletes: lib64vde2-devel warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Installing /home/pterjan/rpmbuild/SRPMS/vde2-2.3.2-18.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.hIOYH7 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf vde2-2.3.2 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/vde2-2.3.2.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd vde2-2.3.2 + rm -rf /home/pterjan/rpmbuild/BUILD/vde2-2.3.2-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/vde2-2.3.2-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (vde-2.2.2-string-format.patch):' Patch #0 (vde-2.2.2-string-format.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .strfmt --fuzz=0 patching file src/common/cmdparse.c + echo 'Patch #1 (vde_cryptcab-compile-against-openssl-1.1.0.patch):' Patch #1 (vde_cryptcab-compile-against-openssl-1.1.0.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .openssl11 --fuzz=0 patching file src/vde_cryptcab/cryptcab.c + cp /home/pterjan/rpmbuild/SOURCES/README.mandriva . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.lNiquL + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd vde2-2.3.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -fi libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:10: warning: The macro 'AC_CONFIG_HEADER' is obsolete. configure.ac:10: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.ac:10: the top level configure.ac:18: warning: The macro 'AC_PROG_LIBTOOL' is obsolete. configure.ac:18: You should run autoupdate. m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from... configure.ac:18: the top level configure.ac:33: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.ac:33: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.ac:33: the top level configure.ac:53: warning: The macro 'AC_HEADER_TIME' is obsolete. configure.ac:53: You should run autoupdate. ./lib/autoconf/headers.m4:702: AC_HEADER_TIME is expanded from... configure.ac:53: the top level configure.ac:58: warning: The macro 'AC_PROG_GCC_TRADITIONAL' is obsolete. configure.ac:58: You should run autoupdate. ./lib/autoconf/c.m4:1676: AC_PROG_GCC_TRADITIONAL is expanded from... configure.ac:58: the top level configure.ac:15: installing './compile' configure.ac:7: installing './missing' src/Makefile.am: installing './depcomp' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -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=2 -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=2 -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=2 -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 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + 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/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/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 --disable-python checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking whether make supports the include directive... yes (GNU style) checking dependency style of g++... none checking for x86_64-mageia-linux-gnu-gcc... gcc checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking whether ln -s works... yes checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-mageia-linux-gnu-file... no checking for file... file checking for x86_64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-mageia-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/time.h... yes checking for vfork.h... no checking for sys/select.h... yes checking for sys/socket.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for dlopen in -ldl... yes checking for EVP_EncryptInit in -lcrypto... yes checking for pcap_open_dead in -lpcap... yes checking for egrep... (cached) /usr/bin/grep -E checking for sys/wait.h that is POSIX.1 compatible... yes checking for arpa/inet.h... yes checking for fcntl.h... yes checking for netdb.h... yes checking for netinet/in.h... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for sys/ioctl.h... yes checking for sys/param.h... yes checking for sys/socket.h... (cached) yes checking for sys/time.h... (cached) yes checking for syslog.h... yes checking for termio.h... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking for sys/filio.h... no checking for sys/bitypes.h... yes checking for sys/wait.h... (cached) yes checking for sys/select.h... (cached) yes checking for sys/signal.h... yes checking for sys/stropts.h... no checking for termios.h... (cached) yes checking for sys/type32.h... no checking for syslimits.h... no checking for sys/syslimits.h... no checking for openssl/blowfish.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether byte ordering is bigendian... no checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking for uid_t... yes checking for gid_t... yes checking for working chown... yes checking for fork... yes checking for vfork... yes checking for vprintf... yes checking for working fork... yes checking for working vfork... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking for GNU libc compatible realloc... yes checking types of arguments for select... int,fd_set *,struct timeval * checking for atexit... yes checking for dup2... yes checking for gethostbyname... yes checking for gethostname... yes checking for gettimeofday... yes checking for inet_ntoa... yes checking for memmove... yes checking for memset... yes checking for putenv... yes checking for select... yes checking for setenv... yes checking for socket... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strstr... yes checking for uname... yes checking for inet_aton... yes checking for sprintf... yes checking for readv... yes checking for random... yes checking for srandom... yes checking for index... yes checking for bcmp... yes checking for drand48... yes checking for memmove... (cached) yes checking for gethostid... yes checking for revoke... no checking for fchmod... yes checking for getopt_long_only... yes checking for funopen... no checking for open_memstream... yes checking for strndup... yes checking for poll... yes checking for poll sanity... yes checking size of char... 1 checking size of short... 2 checking size of int... 4 checking size of char *... 8 checking for linux/if_tun.h... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating include/Makefile config.status: creating man/Makefile config.status: creating src/Makefile config.status: creating src/lib/Makefile config.status: creating src/lib/vdesnmp.pc config.status: creating src/lib/vdemgmt.pc config.status: creating src/lib/vdeplug.pc config.status: creating src/lib/vdehist.pc config.status: creating src/lib/python/Makefile config.status: creating src/vde_switch/Makefile config.status: creating src/kvde_switch/Makefile config.status: creating src/vde_over_ns/Makefile config.status: creating src/common/Makefile config.status: creating src/vdetaplib/Makefile config.status: creating src/vde_l3/Makefile config.status: creating src/vde_cryptcab/Makefile config.status: creating src/slirpvde/Makefile config.status: creating src/vde_switch/plugins/Makefile config.status: creating include/config.h config.status: executing depfiles commands config.status: executing libtool commands Configure results: + VDE CryptCab............ enabled - Python Libraries........ disabled + TAP support............. enabled + pcap support............ enabled - Experimental features... disabled - Profiling options....... disabled - Kernel switch........... disabled configure: WARNING: Python libraries support has been disabled because python is not installed on your system, or because it could not be found. Please install it if you want Python libraries to be compiled and installed. Type 'make' to compile vde2 2.3.2, or type 'make V=1' for verbose compiling and then type 'make install' to install it into /usr + make Making all in include make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/vde2-2.3.2/include' make all-am make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/vde2-2.3.2/include' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/vde2-2.3.2/include' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/vde2-2.3.2/include' Making all in src make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/vde2-2.3.2/src' Making all in common make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/vde2-2.3.2/src/common' CC cmdparse.lo cmdparse.c: In function 'utm_run': cmdparse.c:300:41: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 300 | write (fd,ptr,size); | ^~~~~~~~~~~~~~~~~~~ CC canonicalize.lo canonicalize.c: In function 'vde_realpath': canonicalize.c:54:13: warning: variable 'validstat' set but not used [-Wunused-but-set-variable] 54 | int validstat = 0; | ^~~~~~~~~ CCLD libvdecommon.la make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/vde2-2.3.2/src/common' Making all in lib make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/vde2-2.3.2/src/lib' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/vde2-2.3.2/src/lib' CC libvdemgmt.lo CCLD libvdemgmt.la CC libvdesnmp.lo libvdesnmp.c: In function 'counters_parse': libvdesnmp.c:264:49: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 264 | strncpy(pl->desc, portdesc, strlen(portdesc)-1); | ^ libvdesnmp.c:264:77: note: length computed here 264 | strncpy(pl->desc, portdesc, strlen(portdesc)-1); | ^~~~~~~~~~~~~~~~ CCLD libvdesnmp.la CC libvdeplug.lo libvdeplug.c: In function 'vde_open_real': libvdeplug.c:483:68: warning: taking address of packed member of 'struct request_v3' may result in an unaligned pointer value [-Waddress-of-packed-member] 483 | res=bind(conn->fddata, (struct sockaddr *) &req.sock, sizeof (req.sock)); | ^~~~~~~~~ libvdeplug.c:498:86: warning: taking address of packed member of 'struct request_v3' may result in an unaligned pointer value [-Waddress-of-packed-member] 498 | res = bind(conn->fddata, (struct sockaddr *) &req.sock, sizeof (req.sock)); | ^~~~~~~~~ libvdeplug.c:386:25: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 386 | chown(sockun.sun_path,-1,gid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libvdeplug.c:461:33: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 461 | chown(sockun.sun_path,-1,gid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libvdeplug.c:517:25: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 517 | chown(req.sock.sun_path,-1,gid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CCLD libvdeplug.la CC libvdehist.lo libvdehist.c: In function 'hist_sendcmd': libvdehist.c:348:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 348 | write(st->mgmtfd,st->linebuf,st->bufindex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CCLD libvdehist.la make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/vde2-2.3.2/src/lib' make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/vde2-2.3.2/src/lib' Making all in vde_switch make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/vde2-2.3.2/src/vde_switch' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/vde2-2.3.2/src/vde_switch' CC hash.o CC port.o port.c: In function 'vlanremove': port.c:1130:38: warning: variable 'i' set but not used [-Wunused-but-set-variable] 1130 | register int i,used=0; | ^ CC vde_switch.o vde_switch.c: In function 'init_mods': vde_switch.c:513:33: warning: ignoring return value of 'fchdir' declared with attribute 'warn_unused_result' [-Wunused-result] 513 | fchdir(cwfd); | ^~~~~~~~~~~~ CC sockutils.o CC qtimer.o CC datasock.o datasock.c: In function 'handle_io': datasock.c:244:77: warning: taking address of packed member of 'struct request_v3' may result in an unaligned pointer value [-Waddress-of-packed-member] 244 | ep=new_port_v1_v3(fd, req->v3.type, &(req->v3.sock)); | ^~~~~~~~~~~~~~~ datasock.c:256:77: warning: taking address of packed member of 'struct request_v1' may result in an unaligned pointer value [-Waddress-of-packed-member] 256 | ep=new_port_v1_v3(fd, req->v1.type, &(req->v1.u.new_control.name)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ datasock.c: In function 'cleanup': datasock.c:323:71: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 108 [-Wformat-truncation=] 323 | snprintf(clun.sun_path,sizeof(clun.sun_path),"%s/%03d.%d",ctl_socket,portno,fd); | ^~ ~~~~~~~~~~ datasock.c:323:70: note: directive argument in the range [0, 2147483647] 323 | snprintf(clun.sun_path,sizeof(clun.sun_path),"%s/%03d.%d",ctl_socket,portno,fd); | ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:980, from datasock.c:9: In function 'snprintf', inlined from 'cleanup' at datasock.c:323:4: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 7 and 4119 bytes into a destination of size 108 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ datasock.c: In function 'cleanup': datasock.c:311:63: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 108 [-Wformat-truncation=] 311 | snprintf(clun.sun_path,sizeof(clun.sun_path),"%s/ctl",ctl_socket); | ^~ ~~~~~~~~~~ In function 'snprintf', inlined from 'cleanup' at datasock.c:311:3: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 5 and 4100 bytes into a destination of size 108 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ datasock.c: In function 'init': datasock.c:457:53: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 108 [-Wformat-truncation=] 457 | snprintf(sun.sun_path,sizeof(sun.sun_path),"%s/ctl",ctl_socket); | ^~ ~~~~~~~~~~ In function 'snprintf', inlined from 'init' at datasock.c:457:2: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 5 and 4100 bytes into a destination of size 108 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ datasock.c: In function 'new_port_v1_v3': datasock.c:167:75: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 108 [-Wformat-truncation=] 167 | snprintf(sun_in.sun_path,sizeof(sun_in.sun_path),"%s/%03d.%d",ctl_socket,portno,fd_data); | ^~ ~~~~~~~~~~ datasock.c:167:74: note: directive argument in the range [0, 2147483647] 167 | snprintf(sun_in.sun_path,sizeof(sun_in.sun_path),"%s/%03d.%d",ctl_socket,portno,fd_data); | ^~~~~~~~~~~~ In function 'snprintf', inlined from 'new_port_v1_v3' at datasock.c:167:4: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 7 and 4119 bytes into a destination of size 108 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC consmgmt.o consmgmt.c: In function 'setmgmtperm': consmgmt.c:248:9: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 248 | chown(path, -1, mgmt_group); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ consmgmt.c: In function 'runscript': consmgmt.c:337:33: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 337 | asprintf(&scriptprompt,"vde[%s]: %s\n",path,buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ consmgmt.c:338:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 338 | write(fd,scriptprompt,strlen(scriptprompt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ consmgmt.c: In function 'handle_cmd': consmgmt.c:320:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 320 | write(fd,outbuf,outbufsize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ consmgmt.c: In function 'mgmtnewfd': consmgmt.c:376:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 376 | write(new,buf,strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ consmgmt.c:377:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 377 | write(new,prompt,strlen(prompt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ consmgmt.c: In function 'handle_io': consmgmt.c:413:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 413 | write(fd,prompt,strlen(prompt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ consmgmt.c:416:41: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 416 | write(fd,EOS,strlen(EOS)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ consmgmt.c:447:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 447 | write(new,buf,strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ consmgmt.c:448:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 448 | write(new,prompt,strlen(prompt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ consmgmt.c: At top level: consmgmt.c:932:13: warning: 'sighupmgmt' defined but not used [-Wunused-function] 932 | static void sighupmgmt(int signo) | ^~~~~~~~~~ CC fstp.o CC packetq.o CC tuntap.o CCLD vde_switch make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/vde2-2.3.2/src/vde_switch' make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/vde2-2.3.2/src/vde_switch' Making all in vde_over_ns make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/vde2-2.3.2/src/vde_over_ns' CC vde_over_ns.o CC dns.o dns.c: In function 'dns_constructpacket': dns.c:434:32: warning: variable 'ancount' set but not used [-Wunused-but-set-variable] 434 | int len, *offsets, qdcount, ancount, i; | ^~~~~~~ CC encode.o CC pstack.o CC queue.o CC util.o util.c: In function 'dwrite': util.c:55:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 55 | write(fd, buf, len); | ^~~~~~~~~~~~~~~~~~~ CC vde_io.o vde_io.c: In function 'send_vde': vde_io.c:210:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 210 | write(ofd,data,outlen); | ^~~~~~~~~~~~~~~~~~~~~~ vde_io.c:218:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 218 | write(ofd,outbuf,outlen); | ^~~~~~~~~~~~~~~~~~~~~~~~ CCLD vde_over_ns make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/vde2-2.3.2/src/vde_over_ns' Making all in vde_l3 make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/vde2-2.3.2/src/vde_l3' CC vde_l3.o vde_l3.c: In function 'arp_reply': vde_l3.c:539:21: warning: taking address of packed member of 'struct arp_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 539 | swap_ipaddr(&(ah->s_addr), &(ah->d_addr)); | ^~~~~~~~~~~~~ vde_l3.c:539:36: warning: taking address of packed member of 'struct arp_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 539 | swap_ipaddr(&(ah->s_addr), &(ah->d_addr)); | ^~~~~~~~~~~~~ vde_l3.c: In function 'newmgmtconn': vde_l3.c:1291:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1291 | write(new,buf,strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ vde_l3.c:1292:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1292 | write(new,prompt,strlen(prompt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vde_l3.c: In function 'mgmtcommand': vde_l3.c:1226:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1226 | write(outfd,prompt,strlen(prompt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vde_l3.c: In function 'printoutc': vde_l3.c:863:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 863 | write(fd,outbuf,strlen(outbuf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CCLD vde_l3 CC pfifo.lo CCLD pfifo.la CC tbf.lo CCLD tbf.la CC bfifo.lo CCLD bfifo.la make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/vde2-2.3.2/src/vde_l3' Making all in slirpvde make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/vde2-2.3.2/src/slirpvde' CC misc.o misc.c: In function 'u_sleep': misc.c:328:19: warning: passing argument 2 to 'restrict'-qualified parameter aliases with arguments 3, 4 [-Wrestrict] 328 | select(0, &fdset, &fdset, &fdset, &t); | ^~~~~~ ~~~~~~ ~~~~~~ CC cksum.o CC if.o CC ip_icmp.o CC ip_input.o In file included from ip_input.c:42: ./osdep.h:8:9: warning: "offsetof" redefined 8 | #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *) 0)->MEMBER) | ^~~~~~~~ In file included from /usr/include/rpc/netdb.h:42, from /usr/include/netdb.h:32, from ./slirp.h:300, from ip_input.c:41: /usr/lib/gcc/x86_64-mageia-linux/14/include/stddef.h:416:9: note: this is the location of the previous definition 416 | #define offsetof(TYPE, MEMBER) __builtin_offsetof (TYPE, MEMBER) | ^~~~~~~~ CC ip_output.o CC mbuf.o CC sbuf.o CC slirp.o In file included from slirp.h:179, from slirp.c:27: slirp.c: In function 'slirp_init': libslirp.h:12:24: warning: '__builtin_strncpy' specified bound 33 equals destination size [-Wstringop-truncation] 12 | #define pstrcpy(d,l,s) strncpy((d),(s),(l)) | ^~~~~~~ slirp.c:221:9: note: in expansion of macro 'pstrcpy' 221 | pstrcpy(slirp->client_hostname, sizeof(slirp->client_hostname), | ^~~~~~~ CC socket.o CC tcp_input.o CC tcp_output.o CC tcp_subr.o tcp_subr.c: In function 'tcp_fconnect': tcp_subr.c:341:25: warning: '__builtin_strncpy' specified bound 108 equals destination size [-Wstringop-truncation] 341 | strncpy(addr.sun_path,path,UNIX_PATH_MAX); | ^ CC tcp_timer.o CC udp.o CC bootp.o CC tcp2unix.o CC tftp.o tftp.c: In function 'tftp_send_error': tftp.c:164:7: warning: variable 'nobytes' set but not used [-Wunused-but-set-variable] 164 | int nobytes; | ^~~~~~~ In file included from ./slirp.h:179, from tftp.c:25: ./libslirp.h:12:24: warning: '__builtin_strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 12 | #define pstrcpy(d,l,s) strncpy((d),(s),(l)) | ^~~~~~~ tftp.c:180:3: note: in expansion of macro 'pstrcpy' 180 | pstrcpy((char *)tp->x.tp_error.tp_msg, sizeof(tp->x.tp_error.tp_msg), msg); | ^~~~~~~ CC slirpvde.o CCLD slirpvde make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/vde2-2.3.2/src/slirpvde' Making all in vdetaplib make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/vde2-2.3.2/src/vdetaplib' CC vdetap.o vdetap.c: In function 'main': vdetap.c:59:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 59 | asprintf(&descr,"tuntaplib %s/%s",argv[4],argv[3]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vdetap.c:77:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 77 | write(fd,bufin,nx); | ^~~~~~~~~~~~~~~~~~ CCLD vdetap CC libvdetap_la-libvdetap.lo libvdetap.c: In function 'getvdeopt': libvdetap.c:147:31: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 147 | snprintf(buf,16,"%s_%s",ifr->ifr_name,suffix); | ^ In file included from /usr/include/stdio.h:980, from libvdetap.c:6: In function 'snprintf', inlined from 'getvdeopt' at libvdetap.c:147:2: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 17) into a destination of size 16 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CCLD libvdetap.la make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/vde2-2.3.2/src/vdetaplib' Making all in vde_cryptcab make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/vde2-2.3.2/src/vde_cryptcab' CC crc32.o CC cryptcab.o CC vde_cryptcab_server.o CC vde_cryptcab_client.o CCLD vde_cryptcab make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/vde2-2.3.2/src/vde_cryptcab' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/vde2-2.3.2/src' CC dpipe.o dpipe.c: In function 'recmain': dpipe.c:87:17: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] 87 | pipe(p1); | ^~~~~~~~ dpipe.c:88:38: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] 88 | if (olddirchar == 0) pipe(p2); | ^~~~~~~~ dpipe.c: In function 'main': dpipe.c:203:17: warning: ignoring return value of 'daemon' declared with attribute 'warn_unused_result' [-Wunused-result] 203 | daemon(0,0); | ^~~~~~~~~~~ dpipe.c:225:9: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] 225 | pipe(p1); | ^~~~~~~~ dpipe.c:226:9: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] 226 | pipe(p2); | ^~~~~~~~ CCLD dpipe CC unixcmd.o unixcmd.c: In function 'main': unixcmd.c:73:22: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 73 | if (!rcfile) asprintf(&rcfile,"%s/%s",VDE_RC_DIR,basename(argv[0])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unixcmd.c:76:24: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 76 | if (!sockname) asprintf(&sockname,"%s/%s",VDE_SOCK_DIR,basename(argv[0])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unixcmd.c:87:24: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 87 | if(outbuf->sz) write(1, outbuf->buf, outbuf->sz); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CCLD unixcmd CC unixterm.o unixterm.c: In function 'main': unixterm.c:50:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 50 | write(fileout[i],buf,m); | ^~~~~~~~~~~~~~~~~~~~~~~ CCLD unixterm CC vde_autolink.o vde_autolink.c: In function 'printoutc': vde_autolink.c:151:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 151 | write(fd,outbuf,strlen(outbuf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vde_autolink.c: In function 'alink_connect': vde_autolink.c:396:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 396 | read(s[1],&sdata,sizeof(int)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vde_autolink.c:401:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 401 | write(s[0],&sdata,sizeof(int)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vde_autolink.c: In function 'newmgmtconn': vde_autolink.c:1180:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1180 | write(new,buf,strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ vde_autolink.c:1181:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1181 | write(new,prompt,strlen(prompt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vde_autolink.c: In function 'mgmtcommand': vde_autolink.c:1150:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1150 | write(fd,prompt,strlen(prompt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CCLD vde_autolink CC vde_plug2tap.o vde_plug2tap.c: In function 'main': vde_plug2tap.c:383:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 383 | write(tapfd,bufin,nx); | ^~~~~~~~~~~~~~~~~~~~~ CCLD vde_plug2tap CC vde_plug.o CCLD vde_plug CC vdeq.o vdeq.c: In function 'main': vdeq.c:498:25: warning: ignoring return value of 'daemon' declared with attribute 'warn_unused_result' [-Wunused-result] 498 | daemon(1,1); | ^~~~~~~~~~~ CCLD vdeq CC wirefilter.o wirefilter.c: In function 'markov_compute': wirefilter.c:136:13: error: type of 'i' defaults to 'int' [-Wimplicit-int] 136 | static void markov_compute(i) | ^~~~~~~~~~~~~~ wirefilter.c: In function 'main': wirefilter.c:1543:33: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1543 | asprintf(&blinkmsg,"%s 12345678901234567890",optarg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wirefilter.c:1557:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1557 | asprintf(&blinkmsg,"%06d 12345678901234567890",getpid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wirefilter.c: In function 'printoutc': wirefilter.c:977:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 977 | write(fd,outbuf,strlen(outbuf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wirefilter.c: In function 'mgmtcommand': wirefilter.c:1386:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1386 | write(outfd,prompt,strlen(prompt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wirefilter.c: In function 'newmgmtconn': wirefilter.c:956:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 956 | write(new,buf,strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ wirefilter.c:957:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 957 | write(new,prompt,strlen(prompt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:631: wirefilter.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/vde2-2.3.2/src' make[1]: *** [Makefile:662: all-recursive] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/vde2-2.3.2/src' make: *** [Makefile:405: all-recursive] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.lNiquL (%build) RPM build warnings: line 27: It's not recommended to have unversioned Obsoletes: Obsoletes: lib64vde2 line 62: It's not recommended to have unversioned Obsoletes: Obsoletes: lib64vde2-devel %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.lNiquL (%build) I: [iurt_root_command] ERROR: chroot