FailedOk

th/SRPMS[OK]
th/x32[OK]
th/i686[OK]
th/x86_64[OK]

ac/SRPMS[OK]
ac/i386[OK]
ac/i586[OK]
ac/i686[OK]
ac/alpha[OK]
ac/amd64[OK]
ac/athlon[OK]
ac/ppc[OK]
ac/sparc[OK]
ac/sparc64[OK]

Advanced Search
main()
Powered by PLD Linux
(c) 2002-2018 PLD Team
$Revision: 1.37 $
Powered by Lunatic Corp.
Your IP: 54.145.17.37

cpqarrayd 5e277dbd-f21f-40be-bf63-7d915c75fed3

Status:Failed
Source URL:ftp://buildlogs.pld-linux.org/th/x86_64/FAIL/cpqarrayd,5e277dbd-f21f-40be-bf63-7d915c75fed3.bz2
text/plain URL:View!
full text:View!
rpm -qa of builder:View!
Date:2018/09/02 19:17:44
Runtime:0:00:05.645355

Toc:

  • error 1
  • snmp_sess_perror("Error: sendtrap/snmp_send", &ss );
  • error 2
  • status.c:220:22: error: format not a string literal and no format arguments [-Werror=format-security]
  • error 3
  • status.c:222:12: error: format not a string literal and no format arguments [-Werror=format-security]
  • error 4
  • status.c:240:22: error: format not a string literal and no format arguments [-Werror=format-security]
  • error 5
  • status.c:242:12: error: format not a string literal and no format arguments [-Werror=format-security]
  • error 6
  • make[2]: *** [Makefile:470: status.o] Error 1
  • error 7
  • make[1]: *** [Makefile:533: all-recursive] Error 1
  • error 8
  • error: Bad exit status from /tmp/B.bjJC0c/BUILD/tmp/rpm-tmp.59064 (%build)
  • error 9
  • RPM build errors:
  • error 10
  • error: No files produced.

Content:

checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether x86_64-pld-linux-gcc needs -traditional... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for dup2... yes
checking for gethostbyname... yes
checking for gethostname... yes
checking for memset... yes
checking for strerror... yes
checking for HMAC in -lcrypto... yes
checking for snmp_open in -lnetsnmp... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating scripts/Makefile
config.status: creating config.h
config.status: executing depfiles commands
+ /usr/bin/make -Otarget -j9
/usr/bin/make  all-recursive
Making all in scripts
make[2]: Nothing to be done for 'all'.
make[2]: Entering directory '/tmp/B.bjJC0c/BUILD/cpqarrayd-2.3'
x86_64-pld-linux-gcc -DHAVE_CONFIG_H -I.   -I./include -I./drivers/block  -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -I./include -I./drivers/block -MT cciss_functions.o -MD -MP -MF .deps/cciss_functions.Tpo -c -o cciss_functions.o cciss_functions.c
In file included from cciss_functions.c:34:
cciss_structs.h:36: warning: "CISS_MAX_LUN" redefined
 #define CISS_MAX_LUN    16
 
In file included from /usr/include/linux/cciss_ioctl.h:7,
                 from cciss_functions.c:33:
/usr/include/linux/cciss_defs.h:49: note: this is the location of the previous definition
 #define CISS_MAX_LUN 1024
 
mv -f .deps/cciss_functions.Tpo .deps/cciss_functions.Po
make[2]: Leaving directory '/tmp/B.bjJC0c/BUILD/cpqarrayd-2.3'
make[2]: Entering directory '/tmp/B.bjJC0c/BUILD/cpqarrayd-2.3'
x86_64-pld-linux-gcc -DHAVE_CONFIG_H -I.   -I./include -I./drivers/block  -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -I./include -I./drivers/block -MT cpqarrayd.o -MD -MP -MF .deps/cpqarrayd.Tpo -c -o cpqarrayd.o cpqarrayd.c
cpqarrayd.c: In function 'main':
cpqarrayd.c:152:50: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration]
      opts.traphosts[opts.nr_traphosts] = (char *)malloc(strlen(optarg)+1);
                                                  ^~~~~~
cpqarrayd.c:152:50: warning: incompatible implicit declaration of built-in function 'malloc'
cpqarrayd.c:152:50: note: include '<stdlib.h>' or provide a declaration of 'malloc'
cpqarrayd.c:59:1:
+#include <stdlib.h>
 
cpqarrayd.c:152:50:
      opts.traphosts[opts.nr_traphosts] = (char *)malloc(strlen(optarg)+1);
                                                  ^~~~~~
cpqarrayd.c:163:4: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
    exit(0);
    ^~~~
cpqarrayd.c:163:4: warning: incompatible implicit declaration of built-in function 'exit'
cpqarrayd.c:163:4: note: include '<stdlib.h>' or provide a declaration of 'exit'
cpqarrayd.c:176:5: warning: incompatible implicit declaration of built-in function 'exit'
     exit(1);
     ^~~~
