Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/ImageMagick.spec'], chrootPath='/var/lib/mock/ImageMagick-6.7.8.9-16.el7_6-20190129170611-14815/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB.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=1002) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/ImageMagick.spec'] with env {'LANG': 'en_GB.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/ImageMagick-6.7.8.9-16.el7_6.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/ImageMagick.spec'], chrootPath='/var/lib/mock/ImageMagick-6.7.8.9-16.el7_6-20190129170611-14815/root'shell=Falseuid=1002env={'LANG': 'en_GB.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 aarch64 --nodeps /builddir/build/SPECS/ImageMagick.spec'] with env {'LANG': 'en_GB.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.R6WrrB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ImageMagick-6.7.8-9 + /usr/bin/xz -dc /builddir/build/SOURCES/ImageMagick-6.7.8-9.tar.xz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd ImageMagick-6.7.8-9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i s/libltdl.la/libltdl.so/g configure + iconv -f ISO-8859-1 -t UTF-8 README.txt + touch -r README.txt README.txt.tmp + mv README.txt.tmp README.txt + mkdir Magick++/examples + cp -p Magick++/demo/analyze.cpp Magick++/demo/button.cpp Magick++/demo/demo.cpp Magick++/demo/detrans.cpp Magick++/demo/flip.cpp Magick++/demo/gravity.cpp Magick++/demo/piddle.cpp Magick++/demo/shapes.cpp Magick++/demo/zoom.cpp Magick++/demo/model.miff Magick++/demo/smile.miff Magick++/demo/smile_anim.miff Magick++/demo/tile.miff Magick++/examples + echo 'Patch #0 (0001-Fix-man-page-scan-results.patch):' Patch #0 (0001-Fix-man-page-scan-results.patch): + /usr/bin/cat /builddir/build/SOURCES/0001-Fix-man-page-scan-results.patch + /usr/bin/patch -p1 --fuzz=0 patching file utilities/animate.1.in patching file utilities/compare.1.in patching file utilities/composite.1.in patching file utilities/convert.1.in patching file utilities/display.1.in patching file utilities/identify.1.in patching file utilities/import.1.in patching file utilities/mogrify.1.in patching file utilities/montage.1.in patching file utilities/stream.1.in patching file wand/animate.c patching file wand/compare.c patching file wand/composite.c patching file wand/convert.c patching file wand/display.c patching file wand/identify.c patching file wand/import.c patching file wand/mogrify.c patching file wand/montage.c Patch #1 (0001-Fix-CVE-2014-1947-CVE-2014-2030.patch): + echo 'Patch #1 (0001-Fix-CVE-2014-1947-CVE-2014-2030.patch):' + /usr/bin/cat /builddir/build/SOURCES/0001-Fix-CVE-2014-1947-CVE-2014-2030.patch + /usr/bin/patch -p1 --fuzz=0 patching file coders/psd.c + echo 'Patch #2 (0002-1303227-fix-exr-crash.patch):' Patch #2 (0002-1303227-fix-exr-crash.patch): + /usr/bin/patch -p1 --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/0002-1303227-fix-exr-crash.patch patching file coders/exr.c + echo 'Patch #3 (ImageMagick-cve-2016-3717.patch):' Patch #3 (ImageMagick-cve-2016-3717.patch): + /usr/bin/patch -p1 -b --suffix .cve-2016-3717 --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/ImageMagick-cve-2016-3717.patch patching file config/delegates.xml.in patching file config/policy.xml patching file magick/property.c + echo 'Patch #4 (ImageMagick-cve-2016-5118.patch):' Patch #4 (ImageMagick-cve-2016-5118.patch): + /usr/bin/cat /builddir/build/SOURCES/ImageMagick-cve-2016-5118.patch + /usr/bin/patch -p1 -b --suffix .cve-2016-5118 --fuzz=0 patching file magick/blob.c + echo 'Patch #5 (ImageMagick-pict-doublefree.patch):' Patch #5 (ImageMagick-pict-doublefree.patch): + /usr/bin/patch -p1 -b --suffix .pict-doublefree --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/ImageMagick-pict-doublefree.patch patching file coders/pict.c Hunk #1 succeeded at 1574 (offset -63 lines). Hunk #2 succeeded at 1588 (offset -62 lines). Hunk #3 succeeded at 1618 (offset -63 lines). Hunk #4 succeeded at 1648 (offset -63 lines). Patch #6 (ImageMagick-gnuplot-delegate-remove.diff): + echo 'Patch #6 (ImageMagick-gnuplot-delegate-remove.diff):' + /usr/bin/cat /builddir/build/SOURCES/ImageMagick-gnuplot-delegate-remove.diff + /usr/bin/patch -p1 -b --suffix .gnuplot-delegate-remove --fuzz=0 patching file config/delegates.xml.in patching file configure.ac patching file configure patching file Makefile.in + echo 'Patch #7 (ImageMagick-icon-mem.patch):' Patch #7 (ImageMagick-icon-mem.patch): + /usr/bin/patch -p1 -b --suffix .icon-mem --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/ImageMagick-icon-mem.patch patching file coders/icon.c + echo 'Patch #8 (ImageMagick-splice-crash.patch):' Patch #8 (ImageMagick-splice-crash.patch): + /usr/bin/cat /builddir/build/SOURCES/ImageMagick-splice-crash.patch + /usr/bin/patch -p1 -b --suffix .splice-crash --fuzz=0 patching file magick/transform.c + echo 'Patch #9 (ImageMagick-null-pointer-access.patch):' Patch #9 (ImageMagick-null-pointer-access.patch): + /usr/bin/cat /builddir/build/SOURCES/ImageMagick-null-pointer-access.patch + /usr/bin/patch -p1 -b --suffix .null-pointer-access --fuzz=0 patching file magick/constitute.c Patch #10 (ImageMagick-cve-2016-5240.patch): + echo 'Patch #10 (ImageMagick-cve-2016-5240.patch):' + /usr/bin/cat /builddir/build/SOURCES/ImageMagick-cve-2016-5240.patch + /usr/bin/patch -p1 -b --suffix .cve-2016-5240 --fuzz=0 patching file magick/draw.c + echo 'Patch #11 (rhbz1633602-quantize.patch):' Patch #11 (rhbz1633602-quantize.patch): + /usr/bin/cat /builddir/build/SOURCES/rhbz1633602-quantize.patch + /usr/bin/patch -p1 -b --suffix .quantize --fuzz=0 patching file magick/quantize.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.NKr1Gm + umask 022 + cd /builddir/build/BUILD + cd ImageMagick-6.7.8-9 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' aarch64 == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config/config.sub ++ basename ./config/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/config.sub '/usr/lib/rpm/redhat/config.sub' -> './config/config.sub' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config/config.guess ++ basename ./config/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/config.guess '/usr/lib/rpm/redhat/config.guess' -> './config/config.guess' + ./configure --build=aarch64-redhat-linux-gnu --host=aarch64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --disable-static --with-modules --with-perl --with-x --with-threads --with-magick_plus_plus --with-gslib --with-wmf --with-rsvg --with-xml '--with-perl-options=INSTALLDIRS=vendor CC='\''gcc -L/builddir/build/BUILD/ImageMagick-6.7.8-9/magick/.libs'\'' LDDLFLAGS='\''-shared -L/builddir/build/BUILD/ImageMagick-6.7.8-9/magick/.libs'\''' --without-dps --without-included-ltdl --with-ltdl-include=/usr/include --with-ltdl-lib=/usr/lib64 configuring ImageMagick 6.7.8-9 checking build system type... aarch64-redhat-linux-gnu checking host system type... aarch64-redhat-linux-gnu checking target system type... aarch64-redhat-linux-gnu checking whether build environment is sane... yes checking for a BSD-compatible install... /usr/bin/install -c checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for style of include used by make... GNU checking for aarch64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o 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... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for aarch64-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) none checking for aarch64-redhat-linux-gnu-g++... no checking for aarch64-redhat-linux-gnu-c++... no checking for aarch64-redhat-linux-gnu-gpp... no checking for aarch64-redhat-linux-gnu-aCC... no checking for aarch64-redhat-linux-gnu-CC... no checking for aarch64-redhat-linux-gnu-cxx... no checking for aarch64-redhat-linux-gnu-cc++... no checking for aarch64-redhat-linux-gnu-cl.exe... no checking for aarch64-redhat-linux-gnu-FCC... no checking for aarch64-redhat-linux-gnu-KCC... no checking for aarch64-redhat-linux-gnu-RCC... no checking for aarch64-redhat-linux-gnu-xlC_r... no checking for aarch64-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking for gcc option to accept ISO C99... -std=gnu99 checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99 checking how to run the C preprocessor... gcc -E checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking how to print strings... printf checking for ld used by gcc -std=gnu99... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for gcc -std=gnu99 option to accept ISO C99... (cached) -std=gnu99 checking whether gcc -std=gnu99 -std=gnu99 and cc understand -c and -o together... yes checking CFLAGS for maximum warnings... -Wall checking for C compiler vendor... gnu checking whether make sets $(MAKE)... (cached) yes checking whether ln -s works... yes checking if malloc debugging is wanted... no checking for __attribute__... yes checking for gcc architecture flag... checking for gcc architecture flag... unknown checking for aarch64-redhat-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for linker lazyload option... none checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for gcc -std=gnu99 -std=gnu99 option to support OpenMP... -fopenmp checking for pthread_join in LIBS= with CFLAGS=-pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... (cached) yes ./configure: line 9753: AX_LANG_COMPILER_MS: command not found checking CL/cl.h usability... no checking CL/cl.h presence... no checking for CL/cl.h... no checking OpenCL/cl.h usability... no checking OpenCL/cl.h presence... no checking for OpenCL/cl.h... no checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking for OpenCL library... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGEFILE_SOURCE value needed for large files... no checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert aarch64-redhat-linux-gnu file names to aarch64-redhat-linux-gnu format... func_convert_file_noop checking how to convert aarch64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for aarch64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for aarch64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for aarch64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for aarch64-redhat-linux-gnu-strip... no checking for strip... strip checking for aarch64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 -std=gnu99 object... ok checking for sysroot... no checking for aarch64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc -std=gnu99 -std=gnu99 supports -fno-rtti -fno-exceptions... no checking for gcc -std=gnu99 -std=gnu99 option to produce PIC... -fPIC -DPIC checking if gcc -std=gnu99 -std=gnu99 PIC flag -fPIC -DPIC works... yes checking if gcc -std=gnu99 -std=gnu99 static flag -static works... no checking if gcc -std=gnu99 -std=gnu99 supports -c -o file.o... yes checking if gcc -std=gnu99 -std=gnu99 supports -c -o file.o... (cached) yes checking whether the gcc -std=gnu99 -std=gnu99 linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking which extension is used for runtime loadable modules... .so checking which variable specifies run-time module search path... LD_LIBRARY_PATH checking for the default library search path... /lib64 /usr/lib64 /lib /usr/lib checking for library containing dlopen... -ldl checking for dlerror... yes checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dld_link in -ldld... no checking for _ prefix in compiled symbols... no checking whether deplibs are loaded by dlopen... yes checking for argz.h... yes checking for error_t... yes checking for argz_add... yes checking for argz_append... yes checking for argz_count... yes checking for argz_create_sep... yes checking for argz_insert... yes checking for argz_next... yes checking for argz_stringify... yes checking if argz actually works... yes checking whether libtool supports -dlopen/-dlpreopen... yes checking for ltdl.h... yes checking whether lt_dlinterface_register is declared... yes checking for lt_dladvise_preload in -lltdl... yes checking where to find libltdl headers... -I/usr/include checking where to find libltdl library... -L/usr/lib64 -lltdl checking for unistd.h... (cached) yes checking for dl.h... no checking for sys/dl.h... no checking for dld.h... no checking for mach-o/dyld.h... no checking for dirent.h... yes checking for closedir... yes checking for opendir... yes checking for readdir... yes checking for strlcat... no checking for strlcpy... no checking whether to enable maintainer-specific portions of Makefiles... no checking whether gcc -std=gnu99 -std=gnu99 needs -traditional... no checking for ANSI C header files... (cached) yes checking whether to enable assertions... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking arm/limits.h usability... no checking arm/limits.h presence... no checking for arm/limits.h... no checking complex.h usability... yes checking complex.h presence... yes checking for complex.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking linux/unistd.h usability... yes checking linux/unistd.h presence... yes checking for linux/unistd.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking machine/param.h usability... no checking machine/param.h presence... no checking for machine/param.h... no checking for mach-o/dyld.h... (cached) no checking OS.h usability... no checking OS.h presence... no checking for OS.h... no checking process.h usability... no checking process.h presence... no checking for process.h... no checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/syslimits.h usability... no checking sys/syslimits.h presence... no checking for sys/syslimits.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/timeb.h usability... yes checking sys/timeb.h presence... yes checking for sys/timeb.h... yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking xlocale.h usability... yes checking xlocale.h presence... yes checking for xlocale.h... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for working volatile... yes checking for preprocessor stringizing operator... yes checking whether stat file-mode macros are broken... no checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking whether #! works in shell scripts... yes checking for inline... inline checking for C/C++ restrict keyword... __restrict checking whether byte ordering is bigendian... no checking for int8_t... yes checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking for long long int... yes checking for intmax_t... yes checking for intptr_t... yes checking for long double... yes checking for long double with more range or precision than double... yes checking for long long int... (cached) yes checking for mbstate_t... yes checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for ssize_t... yes checking for uid_t in sys/types.h... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for unsigned long long int... yes checking for uintmax_t... yes checking for uintptr_t... yes checking for unsigned long long int... (cached) yes checking whether char is unsigned... yes checking size of signed short... 2 checking size of unsigned short... 2 checking size of signed int... 4 checking size of unsigned int... 4 checking size of signed long... 8 checking size of unsigned long... 8 checking size of signed long long... 8 checking size of unsigned long long... 8 checking size of off_t... 8 checking size of size_t... 8 checking size of ssize_t... 8 checking size of unsigned int*... 8 checking for signed 8-bit type... signed char checking for unsigned 8-bit type... unsigned char checking for signed 16-bit type... signed short checking for unsigned 16-bit type... unsigned short checking for signed 32-bit type... signed int checking for unsigned 32-bit type... unsigned int checking for signed 64-bit type... signed long checking for unsigned 64-bit type... unsigned long checking for unsigned maximum type... unsigned long checking for pointer difference type... unsigned long checking whether our compiler supports __func__... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap file i/o... yes checking whether closedir returns void... no checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... (cached) yes checking for working mmap... 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 for working memcmp... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking types of arguments for select... int,fd_set *,struct timeval * checking return type of signal handlers... void checking whether strerror_r is declared... yes checking for strerror_r... yes checking whether strerror_r returns char *... yes checking for working strtod... yes checking for vprintf... yes checking for _doprnt... no checking for sqrt in -lm... yes checking for acosh... yes checking for _aligned_malloc... no checking for asinh... yes checking for atanh... yes checking for atoll... yes checking for atexit... yes checking for cabs... yes checking for carg... yes checking for cimag... yes checking for creal... yes checking for clock... yes checking for ctime_r... yes checking for directio... no checking for _exit... yes checking for execvp... yes checking for fchmod... yes checking for floor... yes checking for fork... (cached) yes checking for ftime... yes checking for ftruncate... yes checking for getc_unlocked... yes checking for getcwd... yes checking for getpid... yes checking for getexecname... no checking for getdtablesize... yes checking for getpagesize... (cached) yes checking for getrlimit... yes checking for getrusage... yes checking for gettimeofday... yes checking for gmtime_r... yes checking for isnan... yes checking for j0... yes checking for j1... yes checking for lltostr... no checking for localtime_r... yes checking for lstat... yes checking for memmove... yes checking for memset... yes checking for mkstemp... yes checking for munmap... yes checking for nanosleep... yes checking for newlocale... yes checking for _NSGetExecutablePath... no checking for pclose... yes checking for _pclose... no checking for poll... yes checking for popen... yes checking for _popen... no checking for posix_fadvise... yes checking for posix_fallocate... yes checking for posix_madvise... yes checking for posix_memalign... yes checking for posix_spawnp... yes checking for pow... yes checking for pread... yes checking for pwrite... yes checking for qsort_r... yes checking for raise... yes checking for rand_r... yes checking for readlink... yes checking for readdir_r... yes checking for realpath... yes checking for select... yes checking for seekdir... yes checking for setlocale... yes checking for sqrt... yes checking for setvbuf... yes checking for stat... yes checking for strchr... yes checking for strerror_r... (cached) yes checking for strrchr... yes checking for strcspn... yes checking for strdup... yes checking for strpbrk... yes checking for strspn... yes checking for strstr... yes checking for strtod... (cached) yes checking for strtod_l... yes checking for strtol... yes checking for strtoul... yes checking for symlink... yes checking for sysconf... yes checking for sigemptyset... yes checking for sigaction... yes checking for spawnvp... no checking for strerror... yes checking for strlcat... (cached) no checking for strlcpy... (cached) no checking for strcasecmp... yes checking for strncasecmp... yes checking for telldir... yes checking for tempnam... yes checking for times... yes checking for ulltostr... no checking for uselocale... yes checking for usleep... yes checking for utime... yes checking for vfprintf... yes checking for vfprintf_l... no checking for vsprintf... yes checking for vsnprintf... yes checking for vsnprintf_l... no checking for waitpid... yes checking for _wfopen... no checking for _wstat... no checking for library containing clock_gettime... none required checking whether clock_gettime supports CLOCK_REALTIME... yes checking whether pread is declared... yes checking whether pwrite is declared... yes checking whether strlcpy is declared... no checking whether vsnprintf is declared... yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) none checking whether the compiler recognizes bool as a built-in type... yes checking whether the compiler implements namespaces... yes checking if g++ supports namespace std... yes checking whether the compiler supports ISO C++ standard library... yes checking for g++ option to support OpenMP... -fopenmp checking whether C++ compiler is sufficient for Magick++... yes checking for X11 configure files... checking for GOMP_parallel_start in -lgomp... yes checking for the pthreads library -lpthread... yes ------------------------------------------------------------- checking for BZLIB... checking bzlib.h usability... yes checking bzlib.h presence... yes checking for bzlib.h... yes checking for BZ2_bzDecompress in -lbz2... yes checking if BZLIB package is complete... yes checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes ------------------------------------------------------------- checking for X11... checking for shmctl... yes checking for XShmAttach in -lXext... yes checking for XShapeCombineMask in -lXext... yes checking for XtSetEventDispatcher in -lXt... yes ------------------------------------------------------------- checking for ZLIB... checking zconf.h usability... yes checking zconf.h presence... yes checking for zconf.h... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for compress in -lz... yes checking for uncompress in -lz... yes checking for deflate in -lz... yes checking for inflate in -lz... yes checking for gzseek in -lz... yes checking for gztell in -lz... yes checking if ZLIB package is complete... yes ------------------------------------------------------------- checking for DJVU... checking libdjvu/ddjvuapi.h usability... no checking libdjvu/ddjvuapi.h presence... no checking for libdjvu/ddjvuapi.h... no checking for ddjvu_context_create in -ldjvulibre... no checking if DJVU package is complete... no ------------------------------------------------------------- checking for FFTW... checking fftw3.h usability... no checking fftw3.h presence... no checking for fftw3.h... no checking for fftw_execute in -lfftw3... no checking if FFTW package is complete... no ------------------------------------------------------------- checking for FlashPIX... checking fpxlib.h usability... no checking fpxlib.h presence... no checking for fpxlib.h... no checking for FPX_OpenImageByFilename in -lfpx... no checking if FlashPIX package is complete... no ------------------------------------------------------------- checking for FONTCONFIG... yes ------------------------------------------------------------- checking for FreeType 2.0 ... checking for freetype-config... /usr/bin/freetype-config checking for FT_Init_FreeType in -lfreetype... yes checking ft2build.h usability... yes checking ft2build.h presence... yes checking for ft2build.h... yes checking for freetype/freetype.h... yes checking if FreeType package is complete... yes ------------------------------------------------------------- checking for Ghostscript... checking ghostscript/iapi.h usability... yes checking ghostscript/iapi.h presence... yes checking for ghostscript/iapi.h... yes checking ghostscript/ierrors.h usability... yes checking ghostscript/ierrors.h presence... yes checking for ghostscript/ierrors.h... yes checking for gsapi_new_instance in Ghostscript framework... no checking for gsapi_new_instance in -lgs... yes checking if Ghostscript package is complete... yes, using library. ------------------------------------------------------------- checking for JBIG... checking jbig.h usability... no checking jbig.h presence... no checking for jbig.h... no checking for jbg_dec_init in -ljbig... no checking if JBIG package is complete... no ------------------------------------------------------------- checking for JPEG... checking jconfig.h usability... yes checking jconfig.h presence... yes checking for jconfig.h... yes checking jerror.h usability... yes checking jerror.h presence... yes checking for jerror.h... yes checking jmorecfg.h usability... yes checking jmorecfg.h presence... yes checking for jmorecfg.h... yes checking jpeglib.h usability... yes checking jpeglib.h presence... yes checking for jpeglib.h... yes checking for jpeg_read_header in -ljpeg... yes checking for JPEG library is version 6b or later... yes checking if JPEG package is complete... yes ------------------------------------------------------------- checking for JPEG Version 2... checking jasper/jasper.h usability... yes checking jasper/jasper.h presence... yes checking for jasper/jasper.h... yes checking for jas_stream_fopen in -ljasper... yes checking if JPEG version 2 support package is complete... yes ------------------------------------------------------------- checking for LCMS v2... checking lcms2.h usability... no checking lcms2.h presence... no checking for lcms2.h... no checking lcms2/lcms2.h usability... no checking lcms2/lcms2.h presence... no checking for lcms2/lcms2.h... no checking for cmsSetLogErrorHandler in -llcms2... no checking if LCMS v2 package is complete... no ------------------------------------------------------------- checking for LCMS v1.1X... checking lcms.h usability... no checking lcms.h presence... no checking for lcms.h... no checking lcms/lcms.h usability... no checking lcms/lcms.h presence... no checking for lcms/lcms.h... no checking for cmsSetErrorHandler in -llcms... no checking if LCMS package is complete... no ------------------------------------------------------------- checking for LQR... no configure: ------------------------------------------------------------- checking for LZMA... yes configure: ------------------------------------------------------------- checking for OPENEXR... yes ------------------------------------------------------------- checking for PANGO... yes checking for PANGO... yes ------------------------------------------------------------- checking for PNG support ... checking png.h usability... yes checking png.h presence... yes checking for png.h... yes checking for LIBPNG15 support ... yes checking for png_get_io_ptr in -lpng15... yes checking for png_longjmp in -lpng15... yes checking if png15 package is complete... yes ------------------------------------------------------------- checking for RSVG... yes checking for CAIRO_SVG... yes ------------------------------------------------------------- checking for TIFF... checking tiff.h usability... yes checking tiff.h presence... yes checking for tiff.h... yes checking tiffio.h usability... yes checking tiffio.h presence... yes checking for tiffio.h... yes checking for TIFFOpen in -ltiff... yes checking for TIFFClientOpen in -ltiff... yes checking for TIFFIsByteSwapped in -ltiff... yes checking for TIFFReadRGBATile in -ltiff... yes checking for TIFFReadRGBAStrip in -ltiff... yes checking if TIFF package is complete... yes checking tiffconf.h usability... yes checking tiffconf.h presence... yes checking for tiffconf.h... yes checking for TIFFIsCODECConfigured... yes checking for TIFFMergeFieldInfo... yes checking for TIFFIsBigEndian... yes checking for TIFFReadEXIFDirectory... yes checking for TIFFSetErrorHandlerExt... yes checking for TIFFSetTagExtender... yes checking for TIFFSetWarningHandlerExt... yes checking for TIFFSwabArrayOfTriples... yes ------------------------------------------------------------- checking for WEBP... checking webp/decode.h usability... no checking webp/decode.h presence... no checking for webp/decode.h... no checking for WebPDecodeRGB in -lwebp... no checking if WEBP package is complete... no ------------------------------------------------------------- checking for WMF... checking for libwmf/ipa.h... yes checking for wmf_lite_create in -lwmflite... yes checking if WMF package is complete... yes ------------------------------------------------------------- checking for XML... checking for xml2-config... /usr/bin/xml2-config checking libxml/parser.h usability... yes checking libxml/parser.h presence... yes checking for libxml/parser.h... yes checking for xmlSAXVersion in -lxml2... yes checking for xmlParseChunk in -lxml2... yes checking for xmlCreatePushParserCtxt in -lxml2... yes checking if XML package is complete... yes ------------------------------------------------------------- checking for ImageMagick delegate programs... checking for autotrace... autotrace checking for blender... blender checking for bzip2... /usr/bin/bzip2 checking for xdg-open... xdg-open checking for ralcgm... ralcgm checking for cat... /usr/bin/cat checking for ufraw-batch... ufraw-batch checking for dot... dot checking for dvips... dvips checking for echo... /usr/bin/echo checking for xterm... xterm checking for fig2dev... fig2dev checking for convert... convert checking for display... display checking for mogrify... mogrify checking for hp2xx... hp2xx checking for html2ps... html2ps checking for ilbmtoppm... ilbmtoppm checking for ppmtoilbm... ppmtoilbm checking for lp... no checking for lpr... lpr checking for uncompress... uncompress checking for compress... compress checking for gimp... gimp checking for groff... /usr/bin/groff checking for ffmpeg... ffmpeg checking for ffmpeg... ffmpeg checking for mrsidgeodecode... mrsidgeodecode checking for mv... /usr/bin/mv checking for pcl6... pcl6 checking for pgpv... pgpv checking for povray... povray checking for gsx... no checking for gsc... no checking for gs... /usr/bin/gs checking for rawtorle... rawtorle checking for rm... /usr/bin/rm checking for rsvg-convert... rsvg-convert checking for scanimage... scanimage checking for enscript... enscript checking for uniconvertor... uniconvertor checking for wmf2eps... /usr/bin/wmf2eps checking for curl... /usr/bin/curl checking for gxps... gxps checking for gzip... /usr/bin/gzip checking for Dejavu fonts directory... not found! checking for Ghostscript fonts directory... /usr/share/fonts/default/Type1/ checking for gnutar... no checking for gtar... gtar checking for perl... perl checking for rpmbuild... rpmbuild checking for 7za... no checking for zip... zip ------------------------------------------------------------- checking for Ghostscript... checking for Ghostscript version... 9.07 checking for gs alpha device... pngalpha checking for gs color device... pnmraw checking for gs CMYK device... pam checking for gs mono device... pbmraw checking for gs PDF writing device... pdfwrite checking for gs PS writing device... pswrite checking for gs EPS writing device... epswrite ------------------------------------------------------------- checking for Perl... checking for perl... /usr/bin/perl checking for perl version... This is perl 5, version 16, subversion 3 (v5.16.3) built for aarch64-linux-thread-multi ------------------------------------------------------------- Update ImageMagick configuration checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating config/configure.xml config.status: creating config/delegates.xml config.status: creating config/ImageMagick.rdf config.status: creating config/MagickCore.dox config.status: creating config/MagickWand.dox config.status: creating config/type-dejavu.xml config.status: creating config/type-ghostscript.xml config.status: creating config/type-windows.xml config.status: creating config/type.xml config.status: creating ImageMagick.spec config.status: creating Magick++/bin/Magick++-config config.status: creating magick/ImageMagick.pc config.status: creating Magick++/lib/ImageMagick++.pc config.status: creating Magick++/lib/Magick++.pc config.status: creating magick/Magick-config config.status: creating magick/MagickCore-config config.status: creating magick/MagickCore.pc config.status: creating magick/version.h config.status: creating Makefile config.status: creating magick.sh config.status: creating PerlMagick/Magick.pm config.status: creating PerlMagick/Makefile.PL config.status: creating PerlMagick/check.sh config.status: creating utilities/animate.1 config.status: creating utilities/compare.1 config.status: creating utilities/composite.1 config.status: creating utilities/conjure.1 config.status: creating utilities/convert.1 config.status: creating utilities/display.1 config.status: creating utilities/identify.1 config.status: creating utilities/ImageMagick.1 config.status: creating utilities/import.1 config.status: creating utilities/mogrify.1 config.status: creating utilities/montage.1 config.status: creating utilities/stream.1 config.status: creating wand/MagickWand-config config.status: creating wand/MagickWand.pc config.status: creating wand/Wand-config config.status: creating wand/Wand.pc config.status: creating config/config.h config.status: executing magick/magick-config.h commands config.status: creating magick/magick-config.h - prefix MAGICKCORE for config/config.h defines config.status: executing depfiles commands config.status: executing libtool commands config.status: executing default commands config.status: executing magick.sh.in commands config.status: executing MagickCore-config.in commands config.status: executing Magick-config.in commands config.status: executing MagickWand-config.in commands config.status: executing Wand-config.in commands config.status: executing Magick++-config.in commands config.status: executing PerlMagick/check.sh.in commands ImageMagick is configured as follows. Please verify that this configuration matches your expectations. Host system type: aarch64-redhat-linux-gnu Build system type: aarch64-redhat-linux-gnu Option Value ------------------------------------------------------------------------------- Shared libraries --enable-shared=yes yes Static libraries --enable-static=no no Module support --with-modules=yes yes GNU ld --with-gnu-ld=yes yes Quantum depth --with-quantum-depth=16 16 High Dynamic Range Imagery --enable-hdri=no no Delegate Configuration: BZLIB --with-bzlib=yes yes Autotrace --with-autotrace=no no Dejavu fonts --with-dejavu-font-dir=default none DJVU --with-djvu=yes no DPS --with-dps=no no FFTW --with-fftw=yes no FlashPIX --with-fpx=yes no FontConfig --with-fontconfig=yes yes FreeType --with-freetype=yes yes GhostPCL None pcl6 (unknown) GhostXPS None gxps (unknown) Ghostscript None gs (9.07) Ghostscript fonts --with-gs-font-dir=default /usr/share/fonts/default/Type1/ Ghostscript lib --with-gslib=yes yes Graphviz --with-gvc=no JBIG --with-jbig=yes no JPEG v1 --with-jpeg=yes yes JPEG-2000 --with-jp2=yes yes LCMS v1 --with-lcms=yes no LCMS v2 --with-lcms2=yes no LQR --with-lqr=yes no LZMA --with-lzma=yes yes Magick++ --with-magick-plus-plus=yes yes OpenEXR --with-openexr=yes yes PERL --with-perl=yes /usr/bin/perl PANGO --with-pango=yes yes PNG --with-png=yes yes RSVG --with-rsvg=yes yes TIFF --with-tiff=yes yes WEBP --with-webp=yes no Windows fonts --with-windows-font-dir= none WMF --with-wmf=yes yes X11 --with-x=yes yes XML --with-xml=yes yes ZLIB --with-zlib=yes yes X11 Configuration: X_CFLAGS = X_PRE_LIBS = -lSM -lICE X_LIBS = X_EXTRA_LIBS = Options used to compile and link: PREFIX = /usr EXEC-PREFIX = /usr VERSION = 6.7.8 CC = gcc -std=gnu99 -std=gnu99 CFLAGS = -fopenmp -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -pthread CPPFLAGS = -I/usr/include/ImageMagick PCFLAGS = -fopenmp DEFS = -DHAVE_CONFIG_H LDFLAGS = -Wl,-z,relro -L/usr/lib MAGICK_LDFLAGS = -L/usr/lib64 -Wl,-z,relro -L/usr/lib LIBS = -lMagickCore -ltiff -lfreetype -ljpeg -lfontconfig -lfreetype -lXext -lSM -lICE -lX11 -lXt -llzma -lbz2 -lz -lm -lgomp -lpthread -lltdl CXX = g++ CXXFLAGS = -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -pthread FEATURES = OpenMP + sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool + sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool + make make all-am make[1]: Entering directory `/builddir/build/BUILD/ImageMagick-6.7.8-9' CC coders/coders_aai_la-aai.lo CC magick/magick_libMagickCore_la-accelerate.lo CC magick/magick_libMagickCore_la-animate.lo CC magick/magick_libMagickCore_la-annotate.lo In file included from magick/annotate.c:85:0: magick/annotate.c: In function 'RenderFreetype': /usr/include/freetype2/freetype/freetype.h:801:37: error: 'FT_ENCODING_PRC' undeclared (first use in this function) #define ft_encoding_gb2312 FT_ENCODING_PRC ^ magick/annotate.c:1148:23: note: in expansion of macro 'ft_encoding_gb2312' encoding_type=ft_encoding_gb2312; ^ /usr/include/freetype2/freetype/freetype.h:801:37: note: each undeclared identifier is reported only once for each function it appears in #define ft_encoding_gb2312 FT_ENCODING_PRC ^ magick/annotate.c:1148:23: note: in expansion of macro 'ft_encoding_gb2312' encoding_type=ft_encoding_gb2312; ^ make[1]: *** [magick/magick_libMagickCore_la-annotate.lo] Error 1 make[1]: Leaving directory `/builddir/build/BUILD/ImageMagick-6.7.8-9' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.NKr1Gm (%build) Bad exit status from /var/tmp/rpm-tmp.NKr1Gm (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 547, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/ImageMagick.spec