<86>Apr 14 01:10:55 userdel[77577]: delete user 'rooter' <86>Apr 14 01:10:55 userdel[77577]: removed group 'rooter' owned by 'rooter' <86>Apr 14 01:10:55 userdel[77577]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 14 01:10:55 groupadd[77589]: group added to /etc/group: name=rooter, GID=639 <86>Apr 14 01:10:55 groupadd[77589]: group added to /etc/gshadow: name=rooter <86>Apr 14 01:10:55 groupadd[77589]: new group: name=rooter, GID=639 <86>Apr 14 01:10:55 useradd[77597]: new user: name=rooter, UID=639, GID=639, home=/root, shell=/bin/bash <86>Apr 14 01:10:55 userdel[77654]: delete user 'builder' <86>Apr 14 01:10:55 userdel[77654]: removed group 'builder' owned by 'builder' <86>Apr 14 01:10:55 userdel[77654]: removed shadow group 'builder' owned by 'builder' <86>Apr 14 01:10:55 groupadd[77665]: group added to /etc/group: name=builder, GID=640 <86>Apr 14 01:10:55 groupadd[77665]: group added to /etc/gshadow: name=builder <86>Apr 14 01:10:55 groupadd[77665]: new group: name=builder, GID=640 <86>Apr 14 01:10:55 useradd[77679]: new user: name=builder, UID=640, GID=640, home=/usr/src, shell=/bin/bash <13>Apr 14 01:10:58 rpmi: libcom_err-1.42.13-alt2 1449075846 installed <13>Apr 14 01:10:58 rpmi: libverto-0.2.6-alt1_6 1455633234 installed <13>Apr 14 01:10:58 rpmi: libverto-devel-0.2.6-alt1_6 1455633234 installed <13>Apr 14 01:10:58 rpmi: libcom_err-devel-1.42.13-alt2 1449075846 installed <13>Apr 14 01:10:58 rpmi: liblzo2-2.08-alt1 1405435908 installed <13>Apr 14 01:10:58 rpmi: libkeyutils-1.5.10-alt0.M80P.2 p8+216694.100.6.1 1547827915 installed <13>Apr 14 01:10:58 rpmi: ca-certificates-2016.02.25-alt1 1462368370 installed <13>Apr 14 01:10:58 rpmi: libcrypto10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Apr 14 01:10:58 rpmi: liblzo2-devel-2.08-alt1 1405435908 installed <13>Apr 14 01:10:58 rpmi: zlib-devel-1.2.8-alt1 1371079009 installed <13>Apr 14 01:10:58 rpmi: flex-2.6.0-alt1 1449073214 installed <86>Apr 14 01:10:58 groupadd[85833]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 14 01:10:58 groupadd[85833]: new group: name=_keytab, GID=499 <13>Apr 14 01:10:58 rpmi: libkrb5-1.14.6-alt1.M80P.1 1525355673 installed <13>Apr 14 01:10:58 rpmi: libssl10-1.0.2n-alt0.M80P.1 1512766129 installed <86>Apr 14 01:10:58 groupadd[86069]: group added to /etc/group: name=sasl, GID=498 <86>Apr 14 01:10:58 groupadd[86069]: group added to /etc/gshadow: name=sasl <86>Apr 14 01:10:58 groupadd[86069]: new group: name=sasl, GID=498 <13>Apr 14 01:10:58 rpmi: libsasl2-3-2.1.26-alt7 1479477445 installed <13>Apr 14 01:10:59 rpmi: libldap-2.4.45-alt1.M80P.1 1513980376 installed <13>Apr 14 01:10:59 rpmi: libkrb5-ldap-1.14.6-alt1.M80P.1 1525355673 installed <13>Apr 14 01:10:59 rpmi: libkrb5-devel-1.14.6-alt1.M80P.1 1525355673 installed <13>Apr 14 01:10:59 rpmi: libssl-devel-1.0.2n-alt0.M80P.1 1512766129 installed Installing vtund-3.0.3-alt3.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.17767 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf vtun-3.0.3 + echo 'Source #0 (vtun-3.0.3.tar.gz):' Source #0 (vtun-3.0.3.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/vtun-3.0.3.tar.gz + /bin/tar -xf - + cd vtun-3.0.3 + /bin/chmod -c -Rf u+rwX,go-w . + aclocal aclocal-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' + autoconf + CFLAGS='-pipe -Wall -g -O2 -std=gnu89' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2 -std=gnu89' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2 -std=gnu89' + export FFLAGS + '[' -n '' ']' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' ++ printf %s '-pipe -Wall -g -O2 "-std=gnu89"' + ASFLAGS=' "-std=gnu89"' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + sort -u + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + xargs -ri dirname -- '{}' + readlink -e -- ./configure + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --without-included-gettext configure: WARNING: unrecognized options: --disable-dependency-tracking, --without-included-gettext checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking target system type... x86_64-alt-linux-gnu checking for bison... bison -y checking for x86_64-alt-linux-gcc... x86_64-alt-linux-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 x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for x86_64-alt-linux-gcc... (cached) x86_64-alt-linux-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-alt-linux-gcc accepts -g... (cached) yes checking for x86_64-alt-linux-gcc option to accept ISO C89... (cached) none needed checking for a BSD-compatible install... /bin/install -c checking for an ANSI C-conforming const... yes checking for inline... inline checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /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 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, --without-included-gettext + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.67159 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd vtun-3.0.3 + '[' -n '' ']' + NPROCS=8 + make -j8 make: Entering directory `/usr/src/RPM/BUILD/vtun-3.0.3' x86_64-alt-linux-gcc -pipe -Wall -g -O2 -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/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c main.c bison -y -d -b cfg_file cfg_file.y x86_64-alt-linux-gcc -pipe -Wall -g -O2 -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/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c server.c x86_64-alt-linux-gcc -pipe -Wall -g -O2 -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/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c client.c x86_64-alt-linux-gcc -pipe -Wall -g -O2 -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/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c lib.c x86_64-alt-linux-gcc -pipe -Wall -g -O2 -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/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c llist.c x86_64-alt-linux-gcc -pipe -Wall -g -O2 -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/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c auth.c x86_64-alt-linux-gcc -pipe -Wall -g -O2 -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/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c tunnel.c main.c: In function 'main': main.c:186:12: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] close(0); dup(fd); ^ main.c:187:12: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] close(1); dup(fd); ^ main.c:188:19: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] close(2); dup(fd); ^ main.c:193:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^ 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] RAND_bytes(buf, VTUN_CHAL_SIZE); ^ In file included from auth.c:63:0: /usr/include/openssl/rand.h:101:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] BF_set_key(&key, 16, MD5(pwd,strlen(pwd),NULL)); ^ In file included from auth.c:61:0: /usr/include/openssl/md5.h:113:16: note: expected 'const unsigned char *' but argument is of type 'char *' unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md); ^ auth.c:78:22: warning: pointer targets in passing argument 1 of 'BF_ecb_encrypt' differ in signedness [-Wpointer-sign] BF_ecb_encrypt(chal + i, chal + i, &key, BF_ENCRYPT); ^ In file included from auth.c:62:0: /usr/include/openssl/blowfish.h:114:6: note: expected 'const unsigned char *' but argument is of type 'char *' void BF_ecb_encrypt(const unsigned char *in, unsigned char *out, ^ auth.c:78:33: warning: pointer targets in passing argument 2 of 'BF_ecb_encrypt' differ in signedness [-Wpointer-sign] BF_ecb_encrypt(chal + i, chal + i, &key, BF_ENCRYPT); ^ In file included from auth.c:62:0: /usr/include/openssl/blowfish.h:114:6: note: expected 'unsigned char *' but argument is of type 'char *' 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] BF_set_key(&key, 16, MD5(pwd,strlen(pwd),NULL)); ^ In file included from auth.c:61:0: /usr/include/openssl/md5.h:113:16: note: expected 'const unsigned char *' but argument is of type 'char *' unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md); ^ auth.c:89:22: warning: pointer targets in passing argument 1 of 'BF_ecb_encrypt' differ in signedness [-Wpointer-sign] BF_ecb_encrypt(chal + i, chal + i, &key, BF_DECRYPT); ^ In file included from auth.c:62:0: /usr/include/openssl/blowfish.h:114:6: note: expected 'const unsigned char *' but argument is of type 'char *' void BF_ecb_encrypt(const unsigned char *in, unsigned char *out, ^ auth.c:89:33: warning: pointer targets in passing argument 2 of 'BF_ecb_encrypt' differ in signedness [-Wpointer-sign] BF_ecb_encrypt(chal + i, chal + i, &key, BF_DECRYPT); ^ In file included from auth.c:62:0: /usr/include/openssl/blowfish.h:114:6: note: expected 'unsigned char *' but argument is of type 'char *' void BF_ecb_encrypt(const unsigned char *in, unsigned char *out, ^ lib.c: In function 'run_cmd': lib.c:305:8: warning: implicit declaration of function 'nanosleep' [-Wimplicit-function-declaration] nanosleep(&tm, NULL); ^ server.c: In function 'connection': server.c:70:58: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] if( getpeername(sock, (struct sockaddr *) &cl_addr, &opt) ){ ^ In file included from server.c:32:0: /usr/include/sys/socket.h:141:12: note: expected 'socklen_t * __restrict__ {aka unsigned int * __restrict__}' but argument is of type 'int *' extern int getpeername (int __fd, __SOCKADDR_ARG __addr, ^ server.c:75:58: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if( getsockname(sock, (struct sockaddr *) &my_addr, &opt) < 0 ){ ^ In file included from server.c:32:0: /usr/include/sys/socket.h:127:12: note: expected 'socklen_t * __restrict__ {aka unsigned int * __restrict__}' but argument is of type 'int *' extern int getsockname (int __fd, __SOCKADDR_ARG __addr, ^ server.c: In function 'listener': server.c:159:47: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] if( (s1=accept(s,(struct sockaddr *)&cl_addr,&opt)) < 0 ) ^ In file included from server.c:32:0: /usr/include/sys/socket.h:243:12: note: expected 'socklen_t * __restrict__ {aka unsigned int * __restrict__}' but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^ x86_64-alt-linux-gcc -pipe -Wall -g -O2 -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/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c lock.c tunnel.c: In function 'tunnel': tunnel.c:171:17: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] close(0); dup(fd[1]); ^ tunnel.c:172:17: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] close(1); dup(fd[1]); ^ tunnel.c:176:17: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] close(2); dup(null_fd); ^ x86_64-alt-linux-gcc -pipe -Wall -g -O2 -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/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c netlib.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] getsockopt(s,SOL_SOCKET,SO_ERROR,&errno,&l); ^ In file included from netlib.c:37:0: /usr/include/sys/socket.h:219:12: note: expected 'socklen_t * __restrict__ {aka unsigned int * __restrict__}' but argument is of type 'int *' extern int getsockopt (int __fd, int __level, int __optname, ^ netlib.c: In function 'udp_session': netlib.c:168:50: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if( getsockname(s,(struct sockaddr *)&saddr,&opt) ){ ^ In file included from netlib.c:37:0: /usr/include/sys/socket.h:127:12: note: expected 'socklen_t * __restrict__ {aka unsigned int * __restrict__}' but argument is of type 'int *' extern int getsockname (int __fd, __SOCKADDR_ARG __addr, ^ netlib.c:188:61: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] if( getpeername(host->rmt_fd,(struct sockaddr *)&saddr,&opt) ){ ^ In file included from netlib.c:37:0: /usr/include/sys/socket.h:141:12: note: expected 'socklen_t * __restrict__ {aka unsigned int * __restrict__}' but argument is of type 'int *' extern int getpeername (int __fd, __SOCKADDR_ARG __addr, ^ netlib.c: In function 'local_addr': netlib.c:228:64: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if( getsockname(host->rmt_fd, (struct sockaddr *)addr, &opt) < 0 ){ ^ In file included from netlib.c:37:0: /usr/include/sys/socket.h:127:12: note: expected 'socklen_t * __restrict__ {aka unsigned int * __restrict__}' but argument is of type 'int *' extern int getsockname (int __fd, __SOCKADDR_ARG __addr, ^ lock.c: In function 'lock_host': lock.c:133:15: warning: implicit declaration of function 'nanosleep' [-Wimplicit-function-declaration] nanosleep(&tm, NULL); ^ x86_64-alt-linux-gcc -pipe -Wall -g -O2 -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/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c tun_dev.c x86_64-alt-linux-gcc -pipe -Wall -g -O2 -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/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c tap_dev.c x86_64-alt-linux-gcc -pipe -Wall -g -O2 -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/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c pty_dev.c x86_64-alt-linux-gcc -pipe -Wall -g -O2 -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/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c pipe_dev.c x86_64-alt-linux-gcc -pipe -Wall -g -O2 -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/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c tcp_proto.c x86_64-alt-linux-gcc -pipe -Wall -g -O2 -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/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c udp_proto.c x86_64-alt-linux-gcc -pipe -Wall -g -O2 -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/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c linkfd.c x86_64-alt-linux-gcc -pipe -Wall -g -O2 -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/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c lfd_shaper.c x86_64-alt-linux-gcc -pipe -Wall -g -O2 -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/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c lfd_zlib.c x86_64-alt-linux-gcc -pipe -Wall -g -O2 -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/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c lfd_lzo.c x86_64-alt-linux-gcc -pipe -Wall -g -O2 -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/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c lfd_encrypt.c linkfd.c: In function 'linkfd': linkfd.c:380:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if(host->flags & VTUN_ENCRYPT) ^ x86_64-alt-linux-gcc -pipe -Wall -g -O2 -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/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c lfd_legacy_encrypt.c x86_64-alt-linux-gcc -pipe -Wall -g -O2 -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/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c cfg_file.tab.c flex -t cfg_file.l > cfg_file.lex.c x86_64-alt-linux-gcc -pipe -Wall -g -O2 -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/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c cfg_file.lex.c In file included from cfg_file.y:35:0: lib.h: In function 'read_n': lib.h:74:13: warning: implicit declaration of function 'read' [-Wimplicit-function-declaration] if( (w = read(fd, buf, len)) < 0 ){ ^ lib.h: In function 'write_n': lib.h:93:14: warning: implicit declaration of function 'write' [-Wimplicit-function-declaration] if( (w = write(fd, buf, len)) < 0 ){ ^ lfd_shaper.c: In function 'shaper_avail': lfd_shaper.c:118:7: warning: implicit declaration of function 'nanosleep' [-Wimplicit-function-declaration] nanosleep(&ts,NULL); ^ cfg_file.tab.c: In function 'yyparse': cfg_file.tab.c:2119:18: warning: passing argument 1 of 'yyerror' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] yyerror (yymsgp); ^ cfg_file.y:61:5: note: expected 'char *' but argument is of type 'const char *' int yyerror(char *s); ^ lfd_legacy_encrypt.c: In function 'alloc_legacy_encrypt': lfd_legacy_encrypt.c:74:39: warning: pointer targets in passing argument 1 of 'MD5' differ in signedness [-Wpointer-sign] BF_set_key(&key, ENC_KEY_SIZE, MD5(host->passwd,strlen(host->passwd),NULL)); ^ In file included from lfd_legacy_encrypt.c:54:0: /usr/include/openssl/md5.h:113:16: note: expected 'const unsigned char *' but argument is of type 'char *' 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] BF_ecb_encrypt(out_ptr, out_ptr, &key, BF_ENCRYPT); ^ In file included from lfd_legacy_encrypt.c:55:0: /usr/include/openssl/blowfish.h:114:6: note: expected 'const unsigned char *' but argument is of type 'char *' 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] BF_ecb_encrypt(out_ptr, out_ptr, &key, BF_ENCRYPT); ^ In file included from lfd_legacy_encrypt.c:55:0: /usr/include/openssl/blowfish.h:114:6: note: expected 'unsigned char *' but argument is of type 'char *' void BF_ecb_encrypt(const unsigned char *in, unsigned char *out, ^ lfd_legacy_encrypt.c:102:22: warning: pointer targets in passing argument 1 of 'BF_ecb_encrypt' differ in signedness [-Wpointer-sign] BF_ecb_encrypt(in_ptr + p, out_ptr + p, &key, BF_ENCRYPT); ^ In file included from lfd_legacy_encrypt.c:55:0: /usr/include/openssl/blowfish.h:114:6: note: expected 'const unsigned char *' but argument is of type 'char *' void BF_ecb_encrypt(const unsigned char *in, unsigned char *out, ^ lfd_legacy_encrypt.c:102:35: warning: pointer targets in passing argument 2 of 'BF_ecb_encrypt' differ in signedness [-Wpointer-sign] BF_ecb_encrypt(in_ptr + p, out_ptr + p, &key, BF_ENCRYPT); ^ In file included from lfd_legacy_encrypt.c:55:0: /usr/include/openssl/blowfish.h:114:6: note: expected 'unsigned char *' but argument is of type 'char *' 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:22: warning: pointer targets in passing argument 1 of 'BF_ecb_encrypt' differ in signedness [-Wpointer-sign] BF_ecb_encrypt(in + p, in + p, &key, BF_DECRYPT); ^ In file included from lfd_legacy_encrypt.c:55:0: /usr/include/openssl/blowfish.h:114:6: note: expected 'const unsigned char *' but argument is of type 'char *' void BF_ecb_encrypt(const unsigned char *in, unsigned char *out, ^ lfd_legacy_encrypt.c:113:30: warning: pointer targets in passing argument 2 of 'BF_ecb_encrypt' differ in signedness [-Wpointer-sign] BF_ecb_encrypt(in + p, in + p, &key, BF_DECRYPT); ^ In file included from lfd_legacy_encrypt.c:55:0: /usr/include/openssl/blowfish.h:114:6: note: expected 'unsigned char *' but argument is of type 'char *' void BF_ecb_encrypt(const unsigned char *in, unsigned char *out, ^ lfd_encrypt.c: In function 'prep_key': lfd_encrypt.c:121:11: warning: pointer targets in passing argument 1 of 'MD5' differ in signedness [-Wpointer-sign] MD5(host->passwd, halflen, hashkey); ^ In file included from lfd_encrypt.c:56:0: /usr/include/openssl/md5.h:113:16: note: expected 'const unsigned char *' but argument is of type 'char *' unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md); ^ lfd_encrypt.c:121:34: warning: pointer targets in passing argument 3 of 'MD5' differ in signedness [-Wpointer-sign] MD5(host->passwd, halflen, hashkey); ^ In file included from lfd_encrypt.c:56:0: /usr/include/openssl/md5.h:113:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md); ^ lfd_encrypt.c:122:11: warning: pointer targets in passing argument 1 of 'MD5' differ in signedness [-Wpointer-sign] MD5((host->passwd)+halflen, tmplen-halflen, hashkey+16); ^ In file included from lfd_encrypt.c:56:0: /usr/include/openssl/md5.h:113:16: note: expected 'const unsigned char *' but argument is of type 'char *' unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md); ^ lfd_encrypt.c:122:51: warning: pointer targets in passing argument 3 of 'MD5' differ in signedness [-Wpointer-sign] MD5((host->passwd)+halflen, tmplen-halflen, hashkey+16); ^ In file included from lfd_encrypt.c:56:0: /usr/include/openssl/md5.h:113:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md); ^ lfd_encrypt.c:126:11: warning: pointer targets in passing argument 1 of 'MD5' differ in signedness [-Wpointer-sign] MD5(host->passwd,strlen(host->passwd), hashkey); ^ In file included from lfd_encrypt.c:56:0: /usr/include/openssl/md5.h:113:16: note: expected 'const unsigned char *' but argument is of type 'char *' unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md); ^ lfd_encrypt.c:126:46: warning: pointer targets in passing argument 3 of 'MD5' differ in signedness [-Wpointer-sign] MD5(host->passwd,strlen(host->passwd), hashkey); ^ In file included from lfd_encrypt.c:56:0: /usr/include/openssl/md5.h:113:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md); ^ lfd_encrypt.c: In function 'alloc_encrypt': lfd_encrypt.c:166:15: warning: pointer targets in passing argument 1 of 'RAND_bytes' differ in signedness [-Wpointer-sign] RAND_bytes((char *)&sequence_num, 4); ^ In file included from lfd_encrypt.c:58:0: /usr/include/openssl/rand.h:101:5: note: expected 'unsigned char *' but argument is of type 'char *' int RAND_bytes(unsigned char *buf, int num); ^ lfd_encrypt.c:266:45: warning: pointer targets in passing argument 4 of 'EVP_EncryptInit_ex' differ in signedness [-Wpointer-sign] EVP_EncryptInit_ex(pctx_enc, NULL, NULL, pkey, NULL); ^ In file included from lfd_encrypt.c:55:0: /usr/include/openssl/evp.h:622:5: note: expected 'const unsigned char *' but argument is of type 'char *' int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ^ lfd_encrypt.c:267:45: warning: pointer targets in passing argument 4 of 'EVP_DecryptInit_ex' differ in signedness [-Wpointer-sign] EVP_DecryptInit_ex(pctx_dec, NULL, NULL, pkey, NULL); ^ In file included from lfd_encrypt.c:55:0: /usr/include/openssl/evp.h:632:5: note: expected 'const unsigned char *' but argument is of type 'char *' int EVP_DecryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ^ lfd_encrypt.c: In function 'encrypt_buf': lfd_encrypt.c:306:14: warning: implicit declaration of function 'send_msg' [-Wimplicit-function-declaration] msg_len = send_msg(len, in, out); ^ lfd_encrypt.c:312:4: warning: implicit declaration of function 'send_ib_mesg' [-Wimplicit-function-declaration] send_ib_mesg(&len, &in_ptr); ^ lfd_encrypt.c:320:18: warning: pointer targets in passing argument 1 of 'RAND_bytes' differ in signedness [-Wpointer-sign] RAND_bytes(in_ptr+len, blocksize-1); ^ In file included from lfd_encrypt.c:58:0: /usr/include/openssl/rand.h:101:5: note: expected 'unsigned char *' but argument is of type 'char *' int RAND_bytes(unsigned char *buf, int num); ^ lfd_encrypt.c:321:32: warning: pointer targets in passing argument 2 of 'EVP_EncryptUpdate' differ in signedness [-Wpointer-sign] EVP_EncryptUpdate(&ctx_enc, out_ptr, &outlen, in_ptr, len+pad); ^ In file included from lfd_encrypt.c:55:0: /usr/include/openssl/evp.h:625:5: note: expected 'unsigned char *' but argument is of type 'char *' int EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, ^ lfd_encrypt.c:321:50: warning: pointer targets in passing argument 4 of 'EVP_EncryptUpdate' differ in signedness [-Wpointer-sign] EVP_EncryptUpdate(&ctx_enc, out_ptr, &outlen, in_ptr, len+pad); ^ In file included from lfd_encrypt.c:55:0: /usr/include/openssl/evp.h:625:5: note: expected 'const unsigned char *' but argument is of type 'char *' int EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, ^ lfd_encrypt.c: In function 'decrypt_buf': lfd_encrypt.c:335:10: warning: implicit declaration of function 'recv_msg' [-Wimplicit-function-declaration] len = recv_msg(len, in, out); ^ lfd_encrypt.c:341:32: warning: pointer targets in passing argument 2 of 'EVP_DecryptUpdate' differ in signedness [-Wpointer-sign] EVP_DecryptUpdate(&ctx_dec, out_ptr, &outlen, in_ptr, len); ^ In file included from lfd_encrypt.c:55:0: /usr/include/openssl/evp.h:635:5: note: expected 'unsigned char *' but argument is of type 'char *' int EVP_DecryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, ^ lfd_encrypt.c:341:50: warning: pointer targets in passing argument 4 of 'EVP_DecryptUpdate' differ in signedness [-Wpointer-sign] EVP_DecryptUpdate(&ctx_dec, out_ptr, &outlen, in_ptr, len); ^ In file included from lfd_encrypt.c:55:0: /usr/include/openssl/evp.h:635:5: note: expected 'const unsigned char *' but argument is of type 'char *' int EVP_DecryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, ^ lfd_encrypt.c:342:4: warning: implicit declaration of function 'recv_ib_mesg' [-Wimplicit-function-declaration] recv_ib_mesg(&outlen, &out_ptr); ^ lfd_encrypt.c: In function 'cipher_enc_init': lfd_encrypt.c:433:45: warning: pointer targets in passing argument 4 of 'EVP_EncryptInit_ex' differ in signedness [-Wpointer-sign] EVP_EncryptInit_ex(&ctx_enc, NULL, NULL, pkey, NULL); ^ In file included from lfd_encrypt.c:55:0: /usr/include/openssl/evp.h:622:5: note: expected 'const unsigned char *' but argument is of type 'char *' int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ^ lfd_encrypt.c:434:51: warning: pointer targets in passing argument 5 of 'EVP_EncryptInit_ex' differ in signedness [-Wpointer-sign] EVP_EncryptInit_ex(&ctx_enc, NULL, NULL, NULL, iv); ^ In file included from lfd_encrypt.c:55:0: /usr/include/openssl/evp.h:622:5: note: expected 'const unsigned char *' but argument is of type 'char *' int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ^ lfd_encrypt.c: In function 'cipher_dec_init': lfd_encrypt.c:523:45: warning: pointer targets in passing argument 4 of 'EVP_DecryptInit_ex' differ in signedness [-Wpointer-sign] EVP_DecryptInit_ex(&ctx_dec, NULL, NULL, pkey, NULL); ^ In file included from lfd_encrypt.c:55:0: /usr/include/openssl/evp.h:632:5: note: expected 'const unsigned char *' but argument is of type 'char *' int EVP_DecryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ^ lfd_encrypt.c:524:51: warning: pointer targets in passing argument 5 of 'EVP_DecryptInit_ex' differ in signedness [-Wpointer-sign] EVP_DecryptInit_ex(&ctx_dec, NULL, NULL, NULL, iv); ^ In file included from lfd_encrypt.c:55:0: /usr/include/openssl/evp.h:632:5: note: expected 'const unsigned char *' but argument is of type 'char *' int EVP_DecryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ^ lfd_encrypt.c: In function 'send_msg': lfd_encrypt.c:545:21: warning: pointer targets in passing argument 1 of 'RAND_bytes' differ in signedness [-Wpointer-sign] RAND_bytes(iv, blocksize); ^ In file included from lfd_encrypt.c:58:0: /usr/include/openssl/rand.h:101:5: note: expected 'unsigned char *' but argument is of type 'char *' int RAND_bytes(unsigned char *buf, int num); ^ lfd_encrypt.c:553:21: warning: pointer targets in passing argument 1 of 'RAND_bytes' differ in signedness [-Wpointer-sign] RAND_bytes(in_ptr, in - in_ptr); ^ In file included from lfd_encrypt.c:58:0: /usr/include/openssl/rand.h:101:5: note: expected 'unsigned char *' but argument is of type 'char *' int RAND_bytes(unsigned char *buf, int num); ^ lfd_encrypt.c:557:42: warning: pointer targets in passing argument 2 of 'EVP_EncryptUpdate' differ in signedness [-Wpointer-sign] EVP_EncryptUpdate(&ctx_enc_ecb, in_ptr, ^ In file included from lfd_encrypt.c:55:0: /usr/include/openssl/evp.h:625:5: note: expected 'unsigned char *' but argument is of type 'char *' int EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, ^ lfd_encrypt.c:558:22: warning: pointer targets in passing argument 4 of 'EVP_EncryptUpdate' differ in signedness [-Wpointer-sign] &outlen, in_ptr, blocksize*2); ^ In file included from lfd_encrypt.c:55:0: /usr/include/openssl/evp.h:625:5: note: expected 'const unsigned char *' but argument is of type 'char *' int EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, ^ lfd_encrypt.c: In function 'recv_msg': lfd_encrypt.c:584:42: warning: pointer targets in passing argument 2 of 'EVP_DecryptUpdate' differ in signedness [-Wpointer-sign] EVP_DecryptUpdate(&ctx_dec_ecb, in_ptr, &outlen, in_ptr, blocksize*2); ^ In file included from lfd_encrypt.c:55:0: /usr/include/openssl/evp.h:635:5: note: expected 'unsigned char *' but argument is of type 'char *' int EVP_DecryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, ^ lfd_encrypt.c:584:59: warning: pointer targets in passing argument 4 of 'EVP_DecryptUpdate' differ in signedness [-Wpointer-sign] EVP_DecryptUpdate(&ctx_dec_ecb, in_ptr, &outlen, in_ptr, blocksize*2); ^ In file included from lfd_encrypt.c:55:0: /usr/include/openssl/evp.h:635:5: note: expected 'const unsigned char *' but argument is of type 'char *' int EVP_DecryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, ^ :1342:17: warning: 'yyunput' defined but not used [-Wunused-function] :1385:16: warning: 'input' defined but not used [-Wunused-function] lfd_encrypt.c: In function 'send_ib_mesg': lfd_encrypt.c:660:36: warning: implicit declaration of function 'htonl' [-Wimplicit-function-declaration] *((unsigned long *)in_ptr) = htonl(sequence_num); ^ x86_64-alt-linux-gcc -pipe -Wall -g -O2 -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 -lz -llzo2 -lcrypto make: Leaving directory `/usr/src/RPM/BUILD/vtun-3.0.3' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.9394 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/vtund-buildroot + : + /bin/rm -rf -- /usr/src/tmp/vtund-buildroot + cd vtun-3.0.3 + install -d /usr/src/tmp/vtund-buildroot/usr/sbin /usr/src/tmp/vtund-buildroot/usr/lib64/vtund /usr/src/tmp/vtund-buildroot/usr/share/man/man8 /usr/src/tmp/vtund-buildroot/usr/share/man/man5 /usr/src/tmp/vtund-buildroot/etc/rc.d/init.d /usr/src/tmp/vtund-buildroot/etc/sysconfig/vtund + install -pm640 vtund.conf /usr/src/tmp/vtund-buildroot/etc + install -pm755 /usr/src/RPM/SOURCES/vtund.init /usr/src/tmp/vtund-buildroot/etc/rc.d/init.d/vtund + install -pm640 /usr/src/RPM/SOURCES/vtund.sysconfig /usr/src/tmp/vtund-buildroot/etc/sysconfig/vtund_server + install -pm640 /usr/src/RPM/SOURCES/vtund.client.sysconfig /usr/src/tmp/vtund-buildroot/etc/sysconfig/vtund/backup + install -pm755 /usr/src/RPM/SOURCES/vtund.bug4231.sh /usr/src/tmp/vtund-buildroot/usr/lib64/vtund/bug4231.sh + install -pm644 /usr/src/RPM/SOURCES/README.compat-2.6 . + install -pm755 vtund /usr/src/tmp/vtund-buildroot/usr/sbin + install -pm644 vtund.conf.5 /usr/src/tmp/vtund-buildroot/usr/share/man/man5 + install -pm644 vtund.8 /usr/src/tmp/vtund-buildroot/usr/share/man/man8 + sed -i s,/usr/lib,/usr/lib64,g /usr/src/tmp/vtund-buildroot/etc/rc.d/init.d/vtund + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/vtund-buildroot (auto) Verifying and fixing files in /usr/src/tmp/vtund-buildroot (binconfig,pkgconfig,libtool,desktop) Compressing files in /usr/src/tmp/vtund-buildroot (auto) Adjusting library links in /usr/src/tmp/vtund-buildroot ./usr/lib64: Verifying ELF objects in /usr/src/tmp/vtund-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .pyo files Processing files: vtund-3.0.3-alt3 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.9394 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd vtun-3.0.3 + DOCDIR=/usr/src/tmp/vtund-buildroot/usr/share/doc/vtund-3.0.3 + export DOCDIR + rm -rf /usr/src/tmp/vtund-buildroot/usr/share/doc/vtund-3.0.3 + /bin/mkdir -p /usr/src/tmp/vtund-buildroot/usr/share/doc/vtund-3.0.3 + cp -prL ChangeLog Credits FAQ README README.Setup README.Shaper TODO README README.LZO README.OpenSSL README.Setup README.Shaper README.compat-2.6 /usr/src/tmp/vtund-buildroot/usr/share/doc/vtund-3.0.3 cp: warning: source file 'README' specified more than once cp: warning: source file 'README.Setup' specified more than once cp: warning: source file 'README.Shaper' specified more than once + chmod -R go-w /usr/src/tmp/vtund-buildroot/usr/share/doc/vtund-3.0.3 + chmod -R a+rX /usr/src/tmp/vtund-buildroot/usr/share/doc/vtund-3.0.3 + cp -prL TODO vtund.conf /usr/src/tmp/vtund-buildroot/usr/share/doc/vtund-3.0.3 + chmod -R go-w /usr/src/tmp/vtund-buildroot/usr/share/doc/vtund-3.0.3 + chmod -R a+rX /usr/src/tmp/vtund-buildroot/usr/share/doc/vtund-3.0.3 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.5L6npq find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.8258dE find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) find-requires: FINDPACKAGE-COMMANDS: start-stop-daemon Provides: vtund Requires: /bin/sh, /etc/rc.d/init.d, /etc/rc.d/init.d(SourceIfNotEmpty), /etc/rc.d/init.d(start_daemon), /etc/rc.d/init.d(status), /etc/rc.d/init.d(stop_daemon), /etc/rc.d/init.d/functions, /lib64/ld-linux-x86-64.so.2, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.15)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libcrypto.so.10()(64bit) >= set:qltC6lyhwF9e7rBPj9ZhEIaolWGDzFdTIifaQLOAR6zsv8TVZ9oKHZvQsNg6nG6aRaEx9ajlF1KPu2eZqMf, liblzo2.so.2()(64bit) >= set:kh7AuCbA6aS19, libz.so.1()(64bit) >= set:khdWPIUrJuazh01Xf1, rtld(GNU_HASH), service Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.D8VISU Creating vtund-debuginfo package Processing files: vtund-debuginfo-3.0.3-alt3 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.0Fykpe find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.z1B1LA find-requires: running scripts (debuginfo) Requires: vtund = 3.0.3-alt3, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6), debug64(libcrypto.so.10), debug64(liblzo2.so.2), debug64(libz.so.1) Wrote: /usr/src/RPM/RPMS/x86_64/vtund-3.0.3-alt3.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/vtund-debuginfo-3.0.3-alt3.x86_64.rpm 6.93user 2.04system 0:12.42elapsed 72%CPU (0avgtext+0avgdata 31224maxresident)k 0inputs+0outputs (0major+639973minor)pagefaults 0swaps 11.43user 5.71system 0:21.07elapsed 81%CPU (0avgtext+0avgdata 124144maxresident)k 0inputs+0outputs (0major+874903minor)pagefaults 0swaps --- vtund-3.0.3-alt3.x86_64.rpm.repo 2015-10-03 19:18:24.000000000 +0000 +++ vtund-3.0.3-alt3.x86_64.rpm.hasher 2019-04-14 01:11:14.091597467 +0000 @@ -19,4 +19,4 @@ /usr/share/doc/vtund-3.0.3/vtund.conf 100644 -/usr/share/man/man5/vtund.conf.5.gz 100644 -/usr/share/man/man8/vtund.8.gz 100644 +/usr/share/man/man5/vtund.conf.5.xz 100644 +/usr/share/man/man8/vtund.8.xz 100644 Requires: /bin/sh @@ -34,3 +34,3 @@ Requires: libc.so.6(GLIBC_2.4)(64bit) -Requires: libcrypto.so.10()(64bit) >= set:pkWcdE4zMFrGjcTGZzDpU2Odf4Z5uaN7Es5IGpnWgFm1dcbD50r2BONikthJDwjTQlEvRAR6zsvL0m +Requires: libcrypto.so.10()(64bit) >= set:qltC6lyhwF9e7rBPj9ZhEIaolWGDzFdTIifaQLOAR6zsv8TVZ9oKHZvQsNg6nG6aRaEx9ajlF1KPu2eZqMf Requires: rpmlib(SetVersions)