cpqarrayd.c:176:5: note: include '<stdlib.h>' or provide a declaration of 'exit'
cpqarrayd.c:219:7: warning: incompatible implicit declaration of built-in function 'exit'
       exit(1);
       ^~~~
cpqarrayd.c:219:7: note: include '<stdlib.h>' or provide a declaration of 'exit'
cpqarrayd.c:226:7: warning: incompatible implicit declaration of built-in function 'exit'
       exit(0);
       ^~~~
cpqarrayd.c:226:7: note: include '<stdlib.h>' or provide a declaration of 'exit'
cpqarrayd.c:232:10: warning: incompatible implicit declaration of built-in function 'exit'
          exit(1);
          ^~~~
cpqarrayd.c:232:10: note: include '<stdlib.h>' or provide a declaration of 'exit'
cpqarrayd.c:253:5: warning: implicit declaration of function 'cciss_status_check'; did you mean 'status_check'? [-Wimplicit-function-declaration]
     cciss_status_check(opts);
     ^~~~~~~~~~~~~~~~~~
     status_check
mv -f .deps/cpqarrayd.Tpo .deps/cpqarrayd.Po
make[2]: Leaving directory '/tmp/B.bjJC0c/BUILD/cpqarrayd-2.3'
make[2]: Entering directory '/tmp/B.bjJC0c/BUILD/cpqarrayd-2.3'
x86_64-pld-linux-gcc -DHAVE_CONFIG_H -I.   -I./include -I./drivers/block  -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -I./include -I./drivers/block -MT sendtrap.o -MD -MP -MF .deps/sendtrap.Tpo -c -o sendtrap.o sendtrap.c
sendtrap.c: In function 'sendtrap':
sendtrap.c:77:5: warning: 'remote_port' is deprecated [-Wdeprecated-declarations]
     session.remote_port = 162;
     ^~~~~~~
In file included from /usr/include/net-snmp/definitions.h:22,
                 from /usr/include/net-snmp/net-snmp-includes.h:67,
                 from sendtrap.c:40:
/usr/include/net-snmp/types.h:345:21: note: declared here
     u_short         remote_port NETSNMP_ATTRIBUTE_DEPRECATED;
                     ^~~~~~~~~~~
sendtrap.c:87:19: warning: assignment to 'in_addr_t *' {aka 'unsigned int *'} from incompatible pointer type 'struct in_addr_t *' [-Wincompatible-pointer-types]
     pdu_in_addr_t = (struct in_addr_t *)&pdu->agent_addr;
                   ^
sendtrap.c:107:53: warning: passing argument 2 of 'snmp_sess_perror' from incompatible pointer type [-Wincompatible-pointer-types]
       snmp_sess_perror("Error: sendtrap/snmp_send", &ss );
                                                     ^~~
In file included from /usr/include/net-snmp/library/snmp_client.h:32,
                 from /usr/include/net-snmp/varbind_api.h:102,
                 from /usr/include/net-snmp/library/snmp_api.h:33,
                 from /usr/include/net-snmp/types.h:463,
                 from /usr/include/net-snmp/definitions.h:22,
                 from /usr/include/net-snmp/net-snmp-includes.h:67,
                 from sendtrap.c:40:
/usr/include/net-snmp/output_api.h:34:64: note: expected 'netsnmp_session *' {aka 'struct snmp_session *'} but argument is of type 'struct snmp_session **'
     void    snmp_sess_perror(const char *msg, netsnmp_session *sess);
                                               ~~~~~~~~~~~~~~~~~^~~~
mv -f .deps/sendtrap.Tpo .deps/sendtrap.Po
make[2]: Leaving directory '/tmp/B.bjJC0c/BUILD/cpqarrayd-2.3'
make[2]: Entering directory '/tmp/B.bjJC0c/BUILD/cpqarrayd-2.3'
x86_64-pld-linux-gcc -DHAVE_CONFIG_H -I.   -I./include -I./drivers/block  -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -I./include -I./drivers/block -MT discover.o -MD -MP -MF .deps/discover.Tpo -c -o discover.o discover.c
In file included from discover.c:50:
cciss_structs.h:36: warning: "CISS_MAX_LUN" redefined
 #define CISS_MAX_LUN    16
 
In file included from /usr/include/linux/cciss_ioctl.h:7,
                 from discover.c:49:
/usr/include/linux/cciss_defs.h:49: note: this is the location of the previous definition
 #define CISS_MAX_LUN 1024
 
discover.c: In function 'discover_controllers':
discover.c:113:8: warning: implicit declaration of function 'cciss_interrogate_controller'; did you mean 'interrogate_controller'? [-Wimplicit-function-declaration]
    if (cciss_interrogate_controller (opts, cciss_controllers[cntr]))
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
        interrogate_controller
