Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/vtun.spec'], chrootPath='/var/lib/mock/f33-build-297948-56031/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/vtun.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595980800 Wrote: /builddir/build/SRPMS/vtun-3.0.4-11.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/vtun.spec'], chrootPath='/var/lib/mock/f33-build-297948-56031/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/vtun.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595980800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8sKlOx + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf vtun-3.0.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/vtun-3.0.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd vtun-3.0.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (vtun-nostrip.patch):' Patch #0 (vtun-nostrip.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.in + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.EWgYRy + umask 022 + cd /builddir/build/BUILD + cd vtun-3.0.4 + autoconf + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -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 + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2020-08-14 17:03:17.240199071 -0400 +++ ./configure 2020-08-14 17:03:18.580199045 -0400 @@ -1813,7 +1813,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-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 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection --std=gnu89' configure: WARNING: unrecognized options: --disable-dependency-tracking checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu checking for bison... bison -y checking for riscv64-redhat-linux-gnu-gcc... gcc 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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for flex... flex checking lex output file root... lex.yy checking lex library... none needed checking whether yytext is a pointer... no checking for riscv64-redhat-linux-gnu-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking for a BSD-compatible install... /usr/bin/install -c checking for an ANSI C-conforming const... yes checking for inline... inline checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking resolv.h usability... yes checking resolv.h presence... yes checking for resolv.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netinet/ip.h usability... yes checking netinet/ip.h presence... yes checking for netinet/ip.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking netinet/tcp.h usability... yes checking netinet/tcp.h presence... yes checking for netinet/tcp.h... yes checking netinet/in_systm.h usability... yes checking netinet/in_systm.h presence... yes checking for netinet/in_systm.h... yes checking libutil.h usability... no checking libutil.h presence... no checking for libutil.h... no checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking for library containing socket... none required checking for library containing inet_ntoa... none required checking for library containing gethostbyname... none required checking for library containing nanosleep... none required checking for library containing setproctitle... no checking for pid_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes configure: checking for ZLIB Library and Header files ... ... checking for deflate in -lz... yes configure: checking for LZO Library and Header files ... ... checking "for lzo_asm.h"... (/usr/include/lzo) yes checking for lzo1x_decompress in -llzo2... yes configure: checking for md5 Library and Header files ... ... checking "for md5.h"... (/usr/include/openssl) yes configure: checking for blowfish Library and Header files ... ... checking "for blowfish.h"... (/usr/include/openssl) yes checking for BF_set_key in -lcrypto... yes configure: checking for AES Library and Header files ... ... checking "for aes.h"... (/usr/include/openssl) yes checking for AES_set_encrypt_key in -lcrypto... yes configure: checking for EVP Library and Header files ... ... checking "for evp.h"... (/usr/include/openssl) yes checking for EVP_EncryptInit in -lcrypto... yes checking for getpt... yes checking for grantpt... yes checking for unlockpt... yes checking for ptsname... yes checking linux/if_tun.h usability... yes checking linux/if_tun.h presence... yes checking for linux/if_tun.h... yes creating driver and protocol links ... linking generic/tun_dev.c to tun_dev.c linking generic/tap_dev.c to tap_dev.c linking generic/pty_dev.c to pty_dev.c linking generic/pipe_dev.c to pipe_dev.c linking generic/tcp_proto.c to tcp_proto.c linking generic/udp_proto.c to udp_proto.c linking linux/tun_dev.c to tun_dev.c linking linux/tap_dev.c to tap_dev.c configure: creating ./config.status config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: creating config.h configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j4 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection --std=gnu89 -I/usr/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c main.c bison -y -d -b cfg_file cfg_file.y gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection --std=gnu89 -I/usr/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c server.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection --std=gnu89 -I/usr/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c client.c cfg_file.y:72.1-7: warning: POSIX Yacc does not support %expect [-Wyacc] 72 | %expect 20 | ^~~~~~~ main.c: In function 'main': main.c:208:12: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 208 | close(0); dup(fd); | ^~~~~~~ main.c:209:12: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 209 | close(1); dup(fd); | ^~~~~~~ server.c: In function 'connection': main.c:210:19: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 210 | close(2); dup(fd); | ^~~~~~~ main.c:215:2: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 215 | chdir("/"); | ^~~~~~~~~~ server.c:70:58: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] 70 | if( getpeername(sock, (struct sockaddr *) &cl_addr, &opt) ){ | ^~~~ | | | int * In file included from server.c:32: /usr/include/sys/socket.h:131:26: note: expected 'socklen_t * __restrict__' {aka 'unsigned int * __restrict__'} but argument is of type 'int *' 131 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ server.c:75:58: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] 75 | if( getsockname(sock, (struct sockaddr *) &my_addr, &opt) < 0 ){ | ^~~~ | | | int * In file included from server.c:32: /usr/include/sys/socket.h:117:26: note: expected 'socklen_t * __restrict__' {aka 'unsigned int * __restrict__'} but argument is of type 'int *' 117 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ server.c: In function 'listener': server.c:160:47: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] 160 | if( (s1=accept(s,(struct sockaddr *)&cl_addr,&opt)) < 0 ) | ^~~~ | | | int * In file included from server.c:32: /usr/include/sys/socket.h:233:28: note: expected 'socklen_t * __restrict__' {aka 'unsigned int * __restrict__'} but argument is of type 'int *' 233 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection --std=gnu89 -I/usr/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c lib.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection --std=gnu89 -I/usr/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c llist.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection --std=gnu89 -I/usr/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c auth.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection --std=gnu89 -I/usr/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c tunnel.c lib.c: In function 'run_cmd': lib.c:309:8: warning: implicit declaration of function 'nanosleep' [-Wimplicit-function-declaration] 309 | nanosleep(&tm, NULL); | ^~~~~~~~~ auth.c: In function 'gen_chal': auth.c:67:15: warning: pointer targets in passing argument 1 of 'RAND_bytes' differ in signedness [-Wpointer-sign] 67 | RAND_bytes(buf, VTUN_CHAL_SIZE); | ^~~ | | | char * In file included from auth.c:63: /usr/include/openssl/rand.h:101:31: note: expected 'unsigned char *' but argument is of type 'char *' 101 | int RAND_bytes(unsigned char *buf, int num); | ~~~~~~~~~~~~~~~^~~ auth.c: In function 'encrypt_chal': auth.c:75:29: warning: pointer targets in passing argument 1 of 'MD5' differ in signedness [-Wpointer-sign] 75 | BF_set_key(&key, 16, MD5(pwd,strlen(pwd),NULL)); | ^~~ | | | char * In file included from auth.c:61: /usr/include/openssl/md5.h:113:41: note: expected 'const unsigned char *' but argument is of type 'char *' 113 | unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md); | ~~~~~~~~~~~~~~~~~~~~~^ auth.c:78:27: warning: pointer targets in passing argument 1 of 'BF_ecb_encrypt' differ in signedness [-Wpointer-sign] 78 | BF_ecb_encrypt(chal + i, chal + i, &key, BF_ENCRYPT); | ~~~~~^~~ | | | char * In file included from auth.c:62: /usr/include/openssl/blowfish.h:114:42: note: expected 'const unsigned char *' but argument is of type 'char *' 114 | void BF_ecb_encrypt(const unsigned char *in, unsigned char *out, | ~~~~~~~~~~~~~~~~~~~~~^~ auth.c:78:38: warning: pointer targets in passing argument 2 of 'BF_ecb_encrypt' differ in signedness [-Wpointer-sign] 78 | BF_ecb_encrypt(chal + i, chal + i, &key, BF_ENCRYPT); | ~~~~~^~~ | | | char * In file included from auth.c:62: /usr/include/openssl/blowfish.h:114:61: note: expected 'unsigned char *' but argument is of type 'char *' 114 | void BF_ecb_encrypt(const unsigned char *in, unsigned char *out, | ~~~~~~~~~~~~~~~^~~ auth.c: In function 'decrypt_chal': auth.c:86:29: warning: pointer targets in passing argument 1 of 'MD5' differ in signedness [-Wpointer-sign] 86 | BF_set_key(&key, 16, MD5(pwd,strlen(pwd),NULL)); | ^~~ | | | char * In file included from auth.c:61: /usr/include/openssl/md5.h:113:41: note: expected 'const unsigned char *' but argument is of type 'char *' 113 | unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md); | ~~~~~~~~~~~~~~~~~~~~~^ auth.c:89:27: warning: pointer targets in passing argument 1 of 'BF_ecb_encrypt' differ in signedness [-Wpointer-sign] 89 | BF_ecb_encrypt(chal + i, chal + i, &key, BF_DECRYPT); | ~~~~~^~~ | | | char * In file included from auth.c:62: /usr/include/openssl/blowfish.h:114:42: note: expected 'const unsigned char *' but argument is of type 'char *' 114 | void BF_ecb_encrypt(const unsigned char *in, unsigned char *out, | ~~~~~~~~~~~~~~~~~~~~~^~ auth.c:89:38: warning: pointer targets in passing argument 2 of 'BF_ecb_encrypt' differ in signedness [-Wpointer-sign] 89 | BF_ecb_encrypt(chal + i, chal + i, &key, BF_DECRYPT); | ~~~~~^~~ | | | char * In file included from auth.c:62: /usr/include/openssl/blowfish.h:114:61: note: expected 'unsigned char *' but argument is of type 'char *' 114 | void BF_ecb_encrypt(const unsigned char *in, unsigned char *out, | ~~~~~~~~~~~~~~~^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection --std=gnu89 -I/usr/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c lock.c tunnel.c: In function 'tunnel': tunnel.c:172:17: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 172 | close(0); dup(fd[1]); | ^~~~~~~~~~ tunnel.c:173:17: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 173 | close(1); dup(fd[1]); | ^~~~~~~~~~ tunnel.c:177:17: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 177 | close(2); dup(null_fd); | ^~~~~~~~~~~~ lock.c: In function 'lock_host': lock.c:133:15: warning: implicit declaration of function 'nanosleep' [-Wimplicit-function-declaration] 133 | nanosleep(&tm, NULL); | ^~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection --std=gnu89 -I/usr/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c netlib.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection --std=gnu89 -I/usr/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c tun_dev.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection --std=gnu89 -I/usr/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c tap_dev.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection --std=gnu89 -I/usr/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c pty_dev.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection --std=gnu89 -I/usr/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c pipe_dev.c netlib.c: In function 'connect_t': netlib.c:104:49: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] 104 | getsockopt(s,SOL_SOCKET,SO_ERROR,&errno,&l); | ^~ | | | int * In file included from netlib.c:37: /usr/include/sys/socket.h:210:32: note: expected 'socklen_t * __restrict__' {aka 'unsigned int * __restrict__'} but argument is of type 'int *' 210 | socklen_t *__restrict __optlen) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ netlib.c: In function 'udp_session': netlib.c:168:50: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] 168 | if( getsockname(s,(struct sockaddr *)&saddr,&opt) ){ | ^~~~ | | | int * In file included from netlib.c:37: /usr/include/sys/socket.h:117:26: note: expected 'socklen_t * __restrict__' {aka 'unsigned int * __restrict__'} but argument is of type 'int *' 117 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ netlib.c:188:61: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] 188 | if( getpeername(host->rmt_fd,(struct sockaddr *)&saddr,&opt) ){ | ^~~~ | | | int * In file included from netlib.c:37: /usr/include/sys/socket.h:131:26: note: expected 'socklen_t * __restrict__' {aka 'unsigned int * __restrict__'} but argument is of type 'int *' 131 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ netlib.c: In function 'local_addr': netlib.c:228:64: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] 228 | if( getsockname(host->rmt_fd, (struct sockaddr *)addr, &opt) < 0 ){ | ^~~~ | | | int * In file included from netlib.c:37: /usr/include/sys/socket.h:117:26: note: expected 'socklen_t * __restrict__' {aka 'unsigned int * __restrict__'} but argument is of type 'int *' 117 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ pty_dev.c: In function 'pty_open': pty_dev.c:45:15: warning: implicit declaration of function 'getpt'; did you mean 'getopt'? [-Wimplicit-function-declaration] 45 | if((mr_fd=getpt()) < 0) | ^~~~~ | getopt pty_dev.c:47:8: warning: implicit declaration of function 'grantpt' [-Wimplicit-function-declaration] 47 | if(grantpt(mr_fd) != 0) | ^~~~~~~ pty_dev.c:49:8: warning: implicit declaration of function 'unlockpt' [-Wimplicit-function-declaration] 49 | if(unlockpt(mr_fd) != 0) | ^~~~~~~~ pty_dev.c:51:27: warning: implicit declaration of function 'ptsname'; did you mean 'ptsname_r'? [-Wimplicit-function-declaration] 51 | if ((ptyname = (char*)ptsname(mr_fd)) == NULL) | ^~~~~~~ | ptsname_r pty_dev.c:51:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 51 | if ((ptyname = (char*)ptsname(mr_fd)) == NULL) | ^ In file included from /usr/include/string.h:519, from tun_dev.c:29: In function 'strncpy', inlined from 'tun_open_common' at tun_dev.c:96:8: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection --std=gnu89 -I/usr/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c tcp_proto.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection --std=gnu89 -I/usr/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c udp_proto.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection --std=gnu89 -I/usr/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c linkfd.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection --std=gnu89 -I/usr/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c lfd_shaper.c lfd_shaper.c: In function 'shaper_avail': lfd_shaper.c:118:7: warning: implicit declaration of function 'nanosleep' [-Wimplicit-function-declaration] 118 | nanosleep(&ts,NULL); | ^~~~~~~~~ linkfd.c: In function 'sig_alarm': linkfd.c:204:19: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 204 | if ( ka_timer*stat_timer ){ | ~~~~~~~~^~~~~~~~~~~ linkfd.c: In function 'linkfd': linkfd.c:380:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 380 | if(host->flags & VTUN_ENCRYPT) | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection --std=gnu89 -I/usr/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c lfd_zlib.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection --std=gnu89 -I/usr/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c lfd_lzo.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection --std=gnu89 -I/usr/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c lfd_encrypt.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection --std=gnu89 -I/usr/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c lfd_legacy_encrypt.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection --std=gnu89 -I/usr/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c cfg_file.tab.c lfd_encrypt.c: In function 'prep_key': lfd_encrypt.c:126:15: warning: pointer targets in passing argument 1 of 'MD5' differ in signedness [-Wpointer-sign] 126 | MD5(host->passwd, halflen, hashkey); | ~~~~^~~~~~~~ | | | char * In file included from lfd_encrypt.c:56: /usr/include/openssl/md5.h:113:41: note: expected 'const unsigned char *' but argument is of type 'char *' 113 | unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md); | ~~~~~~~~~~~~~~~~~~~~~^ lfd_encrypt.c:126:34: warning: pointer targets in passing argument 3 of 'MD5' differ in signedness [-Wpointer-sign] 126 | MD5(host->passwd, halflen, hashkey); | ^~~~~~~ | | | char * In file included from lfd_encrypt.c:56: /usr/include/openssl/md5.h:113:69: note: expected 'unsigned char *' but argument is of type 'char *' 113 | unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md); | ~~~~~~~~~~~~~~~^~ lfd_encrypt.c:127:25: warning: pointer targets in passing argument 1 of 'MD5' differ in signedness [-Wpointer-sign] 127 | MD5((host->passwd)+halflen, tmplen-halflen, hashkey+16); | ~~~~~~~~~~~~~~^~~~~~~~ | | | char * In file included from lfd_encrypt.c:56: /usr/include/openssl/md5.h:113:41: note: expected 'const unsigned char *' but argument is of type 'char *' 113 | unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md); | ~~~~~~~~~~~~~~~~~~~~~^ lfd_encrypt.c:127:58: warning: pointer targets in passing argument 3 of 'MD5' differ in signedness [-Wpointer-sign] 127 | MD5((host->passwd)+halflen, tmplen-halflen, hashkey+16); | ~~~~~~~^~~ | | | char * In file included from lfd_encrypt.c:56: /usr/include/openssl/md5.h:113:69: note: expected 'unsigned char *' but argument is of type 'char *' 113 | unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md); | ~~~~~~~~~~~~~~~^~ lfd_encrypt.c:131:15: warning: pointer targets in passing argument 1 of 'MD5' differ in signedness [-Wpointer-sign] 131 | MD5(host->passwd,strlen(host->passwd), hashkey); | ~~~~^~~~~~~~ | | | char * In file included from lfd_encrypt.c:56: /usr/include/openssl/md5.h:113:41: note: expected 'const unsigned char *' but argument is of type 'char *' 113 | unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md); | ~~~~~~~~~~~~~~~~~~~~~^ lfd_encrypt.c:131:46: warning: pointer targets in passing argument 3 of 'MD5' differ in signedness [-Wpointer-sign] 131 | MD5(host->passwd,strlen(host->passwd), hashkey); | ^~~~~~~ | | | char * In file included from lfd_encrypt.c:56: /usr/include/openssl/md5.h:113:69: note: expected 'unsigned char *' but argument is of type 'char *' 113 | unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md); | ~~~~~~~~~~~~~~~^~ lfd_encrypt.c: In function 'alloc_encrypt': lfd_encrypt.c:171:15: warning: pointer targets in passing argument 1 of 'RAND_bytes' differ in signedness [-Wpointer-sign] 171 | RAND_bytes((char *)&sequence_num, 4); | ^~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from lfd_encrypt.c:58: /usr/include/openssl/rand.h:101:31: note: expected 'unsigned char *' but argument is of type 'char *' 101 | int RAND_bytes(unsigned char *buf, int num); | ~~~~~~~~~~~~~~~^~~ lfd_encrypt.c:271:45: warning: pointer targets in passing argument 4 of 'EVP_EncryptInit_ex' differ in signedness [-Wpointer-sign] 271 | EVP_EncryptInit_ex(pctx_enc, NULL, NULL, pkey, NULL); | ^~~~ | | | char * In file included from lfd_encrypt.c:55: /usr/include/openssl/evp.h:626:59: note: expected 'const unsigned char *' but argument is of type 'char *' 626 | ENGINE *impl, const unsigned char *key, | ~~~~~~~~~~~~~~~~~~~~~^~~ lfd_encrypt.c:272:45: warning: pointer targets in passing argument 4 of 'EVP_DecryptInit_ex' differ in signedness [-Wpointer-sign] 272 | EVP_DecryptInit_ex(pctx_dec, NULL, NULL, pkey, NULL); | ^~~~ | | | char * In file included from lfd_encrypt.c:55: /usr/include/openssl/evp.h:636:59: note: expected 'const unsigned char *' but argument is of type 'char *' 636 | ENGINE *impl, const unsigned char *key, | ~~~~~~~~~~~~~~~~~~~~~^~~ lfd_encrypt.c: In function 'encrypt_buf': lfd_encrypt.c:325:24: warning: pointer targets in passing argument 1 of 'RAND_bytes' differ in signedness [-Wpointer-sign] 325 | RAND_bytes(in_ptr+len, blocksize-1); | ~~~~~~^~~~ | | | char * In file included from lfd_encrypt.c:58: /usr/include/openssl/rand.h:101:31: note: expected 'unsigned char *' but argument is of type 'char *' 101 | int RAND_bytes(unsigned char *buf, int num); | ~~~~~~~~~~~~~~~^~~ lfd_encrypt.c:326:32: warning: pointer targets in passing argument 2 of 'EVP_EncryptUpdate' differ in signedness [-Wpointer-sign] 326 | EVP_EncryptUpdate(&ctx_enc, out_ptr, &outlen, in_ptr, len+pad); | ^~~~~~~ | | | char * In file included from lfd_encrypt.c:55: /usr/include/openssl/evp.h:628:59: note: expected 'unsigned char *' but argument is of type 'char *' 628 | int EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, | ~~~~~~~~~~~~~~~^~~ lfd_encrypt.c:326:50: warning: pointer targets in passing argument 4 of 'EVP_EncryptUpdate' differ in signedness [-Wpointer-sign] 326 | EVP_EncryptUpdate(&ctx_enc, out_ptr, &outlen, in_ptr, len+pad); | ^~~~~~ | | | char * In file included from lfd_encrypt.c:55: /usr/include/openssl/evp.h:629:44: note: expected 'const unsigned char *' but argument is of type 'char *' 629 | const unsigned char *in, int inl); | ~~~~~~~~~~~~~~~~~~~~~^~ lfd_encrypt.c: In function 'decrypt_buf': lfd_encrypt.c:346:32: warning: pointer targets in passing argument 2 of 'EVP_DecryptUpdate' differ in signedness [-Wpointer-sign] 346 | EVP_DecryptUpdate(&ctx_dec, out_ptr, &outlen, in_ptr, len); | ^~~~~~~ | | | char * In file included from lfd_encrypt.c:55: /usr/include/openssl/evp.h:638:59: note: expected 'unsigned char *' but argument is of type 'char *' 638 | int EVP_DecryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, | ~~~~~~~~~~~~~~~^~~ lfd_encrypt.c:346:50: warning: pointer targets in passing argument 4 of 'EVP_DecryptUpdate' differ in signedness [-Wpointer-sign] 346 | EVP_DecryptUpdate(&ctx_dec, out_ptr, &outlen, in_ptr, len); | ^~~~~~ | | | char * In file included from lfd_encrypt.c:55: /usr/include/openssl/evp.h:639:44: note: expected 'const unsigned char *' but argument is of type 'char *' 639 | const unsigned char *in, int inl); | ~~~~~~~~~~~~~~~~~~~~~^~ flex -t cfg_file.l > cfg_file.lex.c lfd_encrypt.c: In function 'cipher_enc_init': lfd_encrypt.c:438:45: warning: pointer targets in passing argument 4 of 'EVP_EncryptInit_ex' differ in signedness [-Wpointer-sign] 438 | EVP_EncryptInit_ex(&ctx_enc, NULL, NULL, pkey, NULL); | ^~~~ | | | char * In file included from lfd_encrypt.c:55: /usr/include/openssl/evp.h:626:59: note: expected 'const unsigned char *' but argument is of type 'char *' 626 | ENGINE *impl, const unsigned char *key, | ~~~~~~~~~~~~~~~~~~~~~^~~ lfd_encrypt.c:439:51: warning: pointer targets in passing argument 5 of 'EVP_EncryptInit_ex' differ in signedness [-Wpointer-sign] 439 | EVP_EncryptInit_ex(&ctx_enc, NULL, NULL, NULL, iv); | ^~ | | | char * In file included from lfd_encrypt.c:55: /usr/include/openssl/evp.h:627:45: note: expected 'const unsigned char *' but argument is of type 'char *' 627 | const unsigned char *iv); | ~~~~~~~~~~~~~~~~~~~~~^~ lfd_encrypt.c: In function 'cipher_dec_init': lfd_encrypt.c:528:45: warning: pointer targets in passing argument 4 of 'EVP_DecryptInit_ex' differ in signedness [-Wpointer-sign] 528 | EVP_DecryptInit_ex(&ctx_dec, NULL, NULL, pkey, NULL); | ^~~~ | | | char * In file included from lfd_encrypt.c:55: /usr/include/openssl/evp.h:636:59: note: expected 'const unsigned char *' but argument is of type 'char *' 636 | ENGINE *impl, const unsigned char *key, | ~~~~~~~~~~~~~~~~~~~~~^~~ lfd_encrypt.c:529:51: warning: pointer targets in passing argument 5 of 'EVP_DecryptInit_ex' differ in signedness [-Wpointer-sign] 529 | EVP_DecryptInit_ex(&ctx_dec, NULL, NULL, NULL, iv); | ^~ | | | char * In file included from lfd_encrypt.c:55: /usr/include/openssl/evp.h:637:45: note: expected 'const unsigned char *' but argument is of type 'char *' 637 | const unsigned char *iv); | ~~~~~~~~~~~~~~~~~~~~~^~ lfd_encrypt.c: In function 'send_msg': lfd_encrypt.c:550:21: warning: pointer targets in passing argument 1 of 'RAND_bytes' differ in signedness [-Wpointer-sign] 550 | RAND_bytes(iv, blocksize); | ^~ | | | char * In file included from lfd_encrypt.c:58: /usr/include/openssl/rand.h:101:31: note: expected 'unsigned char *' but argument is of type 'char *' 101 | int RAND_bytes(unsigned char *buf, int num); | ~~~~~~~~~~~~~~~^~~ lfd_encrypt.c:558:21: warning: pointer targets in passing argument 1 of 'RAND_bytes' differ in signedness [-Wpointer-sign] 558 | RAND_bytes(in_ptr, in - in_ptr); | ^~~~~~ | | | char * In file included from lfd_encrypt.c:58: /usr/include/openssl/rand.h:101:31: note: expected 'unsigned char *' but argument is of type 'char *' 101 | int RAND_bytes(unsigned char *buf, int num); | ~~~~~~~~~~~~~~~^~~ lfd_encrypt.c:562:42: warning: pointer targets in passing argument 2 of 'EVP_EncryptUpdate' differ in signedness [-Wpointer-sign] 562 | EVP_EncryptUpdate(&ctx_enc_ecb, in_ptr, | ^~~~~~ | | | char * In file included from lfd_encrypt.c:55: /usr/include/openssl/evp.h:628:59: note: expected 'unsigned char *' but argument is of type 'char *' 628 | int EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, | ~~~~~~~~~~~~~~~^~~ lfd_encrypt.c:563:22: warning: pointer targets in passing argument 4 of 'EVP_EncryptUpdate' differ in signedness [-Wpointer-sign] 563 | &outlen, in_ptr, blocksize*2); | ^~~~~~ | | | char * In file included from lfd_encrypt.c:55: /usr/include/openssl/evp.h:629:44: note: expected 'const unsigned char *' but argument is of type 'char *' 629 | const unsigned char *in, int inl); | ~~~~~~~~~~~~~~~~~~~~~^~ lfd_encrypt.c: In function 'recv_msg': lfd_encrypt.c:589:42: warning: pointer targets in passing argument 2 of 'EVP_DecryptUpdate' differ in signedness [-Wpointer-sign] 589 | EVP_DecryptUpdate(&ctx_dec_ecb, in_ptr, &outlen, in_ptr, blocksize*2); | ^~~~~~ | | | char * In file included from lfd_encrypt.c:55: /usr/include/openssl/evp.h:638:59: note: expected 'unsigned char *' but argument is of type 'char *' 638 | int EVP_DecryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, | ~~~~~~~~~~~~~~~^~~ lfd_encrypt.c:589:59: warning: pointer targets in passing argument 4 of 'EVP_DecryptUpdate' differ in signedness [-Wpointer-sign] 589 | EVP_DecryptUpdate(&ctx_dec_ecb, in_ptr, &outlen, in_ptr, blocksize*2); | ^~~~~~ | | | char * In file included from lfd_encrypt.c:55: /usr/include/openssl/evp.h:639:44: note: expected 'const unsigned char *' but argument is of type 'char *' 639 | const unsigned char *in, int inl); | ~~~~~~~~~~~~~~~~~~~~~^~ lfd_encrypt.c: In function 'send_ib_mesg': lfd_encrypt.c:665:36: warning: implicit declaration of function 'htonl' [-Wimplicit-function-declaration] 665 | *((unsigned long *)in_ptr) = htonl(sequence_num); | ^~~~~ At top level: lfd_encrypt.c:96:15: warning: 'iv_buf' defined but not used [-Wunused-variable] 96 | static char * iv_buf; | ^~~~~~ lfd_encrypt.c:67:15: warning: 'key' defined but not used [-Wunused-variable] 67 | static BF_KEY key; | ^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection --std=gnu89 -I/usr/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c cfg_file.lex.c lfd_legacy_encrypt.c: In function 'alloc_legacy_encrypt': lfd_legacy_encrypt.c:74:43: warning: pointer targets in passing argument 1 of 'MD5' differ in signedness [-Wpointer-sign] 74 | BF_set_key(&key, ENC_KEY_SIZE, MD5(host->passwd,strlen(host->passwd),NULL)); | ~~~~^~~~~~~~ | | | char * In file included from lfd_legacy_encrypt.c:54: /usr/include/openssl/md5.h:113:41: note: expected 'const unsigned char *' but argument is of type 'char *' 113 | unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md); | ~~~~~~~~~~~~~~~~~~~~~^ lfd_legacy_encrypt.c: In function 'legacy_encrypt_buf': lfd_legacy_encrypt.c:97:19: warning: pointer targets in passing argument 1 of 'BF_ecb_encrypt' differ in signedness [-Wpointer-sign] 97 | BF_ecb_encrypt(out_ptr, out_ptr, &key, BF_ENCRYPT); | ^~~~~~~ | | | char * In file included from lfd_legacy_encrypt.c:55: /usr/include/openssl/blowfish.h:114:42: note: expected 'const unsigned char *' but argument is of type 'char *' 114 | void BF_ecb_encrypt(const unsigned char *in, unsigned char *out, | ~~~~~~~~~~~~~~~~~~~~~^~ lfd_legacy_encrypt.c:97:28: warning: pointer targets in passing argument 2 of 'BF_ecb_encrypt' differ in signedness [-Wpointer-sign] 97 | BF_ecb_encrypt(out_ptr, out_ptr, &key, BF_ENCRYPT); | ^~~~~~~ | | | char * In file included from lfd_legacy_encrypt.c:55: /usr/include/openssl/blowfish.h:114:61: note: expected 'unsigned char *' but argument is of type 'char *' 114 | void BF_ecb_encrypt(const unsigned char *in, unsigned char *out, | ~~~~~~~~~~~~~~~^~~ lfd_legacy_encrypt.c:102:29: warning: pointer targets in passing argument 1 of 'BF_ecb_encrypt' differ in signedness [-Wpointer-sign] 102 | BF_ecb_encrypt(in_ptr + p, out_ptr + p, &key, BF_ENCRYPT); | ~~~~~~~^~~ | | | char * In file included from lfd_legacy_encrypt.c:55: /usr/include/openssl/blowfish.h:114:42: note: expected 'const unsigned char *' but argument is of type 'char *' 114 | void BF_ecb_encrypt(const unsigned char *in, unsigned char *out, | ~~~~~~~~~~~~~~~~~~~~~^~ lfd_legacy_encrypt.c:102:43: warning: pointer targets in passing argument 2 of 'BF_ecb_encrypt' differ in signedness [-Wpointer-sign] 102 | BF_ecb_encrypt(in_ptr + p, out_ptr + p, &key, BF_ENCRYPT); | ~~~~~~~~^~~ | | | char * In file included from lfd_legacy_encrypt.c:55: /usr/include/openssl/blowfish.h:114:61: note: expected 'unsigned char *' but argument is of type 'char *' 114 | void BF_ecb_encrypt(const unsigned char *in, unsigned char *out, | ~~~~~~~~~~~~~~~^~~ lfd_legacy_encrypt.c: In function 'legacy_decrypt_buf': lfd_legacy_encrypt.c:113:25: warning: pointer targets in passing argument 1 of 'BF_ecb_encrypt' differ in signedness [-Wpointer-sign] 113 | BF_ecb_encrypt(in + p, in + p, &key, BF_DECRYPT); | ~~~^~~ | | | char * In file included from lfd_legacy_encrypt.c:55: /usr/include/openssl/blowfish.h:114:42: note: expected 'const unsigned char *' but argument is of type 'char *' 114 | void BF_ecb_encrypt(const unsigned char *in, unsigned char *out, | ~~~~~~~~~~~~~~~~~~~~~^~ lfd_legacy_encrypt.c:113:33: warning: pointer targets in passing argument 2 of 'BF_ecb_encrypt' differ in signedness [-Wpointer-sign] 113 | BF_ecb_encrypt(in + p, in + p, &key, BF_DECRYPT); | ~~~^~~ | | | char * In file included from lfd_legacy_encrypt.c:55: /usr/include/openssl/blowfish.h:114:61: note: expected 'unsigned char *' but argument is of type 'char *' 114 | void BF_ecb_encrypt(const unsigned char *in, unsigned char *out, | ~~~~~~~~~~~~~~~^~~ In file included from cfg_file.y:35: lib.h: In function 'read_n': lib.h:76:13: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 76 | if( (w = read(fd, buf, len)) < 0 ){ | ^~~~ | fread lib.h: In function 'write_n': lib.h:95:14: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 95 | if( (w = write(fd, buf, len)) < 0 ){ | ^~~~~ | fwrite :1353:16: warning: 'input' defined but not used [-Wunused-function] :1310:17: warning: 'yyunput' defined but not used [-Wunused-function] In file included from /usr/include/string.h:519, from lfd_encrypt.c:45: In function 'strncpy', inlined from 'send_msg' at lfd_encrypt.c:551:10, inlined from 'encrypt_buf' at lfd_encrypt.c:311:14: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'send_ib_mesg' at lfd_encrypt.c:663:7, inlined from 'encrypt_buf' at lfd_encrypt.c:317:4: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'send_ib_mesg' at lfd_encrypt.c:675:7, inlined from 'encrypt_buf' at lfd_encrypt.c:317:4: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection --std=gnu89 -I/usr/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -o vtund main.o cfg_file.tab.o cfg_file.lex.o server.o client.o lib.o llist.o auth.o tunnel.o lock.o netlib.o tun_dev.o tap_dev.o pty_dev.o pipe_dev.o tcp_proto.o udp_proto.o linkfd.o lfd_shaper.o lfd_zlib.o lfd_lzo.o lfd_encrypt.o lfd_legacy_encrypt.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lz -llzo2 -lcrypto + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.rbASpy + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/vtun-3.0.4-11.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/vtun-3.0.4-11.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/vtun-3.0.4-11.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/vtun-3.0.4-11.fc33.riscv64 + cd vtun-3.0.4 + install -D -m 0644 -p /builddir/build/SOURCES/vtun.socket /builddir/build/BUILDROOT/vtun-3.0.4-11.fc33.riscv64//usr/lib/systemd/system/vtun.socket + install -D -m 0644 -p /builddir/build/SOURCES/vtun.service /builddir/build/BUILDROOT/vtun-3.0.4-11.fc33.riscv64//usr/lib/systemd/system/vtun.service + install -D -m 0644 -p /builddir/build/SOURCES/vtun.sysconfig /builddir/build/BUILDROOT/vtun-3.0.4-11.fc33.riscv64//etc/sysconfig/vtun + make install DESTDIR=/builddir/build/BUILDROOT/vtun-3.0.4-11.fc33.riscv64 INSTALL_OWNER= 'INSTALL=/usr/bin/install -p' /usr/bin/install -p -d -m 755 /builddir/build/BUILDROOT/vtun-3.0.4-11.fc33.riscv64/etc if [ ! -f /etc/vtund.conf ]; then \ /usr/bin/install -p -m 600 vtund.conf /builddir/build/BUILDROOT/vtun-3.0.4-11.fc33.riscv64/etc; \ fi /usr/bin/install -p -d -m 755 /builddir/build/BUILDROOT/vtun-3.0.4-11.fc33.riscv64/usr/share/man/man8 /usr/bin/install -p -m 644 vtund.8 /builddir/build/BUILDROOT/vtun-3.0.4-11.fc33.riscv64/usr/share/man/man8 /usr/bin/install -p -d -m 755 /builddir/build/BUILDROOT/vtun-3.0.4-11.fc33.riscv64/usr/share/man/man5 /usr/bin/install -p -m 644 vtund.conf.5 /builddir/build/BUILDROOT/vtun-3.0.4-11.fc33.riscv64/usr/share/man/man5 rm -f /builddir/build/BUILDROOT/vtun-3.0.4-11.fc33.riscv64/usr/share/man/man8/vtun.8 ln -s vtund.8 /builddir/build/BUILDROOT/vtun-3.0.4-11.fc33.riscv64/usr/share/man/man8/vtun.8 /usr/bin/install -p -d -m 755 /builddir/build/BUILDROOT/vtun-3.0.4-11.fc33.riscv64/var/run /usr/bin/install -p -d -m 755 /builddir/build/BUILDROOT/vtun-3.0.4-11.fc33.riscv64/var/log/vtund /usr/bin/install -p -d -m 755 /builddir/build/BUILDROOT/vtun-3.0.4-11.fc33.riscv64/var/lock/vtund /usr/bin/install -p -d -m 755 /builddir/build/BUILDROOT/vtun-3.0.4-11.fc33.riscv64/usr/sbin /usr/bin/install -p -m 755 vtund /builddir/build/BUILDROOT/vtun-3.0.4-11.fc33.riscv64/usr/sbin + mkdir -p /builddir/build/BUILDROOT/vtun-3.0.4-11.fc33.riscv64//usr/lib/tmpfiles.d + cat + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.0.4-11.fc33 --unique-debug-suffix -3.0.4-11.fc33.riscv64 --unique-debug-src-base vtun-3.0.4-11.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/vtun-3.0.4 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/vtun-3.0.4-11.fc33.riscv64/usr/sbin/vtund extracting debug info from /builddir/build/BUILDROOT/vtun-3.0.4-11.fc33.riscv64/usr/sbin/vtund original debug info size: 796kB, size after compression: 756kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 446 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: vtun-3.0.4-11.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.20AO8x + umask 022 + cd /builddir/build/BUILD + cd vtun-3.0.4 + DOCDIR=/builddir/build/BUILDROOT/vtun-3.0.4-11.fc33.riscv64/usr/share/doc/vtun + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/vtun-3.0.4-11.fc33.riscv64/usr/share/doc/vtun + cp -pr ChangeLog /builddir/build/BUILDROOT/vtun-3.0.4-11.fc33.riscv64/usr/share/doc/vtun + cp -pr Credits /builddir/build/BUILDROOT/vtun-3.0.4-11.fc33.riscv64/usr/share/doc/vtun + cp -pr FAQ /builddir/build/BUILDROOT/vtun-3.0.4-11.fc33.riscv64/usr/share/doc/vtun + cp -pr README /builddir/build/BUILDROOT/vtun-3.0.4-11.fc33.riscv64/usr/share/doc/vtun + cp -pr README.LZO /builddir/build/BUILDROOT/vtun-3.0.4-11.fc33.riscv64/usr/share/doc/vtun + cp -pr README.Setup /builddir/build/BUILDROOT/vtun-3.0.4-11.fc33.riscv64/usr/share/doc/vtun + cp -pr README.Shaper /builddir/build/BUILDROOT/vtun-3.0.4-11.fc33.riscv64/usr/share/doc/vtun + cp -pr TODO /builddir/build/BUILDROOT/vtun-3.0.4-11.fc33.riscv64/usr/share/doc/vtun + cp -pr vtund.conf /builddir/build/BUILDROOT/vtun-3.0.4-11.fc33.riscv64/usr/share/doc/vtun + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(vtun) = 3.0.4-11.fc33 vtun = 3.0.4-11.fc33 vtun(riscv-64) = 3.0.4-11.fc33 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd-units Requires(preun): /bin/sh systemd-units Requires(postun): /bin/sh systemd-units Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcrypto.so.10()(64bit) libcrypto.so.10(libcrypto.so.10)(64bit) liblzo2.so.2()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: vtun-debugsource-3.0.4-11.fc33.riscv64 Provides: vtun-debugsource = 3.0.4-11.fc33 vtun-debugsource(riscv-64) = 3.0.4-11.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: vtun-debuginfo-3.0.4-11.fc33.riscv64 Provides: debuginfo(build-id) = 367bd8b6e97142e36f969528f04a3fb09e2331d9 vtun-debuginfo = 3.0.4-11.fc33 vtun-debuginfo(riscv-64) = 3.0.4-11.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: vtun-debugsource(riscv-64) = 3.0.4-11.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/vtun-3.0.4-11.fc33.riscv64 Wrote: /builddir/build/RPMS/vtun-3.0.4-11.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/vtun-debuginfo-3.0.4-11.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/vtun-debugsource-3.0.4-11.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.UbKWjx + umask 022 + cd /builddir/build/BUILD + cd vtun-3.0.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/vtun-3.0.4-11.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0