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 1254682 Details for
Bug 1424469
sslogger: 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), 25.33 KB, created by
Fedora Release Engineering
on 2017-02-17 17:14:50 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Fedora Release Engineering
Created:
2017-02-17 17:14:50 UTC
Size:
25.33 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/sslogger.spec'], logger=<mockbuild.trace_decorator.getLog object at 0x3fffad5f2358>printOutput=Falsetimeout=172800env={'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir', 'TERM': 'vt100', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}gid=425user='mockbuild'uid=1000chrootPath='/var/lib/mock/f26-build-7666365-694587/root'shell=False) >Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/sslogger.spec'] with env {'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir', 'TERM': 'vt100', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False >Building target platforms: ppc64le >Building for target ppc64le >Wrote: /builddir/build/SRPMS/sslogger-0.96-16.fc26.src.rpm >Child return code was: 0 >ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/sslogger.spec'], logger=<mockbuild.trace_decorator.getLog object at 0x3fffad5f2358>printOutput=Falsetimeout=172800private_network=Truegid=425user='mockbuild'uid=1000env={'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir', 'TERM': 'vt100', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}chrootPath='/var/lib/mock/f26-build-7666365-694587/root'shell=False) >Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/sslogger.spec'] with env {'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir', 'TERM': 'vt100', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False >Building target platforms: ppc64le >Building for target ppc64le >Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sIMNri >+ umask 022 >+ cd /builddir/build/BUILD >+ cd /builddir/build/BUILD >+ rm -rf sslogger-0.96 >+ /usr/bin/tar -xof - >+ /usr/bin/gzip -dc /builddir/build/SOURCES/sslogger-0.96.tar.gz >+ STATUS=0 >+ '[' 0 -ne 0 ']' >+ cd sslogger-0.96 >+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . >+ echo 'Patch #1 (sslogger-0.96-nogcrypt.patch):' >Patch #1 (sslogger-0.96-nogcrypt.patch): >+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .nogcrypt --fuzz=0 >patching file Makefile >patching file slogd-server-fork.c >patching file sslogger.c >patching file tlstools.h >Patch #2 (sslogger-0.96-formatsecurity.patch): >+ echo 'Patch #2 (sslogger-0.96-formatsecurity.patch):' >+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .formatsecurity --fuzz=0 >patching file slogd-server-fork.c >patching file sslogger.c >+ make clean >rm -f sslogger slog sreplay slogd >+ sed -i -e 's|/usr/share/doc/sslogger-\$(VERSION)|/usr/share/doc/sslogger|g' Makefile >+ exit 0 >Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PTlP2N >+ umask 022 >+ cd /builddir/build/BUILD >+ cd sslogger-0.96 >+ export '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 -DLOG_DIR=/var/log/slog -DCONF_FILE=/etc/sslogger.d/sslogger.conf' >+ 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 -DLOG_DIR=/var/log/slog -DCONF_FILE=/etc/sslogger.d/sslogger.conf' >+ 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 -DLOG_DIR=/var/log/slog -DCONF_FILE=/etc/sslogger.d/sslogger.conf -D LC_ALL -D LC_NUMERIC -DHAVE_LIBUTIL -lutil -lgnutls tlstools_client1.c sslogger.c -o sslogger >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 -DLOG_DIR=/var/log/slog -DCONF_FILE=/etc/sslogger.d/sslogger.conf sreplay.c -o sreplay >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 -DLOG_DIR=/var/log/slog -DCONF_FILE=/etc/sslogger.d/sslogger.conf slog.c -o slog >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 -DLOG_DIR=/var/log/slog -DCONF_FILE=/etc/sslogger.d/sslogger.conf slogd-server-fork.c -lgnutls -o slogd >sreplay.c: In function 'help': >tlstools_client1.c:18:29: error: unknown type name 'gnutls_retr_st'; did you mean 'gnutls_retr2_st'? > int sign_algos_length, gnutls_retr_st * st); > ^~~~~~~~~~~~~~ > gnutls_retr2_st >tlstools_client1.c: In function 'nosigpipe_push_function': >tlstools_client1.c:29:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] > sd=(int)sd_ptr; > ^ >tlstools_client1.c: At top level: >tlstools_client1.c:44:1: warning: 'gnutls_datum' is deprecated [-Wdeprecated-declarations] > { > ^ >In file included from tlstools.h:14:0, > from tlstools_client1.c:1: >/usr/include/gnutls/gnutls.h:881:9: note: declared here > typedef struct { > ^~~~~~ >tlstools_client1.c: In function 'load_file': >tlstools_client1.c:46:3: warning: 'gnutls_datum' is deprecated [-Wdeprecated-declarations] > gnutls_datum loaded_file = { NULL, 0 }; > ^~~~~~~~~~~~ >In file included from tlstools.h:14:0, > from tlstools_client1.c:1: >/usr/include/gnutls/gnutls.h:881:9: note: declared here > typedef struct { > ^~~~~~ >tlstools_client1.c: At top level: >tlstools_client1.c:65:1: warning: 'gnutls_datum' is deprecated [-Wdeprecated-declarations] > static void unload_file(gnutls_datum data) > ^~~~~~ >In file included from tlstools.h:14:0, > from tlstools_client1.c:1: >/usr/include/gnutls/gnutls.h:881:9: note: declared here > typedef struct { > ^~~~~~ >tlstools_client1.c:240:1: warning: 'gnutls_session' is deprecated [-Wdeprecated-declarations] > tlstools_recv (gnutls_session session,char *msg,int msglen) { > ^~~~~~~~~~~~~ >tlstools_client1.c: In function 'tlstools_recv': >tlstools_client1.c:246:22: warning: too many arguments for format [-Wformat-extra-args] > fprintf(stderr,"Peer has closed the GNUTLS connection\n",gnutls_strerror(err)); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >tlstools_client1.c: In function 'tlstools_init_xcred': >tlstools_client1.c:306:5: warning: implicit declaration of function 'gnutls_certificate_client_set_retrieve_function'; did you mean 'gnutls_certificate_set_retrieve_function'? [-Wimplicit-function-declaration] > gnutls_certificate_client_set_retrieve_function (xcred, cert_callback); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > gnutls_certificate_set_retrieve_function >tlstools_client1.c:306:61: error: 'cert_callback' undeclared (first use in this function) > gnutls_certificate_client_set_retrieve_function (xcred, cert_callback); > ^~~~~~~~~~~~~ >tlstools_client1.c:306:61: note: each undeclared identifier is reported only once for each function it appears in >sreplay.c:92:11: warning: variable 'answer' set but not used [-Wunused-but-set-variable] > int c,answer; > ^~~~~~ >sreplay.c: In function 'replay': >tlstools_client1.c: In function 'tlstools_init_anon': >tlstools_client1.c:374:7: warning: implicit declaration of function 'gnutls_kx_set_priority'; did you mean 'gnutls_dh_set_prime_bits'? [-Wimplicit-function-declaration] > err=gnutls_kx_set_priority (session, kx_prio); > ^~~~~~~~~~~~~~~~~~~~~~ > gnutls_dh_set_prime_bits >sreplay.c:276:9: warning: implicit declaration of function 'tty_get_state'; did you mean 'setstate'? [-Wimplicit-function-declaration] > if (tty_get_state(&tty_saved, fdtty) < 0) { > ^~~~~~~~~~~~~ > setstate >tlstools_client1.c: At top level: >tlstools_client1.c:532:32: error: unknown type name 'gnutls_retr_st'; did you mean 'gnutls_retr2_st'? > int sign_algos_length, gnutls_retr_st * st) > ^~~~~~~~~~~~~~ > gnutls_retr2_st >sreplay.c:289:9: warning: implicit declaration of function 'tty_set_state'; did you mean 'setstate'? [-Wimplicit-function-declaration] > if (tty_set_state(&tty_current, fdtty) < 0) { > ^~~~~~~~~~~~~ > setstate >sreplay.c: In function 'help': >sreplay.c:74:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] > write(fdtty,&a,1); > ^~~~~~~~~~~~~~~~~ >sreplay.c:75:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] > write(fdtty,&b,1); > ^~~~~~~~~~~~~~~~~ >sreplay.c: In function 'gotoLine': >sreplay.c:149:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] > write(fdtty,&a,1); > ^~~~~~~~~~~~~~~~~ >sreplay.c:150:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] > write(fdtty,&b,1); > ^~~~~~~~~~~~~~~~~ >sreplay.c: In function 'gotoPos': >sreplay.c:166:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] > write(fdtty,&a,1); > ^~~~~~~~~~~~~~~~~ >sreplay.c:167:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] > write(fdtty,&b,1); > ^~~~~~~~~~~~~~~~~ >sreplay.c: In function 'replayAtSpeed': >sreplay.c:190:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] > write(fdtty,&a,1); //print the char > ^~~~~~~~~~~~~~~~~ >sreplay.c: In function 'printNextLine': >sreplay.c:227:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] > write(fdtty,&a,1); //print the char > ^~~~~~~~~~~~~~~~~ >sreplay.c: In function 'printNextChar': >sreplay.c:251:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] > write(fdtty,&a,1); > ^~~~~~~~~~~~~~~~~ >sreplay.c: In function 'myrestore_tty': >sreplay.c:354:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] > write(fdtty,&a,1); > ^~~~~~~~~~~~~~~~~ >sreplay.c:355:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] > write(fdtty,&b,1); > ^~~~~~~~~~~~~~~~~ >slog.c: In function 'main': >slog.c:144:13: warning: value computed is not used [-Wunused-value] > *p_sudoOpts++; > ^~~~~~~~~~~~~ >slog.c:152:13: warning: value computed is not used [-Wunused-value] > *p_sloggerOpts++; > ^~~~~~~~~~~~~~~~ >slog.c:165:9: warning: value computed is not used [-Wunused-value] > *p_sudoOpts++; > ^~~~~~~~~~~~~ >slog.c:170:9: warning: value computed is not used [-Wunused-value] > *p_sloggerOpts++; > ^~~~~~~~~~~~~~~~ >slog.c:180:9: warning: value computed is not used [-Wunused-value] > *p_cmd++; > ^~~~~~~~ >slog.c:181:2: warning: value computed is not used [-Wunused-value] > *p_sudoOpts++; > ^~~~~~~~~~~~~ >slog.c:187:9: warning: value computed is not used [-Wunused-value] > *p_cmd++; > ^~~~~~~~ >slog.c:188:2: warning: value computed is not used [-Wunused-value] > *p_sloggerOpts++; > ^~~~~~~~~~~~~~~~ >slog.c:198:6: warning: value computed is not used [-Wunused-value] > *p_cmd++; > ^~~~~~~~ >slogd-server-fork.c: In function 'logCmd': >slogd-server-fork.c:155:9: warning: unused variable 'p' [-Wunused-variable] > int p=getpid(); //get the pid > ^ >sslogger.c: In function 'logCmd2': >sslogger.c:224:5: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] > asprintf(&logfname,"%s/%s",log_dir,log_file); > ^~~~~~~~ > vsprintf >slogd-server-fork.c: In function 'initialize_tls_session': >slogd-server-fork.c:199:13: warning: implicit declaration of function 'gnutls_kx_set_priority'; did you mean 'gnutls_dh_set_prime_bits'? [-Wimplicit-function-declaration] > err = gnutls_kx_set_priority (session, kx_prio); > ^~~~~~~~~~~~~~~~~~~~~~ > gnutls_dh_set_prime_bits >slogd-server-fork.c:173:9: warning: unused variable 'message' [-Wunused-variable] > char *message; > ^~~~~~~ >sslogger.c:273:26: warning: implicit declaration of function 'slogdConnect'; did you mean 'slogdSend'? [-Wimplicit-function-declaration] > slogdIsConnected=slogdConnect(slogMsg); /* connect to slog server and set flag */ > ^~~~~~~~~~~~ > slogdSend >sslogger.c:287:11: warning: the address of 'remote_logfile' will always evaluate as 'true' [-Waddress] > if (remote_logfile) > ^~~~~~~~~~~~~~ >sslogger.c:347:36: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t {aka long unsigned int}' [-Wformat=] > printf("reason-length:%d syslogCommentSize:%d minCommentSize:%d\n",strlen(reason),commentSize,minCommentSize); > ~^ ~~~~~~~~~~~~~~ > %ld >sslogger.c: In function 'createSlog': >sslogger.c:529:9: warning: implicit declaration of function 'euidaccess'; did you mean 'access'? [-Wimplicit-function-declaration] > if (euidaccess(yeardir,W_OK)==-1) { > ^~~~~~~~~~ > access >slogd-server-fork.c: In function 'remoteCheckCertificate': >slogd-server-fork.c:281:9: warning: implicit declaration of function 'gnutls_x509_crt_init'; did you mean 'gnutls_x509_crl_sign'? [-Wimplicit-function-declaration] > if (gnutls_x509_crt_init (&cert) < 0) { > ^~~~~~~~~~~~~~~~~~~~ > gnutls_x509_crl_sign >sslogger.c: In function 'slogdSend': >sslogger.c:616:14: warning: implicit declaration of function 'tlstools_send' [-Wimplicit-function-declaration] > sent=tlstools_send(session,slogMsg,size); > ^~~~~~~~~~~~~ >sslogger.c: At top level: >sslogger.c:654:1: warning: return type defaults to 'int' [-Wimplicit-int] > slogdConnect (char *slogMsg) { > ^~~~~~~~~~~~ >sslogger.c: In function 'slogdConnect': >sslogger.c:663:31: warning: implicit declaration of function 'tlstools_init'; did you mean 'gnutls_init'? [-Wimplicit-function-declaration] > session=(gnutls_session_t)tlstools_init(); > ^~~~~~~~~~~~~ > gnutls_init >sslogger.c:663:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > session=(gnutls_session_t)tlstools_init(); > ^ >slogd-server-fork.c:286:9: warning: implicit declaration of function 'gnutls_x509_crt_import'; did you mean 'gnutls_x509_crl_sign'? [-Wimplicit-function-declaration] > if (gnutls_x509_crt_import(cert, &certs[i], GNUTLS_X509_FMT_DER) < 0) { > ^~~~~~~~~~~~~~~~~~~~~~ > gnutls_x509_crl_sign >sslogger.c:676:9: warning: implicit declaration of function 'tlstools_connect'; did you mean 'slogdConnect'? [-Wimplicit-function-declaration] > err=tlstools_connect(tlstools_client_server,tlstools_client_serverport,socket_sd,session,hi,remote_logfile,MAX_REMOTE_LOGFILE_LEN); > ^~~~~~~~~~~~~~~~ > slogdConnect >slogd-server-fork.c:287:7: warning: implicit declaration of function 'gnutls_x509_crt_deinit'; did you mean 'gnutls_x509_crl_sign'? [-Wimplicit-function-declaration] > gnutls_x509_crt_deinit (cert); > ^~~~~~~~~~~~~~~~~~~~~~ > gnutls_x509_crl_sign >sslogger.c:688:7: warning: implicit declaration of function 'tlstools_end_session' [-Wimplicit-function-declaration] > tlstools_end_session(socket_sd,session); > ^~~~~~~~~~~~~~~~~~~~ >slogd-server-fork.c:291:9: warning: implicit declaration of function 'gnutls_x509_crt_get_expiration_time'; did you mean 'gnutls_openpgp_key_get_expiration_time'? [-Wimplicit-function-declaration] > if (gnutls_x509_crt_get_expiration_time (cert) < now) { > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > gnutls_openpgp_key_get_expiration_time >sslogger.c: In function 'main': >sslogger.c:905:30: warning: passing argument 2 of 'getline' from incompatible pointer type [-Wincompatible-pointer-types] > getline(&comment,&commentLen,stdin); > ^ >In file included from sslogger.c:47:0: >/usr/include/stdio.h:681:20: note: expected 'size_t * restrict {aka long unsigned int * restrict}' but argument is of type 'int *' > extern _IO_ssize_t getline (char **__restrict __lineptr, > ^~~~~~~ >sslogger.c:906:53: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t {aka long unsigned int}' [-Wformat=] > if (debug) printf ("DEBUG: comment len=%d len=%d\n",strlen(comment),commentLen); > ~^ ~~~~~~~~~~~~~~~ > %ld >sslogger.c: In function 'finish': >sslogger.c:1058:32: warning: unused variable 'newtime' [-Wunused-variable] > double oldtime=time(NULL), newtime; > ^~~~~~~ >sslogger.c:1058:12: warning: unused variable 'oldtime' [-Wunused-variable] > double oldtime=time(NULL), newtime; > ^~~~~~~ >sslogger.c:1057:20: warning: unused variable 'tv' [-Wunused-variable] > struct timeval tv; > ^~ >sslogger.c:1056:10: warning: unused variable 'obuf' [-Wunused-variable] > char obuf[BUFSIZ]; > ^~~~ >sslogger.c:1055:12: warning: variable 'tvec' set but not used [-Wunused-but-set-variable] > time_t tvec; > ^~~~ >sslogger.c:1054:18: warning: unused variable 'cc' [-Wunused-variable] > register int cc; > ^~ >sslogger.c: In function 'done': >sslogger.c:1222:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] > if (!qflg) > ^ >sslogger.c: In function 'slogdSend': >sslogger.c:619:13: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] > write(1, errmsg, strlen(errmsg)); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >sslogger.c:636:17: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] > write(1, errmsg, strlen(errmsg)); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >sslogger.c: In function 'main': >sslogger.c:905:13: warning: ignoring return value of 'getline', declared with attribute warn_unused_result [-Wunused-result] > getline(&comment,&commentLen,stdin); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >sslogger.c: In function 'doinput': >sslogger.c:1042:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] > (void) write(master, ibuf, cc); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >sslogger.c: In function 'dooutput': >sslogger.c:1117:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] > (void) write(1, obuf, cc); > ^~~~~~~~~~~~~~~~~~~~~~~~~ >At top level: >sslogger.c:198:1: warning: 'die_if_link' defined but not used [-Wunused-function] > die_if_link(char *fn) { > ^~~~~~~~~~~ >slogd-server-fork.c:299:9: warning: implicit declaration of function 'gnutls_x509_crt_get_activation_time'; did you mean 'gnutls_openpgp_key_get_expiration_time'? [-Wimplicit-function-declaration] > if (gnutls_x509_crt_get_activation_time (cert) > now) { > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > gnutls_openpgp_key_get_expiration_time >slogd-server-fork.c:312:15: warning: implicit declaration of function 'gnutls_x509_crt_get_dn'; did you mean 'gnutls_x509_crl_sign'? [-Wimplicit-function-declaration] > err = gnutls_x509_crt_get_dn (cert, name, &namesize); > ^~~~~~~~~~~~~~~~~~~~~~ > gnutls_x509_crl_sign >slogd-server-fork.c: In function 'proccess_connection_fork': >slogd-server-fork.c:642:4: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] > asprintf(&logfname,"%s/%s",log_dir,log_file); > ^~~~~~~~ > vsprintf >slogd-server-fork.c:743:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] > if (debug>2) > ^~ >slogd-server-fork.c:747:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' > time_t tvec; > ^~~~~~ >slogd-server-fork.c:760:9: warning: implicit declaration of function 'gettimeofday' [-Wimplicit-function-declaration] > gettimeofday(&tv,NULL); > ^~~~~~~~~~~~ >slogd-server-fork.c:781:39: warning: format '%d' expects argument of type 'int', but argument 7 has type 'long int' [-Wformat=] > sprintf(ldate,"%s.%s.%s-%s.%.6d.log",year,month,day,time,millisec); > ~~~^ > %.6ld >slogd-server-fork.c:747:16: warning: variable 'tvec' set but not used [-Wunused-but-set-variable] > time_t tvec; > ^~~~ >slogd-server-fork.c:648:9: warning: unused variable 'd' [-Wunused-variable] > int d=worker->socket; > ^ >slogd-server-fork.c: In function 'read_conf': >slogd-server-fork.c:997:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] > if (line[end-1] == '\n') > ^~ >slogd-server-fork.c:999:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' > *value = strdup(line+keyLen+1); //add equal to key=val > ^ >slogd-server-fork.c: In function 'readConfigFile': >slogd-server-fork.c:1104:11: warning: unused variable 'listenIP_str' [-Wunused-variable] > char *listenIP_str; > ^~~~~~~~~~~~ >slogd-server-fork.c: In function 'main': >slogd-server-fork.c:1291:50: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] > sd = accept (listen_sd, (SA *) & sa_cli, &client_len); > ^ >In file included from /usr/include/netinet/in.h:23:0, > from /usr/include/netdb.h:27, > from slogd-server-fork.c:30: >/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, > ^~~~~~ >slogd-server-fork.c:1164:9: warning: unused variable 'err' [-Wunused-variable] > int err; > ^~~ >slogd-server-fork.c: In function 'termination_handler': >slogd-server-fork.c:1045:5: warning: statement will never be executed [-Wswitch-unreachable] > log_info(1024,"Debug: in termination_handler\n"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >At top level: >slogd-server-fork.c:121:1: warning: 'my_strftime' defined but not used [-Wunused-function] > my_strftime(char *buf, size_t len, const char *fmt, const struct tm *tm) { > ^~~~~~~~~~~ >slogd-server-fork.c: In function 'main': >slogd-server-fork.c:703:11: warning: array subscript is above array bounds [-Warray-bounds] > header[HEADER_LABEL_LEN+1]='\0'; > ~~~~~~^~~~~~~~~~~~~~~~~~~~ >slogd-server-fork.c:591:13: warning: 'err' may be used uninitialized in this function [-Wmaybe-uninitialized] > log_info(1000,"Error: could not initalize Diffie Hellman parameters: %s\n",gnutls_strerror (err)); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >slogd-server-fork.c:490:9: note: 'err' was declared here > int err; > ^~~ >slogd-server-fork.c:1313:13: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] > log_info(1000, "*** TLS session has failed (%s)\n", > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > gnutls_strerror (ret)); > ~~~~~~~~~~~~~~~~~~~~~~ >make: *** [Makefile:25: sslogger] Error 1 >make: *** Waiting for unfinished jobs.... >/tmp/cc5kZmco.o: In function `initialize_tls_session': >/builddir/build/BUILD/sslogger-0.96/slogd-server-fork.c:199: undefined reference to `gnutls_kx_set_priority' >collect2: error: ld returned 1 exit status >make: *** [Makefile:22: slogd] Error 1 >error: Bad exit status from /var/tmp/rpm-tmp.PTlP2N (%build) >RPM build errors: > Bad exit status from /var/tmp/rpm-tmp.PTlP2N (%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/sslogger.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 1424469
: 1254682 |
1254683
|
1254684