Redwax certificate processing tool

Build: #88 failed

Job: Build Job - CentOS8 failed

Stages & jobs

  1. Default Stage

  2. Release Stage

    Requires a user to start manually

Build log

The build generated 244 lines of output. Download or view full build log.

01-Dec-2021 21:55:03 Build Redwax Tool - redwax-tool - Build Job - CentOS8 #88 (RT-TOOL-JOB3-88) started building on agent coconut.redwax.eu, bamboo version: 7.2.5
01-Dec-2021 21:55:03 Remote agent on host coconut.redwax.eu
01-Dec-2021 21:55:03 Build working directory is /var/lib/atlassian-bamboo-agent/home/xml-data/build-dir/RT-TOOL-JOB3
01-Dec-2021 21:55:03 Executing build Redwax Tool - redwax-tool - Build Job - CentOS8 #88 (RT-TOOL-JOB3-88)
01-Dec-2021 21:55:03 Starting task 'Check out source' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
01-Dec-2021 21:55:03 Build always requires a clean checkout
01-Dec-2021 21:55:03 Cleaning build directory '/var/lib/atlassian-bamboo-agent/home/xml-data/build-dir/RT-TOOL-JOB3/redwax-tool'
01-Dec-2021 21:55:03 Checking out into /var/lib/atlassian-bamboo-agent/home/xml-data/build-dir/RT-TOOL-JOB3/redwax-tool
01-Dec-2021 21:55:03 Updating source code to revision: 100
01-Dec-2021 21:55:03 Working directory '/var/lib/atlassian-bamboo-agent/home/xml-data/build-dir/RT-TOOL-JOB3/redwax-tool' is empty. Checking out SVN URL 'https://source.redwax.eu/svn/redwax/rt/redwax-tool/trunk'
01-Dec-2021 21:55:05 Updated source code to revision: 100
01-Dec-2021 21:55:05 Finished task 'Check out source' with result: Success
01-Dec-2021 21:55:05 Running pre-build action: VCS Version Collector
01-Dec-2021 21:55:05 Starting task 'autoreconf' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.command'
01-Dec-2021 21:55:05
Beginning to execute external process for build 'Redwax Tool - redwax-tool - Build Job - CentOS8 #88 (RT-TOOL-JOB3-88)'
... running command line:
/usr/bin/autoreconf --install --force
... in: /var/lib/atlassian-bamboo-agent/home/xml-data/build-dir/RT-TOOL-JOB3/redwax-tool
01-Dec-2021 21:55:07 aclocal: warning: couldn't open directory 'm4': No such file or directory
01-Dec-2021 21:55:11 libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
01-Dec-2021 21:55:11 libtoolize: copying file 'build-aux/ltmain.sh'
01-Dec-2021 21:55:11 libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
01-Dec-2021 21:55:11 libtoolize: copying file 'm4/libtool.m4'
01-Dec-2021 21:55:11 libtoolize: copying file 'm4/ltoptions.m4'
01-Dec-2021 21:55:11 libtoolize: copying file 'm4/ltsugar.m4'
01-Dec-2021 21:55:11 libtoolize: copying file 'm4/ltversion.m4'
01-Dec-2021 21:55:11 libtoolize: copying file 'm4/lt~obsolete.m4'
01-Dec-2021 21:55:18 configure.ac:9: installing 'build-aux/compile'
01-Dec-2021 21:55:18 configure.ac:9: installing 'build-aux/config.guess'
01-Dec-2021 21:55:18 configure.ac:9: installing 'build-aux/config.sub'
01-Dec-2021 21:55:18 configure.ac:8: installing 'build-aux/install-sh'
01-Dec-2021 21:55:18 configure.ac:8: installing 'build-aux/missing'
01-Dec-2021 21:55:18 Makefile.am: installing 'build-aux/depcomp'
01-Dec-2021 21:55:18 Finished task 'autoreconf' with result: Success
01-Dec-2021 21:55:18
Substituting variable: ${bamboo.build.working.directory} with /var/lib/atlassian-bamboo-agent/home/xml-data/build-dir/RT-TOOL-JOB3
01-Dec-2021 21:55:18 Starting task 'configure' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
01-Dec-2021 21:55:18
Beginning to execute external process for build 'Redwax Tool - redwax-tool - Build Job - CentOS8 #88 (RT-TOOL-JOB3-88)'
... running command line:
/var/lib/atlassian-bamboo-agent/home/temp/RT-TOOL-JOB3-88-ScriptBuildTask-2019076922070991911.sh
... in: /var/lib/atlassian-bamboo-agent/home/xml-data/build-dir/RT-TOOL-JOB3/redwax-tool
01-Dec-2021 21:55:18 checking for a BSD-compatible install... /usr/bin/install -c
01-Dec-2021 21:55:18 checking whether build environment is sane... yes
01-Dec-2021 21:55:18 checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
01-Dec-2021 21:55:18 checking for gawk... gawk
01-Dec-2021 21:55:18 checking whether make sets $(MAKE)... yes
01-Dec-2021 21:55:18 checking whether make supports nested variables... yes
01-Dec-2021 21:55:18 checking build system type... x86_64-pc-linux-gnu
01-Dec-2021 21:55:18 checking host system type... x86_64-pc-linux-gnu
01-Dec-2021 21:55:18 checking how to print strings... printf
01-Dec-2021 21:55:18 checking whether make supports the include directive... yes (GNU style)
01-Dec-2021 21:55:18 checking for gcc... gcc
01-Dec-2021 21:55:19 checking whether the C compiler works... yes
01-Dec-2021 21:55:19 checking for C compiler default output file name... a.out
01-Dec-2021 21:55:19 checking for suffix of executables...
01-Dec-2021 21:55:19 checking whether we are cross compiling... no
01-Dec-2021 21:55:19 checking for suffix of object files... o
01-Dec-2021 21:55:19 checking whether we are using the GNU C compiler... yes
01-Dec-2021 21:55:19 checking whether gcc accepts -g... yes
01-Dec-2021 21:55:19 checking for gcc option to accept ISO C89... none needed
01-Dec-2021 21:55:19 checking whether gcc understands -c and -o together... yes
01-Dec-2021 21:55:19 checking dependency style of gcc... gcc3
01-Dec-2021 21:55:19 checking for a sed that does not truncate output... /usr/bin/sed
01-Dec-2021 21:55:19 checking for grep that handles long lines and -e... /usr/bin/grep
01-Dec-2021 21:55:19 checking for egrep... /usr/bin/grep -E
01-Dec-2021 21:55:19 checking for fgrep... /usr/bin/grep -F
01-Dec-2021 21:55:19 checking for ld used by gcc... /usr/bin/ld
01-Dec-2021 21:55:19 checking if the linker (/usr/bin/ld) is GNU ld... yes
01-Dec-2021 21:55:19 checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
01-Dec-2021 21:55:19 checking the name lister (/usr/bin/nm -B) interface... BSD nm
01-Dec-2021 21:55:19 checking whether ln -s works... yes
01-Dec-2021 21:55:19 checking the maximum length of command line arguments... 1572864
01-Dec-2021 21:55:19 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
01-Dec-2021 21:55:19 checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
01-Dec-2021 21:55:19 checking for /usr/bin/ld option to reload object files... -r
01-Dec-2021 21:55:19 checking for objdump... objdump
01-Dec-2021 21:55:19 checking how to recognize dependent libraries... pass_all
01-Dec-2021 21:55:19 checking for dlltool... no
01-Dec-2021 21:55:19 checking how to associate runtime and link libraries... printf %s\n
01-Dec-2021 21:55:19 checking for ar... ar
01-Dec-2021 21:55:20 checking for archiver @FILE support... @
01-Dec-2021 21:55:20 checking for strip... strip
01-Dec-2021 21:55:20 checking for ranlib... ranlib
01-Dec-2021 21:55:20 checking command to parse /usr/bin/nm -B output from gcc object... ok
01-Dec-2021 21:55:20 checking for sysroot... no
01-Dec-2021 21:55:20 checking for a working dd... /usr/bin/dd
01-Dec-2021 21:55:20 checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
01-Dec-2021 21:55:20 checking for mt... no
01-Dec-2021 21:55:20 checking if : is a manifest tool... no
01-Dec-2021 21:55:20 checking how to run the C preprocessor... gcc -E
01-Dec-2021 21:55:20 checking for ANSI C header files... yes
01-Dec-2021 21:55:21 checking for sys/types.h... yes
01-Dec-2021 21:55:21 checking for sys/stat.h... yes
01-Dec-2021 21:55:21 checking for stdlib.h... yes
01-Dec-2021 21:55:21 checking for string.h... yes
01-Dec-2021 21:55:21 checking for memory.h... yes
01-Dec-2021 21:55:21 checking for strings.h... yes
01-Dec-2021 21:55:21 checking for inttypes.h... yes
01-Dec-2021 21:55:21 checking for stdint.h... yes
01-Dec-2021 21:55:21 checking for unistd.h... yes
01-Dec-2021 21:55:21 checking for dlfcn.h... yes
01-Dec-2021 21:55:21 checking for objdir... .libs
01-Dec-2021 21:55:22 checking if gcc supports -fno-rtti -fno-exceptions... no
01-Dec-2021 21:55:22 checking for gcc option to produce PIC... -fPIC -DPIC
01-Dec-2021 21:55:22 checking if gcc PIC flag -fPIC -DPIC works... yes
01-Dec-2021 21:55:22 checking if gcc static flag -static works... no
01-Dec-2021 21:55:22 checking if gcc supports -c -o file.o... yes
01-Dec-2021 21:55:22 checking if gcc supports -c -o file.o... (cached) yes
01-Dec-2021 21:55:22 checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
01-Dec-2021 21:55:22 checking whether -lc should be explicitly linked in... no
01-Dec-2021 21:55:22 checking dynamic linker characteristics... GNU/Linux ld.so
01-Dec-2021 21:55:22 checking how to hardcode library paths into programs... immediate
01-Dec-2021 21:55:22 checking whether stripping libraries is possible... yes
01-Dec-2021 21:55:22 checking if libtool supports shared libraries... yes
01-Dec-2021 21:55:22 checking whether to build shared libraries... yes
01-Dec-2021 21:55:22 checking whether to build static libraries... yes
01-Dec-2021 21:55:22 checking for gcc... (cached) gcc
01-Dec-2021 21:55:22 checking whether we are using the GNU C compiler... (cached) yes
01-Dec-2021 21:55:22 checking whether gcc accepts -g... (cached) yes
01-Dec-2021 21:55:22 checking for gcc option to accept ISO C89... (cached) none needed
01-Dec-2021 21:55:22 checking whether gcc understands -c and -o together... (cached) yes
01-Dec-2021 21:55:22 checking dependency style of gcc... (cached) gcc3
01-Dec-2021 21:55:22 checking for pkg-config... /usr/bin/pkg-config
01-Dec-2021 21:55:22 checking pkg-config is at least version 0.9.0... yes
01-Dec-2021 21:55:22 checking for openssl... yes
01-Dec-2021 21:55:23 checking openssl/pem.h usability... yes
01-Dec-2021 21:55:23 checking openssl/pem.h presence... yes
01-Dec-2021 21:55:23 checking for openssl/pem.h... yes
01-Dec-2021 21:55:23 checking for nss... yes
01-Dec-2021 21:55:23 checking for BASH_COMPLETION... no
01-Dec-2021 21:55:23 checking for apr... yes
01-Dec-2021 21:55:23 checking for apu... yes
01-Dec-2021 21:55:23 checking for stdbool.h that conforms to C99... yes
01-Dec-2021 21:55:23 checking for _Bool... yes
01-Dec-2021 21:55:23 checking for inline... inline
01-Dec-2021 21:55:23 checking for pid_t... yes
01-Dec-2021 21:55:24 checking for size_t... yes
01-Dec-2021 21:55:24 checking for ssize_t... yes
01-Dec-2021 21:55:24 checking for uint32_t... yes
01-Dec-2021 21:55:24 checking for unistd.h... (cached) yes
01-Dec-2021 21:55:24 checking libgen.h usability... yes
01-Dec-2021 21:55:24 checking libgen.h presence... yes
01-Dec-2021 21:55:24 checking for libgen.h... yes
01-Dec-2021 21:55:24 checking openssl/core_names.h usability... no
01-Dec-2021 21:55:24 checking openssl/core_names.h presence... no
01-Dec-2021 21:55:24 checking for openssl/core_names.h... no
01-Dec-2021 21:55:24 checking for stdlib.h... (cached) yes
01-Dec-2021 21:55:24 checking for GNU libc compatible malloc... yes
01-Dec-2021 21:55:25 checking for OPENSSL_init_crypto... yes
01-Dec-2021 21:55:25 checking for PKCS12_SAFEBAG_get0_safes... yes
01-Dec-2021 21:55:26 checking for PKCS12_SAFEBAG_get_bag_nid... yes
01-Dec-2021 21:55:26 checking for PKCS12_SAFEBAG_get_nid... yes
01-Dec-2021 21:55:26 checking for PKCS12_SAFEBAG_get0_attr... yes
01-Dec-2021 21:55:27 checking for PKCS12_SAFEBAG_get0_p8inf... yes
01-Dec-2021 21:55:27 checking for PKCS12_SAFEBAG_get1_cert... yes
01-Dec-2021 21:55:28 checking for PKCS12_SAFEBAG_get1_crl... yes
01-Dec-2021 21:55:28 checking for OPENSSL_uni2utf8... yes
01-Dec-2021 21:55:28 checking for ASN1_TIME_diff... yes
01-Dec-2021 21:55:29 checking for X509_STORE_get0_param... yes
01-Dec-2021 21:55:29 checking for X509_STORE_CTX_set0_trusted_stack... yes
01-Dec-2021 21:55:29 checking for X509_STORE_CTX_get_num_untrusted... yes
01-Dec-2021 21:55:30 checking for X509_get0_notBefore... yes
01-Dec-2021 21:55:30 checking for X509_get0_notAfter... yes
01-Dec-2021 21:55:30 checking for X509_get_extension_flags... yes
01-Dec-2021 21:55:31 checking for X509_up_ref... yes
01-Dec-2021 21:55:31 checking for EVP_PKEY_get0_description... no
01-Dec-2021 21:55:32 checking for EVP_PKEY_get_bn_param... no
01-Dec-2021 21:55:32 checking for RSA_get0_n... yes
01-Dec-2021 21:55:32 checking for RSA_get0_e... yes
01-Dec-2021 21:55:33 checking for RSA_get0_d... yes
01-Dec-2021 21:55:33 checking for RSA_get0_p... yes
01-Dec-2021 21:55:34 checking for RSA_get0_q... yes
01-Dec-2021 21:55:34 checking for RSA_get0_dmp1... yes
01-Dec-2021 21:55:34 checking for RSA_get0_dmq1... yes
01-Dec-2021 21:55:35 checking for RSA_get0_iqmp... yes
01-Dec-2021 21:55:35 checking for RSA_set0_key... yes
01-Dec-2021 21:55:35 checking for RSA_set0_factors... yes
01-Dec-2021 21:55:36 checking for RSA_set0_crt_params... yes
01-Dec-2021 21:55:36 checking for NSS_Initialize... yes
01-Dec-2021 21:55:36 checking for p11_kit_modules_load_and_initialize... no
01-Dec-2021 21:55:37 checking for apr_crypto_clear... yes
01-Dec-2021 21:55:37 checking that generated files are newer than configure... done
01-Dec-2021 21:55:37 configure: creating ./config.status
01-Dec-2021 21:55:38 config.status: creating Makefile
01-Dec-2021 21:55:38 config.status: creating redwax-tool.spec
01-Dec-2021 21:55:38 config.status: creating config.h
01-Dec-2021 21:55:38 config.status: executing depfiles commands
01-Dec-2021 21:55:38 config.status: executing libtool commands
01-Dec-2021 21:55:38 Finished task 'configure' with result: Success
01-Dec-2021 21:55:38
Substituting variable: ${bamboo.build.working.directory} with /var/lib/atlassian-bamboo-agent/home/xml-data/build-dir/RT-TOOL-JOB3
01-Dec-2021 21:55:38 Starting task 'make install' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.command'
01-Dec-2021 21:55:38
Beginning to execute external process for build 'Redwax Tool - redwax-tool - Build Job - CentOS8 #88 (RT-TOOL-JOB3-88)'
... running command line:
/usr/bin/make install
... in: /var/lib/atlassian-bamboo-agent/home/xml-data/build-dir/RT-TOOL-JOB3/redwax-tool
01-Dec-2021 21:55:38 gcc -DHAVE_CONFIG_H -I.  -DPKGSYSCONFDIR='"/usr/local/etc/redwax-tool"' -DPKGLIBEXECDIR='"/usr/local/libexec/redwax-tool"' -DP11_MODULE_PATH='""'   -O0 -g -Wall  -I/usr/include/nss3 -I/usr/include/nspr4  -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apr-1  -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread   -I/usr/include/nss3 -I/usr/include/nspr4  -MT redwax-tool.o -MD -MP -MF .deps/redwax-tool.Tpo -c -o redwax-tool.o redwax-tool.c
01-Dec-2021 21:55:39 mv -f .deps/redwax-tool.Tpo .deps/redwax-tool.Po
01-Dec-2021 21:55:39 gcc -DHAVE_CONFIG_H -I.  -DPKGSYSCONFDIR='"/usr/local/etc/redwax-tool"' -DPKGLIBEXECDIR='"/usr/local/libexec/redwax-tool"' -DP11_MODULE_PATH='""'   -O0 -g -Wall  -I/usr/include/nss3 -I/usr/include/nspr4  -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apr-1  -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread   -I/usr/include/nss3 -I/usr/include/nspr4  -MT redwax_openssl.o -MD -MP -MF .deps/redwax_openssl.Tpo -c -o redwax_openssl.o redwax_openssl.c
01-Dec-2021 21:55:39 redwax_openssl.c: In function ‘redwax_openssl_spki_metadata’:
01-Dec-2021 21:55:39 redwax_openssl.c:2568:54: warning: passing argument 5 of ‘X509_PUBKEY_get0_param’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
01-Dec-2021 21:55:39      X509_PUBKEY_get0_param(&xpoid, NULL, NULL, NULL, xpkey);
01-Dec-2021 21:55:39                                                       ^~~~~
01-Dec-2021 21:55:39 In file included from /usr/include/openssl/pem.h:17,
01-Dec-2021 21:55:39                  from redwax_openssl.c:38:
01-Dec-2021 21:55:39 /usr/include/openssl/x509.h:1031:58: note: expected ‘X509_PUBKEY *’ {aka ‘struct X509_pubkey_st *’} but argument is of type ‘const X509_PUBKEY *’ {aka ‘const struct X509_pubkey_st *’}
01-Dec-2021 21:55:39                             X509_ALGOR **pa, X509_PUBKEY *pub);
01-Dec-2021 21:55:39                                              ~~~~~~~~~~~~~^~~
01-Dec-2021 21:55:39 redwax_openssl.c:2585:28: warning: passing argument 1 of ‘X509_PUBKEY_get’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
01-Dec-2021 21:55:39      pkey = X509_PUBKEY_get(xpkey);
01-Dec-2021 21:55:39                             ^~~~~
01-Dec-2021 21:55:39 In file included from /usr/include/openssl/pem.h:17,
01-Dec-2021 21:55:39                  from redwax_openssl.c:38:
01-Dec-2021 21:55:39 /usr/include/openssl/x509.h:510:11: note: expected ‘X509_PUBKEY *’ {aka ‘struct X509_pubkey_st *’} but argument is of type ‘const X509_PUBKEY *’ {aka ‘const struct X509_pubkey_st *’}
01-Dec-2021 21:55:39 EVP_PKEY *X509_PUBKEY_get(X509_PUBKEY *key);
01-Dec-2021 21:55:39            ^~~~~~~~~~~~~~~
01-Dec-2021 21:55:39 redwax_openssl.c: In function ‘redwax_openssl_general_name_metadata’:
01-Dec-2021 21:55:39 redwax_openssl.c:2616:21: error: ‘NID_SRVName’ undeclared (first use in this function); did you mean ‘NID_dmdName’?
01-Dec-2021 21:55:39          if ((nid == NID_SRVName
01-Dec-2021 21:55:39                      ^~~~~~~~~~~
01-Dec-2021 21:55:39                      NID_dmdName
01-Dec-2021 21:55:39 redwax_openssl.c:2616:21: note: each undeclared identifier is reported only once for each function it appears in
01-Dec-2021 21:55:39 redwax_openssl.c:2628:14: error: ‘NID_id_on_SmtpUTF8Mailbox’ undeclared (first use in this function); did you mean ‘NID_janetMailbox’?
01-Dec-2021 21:55:39          case NID_id_on_SmtpUTF8Mailbox:
01-Dec-2021 21:55:39               ^~~~~~~~~~~~~~~~~~~~~~~~~
01-Dec-2021 21:55:39               NID_janetMailbox
01-Dec-2021 21:55:39 redwax_openssl.c:2634:14: error: ‘NID_XmppAddr’ undeclared (first use in this function); did you mean ‘NID_hmac_md5’?
01-Dec-2021 21:55:39          case NID_XmppAddr:
01-Dec-2021 21:55:39               ^~~~~~~~~~~~
01-Dec-2021 21:55:39               NID_hmac_md5
01-Dec-2021 21:55:39 redwax_openssl.c:2652:14: error: ‘NID_NAIRealm’ undeclared (first use in this function); did you mean ‘NID_id_alg’?
01-Dec-2021 21:55:39          case NID_NAIRealm:
01-Dec-2021 21:55:39               ^~~~~~~~~~~~
01-Dec-2021 21:55:39               NID_id_alg
01-Dec-2021 21:55:39 make: *** [Makefile:516: redwax_openssl.o] Error 1
01-Dec-2021 21:55:39 Failing task since return code of [/usr/bin/make install] was 2 while expected 0
01-Dec-2021 21:55:39 Finished task 'make install' with result: Failed
01-Dec-2021 21:55:39 Running post build plugin 'Docker Container Cleanup'
01-Dec-2021 21:55:39 Running post build plugin 'NCover Results Collector'
01-Dec-2021 21:55:39 Running post build plugin 'Clover Results Collector'
01-Dec-2021 21:55:39 Running post build plugin 'npm Cache Cleanup'
01-Dec-2021 21:55:39 Running post build plugin 'Artifact Copier'
01-Dec-2021 21:55:39 Finalising the build...
01-Dec-2021 21:55:39 Stopping timer.
01-Dec-2021 21:55:39 Build RT-TOOL-JOB3-88 completed.
01-Dec-2021 21:55:40 Running on server: post build plugin 'NCover Results Collector'
01-Dec-2021 21:55:40 Running on server: post build plugin 'Build Hanging Detection Configuration'
01-Dec-2021 21:55:40 Running on server: post build plugin 'Clover Delta Calculator'
01-Dec-2021 21:55:40 Running on server: post build plugin 'Maven Dependencies Postprocessor'
01-Dec-2021 21:55:40 All post build plugins have finished
01-Dec-2021 21:55:40 Generating build results summary...
01-Dec-2021 21:55:40 Saving build results to disk...
01-Dec-2021 21:55:40 Store variable context...
01-Dec-2021 21:55:40 Indexing build results...
01-Dec-2021 21:55:40 Finished building RT-TOOL-JOB3-88.