Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1254838 Details for
Bug 1424526
vtun: FTBFS in rawhide
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh90 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
build.log
<fdopen> (text/plain), 48.37 KB, created by
Fedora Release Engineering
on 2017-02-17 17:25:45 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Fedora Release Engineering
Created:
2017-02-17 17:25:45 UTC
Size:
48.37 KB
patch
obsolete
>Mock Version: 1.3.3 >Mock Version: 1.3.3 >ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/vtun.spec'], shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x3fffaf242390>uid=1000user='mockbuild'gid=425timeout=172800printOutput=Falseenv={'PS1': '<mock-chroot> \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100'}chrootPath='/var/lib/mock/f26-build-7666577-694587/root') >Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/vtun.spec'] with env {'PS1': '<mock-chroot> \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100'} and shell False >Building target platforms: ppc64le >Building for target ppc64le >Wrote: /builddir/build/SRPMS/vtun-3.0.3-16.fc26.src.rpm >Child return code was: 0 >ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/vtun.spec'], shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x3fffaf242390>uid=1000user='mockbuild'timeout=172800private_network=Trueenv={'PS1': '<mock-chroot> \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100'}gid=425printOutput=FalsechrootPath='/var/lib/mock/f26-build-7666577-694587/root') >Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/vtun.spec'] with env {'PS1': '<mock-chroot> \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100'} and shell False >Building target platforms: ppc64le >Building for target ppc64le >Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1We0Px >+ umask 022 >+ cd /builddir/build/BUILD >+ cd /builddir/build/BUILD >+ rm -rf vtun-3.0.3 >+ /usr/bin/gzip -dc /builddir/build/SOURCES/vtun-3.0.3.tar.gz >+ /usr/bin/tar -xof - >+ STATUS=0 >+ '[' 0 -ne 0 ']' >+ cd vtun-3.0.3 >+ /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 >Patch #1 (vtun-client-sighup.patch): >+ echo 'Patch #1 (vtun-client-sighup.patch):' >+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 >patching file client.c >+ exit 0 >Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qGMhXw >+ umask 022 >+ cd /builddir/build/BUILD >+ cd vtun-3.0.3 >+ autoconf >+ CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8' >+ export CFLAGS >+ CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8' >+ export CXXFLAGS >+ FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 -I/usr/lib64/gfortran/modules' >+ export FFLAGS >+ FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 -I/usr/lib64/gfortran/modules' >+ export FCFLAGS >+ LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' >+ export LDFLAGS >+ '[' 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.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' >+ 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' >+ '[' 1 = 1 ']' >+ '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' >++ find . -name ltmain.sh >+ ./configure --build=ppc64le-redhat-linux-gnu --host=ppc64le-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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 --std=gnu89' >configure: WARNING: unrecognized options: --disable-dependency-tracking >checking build system type... powerpc64le-redhat-linux-gnu >checking host system type... powerpc64le-redhat-linux-gnu >checking target system type... powerpc64le-redhat-linux-gnu >checking for bison... bison -y >checking for ppc64le-redhat-linux-gnu-gcc... no >checking for 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 ppc64le-redhat-linux-gnu-gcc... 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 >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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 --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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 --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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 --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 >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("/"); > ^~~~~~~~~~ >client.c: In function 'client': >client.c:133:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] > if (!vtun.quiet || errno != ETIMEDOUT) > ^~ >client.c:136:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' > client_term = 0; > ^~~~~~~~~~~ >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:135: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:121: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:237:12: note: expected 'socklen_t * __restrict__ {aka unsigned int * __restrict__}' but argument is of type 'int *' > extern int accept (int __fd, __SOCKADDR_ARG __addr, > ^~~~~~ >gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 --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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 --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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 --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 >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 >gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 --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 >gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 --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 >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, > ^~~~~~~~~~~~~~ >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); > ^~~~~~~~~~~~ >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 >gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 --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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 --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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 --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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 --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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 --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] > getsockopt(s,SOL_SOCKET,SO_ERROR,&errno,&l); > ^ >In file included from netlib.c:37:0: >/usr/include/sys/socket.h:213: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:121: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:135: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:121:12: note: expected 'socklen_t * __restrict__ {aka unsigned int * __restrict__}' but argument is of type 'int *' > extern int getsockname (int __fd, __SOCKADDR_ARG __addr, > ^~~~~~~~~~~ >gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 --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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 --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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 --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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 --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 >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) > ^ >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 >gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 --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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 --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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 --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 >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); > ^~~ >gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 --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 >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); > ^~~~ >gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 --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 >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_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, > ^~~~~~~~~~~~~~ >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 >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': >cfg_file.tab.c: In function 'yyparse': >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 >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_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: *** Waiting for unfinished jobs.... >error: Bad exit status from /var/tmp/rpm-tmp.qGMhXw (%build) >RPM build errors: > Bad exit status from /var/tmp/rpm-tmp.qGMhXw (%build) >Child return code was: 1 >EXCEPTION: [Error()] >Traceback (most recent call last): > File "/usr/lib/python3.5/site-packages/mockbuild/trace_decorator.py", line 89, in trace > result = func(*args, **kw) > File "/usr/lib/python3.5/site-packages/mockbuild/util.py", line 578, in do > raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) >mockbuild.exception.Error: Command failed. See logs for output. > # bash --login -c /usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/vtun.spec
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1424526
: 1254838 |
1254839
|
1254840