Mock Version: 0.9.14 Mock Version: 0.9.14 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/RATSdes.spec'], False, '/var/lib/mock/centos5-rutgers-build-853-1082/root/', None, 86400, True, 0, 73, 203, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/RATSdes.spec'] warning: Could not canonicalize hostname: omachi.rutgers.edu Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/perl-module-RATSdes-3-1.src.rpm Child returncode was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/RATSdes.spec'], False, '/var/lib/mock/centos5-rutgers-build-853-1082/root/', None, 86400, True, 0, 73, 203, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/RATSdes.spec'] Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.41879 + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf RATSdes + tar -xf /builddir/build/SOURCES/RATSdes-3.tar + cd RATSdes ++ /usr/bin/id -u + '[' 73 = 0 ']' ++ /usr/bin/id -u + '[' 73 = 0 ']' + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (RATSdes-3.patch):' Patch #0 (RATSdes-3.patch): + patch -p1 -s + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.41879 + umask 022 + cd /builddir/build/BUILD + cd RATSdes + LANG=C + export LANG + unset DISPLAY + perl Makefile.PL CCFLAGS=-DOPENSSL_DES_LIBDES_COMPATIBILITY MakeMaker (v6.30) Warning (non-fatal): Target 'dynamic' depends on targets in skipped section 'dynamic_lib' Warning (non-fatal): Target 'static' depends on targets in skipped section 'static_lib' Writing Makefile for RATSdes::src Writing Makefile for RATSdes + make clean /usr/bin/perl -e 'chdir '\''src'\''; system '\''make clean'\'' if -f '\''Makefile'\'';' make[1]: Entering directory `/builddir/build/BUILD/RATSdes/src' rm -f \ *.a core \ core.[0-9] ../blib/arch/auto/RATSdes/src/extralibs.all \ core.[0-9][0-9] src.bso \ pm_to_blib.ts core.[0-9][0-9][0-9][0-9] \ src.x src.bs \ perl tmon.out \ *.o pm_to_blib \ ../blib/arch/auto/RATSdes/src/extralibs.ld blibdirs.ts \ core.[0-9][0-9][0-9][0-9][0-9] *perl.core \ core.*perl.*.? Makefile.aperl \ perl src.def \ core.[0-9][0-9][0-9] mon.out \ libsrc.def perlmain.c \ perl.exe so_locations \ src.exp rm -rf \ libmylib blib mv Makefile Makefile.old > /dev/null 2>&1 make[1]: Leaving directory `/builddir/build/BUILD/RATSdes/src' rm -f \ *.a core \ core.[0-9] blib/arch/auto/RATSdes/extralibs.all \ core.[0-9][0-9] RATSdes.bso \ pm_to_blib.ts RATSdes.c \ core.[0-9][0-9][0-9][0-9] RATSdes.x \ RATSdes.bs perl \ tmon.out *.o \ pm_to_blib blib/arch/auto/RATSdes/extralibs.ld \ blibdirs.ts core.[0-9][0-9][0-9][0-9][0-9] \ *perl.core core.*perl.*.? \ Makefile.aperl RATSdes.def \ perl core.[0-9][0-9][0-9] \ mon.out libRATSdes.def \ perl.exe perlmain.c \ so_locations RATSdes.exp rm -rf \ blib mv Makefile Makefile.old > /dev/null 2>&1 + perl Makefile.PL CCFLAGS=-DOPENSSL_DES_LIBDES_COMPATIBILITY Checking if your kit is complete... Warning: the following files are missing in your kit: blib Makefile pm_to_blib Please inform the author. MakeMaker (v6.30) Warning (non-fatal): Target 'dynamic' depends on targets in skipped section 'dynamic_lib' Warning (non-fatal): Target 'static' depends on targets in skipped section 'static_lib' Writing Makefile for RATSdes::src Writing Makefile for RATSdes + make cp RATSdes.pm blib/lib/RATSdes.pm AutoSplitting blib/lib/RATSdes.pm (blib/lib/auto/RATSdes) cp vtest.pl blib/lib/vtest.pl cd src && make make[1]: Entering directory `/builddir/build/BUILD/RATSdes/src' gcc -c -I/usr/local/ssl/include/openssl -I/usr/local/ssl/include -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" Des_safer.c In file included from Des_safer.c:7: des.h:63:46: error: openssl/e_os2.h: No such file or directory In file included from Des_safer.c:7: des.h:90: error: expected specifier-qualifier-list before 'DES_LONG' des.h:101:30: error: openssl/des_old.h: No such file or directory des.h:125: error: expected declaration specifiers or '...' before 'DES_check_key' des.h:125: warning: data definition has no type or storage class des.h:125: warning: type defaults to 'int' in declaration of 'OPENSSL_DECLARE_GLOBAL' des.h:127: error: expected declaration specifiers or '...' before 'DES_rw_mode' des.h:127: warning: data definition has no type or storage class des.h:127: warning: type defaults to 'int' in declaration of 'OPENSSL_DECLARE_GLOBAL' des.h:134: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DES_cbc_cksum' des.h:162: error: expected ')' before '*' token des.h:170: error: expected ')' before '*' token des.h:172: error: expected ')' before '*' token des.h:174: error: expected ')' before '*' token des.h:213: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DES_quad_cksum' Des_safer.c: In function 'rats_des_encrypt': Des_safer.c:15: error: 'des_key_schedule' undeclared (first use in this function) Des_safer.c:15: error: (Each undeclared identifier is reported only once Des_safer.c:15: error: for each function it appears in.) Des_safer.c:15: error: expected ';' before 'sched1' Des_safer.c:16: warning: ISO C90 forbids mixed declarations and code Des_safer.c:26: warning: implicit declaration of function 'memset' Des_safer.c:26: warning: incompatible implicit declaration of built-in function 'memset' Des_safer.c:28: warning: implicit declaration of function 'des_string_to_key' Des_safer.c:30: warning: implicit declaration of function 'des_key_sched' Des_safer.c:30: error: 'sched1' undeclared (first use in this function) Des_safer.c:31: error: 'sched2' undeclared (first use in this function) Des_safer.c:35: warning: implicit declaration of function 'malloc' Des_safer.c:35: warning: incompatible implicit declaration of built-in function 'malloc' Des_safer.c:39: warning: implicit declaration of function 'test_malloc' Des_safer.c:50: warning: implicit declaration of function 'array_copy' Des_safer.c:52: warning: implicit declaration of function 'des_cbc_encrypt' Des_safer.c:60: warning: implicit declaration of function 'free' Des_safer.c: In function 'rats_des_decrypt': Des_safer.c:75: error: 'des_key_schedule' undeclared (first use in this function) Des_safer.c:75: error: expected ';' before 'sched1' Des_safer.c:76: warning: ISO C90 forbids mixed declarations and code Des_safer.c:86: warning: incompatible implicit declaration of built-in function 'malloc' Des_safer.c:96: warning: incompatible implicit declaration of built-in function 'memset' Des_safer.c:106: error: 'sched1' undeclared (first use in this function) Des_safer.c:107: error: 'sched2' undeclared (first use in this function) Des_safer.c: In function 'rats_encrypt': Des_safer.c:153: warning: implicit declaration of function 'strlen' Des_safer.c:153: warning: incompatible implicit declaration of built-in function 'strlen' Des_safer.c:169: warning: incompatible implicit declaration of built-in function 'malloc' Des_safer.c:172: warning: incompatible implicit declaration of built-in function 'memset' Des_safer.c:174: warning: pointer targets in passing argument 1 of 'array_copy' differ in signedness Des_safer.c:176: warning: pointer targets in passing argument 1 of 'rats_des_encrypt' differ in signedness Des_safer.c: In function 'rats_decrypt': Des_safer.c:187: warning: incompatible implicit declaration of built-in function 'malloc' Des_safer.c:190: warning: incompatible implicit declaration of built-in function 'memset' Des_safer.c:192: warning: pointer targets in passing argument 1 of 'array_copy' differ in signedness Des_safer.c: In function 'test_malloc': Des_safer.c:209: warning: implicit declaration of function 'exit' Des_safer.c:209: warning: incompatible implicit declaration of built-in function 'exit' make[1]: *** [Des_safer.o] Error 1 make[1]: Leaving directory `/builddir/build/BUILD/RATSdes/src' make: *** [src/libsrc.a] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.41879 (%build) Bad exit status from /var/tmp/rpm-tmp.41879 (%build) Child returncode was: 1 EXCEPTION: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/RATSdes.spec'] Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/mock/trace_decorator.py", line 70, in trace result = func(*args, **kw) File "/usr/lib/python2.4/site-packages/mock/util.py", line 324, in do raise mock.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/RATSdes.spec'] LEAVE do --> EXCEPTION RAISED