discover.c: In function 'interrogate_controller':
discover.c:156:58: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration]
   ctrls_found[ctrls_found_num].ctrl_devicename = (char *)malloc(strlen(buffer)+1);
                                                          ^~~~~~
discover.c:156:58: warning: incompatible implicit declaration of built-in function 'malloc'
discover.c:156:58: note: include '<stdlib.h>' or provide a declaration of 'malloc'
discover.c:52:1:
+#include <stdlib.h>
 
discover.c:156:58:
   ctrls_found[ctrls_found_num].ctrl_devicename = (char *)malloc(strlen(buffer)+1);
                                                          ^~~~~~
discover.c: In function 'cciss_interrogate_controller':
discover.c:311:53: warning: incompatible implicit declaration of built-in function 'malloc'
   ctrls_found[ctrls_found_num].devicefile = (char *)malloc(strlen(devicefile)+1);
                                                     ^~~~~~
discover.c:311:53: note: include '<stdlib.h>' or provide a declaration of 'malloc'
mv -f .deps/discover.Tpo .deps/discover.Po
make[2]: Leaving directory '/tmp/B.bjJC0c/BUILD/cpqarrayd-2.3'
make[2]: Entering directory '/tmp/B.bjJC0c/BUILD/cpqarrayd-2.3'
x86_64-pld-linux-gcc -DHAVE_CONFIG_H -I.   -I./include -I./drivers/block  -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -I./include -I./drivers/block -MT status.o -MD -MP -MF .deps/status.Tpo -c -o status.o status.c
In file included from status.c:45:
cciss_structs.h:36: warning: "CISS_MAX_LUN" redefined
 #define CISS_MAX_LUN    16
 
In file included from /usr/include/linux/cciss_ioctl.h:7,
                 from status.c:44:
/usr/include/linux/cciss_defs.h:49: note: this is the location of the previous definition
 #define CISS_MAX_LUN 1024
 
status.c: In function 'status_check':
status.c:143:15: warning: too many arguments for format [-Wformat-extra-args]
        printf("DEBUG: Problem sending snmp trap",
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
status.c:171:15: warning: too many arguments for format [-Wformat-extra-args]
        printf("DEBUG: Problem sending snmp trap ",
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
status.c: In function 'cciss_status_check':
status.c:220:22: error: format not a string literal and no format arguments [-Werror=format-security]
  syslog(LOG_WARNING, statusmsg);
                      ^~~~~~~~~
status.c:222:12: error: format not a string literal and no format arguments [-Werror=format-security]
    printf (statusmsg);
            ^~~~~~~~~
status.c:229:13: warning: too many arguments for format [-Wformat-extra-args]
      printf("DEBUG: Problem sending snmp trap",
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
status.c:240:22: error: format not a string literal and no format arguments [-Werror=format-security]
  syslog(LOG_WARNING, statusmsg);
                      ^~~~~~~~~
status.c:242:12: error: format not a string literal and no format arguments [-Werror=format-security]
    printf (statusmsg);
            ^~~~~~~~~
status.c:249:13: warning: too many arguments for format [-Wformat-extra-args]
      printf("DEBUG: Problem sending snmp trap",
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:873,
                 from status.c:29:
In function 'snprintf',
    inlined from 'cciss_status_check' at status.c:215:2:
/usr/include/bits/stdio2.h:67:10: warning: '__builtin___snprintf_chk' specified bound 2048 exceeds destination size 1024 [-Wstringop-overflow=]
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'snprintf',
    inlined from 'cciss_status_check' at status.c:236:2:
/usr/include/bits/stdio2.h:67:10: warning: '__builtin___snprintf_chk' specified bound 2048 exceeds destination size 1024 [-Wstringop-overflow=]
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [Makefile:470: status.o] Error 1
make[2]: Leaving directory '/tmp/B.bjJC0c/BUILD/cpqarrayd-2.3'
make[1]: *** [Makefile:533: all-recursive] Error 1
make: *** [Makefile:352: all] Error 2
error: Bad exit status from /tmp/B.bjJC0c/BUILD/tmp/rpm-tmp.59064 (%build)


RPM build errors:
    Bad exit status from /tmp/B.bjJC0c/BUILD/tmp/rpm-tmp.59064 (%build)
ended at: Sun Sep  2 19:17:44 2018, done in 0:00:05.645355
error: No files produced.
mesg: ttyname failed: Inappropriate ioctl for device
+ chmod -R u+rwX /tmp/B.bjJC0c/BUILD
+ rm -rf /tmp/B.bjJC0c/tmp /tmp/B.bjJC0c/BUILD
mesg: ttyname failed: Inappropriate ioctl for device
+ rm -rf /tmp/B.bjJC0c
Begin-PLD-Builder-Info
Build-Time: user:5.16s sys:1.05s real:8.30s (faults io:0 non-io:539408)

End-PLD-Builder-Info
[Back to list of logs] [View rpm -qa of builder]