<86>Nov 20 06:28:23 userdel[126376]: delete user 'rooter' <86>Nov 20 06:28:23 userdel[126376]: removed group 'rooter' owned by 'rooter' <86>Nov 20 06:28:23 userdel[126376]: removed shadow group 'rooter' owned by 'rooter' <86>Nov 20 06:28:23 groupadd[126407]: group added to /etc/group: name=rooter, GID=630 <86>Nov 20 06:28:23 groupadd[126407]: group added to /etc/gshadow: name=rooter <86>Nov 20 06:28:23 groupadd[126407]: new group: name=rooter, GID=630 <86>Nov 20 06:28:23 useradd[126425]: new user: name=rooter, UID=630, GID=630, home=/root, shell=/bin/bash <86>Nov 20 06:28:23 userdel[126445]: delete user 'builder' <86>Nov 20 06:28:23 userdel[126445]: removed group 'builder' owned by 'builder' <86>Nov 20 06:28:23 userdel[126445]: removed shadow group 'builder' owned by 'builder' <86>Nov 20 06:28:23 groupadd[126458]: group added to /etc/group: name=builder, GID=631 <86>Nov 20 06:28:23 groupadd[126458]: group added to /etc/gshadow: name=builder <86>Nov 20 06:28:23 groupadd[126458]: new group: name=builder, GID=631 <86>Nov 20 06:28:23 useradd[126468]: new user: name=builder, UID=631, GID=631, home=/usr/src, shell=/bin/bash warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root <13>Nov 20 06:28:25 rpmi: liblzo2-2.08-alt1 1405435918 installed <13>Nov 20 06:28:25 rpmi: libtasn1-4.13-alt2 1521133850 installed <13>Nov 20 06:28:25 rpmi: libp11-kit-0.23.9-alt5 1525798298 installed <13>Nov 20 06:28:25 rpmi: rpm-macros-alternatives-0.4.5-alt1.1 1404382149 installed <13>Nov 20 06:28:25 rpmi: alternatives-0.4.5-alt1.1 1404382149 installed <13>Nov 20 06:28:25 rpmi: ca-certificates-2018.11.12-alt1 sisyphus.216395.300 1542114035 installed <13>Nov 20 06:28:25 rpmi: ca-trust-0.1.1-alt2 1515595785 installed <13>Nov 20 06:28:25 rpmi: p11-kit-trust-0.23.9-alt5 1525798298 installed <13>Nov 20 06:28:26 rpmi: libcrypto1.1-1.1.0i-alt1 1535471315 installed <13>Nov 20 06:28:26 rpmi: libssl1.1-1.1.0i-alt1 1535471315 installed <13>Nov 20 06:28:26 rpmi: libssl-devel-1.1.0i-alt1 1535471315 installed <13>Nov 20 06:28:26 rpmi: liblzo2-devel-2.08-alt1 1405435918 installed <13>Nov 20 06:28:26 rpmi: zlib-devel-1.2.8-alt1 1371079011 installed <13>Nov 20 06:28:26 rpmi: flex-2.6.0-alt1 1449073223 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/vtund-3.0.3-alt3.nosrc.rpm Installing vtund-3.0.3-alt3.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.99910 + 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 -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -std=gnu89' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -std=gnu89' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -std=gnu89' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic "-std=gnu89"' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic "-std=gnu89"' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --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... i586-alt-linux-gnu checking host system type... i586-alt-linux-gnu checking target system type... i586-alt-linux-gnu checking for bison... bison -y checking for i586-alt-linux-gcc... i586-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 i586-alt-linux-gcc accepts -g... yes checking for i586-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 i586-alt-linux-gcc... (cached) i586-alt-linux-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether i586-alt-linux-gcc accepts -g... (cached) yes checking for i586-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... i586-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.12893 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd vtun-3.0.3 + make -j8 make: Entering directory '/usr/src/RPM/BUILD/vtun-3.0.3' i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 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:130: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:116: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:232:12: note: expected 'socklen_t * __restrict__ {aka unsigned int * __restrict__}' but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/vtun-3.0.3' make: Entering directory '/usr/src/RPM/BUILD/vtun-3.0.3' i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 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); ^~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/vtun-3.0.3' make: Entering directory '/usr/src/RPM/BUILD/vtun-3.0.3' i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 make: Leaving directory '/usr/src/RPM/BUILD/vtun-3.0.3' make: Entering directory '/usr/src/RPM/BUILD/vtun-3.0.3' i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 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("/"); ^~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/vtun-3.0.3' make: Entering directory '/usr/src/RPM/BUILD/vtun-3.0.3' i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 make: Leaving directory '/usr/src/RPM/BUILD/vtun-3.0.3' make: Entering directory '/usr/src/RPM/BUILD/vtun-3.0.3' i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 make: Leaving directory '/usr/src/RPM/BUILD/vtun-3.0.3' make: Entering directory '/usr/src/RPM/BUILD/vtun-3.0.3' i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 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:46: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:43: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:44: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:44: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:43: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:44: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:44:6: note: expected 'unsigned char *' but argument is of type 'char *' void BF_ecb_encrypt(const unsigned char *in, unsigned char *out, ^~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/vtun-3.0.3' make: Entering directory '/usr/src/RPM/BUILD/vtun-3.0.3' i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 make: Leaving directory '/usr/src/RPM/BUILD/vtun-3.0.3' make: Entering directory '/usr/src/RPM/BUILD/vtun-3.0.3' i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 lock.c: In function 'lock_host': lock.c:133:15: warning: implicit declaration of function 'nanosleep'; did you mean 'usleep'? [-Wimplicit-function-declaration] nanosleep(&tm, NULL); ^~~~~~~~~ usleep make: Leaving directory '/usr/src/RPM/BUILD/vtun-3.0.3' make: Entering directory '/usr/src/RPM/BUILD/vtun-3.0.3' i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 make: Leaving directory '/usr/src/RPM/BUILD/vtun-3.0.3' make: Entering directory '/usr/src/RPM/BUILD/vtun-3.0.3' i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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:208: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:116: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:130: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:116:12: note: expected 'socklen_t * __restrict__ {aka unsigned int * __restrict__}' but argument is of type 'int *' extern int getsockname (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/vtun-3.0.3' make: Entering directory '/usr/src/RPM/BUILD/vtun-3.0.3' i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 make: Leaving directory '/usr/src/RPM/BUILD/vtun-3.0.3' make: Entering directory '/usr/src/RPM/BUILD/vtun-3.0.3' bison -y -d -b cfg_file cfg_file.y make: Leaving directory '/usr/src/RPM/BUILD/vtun-3.0.3' make: Entering directory '/usr/src/RPM/BUILD/vtun-3.0.3' i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 make: Leaving directory '/usr/src/RPM/BUILD/vtun-3.0.3' make: Entering directory '/usr/src/RPM/BUILD/vtun-3.0.3' i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 lib.c: In function 'run_cmd': lib.c:305:8: warning: implicit declaration of function 'nanosleep'; did you mean 'usleep'? [-Wimplicit-function-declaration] nanosleep(&tm, NULL); ^~~~~~~~~ usleep make: Leaving directory '/usr/src/RPM/BUILD/vtun-3.0.3' make: Entering directory '/usr/src/RPM/BUILD/vtun-3.0.3' i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 make: Leaving directory '/usr/src/RPM/BUILD/vtun-3.0.3' make: Entering directory '/usr/src/RPM/BUILD/vtun-3.0.3' flex -t cfg_file.l > cfg_file.lex.c make: Leaving directory '/usr/src/RPM/BUILD/vtun-3.0.3' make: Entering directory '/usr/src/RPM/BUILD/vtun-3.0.3' i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 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:43: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:43: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:43: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:43: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:43: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:43: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:46: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:541:16: note: expected 'const unsigned char *' but argument is of type 'char *' /*__owur*/ int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx, ^~~~~~~~~~~~~~~~~~ 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:554:16: note: expected 'const unsigned char *' but argument is of type 'char *' /*__owur*/ int EVP_DecryptInit_ex(EVP_CIPHER_CTX *ctx, ^~~~~~~~~~~~~~~~~~ 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:46: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:545:16: note: expected 'unsigned char *' but argument is of type 'char *' /*__owur*/ int EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, ^~~~~~~~~~~~~~~~~ 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:545:16: note: expected 'const unsigned char *' but argument is of type 'char *' /*__owur*/ int EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, ^~~~~~~~~~~~~~~~~ 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:558:16: note: expected 'unsigned char *' but argument is of type 'char *' /*__owur*/ int EVP_DecryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, ^~~~~~~~~~~~~~~~~ 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:558:16: note: expected 'const unsigned char *' but argument is of type 'char *' /*__owur*/ int EVP_DecryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, ^~~~~~~~~~~~~~~~~ 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:541:16: note: expected 'const unsigned char *' but argument is of type 'char *' /*__owur*/ int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx, ^~~~~~~~~~~~~~~~~~ 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:541:16: note: expected 'const unsigned char *' but argument is of type 'char *' /*__owur*/ int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx, ^~~~~~~~~~~~~~~~~~ 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:554:16: note: expected 'const unsigned char *' but argument is of type 'char *' /*__owur*/ int EVP_DecryptInit_ex(EVP_CIPHER_CTX *ctx, ^~~~~~~~~~~~~~~~~~ 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:554:16: note: expected 'const unsigned char *' but argument is of type 'char *' /*__owur*/ int EVP_DecryptInit_ex(EVP_CIPHER_CTX *ctx, ^~~~~~~~~~~~~~~~~~ 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:46: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:46: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:545:16: note: expected 'unsigned char *' but argument is of type 'char *' /*__owur*/ int EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, ^~~~~~~~~~~~~~~~~ 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:545:16: note: expected 'const unsigned char *' but argument is of type 'char *' /*__owur*/ int EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, ^~~~~~~~~~~~~~~~~ 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:558:16: note: expected 'unsigned char *' but argument is of type 'char *' /*__owur*/ int EVP_DecryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, ^~~~~~~~~~~~~~~~~ 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:558:16: note: expected 'const unsigned char *' but argument is of type 'char *' /*__owur*/ int EVP_DecryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, ^~~~~~~~~~~~~~~~~ lfd_encrypt.c: In function 'send_ib_mesg': lfd_encrypt.c:660:36: warning: implicit declaration of function 'htonl'; did you mean 'atoll'? [-Wimplicit-function-declaration] *((unsigned long *)in_ptr) = htonl(sequence_num); ^~~~~ atoll lfd_encrypt.c: At top level: lfd_encrypt.c:98:16: error: storage size of 'ctx_enc' isn't known EVP_CIPHER_CTX ctx_enc; /* encrypt */ ^~~~~~~ lfd_encrypt.c:99:16: error: storage size of 'ctx_dec' isn't known EVP_CIPHER_CTX ctx_dec; /* decrypt */ ^~~~~~~ lfd_encrypt.c:101:16: error: storage size of 'ctx_enc_ecb' isn't known EVP_CIPHER_CTX ctx_enc_ecb; /* sideband ecb encrypt */ ^~~~~~~~~~~ lfd_encrypt.c:102:16: error: storage size of 'ctx_dec_ecb' isn't known EVP_CIPHER_CTX ctx_dec_ecb; /* sideband ecb decrypt */ ^~~~~~~~~~~ make: *** [Makefile:59: lfd_encrypt.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/vtun-3.0.3' make: *** Waiting for unfinished jobs.... make: Entering directory '/usr/src/RPM/BUILD/vtun-3.0.3' i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 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:43: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:44: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:44: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:44: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:44: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:44: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:44:6: note: expected 'unsigned char *' but argument is of type 'char *' void BF_ecb_encrypt(const unsigned char *in, unsigned char *out, ^~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/vtun-3.0.3' make: Entering directory '/usr/src/RPM/BUILD/vtun-3.0.3' i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 lfd_shaper.c: In function 'shaper_avail': lfd_shaper.c:118:7: warning: implicit declaration of function 'nanosleep'; did you mean 'usleep'? [-Wimplicit-function-declaration] nanosleep(&ts,NULL); ^~~~~~~~~ usleep make: Leaving directory '/usr/src/RPM/BUILD/vtun-3.0.3' make: Entering directory '/usr/src/RPM/BUILD/vtun-3.0.3' i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 make: Leaving directory '/usr/src/RPM/BUILD/vtun-3.0.3' make: Entering directory '/usr/src/RPM/BUILD/vtun-3.0.3' i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 linkfd.c: In function 'sig_alarm': linkfd.c:204:19: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] if ( ka_timer*stat_timer ){ ~~~~~~~~^~~~~~~~~~~ linkfd.c: In function 'linkfd': linkfd.c:380:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(host->flags & VTUN_ENCRYPT) ^ make: Leaving directory '/usr/src/RPM/BUILD/vtun-3.0.3' make: Entering directory '/usr/src/RPM/BUILD/vtun-3.0.3' i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 make: Leaving directory '/usr/src/RPM/BUILD/vtun-3.0.3' make: Entering directory '/usr/src/RPM/BUILD/vtun-3.0.3' i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 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'; did you mean 'fread'? [-Wimplicit-function-declaration] if( (w = read(fd, buf, len)) < 0 ){ ^~~~ fread lib.h: In function 'write_n': lib.h:93:14: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] if( (w = write(fd, buf, len)) < 0 ){ ^~~~~ fwrite 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); ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/vtun-3.0.3' make: Entering directory '/usr/src/RPM/BUILD/vtun-3.0.3' i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 :1385:16: warning: 'input' defined but not used [-Wunused-function] :1342:17: warning: 'yyunput' defined but not used [-Wunused-function] make: Leaving directory '/usr/src/RPM/BUILD/vtun-3.0.3' error: Bad exit status from /usr/src/tmp/rpm-tmp.12893 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.12893 (%build) Command exited with non-zero status 1 7.09user 1.29system 0:06.78elapsed 123%CPU (0avgtext+0avgdata 26120maxresident)k 0inputs+0outputs (0major+446092minor)pagefaults 0swaps hsh-rebuild: rebuild of `vtund-3.0.3-alt3.src.rpm' failed. Command exited with non-zero status 1 17.62user 3.94system 0:20.78elapsed 103%CPU (0avgtext+0avgdata 122804maxresident)k 176inputs+0outputs (0major+825604minor)pagefaults 0swaps