Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/sscep.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-327a4bf61b055c55892d01c5d4c082ed68198611/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=995) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/sscep.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/sscep-0.6.1-5.20160525git2052ee1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/sscep.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-327a4bf61b055c55892d01c5d4c082ed68198611/root'shell=Falseuid=995env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/sscep.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.FNbjha + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sscep-2052ee1c834973879ad319778890f1cedd692821 + /usr/bin/gzip -dc /builddir/build/SOURCES/sscep-2052ee1c834973879ad319778890f1cedd692821.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd sscep-2052ee1c834973879ad319778890f1cedd692821 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /builddir/build/SOURCES/sscep-Makefile Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6oHpni + umask 022 + cd /builddir/build/BUILD + cd sscep-2052ee1c834973879ad319778890f1cedd692821 + /usr/bin/make -j4 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' 'LDFLAGS=-Wl,-z,relro ' gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o sscep.o sscep.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o init.o init.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o net.o net.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o sceputils.o sceputils.c sceputils.c: In function 'new_selfsigned': sceputils.c:102:2: warning: passing argument 2 of 'c2i_ASN1_INTEGER' from incompatible pointer type [enabled by default] if (!(serial = c2i_ASN1_INTEGER(NULL, &ptr, 32))) { ^ In file included from /usr/include/openssl/objects.h:960:0, from /usr/include/openssl/evp.h:98, from sscep.h:50, from sceputils.c:9: /usr/include/openssl/asn1.h:833:15: note: expected 'const unsigned char **' but argument is of type 'unsigned char **' ASN1_INTEGER *c2i_ASN1_INTEGER(ASN1_INTEGER **a,const unsigned char **pp, ^ sceputils.c: In function 'key_fingerprint': sceputils.c:233:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] str = (unsigned char *)malloc(2 * MD5_DIGEST_LENGTH + 1); ^ sscep.c: In function 'main': sscep.c:688:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] scep_t.reply_payload = reply.payload; ^ sscep.c:79:8: warning: variable 'p7' set but not used [-Wunused-but-set-variable] PKCS7 p7; ^ init.c: In function 'init_config': init.c:18:6: warning: variable 'k' set but not used [-Wunused-but-set-variable] int k, i, lines; ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o pkcs7.o pkcs7.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o ias.o ias.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o fileutils.o fileutils.c pkcs7.c: In function 'pkcs7_wrap': pkcs7.c:89:4: warning: passing argument 1 of 'ASN1_i2d_bio' from incompatible pointer type [enabled by default] if ((rc = i2d_pkcs7_issuer_and_subject_bio(databio, ^ In file included from /usr/include/openssl/objects.h:960:0, from /usr/include/openssl/evp.h:98, from sscep.h:50, from pkcs7.c:9: /usr/include/openssl/asn1.h:1012:5: note: expected 'int (*)(void *, unsigned char **)' but argument is of type 'int (*)(struct pkcs7_issuer_and_subject *, unsigned char **)' int ASN1_i2d_bio(i2d_of_void *i2d,BIO *out, unsigned char *x); ^ pkcs7.c:108:4: warning: passing argument 1 of 'ASN1_i2d_bio' from incompatible pointer type [enabled by default] if ((rc = i2d_PKCS7_ISSUER_AND_SERIAL_bio(databio, ^ In file included from /usr/include/openssl/objects.h:960:0, from /usr/include/openssl/evp.h:98, from sscep.h:50, from pkcs7.c:9: /usr/include/openssl/asn1.h:1012:5: note: expected 'int (*)(void *, unsigned char **)' but argument is of type 'int (*)(struct PKCS7_ISSUER_AND_SERIAL *, unsigned char **)' int ASN1_i2d_bio(i2d_of_void *i2d,BIO *out, unsigned char *x); ^ pkcs7.c:127:4: warning: passing argument 1 of 'ASN1_i2d_bio' from incompatible pointer type [enabled by default] if ((rc = i2d_PKCS7_ISSUER_AND_SERIAL_bio(databio, ^ In file included from /usr/include/openssl/objects.h:960:0, from /usr/include/openssl/evp.h:98, from sscep.h:50, from pkcs7.c:9: /usr/include/openssl/asn1.h:1012:5: note: expected 'int (*)(void *, unsigned char **)' but argument is of type 'int (*)(struct PKCS7_ISSUER_AND_SERIAL *, unsigned char **)' int ASN1_i2d_bio(i2d_of_void *i2d,BIO *out, unsigned char *x); ^ pkcs7.c:185:3: warning: too many arguments for format [-Wformat-extra-args] printf("\n %s: hexdump request payload \n", pname , i); ^ pkcs7.c:263:4: warning: pointer targets in passing argument 3 of 'add_attribute_octet' differ in signedness [-Wpointer-sign] s->sender_nonce_len); ^ In file included from pkcs7.c:9:0: sscep.h:340:5: note: expected 'char *' but argument is of type 'unsigned char *' int add_attribute_octet(STACK_OF(X509_ATTRIBUTE) *, int, char *, int); ^ pkcs7.c:34:12: warning: unused variable 'reqcsr' [-Wunused-variable] X509_REQ *reqcsr = NULL; ^ pkcs7.c: In function 'pkcs7_verify_unwrap': pkcs7.c:344:14: warning: unused variable 'recipientkey' [-Wunused-variable] EVP_PKEY *recipientkey; ^ pkcs7.c:343:11: warning: unused variable 'recipientcert' [-Wunused-variable] X509 *recipientcert; ^ pkcs7.c:341:11: warning: unused variable 'p' [-Wunused-variable] char *p; ^ pkcs7.c:340:28: warning: unused variable 'attribs' [-Wunused-variable] STACK_OF(X509_ATTRIBUTE) *attribs; ^ pkcs7.c:338:12: warning: unused variable 'p7' [-Wunused-variable] PKCS7 *p7; ^ pkcs7.c:336:9: warning: unused variable 'i' [-Wunused-variable] int i, len, bytes, used; ^ pkcs7.c: In function 'pkcs7_unwrap': pkcs7.c:628:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s->reply_sender_nonce = p; ^ pkcs7.c:641:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s->reply_recipient_nonce = p; ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o configuration.o configuration.c fileutils.c: In function 'compare_subject': fileutils.c:66:3: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'struct X509_NAME *' [-Wformat=] fprintf(stderr, "Subject of the returned certificate: %s\n", X509_get_subject_name(cert)); ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o engine.o engine.c configuration.c: In function 'scep_conf_load': configuration.c:159:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(var = NCONF_get_string(conf, engine_section, SCEP_CONFIGURATION_ENGINE_ID)) { ^ configuration.c:182:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(var = NCONF_get_string(conf, engine_special_section, SCEP_CONFIGURATION_ENGINE_CAPI_NEWKEYLOCATION)) { ^ configuration.c:192:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(var = NCONF_get_string(conf, engine_special_section, SCEP_CONFIGURATION_ENGINE_CAPI_STORELOCATION)) { ^ configuration.c:215:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(var = NCONF_get_string(conf, engine_special_section, SCEP_CONFIGURATION_ENGINE_JKSENGINE_KEYSTOREPASS)) { ^ configuration.c:221:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(var = NCONF_get_string(conf, engine_special_section, SCEP_CONFIGURATION_ENGINE_JKSENGINE_JCONNPATH)) { ^ configuration.c:227:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(var = NCONF_get_string(conf, engine_special_section, SCEP_CONFIGURATION_ENGINE_JKSENGINE_PROVIDER)) { ^ configuration.c:233:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(var = NCONF_get_string(conf, engine_special_section, SCEP_CONFIGURATION_ENGINE_JKSENGINE_JAVAPATH)) { ^ configuration.c:244:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(var = NCONF_get_string(conf, engine_special_section, SCEP_CONFIGURATION_ENGINE_PKCS11_PIN)) { ^ configuration.c:252:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(var = NCONF_get_string(conf, engine_section, SCEP_CONFIGURATION_ENGINE_DYNPATH)) { ^ configuration.c:273:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(var = NCONF_get_string(conf, engine_section, SCEP_CONFIGURATION_ENGINE_MODULEPATH)) { ^ configuration.c:285:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(cmds_section = NCONF_get_string(conf, engine_section, SCEP_CONFIGURATION_ENGINE_CMDS)) { ^ configuration.c:57:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret; ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -o sscep sscep.o init.o net.o sceputils.o pkcs7.o ias.o fileutils.o configuration.o engine.o -lcrypto -Wl,-z,relro + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.oMxGIi + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sscep-0.6.1-5.20160525git2052ee1.el7.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sscep-0.6.1-5.20160525git2052ee1.el7.arm ++ dirname /builddir/build/BUILDROOT/sscep-0.6.1-5.20160525git2052ee1.el7.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sscep-0.6.1-5.20160525git2052ee1.el7.arm + cd sscep-2052ee1c834973879ad319778890f1cedd692821 + install -pm 755 -d /builddir/build/BUILDROOT/sscep-0.6.1-5.20160525git2052ee1.el7.arm/usr/share/doc/sscep + install -pm 755 -d /builddir/build/BUILDROOT/sscep-0.6.1-5.20160525git2052ee1.el7.arm/etc/sscep/ + install -pm 755 -d /builddir/build/BUILDROOT/sscep-0.6.1-5.20160525git2052ee1.el7.arm/usr/bin + install -pm 644 sscep.conf /builddir/build/BUILDROOT/sscep-0.6.1-5.20160525git2052ee1.el7.arm/etc/sscep + install -pm 755 sscep mkrequest /builddir/build/BUILDROOT/sscep-0.6.1-5.20160525git2052ee1.el7.arm/usr/bin + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/sscep-2052ee1c834973879ad319778890f1cedd692821 extracting debug info from /builddir/build/BUILDROOT/sscep-0.6.1-5.20160525git2052ee1.el7.arm/usr/bin/sscep dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 272 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: sscep-0.6.1-5.20160525git2052ee1.el7.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.biA1V1 + umask 022 + cd /builddir/build/BUILD + cd sscep-2052ee1c834973879ad319778890f1cedd692821 + DOCDIR=/builddir/build/BUILDROOT/sscep-0.6.1-5.20160525git2052ee1.el7.arm/usr/share/doc/sscep-0.6.1 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/sscep-0.6.1-5.20160525git2052ee1.el7.arm/usr/share/doc/sscep-0.6.1 + cp -pr COPYRIGHT /builddir/build/BUILDROOT/sscep-0.6.1-5.20160525git2052ee1.el7.arm/usr/share/doc/sscep-0.6.1 + cp -pr HISTORY /builddir/build/BUILDROOT/sscep-0.6.1-5.20160525git2052ee1.el7.arm/usr/share/doc/sscep-0.6.1 + cp -pr TODO /builddir/build/BUILDROOT/sscep-0.6.1-5.20160525git2052ee1.el7.arm/usr/share/doc/sscep-0.6.1 + cp -pr README /builddir/build/BUILDROOT/sscep-0.6.1-5.20160525git2052ee1.el7.arm/usr/share/doc/sscep-0.6.1 + cp -pr draft-nourse-scep-06.txt /builddir/build/BUILDROOT/sscep-0.6.1-5.20160525git2052ee1.el7.arm/usr/share/doc/sscep-0.6.1 + cp -pr draft-nourse-scep-11.txt /builddir/build/BUILDROOT/sscep-0.6.1-5.20160525git2052ee1.el7.arm/usr/share/doc/sscep-0.6.1 + exit 0 Provides: config(sscep) = 0.6.1-5.20160525git2052ee1.el7 sscep = 0.6.1-5.20160525git2052ee1.el7 sscep(armv7hl-32) = 0.6.1-5.20160525git2052ee1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libc.so.6 libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libcrypto.so.10 libcrypto.so.10(libcrypto.so.10) libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) rtld(GNU_HASH) Processing files: sscep-debuginfo-0.6.1-5.20160525git2052ee1.el7.armv7hl Provides: sscep-debuginfo = 0.6.1-5.20160525git2052ee1.el7 sscep-debuginfo(armv7hl-32) = 0.6.1-5.20160525git2052ee1.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sscep-0.6.1-5.20160525git2052ee1.el7.arm Wrote: /builddir/build/RPMS/sscep-0.6.1-5.20160525git2052ee1.el7.armv7hl.rpm Wrote: /builddir/build/RPMS/sscep-debuginfo-0.6.1-5.20160525git2052ee1.el7.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.65hUlN + umask 022 + cd /builddir/build/BUILD + cd sscep-2052ee1c834973879ad319778890f1cedd692821 + /usr/bin/rm -rf /builddir/build/BUILDROOT/sscep-0.6.1-5.20160525git2052ee1.el7.arm + exit 0 Child return code was: 0