Mock Version: 0.9.14 Mock Version: 0.9.14 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target i686 --nodeps builddir/build/SPECS/aimage.spec'], False, '/var/lib/mock/dist-f12-openssl-570970-82934/root/', None, 86400, True, 0, 426, 102, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target i686 --nodeps builddir/build/SPECS/aimage.spec'] warning: Could not canonicalize hostname: x86-4.fedora.phx.redhat.com Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/aimage-3.2.0-6.fc12.src.rpm Child returncode was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target i686 --nodeps builddir/build/SPECS/aimage.spec'], False, '/var/lib/mock/dist-f12-openssl-570970-82934/root/', None, 86400, True, 0, 426, 102, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target i686 --nodeps builddir/build/SPECS/aimage.spec'] Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.j72ErO + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf aimage-3.2.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/aimage-3.2.0.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd aimage-3.2.0 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (aimage-3.2.0-gcc44.patch):' Patch #0 (aimage-3.2.0-gcc44.patch): + /bin/cat /builddir/build/SOURCES/aimage-3.2.0-gcc44.patch + /usr/bin/patch -s -p1 -b --suffix .gcc44 --fuzz=0 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.tfcops + umask 022 + cd /builddir/build/BUILD + cd aimage-3.2.0 + LANG=C + export LANG + unset DISPLAY + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -I/usr/lib/gfortran/modules' + export FFLAGS + ./configure --build=i386-redhat-linux-gnu --host=i386-redhat-linux-gnu --target=i686-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-opt checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for i386-redhat-linux-gnu-g++... no checking for i386-redhat-linux-gnu-c++... no checking for i386-redhat-linux-gnu-gpp... no checking for i386-redhat-linux-gnu-aCC... no checking for i386-redhat-linux-gnu-CC... no checking for i386-redhat-linux-gnu-cxx... no checking for i386-redhat-linux-gnu-cc++... no checking for i386-redhat-linux-gnu-cl.exe... no checking for i386-redhat-linux-gnu-FCC... no checking for i386-redhat-linux-gnu-KCC... no checking for i386-redhat-linux-gnu-RCC... no checking for i386-redhat-linux-gnu-xlC_r... no checking for i386-redhat-linux-gnu-xlC... no checking for g++... g++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... gcc3 checking for i386-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for a BSD-compatible install... /usr/bin/install -c checking /usr/local/include checking /opt/local/include checking /sw/include checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for strings.h... (cached) yes checking for string.h... (cached) yes checking for stdlib.h... (cached) yes checking for sys/types.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/statfs.h usability... yes checking sys/statfs.h presence... yes checking for sys/statfs.h... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for sys/stat.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking for unistd.h... (cached) yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking err.h usability... yes checking err.h presence... yes checking for err.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking openssl/md5.h usability... yes checking openssl/md5.h presence... yes checking for openssl/md5.h... yes checking openssl/sha.h usability... yes checking openssl/sha.h presence... yes checking for openssl/sha.h... yes checking openssl/aes.h usability... yes checking openssl/aes.h presence... yes checking for openssl/aes.h... yes checking openssl/rsa.h usability... yes checking openssl/rsa.h presence... yes checking for openssl/rsa.h... yes checking openssl/rand.h usability... yes checking openssl/rand.h presence... yes checking for openssl/rand.h... yes checking readline/readline.h usability... no checking readline/readline.h presence... no checking for readline/readline.h... no checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking curses.h usability... no checking curses.h presence... no checking for curses.h... no checking termcap.h usability... no checking termcap.h presence... no checking for termcap.h... no checking for ANSI C header files... (cached) yes checking for printf... yes checking for getrusage... yes checking for getprogname... no checking for strlcpy... no checking for strlcat... no checking for err_set_exit... no checking for srandom... yes checking for srandomdev... no checking for fstatfs... yes checking for valloc... yes checking for isdigit... yes checking for isalnum... yes checking for isalphanum... no checking for isatty... yes checking for popen... yes checking for ftruncate... yes checking for memset... yes checking for mkdir... yes checking for putenv... yes checking for regcomp... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strrchr... yes checking for err... yes checking for errx... yes checking for warn... yes checking for warnx... yes checking for tputs... no checking for tgoto... no checking for tgetstr... no checking for tgetnum... no checking for gotorc... no checking for beep... no checking for endwin... no checking for setupterm... no checking for printw... no checking for af_open in -lafflib... yes checking for uncompress in -lz... yes checking for MD5_Update in -lcrypto... yes checking for readline in -lreadline... no readline not installed checking for initscr in -lncurses... no ncurses not installed checking afflib/afflib.h usability... yes checking afflib/afflib.h presence... yes checking for afflib/afflib.h... yes checking afflib/aftimer.h usability... yes checking afflib/aftimer.h presence... yes checking for afflib/aftimer.h... yes checking afflib/utils.h usability... yes checking afflib/utils.h presence... yes checking for afflib/utils.h... yes checking expat.h usability... yes checking expat.h presence... yes checking for expat.h... yes checking for XML_ParserCreate in -lexpat... yes checking for ssl3_new in -lssl... yes checking for MD5_Update in -lcrypto... (cached) yes checking for openssl/aes.h... (cached) yes checking openssl/bio.h usability... yes checking openssl/bio.h presence... yes checking for openssl/bio.h... yes checking openssl/evp.h usability... yes checking openssl/evp.h presence... yes checking for openssl/evp.h... yes checking openssl/hmac.h usability... yes checking openssl/hmac.h presence... yes checking for openssl/hmac.h... yes checking for openssl/md5.h... (cached) yes checking for openssl/rand.h... (cached) yes checking for openssl/rsa.h... (cached) yes checking for openssl/sha.h... (cached) yes checking openssl/pem.h usability... yes checking openssl/pem.h presence... yes checking for openssl/pem.h... yes checking for MD5... yes checking for AES_encrypt... yes checking for RAND_pseudo_bytes... yes checking for des_read_pw_string... no checking for EVP_read_pw_string... yes checking for MD5 in -lmd... no checking sha256.h usability... no checking sha256.h presence... no checking for sha256.h... no checking openssl/fips_sha.h usability... no checking openssl/fips_sha.h presence... no checking for openssl/fips_sha.h... no checking for SHA256_Init... yes checking for EVP_sha256... yes checking for PEM_read_bio_RSA_PUBKEY... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating aimage.spec config.status: creating config.h config.status: executing depfiles commands + make -j4 make all-recursive make[1]: Entering directory `/builddir/build/BUILD/aimage-3.2.0' Making all in src make[2]: Entering directory `/builddir/build/BUILD/aimage-3.2.0/src' g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -MT aimage.o -MD -MP -MF .deps/aimage.Tpo -c -o aimage.o aimage.cpp g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -MT aimage_os.o -MD -MP -MF .deps/aimage_os.Tpo -c -o aimage_os.o aimage_os.cpp g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -MT gui.o -MD -MP -MF .deps/gui.Tpo -c -o gui.o gui.cpp g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -MT ident.o -MD -MP -MF .deps/ident.Tpo -c -o ident.o ident.cpp aimage_os.cpp: In function 'void checkline(const char*, const char*, const char*, char*, AFFILE*, int)': aimage_os.cpp:38: warning: 'buf_tmp' is used uninitialized in this function aimage_os.cpp:39: warning: 'name_tmp' is used uninitialized in this function gui.cpp:73: warning: 'old_status_col' defined but not used gui.cpp:74: warning: 'old_status_dir' defined but not used mv -f .deps/aimage_os.Tpo .deps/aimage_os.Po g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -MT imager.o -MD -MP -MF .deps/imager.Tpo -c -o imager.o imager.cpp mv -f .deps/gui.Tpo .deps/gui.Po aimage.cpp: In function 'void process_config_questions(AFFILE*, imager*)': aimage.cpp:500: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result aimage.cpp: In function 'int checkpid(int)': aimage.cpp:551: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result aimage.cpp: In function 'int getlock(imager*)': aimage.cpp:580: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result aimage.cpp: In function 'int wipe(const char*)': aimage.cpp:846: warning: no return statement in function returning non-void aimage.cpp: In function 'int format(const char*)': aimage.cpp:854: warning: no return statement in function returning non-void aimage.cpp:853: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result aimage.cpp: In function 'int main(int, char**)': aimage.cpp:1137: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result imager.cpp: In member function 'int imager::open_dev(const char*)': imager.cpp:244: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result imager.cpp:254: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result imager.cpp:280: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result imager.cpp: In member function 'void imager::start_recover_scan()': imager.cpp:648: warning: too few arguments for format imager.cpp:676: warning: operation on 'random_page' may be undefined mv -f .deps/ident.Tpo .deps/ident.Po mv -f .deps/imager.Tpo .deps/imager.Po mv -f .deps/aimage.Tpo .deps/aimage.Po g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -L/usr/local/lib -o aimage aimage.o aimage_os.o gui.o ident.o imager.o -lcrypto -lssl -lcrypto -lz -lafflib make[2]: Leaving directory `/builddir/build/BUILD/aimage-3.2.0/src' make[2]: Entering directory `/builddir/build/BUILD/aimage-3.2.0' make[2]: Nothing to be done for `all-am'. make[2]: Leaving directory `/builddir/build/BUILD/aimage-3.2.0' make[1]: Leaving directory `/builddir/build/BUILD/aimage-3.2.0' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VMaogt + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/aimage-3.2.0-6.fc12.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/aimage-3.2.0-6.fc12.i386 ++ dirname /builddir/build/BUILDROOT/aimage-3.2.0-6.fc12.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/aimage-3.2.0-6.fc12.i386 + cd aimage-3.2.0 + LANG=C + export LANG + unset DISPLAY + rm -rf /builddir/build/BUILDROOT/aimage-3.2.0-6.fc12.i386 + make install DESTDIR=/builddir/build/BUILDROOT/aimage-3.2.0-6.fc12.i386 Making install in src make[1]: Entering directory `/builddir/build/BUILD/aimage-3.2.0/src' make[2]: Entering directory `/builddir/build/BUILD/aimage-3.2.0/src' test -z "/usr/bin" || /bin/mkdir -p "/builddir/build/BUILDROOT/aimage-3.2.0-6.fc12.i386/usr/bin" /usr/bin/install -c 'aimage' '/builddir/build/BUILDROOT/aimage-3.2.0-6.fc12.i386/usr/bin/aimage' make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/aimage-3.2.0/src' make[1]: Leaving directory `/builddir/build/BUILD/aimage-3.2.0/src' make[1]: Entering directory `/builddir/build/BUILD/aimage-3.2.0' make[2]: Entering directory `/builddir/build/BUILD/aimage-3.2.0' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/aimage-3.2.0' make[1]: Leaving directory `/builddir/build/BUILD/aimage-3.2.0' + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /builddir/build/BUILD/aimage-3.2.0 extracting debug info from /builddir/build/BUILDROOT/aimage-3.2.0-6.fc12.i386/usr/bin/aimage 214 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/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-python-bytecompile + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: aimage-3.2.0-6.fc12.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.65OZUu + umask 022 + cd /builddir/build/BUILD + cd aimage-3.2.0 + DOCDIR=/builddir/build/BUILDROOT/aimage-3.2.0-6.fc12.i386/usr/share/doc/aimage-3.2.0 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/aimage-3.2.0-6.fc12.i386/usr/share/doc/aimage-3.2.0 + /bin/mkdir -p /builddir/build/BUILDROOT/aimage-3.2.0-6.fc12.i386/usr/share/doc/aimage-3.2.0 + cp -pr ChangeLog /builddir/build/BUILDROOT/aimage-3.2.0-6.fc12.i386/usr/share/doc/aimage-3.2.0 + exit 0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libafflib.so.0 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libcrypto.so.10 libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GLIBC_2.0) libm.so.6 libpthread.so.0 libpthread.so.0(GLIBC_2.0) libssl.so.10 libstdc++.so.6 libstdc++.so.6(CXXABI_1.3) libstdc++.so.6(GLIBCXX_3.4) libz.so.1 rtld(GNU_HASH) Processing files: aimage-debuginfo-3.2.0-6.fc12.i686 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/aimage-3.2.0-6.fc12.i386 warning: Could not canonicalize hostname: x86-4.fedora.phx.redhat.com Wrote: /builddir/build/RPMS/aimage-3.2.0-6.fc12.i686.rpm Wrote: /builddir/build/RPMS/aimage-debuginfo-3.2.0-6.fc12.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.dCg33A + umask 022 + cd /builddir/build/BUILD + cd aimage-3.2.0 + rm -rf /builddir/build/BUILDROOT/aimage-3.2.0-6.fc12.i386 + exit 0 Child returncode was: 0 LEAVE do -->