Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libiptcdata.spec'], chrootPath='/var/lib/mock/dist-an7-build-33924-16169/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wy09yhq7:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wy09yhq7:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '26c3cfffa0aa44fa8247aab6c05d2de1', '-D', '/var/lib/mock/dist-an7-build-33924-16169/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wy09yhq7:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libiptcdata.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/libiptcdata-1.0.4-11.an7.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libiptcdata.spec'], chrootPath='/var/lib/mock/dist-an7-build-33924-16169/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wy09yhq7:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wy09yhq7:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '9edb3bc31bee4ff7a7b64d033bd004e4', '-D', '/var/lib/mock/dist-an7-build-33924-16169/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wy09yhq7:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libiptcdata.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LMDUeA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libiptcdata-1.0.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/libiptcdata-1.0.4.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd libiptcdata-1.0.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ROszeW + umask 022 + cd /builddir/build/BUILD + cd libiptcdata-1.0.4 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -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 -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' x86_64 == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + ./configure --build=x86_64-Anolis-linux --host=x86_64-Anolis-linux --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-gtk-doc --enable-python --disable-static checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... x86_64-Anolis-linux-gnu checking host system type... x86_64-Anolis-linux-gnu checking for style of include used by make... GNU checking for x86_64-Anolis-linux-gcc... no checking for gcc... gcc 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... none checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for x86_64-Anolis-linux-g++... no checking for x86_64-Anolis-linux-c++... no checking for x86_64-Anolis-linux-gpp... no checking for x86_64-Anolis-linux-aCC... no checking for x86_64-Anolis-linux-CC... no checking for x86_64-Anolis-linux-cxx... no checking for x86_64-Anolis-linux-cc++... no checking for x86_64-Anolis-linux-cl.exe... no checking for x86_64-Anolis-linux-FCC... no checking for x86_64-Anolis-linux-KCC... no checking for x86_64-Anolis-linux-RCC... no checking for x86_64-Anolis-linux-xlC_r... no checking for x86_64-Anolis-linux-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 how to run the C++ preprocessor... g++ -E checking for x86_64-Anolis-linux-g77... no checking for x86_64-Anolis-linux-xlf... no checking for x86_64-Anolis-linux-f77... no checking for x86_64-Anolis-linux-frt... no checking for x86_64-Anolis-linux-pgf77... no checking for x86_64-Anolis-linux-cf77... no checking for x86_64-Anolis-linux-fort77... no checking for x86_64-Anolis-linux-fl32... no checking for x86_64-Anolis-linux-af77... no checking for x86_64-Anolis-linux-xlf90... no checking for x86_64-Anolis-linux-f90... no checking for x86_64-Anolis-linux-pgf90... no checking for x86_64-Anolis-linux-pghpf... no checking for x86_64-Anolis-linux-epcf90... no checking for x86_64-Anolis-linux-gfortran... no checking for x86_64-Anolis-linux-g95... no checking for x86_64-Anolis-linux-xlf95... no checking for x86_64-Anolis-linux-f95... no checking for x86_64-Anolis-linux-fort... no checking for x86_64-Anolis-linux-ifort... no checking for x86_64-Anolis-linux-ifc... no checking for x86_64-Anolis-linux-efc... no checking for x86_64-Anolis-linux-pgf95... no checking for x86_64-Anolis-linux-lf95... no checking for x86_64-Anolis-linux-ftn... no checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 1572864 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for x86_64-Anolis-linux-ar... no checking for ar... ar checking for x86_64-Anolis-linux-ranlib... no checking for ranlib... ranlib checking for x86_64-Anolis-linux-strip... no checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) 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 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 configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so (cached) (cached) checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking for python... /usr/bin/python checking for a version of Python >= '2.1.0'... yes checking for the distutils Python package... yes checking for Python include path... -I/usr/include/python2.7 checking for Python library path... -L/usr/lib64/python2.7 -lpython2.7 checking for Python site-packages path... /usr/lib/python2.7/site-packages checking python extra libraries... -lpthread -ldl -lutil checking python extra linking flags... -Xlinker -export-dynamic checking consistency of all components of python development environment... yes checking for python version... 2.7 checking for python platform... linux2 checking for python script directory... ${prefix}/lib/python2.7/site-packages checking for python extension module directory... ${exec_prefix}/lib64/python2.7/site-packages checking for uint8_t in stdint.h... yes checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld used by GCC... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking for shared library run path origin... done checking whether NLS is requested... yes checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking for x86_64-Anolis-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking whether to build gtk-doc documentation... yes checking for gtkdoc-check... /usr/bin/gtkdoc-check configure: creating ./config.status config.status: creating Makefile config.status: creating libiptcdata.spec config.status: creating libiptcdata/Makefile config.status: creating m4/Makefile config.status: creating libiptcdata/libiptcdata.pc config.status: creating iptc/Makefile config.status: creating docs/Makefile config.status: creating docs/reference/Makefile config.status: creating docs/reference/version.xml config.status: creating po/Makefile.in config.status: WARNING: 'po/Makefile.in.in' seems to ignore the --datarootdir setting config.status: creating iptc/po/Makefile.in config.status: WARNING: 'iptc/po/Makefile.in.in' seems to ignore the --datarootdir setting config.status: creating win/Makefile config.status: creating win/iptctool/Makefile config.status: creating python/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: creating iptc/po/POTFILES config.status: creating iptc/po/Makefile Configuration (libiptcdata): Source code location: . Compiler: gcc Python Library: true + make -j64 make all-recursive make[1]: Entering directory `/builddir/build/BUILD/libiptcdata-1.0.4' Making all in m4 make[2]: Entering directory `/builddir/build/BUILD/libiptcdata-1.0.4/m4' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/builddir/build/BUILD/libiptcdata-1.0.4/m4' Making all in libiptcdata make[2]: Entering directory `/builddir/build/BUILD/libiptcdata-1.0.4/libiptcdata' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBIPTCDATA_LOCALEDIR=\""/usr/share/locale"\" -I../libiptcdata -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -Wall -Wmissing-declarations -Wmissing-prototypes -c -o iptc-data.lo iptc-data.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBIPTCDATA_LOCALEDIR=\""/usr/share/locale"\" -I../libiptcdata -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -Wall -Wmissing-declarations -Wmissing-prototypes -c -o iptc-dataset.lo iptc-dataset.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBIPTCDATA_LOCALEDIR=\""/usr/share/locale"\" -I../libiptcdata -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -Wall -Wmissing-declarations -Wmissing-prototypes -c -o iptc-jpeg.lo iptc-jpeg.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBIPTCDATA_LOCALEDIR=\""/usr/share/locale"\" -I../libiptcdata -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -Wall -Wmissing-declarations -Wmissing-prototypes -c -o iptc-log.lo iptc-log.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBIPTCDATA_LOCALEDIR=\""/usr/share/locale"\" -I../libiptcdata -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -Wall -Wmissing-declarations -Wmissing-prototypes -c -o iptc-mem.lo iptc-mem.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBIPTCDATA_LOCALEDIR=\""/usr/share/locale"\" -I../libiptcdata -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -Wall -Wmissing-declarations -Wmissing-prototypes -c -o iptc-tag.lo iptc-tag.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBIPTCDATA_LOCALEDIR=\""/usr/share/locale"\" -I../libiptcdata -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -Wall -Wmissing-declarations -Wmissing-prototypes -c -o iptc-utils.lo iptc-utils.c mkdir .libs mkdir .libs mkdir: cannot create directory '.libs': File exists gcc -DHAVE_CONFIG_H -I. -I.. -DLIBIPTCDATA_LOCALEDIR=\"/usr/share/locale\" -I../libiptcdata -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -Wall -Wmissing-declarations -Wmissing-prototypes -c iptc-data.c -fPIC -DPIC -o .libs/iptc-data.o gcc -DHAVE_CONFIG_H -I. -I.. -DLIBIPTCDATA_LOCALEDIR=\"/usr/share/locale\" -I../libiptcdata -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -Wall -Wmissing-declarations -Wmissing-prototypes -c iptc-dataset.c -fPIC -DPIC -o .libs/iptc-dataset.o gcc -DHAVE_CONFIG_H -I. -I.. -DLIBIPTCDATA_LOCALEDIR=\"/usr/share/locale\" -I../libiptcdata -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -Wall -Wmissing-declarations -Wmissing-prototypes -c iptc-jpeg.c -fPIC -DPIC -o .libs/iptc-jpeg.o gcc -DHAVE_CONFIG_H -I. -I.. -DLIBIPTCDATA_LOCALEDIR=\"/usr/share/locale\" -I../libiptcdata -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -Wall -Wmissing-declarations -Wmissing-prototypes -c iptc-mem.c -fPIC -DPIC -o .libs/iptc-mem.o gcc -DHAVE_CONFIG_H -I. -I.. -DLIBIPTCDATA_LOCALEDIR=\"/usr/share/locale\" -I../libiptcdata -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -Wall -Wmissing-declarations -Wmissing-prototypes -c iptc-tag.c -fPIC -DPIC -o .libs/iptc-tag.o gcc -DHAVE_CONFIG_H -I. -I.. -DLIBIPTCDATA_LOCALEDIR=\"/usr/share/locale\" -I../libiptcdata -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -Wall -Wmissing-declarations -Wmissing-prototypes -c iptc-log.c -fPIC -DPIC -o .libs/iptc-log.o gcc -DHAVE_CONFIG_H -I. -I.. -DLIBIPTCDATA_LOCALEDIR=\"/usr/share/locale\" -I../libiptcdata -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -Wall -Wmissing-declarations -Wmissing-prototypes -c iptc-utils.c -fPIC -DPIC -o .libs/iptc-utils.o /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -Wall -Wmissing-declarations -Wmissing-prototypes -version-info 3:3:3 -Wl,-z,relro -g -Wall -o libiptcdata.la -rpath /usr/lib64 iptc-data.lo iptc-dataset.lo iptc-jpeg.lo iptc-log.lo iptc-mem.lo iptc-tag.lo iptc-utils.lo gcc -shared .libs/iptc-data.o .libs/iptc-dataset.o .libs/iptc-jpeg.o .libs/iptc-log.o .libs/iptc-mem.o .libs/iptc-tag.o .libs/iptc-utils.o -m64 -mtune=generic -Wl,-z -Wl,relro -Wl,-soname -Wl,libiptcdata.so.0 -o .libs/libiptcdata.so.0.3.3 (cd .libs && rm -f libiptcdata.so.0 && ln -s libiptcdata.so.0.3.3 libiptcdata.so.0) (cd .libs && rm -f libiptcdata.so && ln -s libiptcdata.so.0.3.3 libiptcdata.so) creating libiptcdata.la (cd .libs && rm -f libiptcdata.la && ln -s ../libiptcdata.la libiptcdata.la) make[2]: Leaving directory `/builddir/build/BUILD/libiptcdata-1.0.4/libiptcdata' Making all in po make[2]: Entering directory `/builddir/build/BUILD/libiptcdata-1.0.4/po' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/builddir/build/BUILD/libiptcdata-1.0.4/po' Making all in iptc make[2]: Entering directory `/builddir/build/BUILD/libiptcdata-1.0.4/iptc' Making all in po make[3]: Entering directory `/builddir/build/BUILD/libiptcdata-1.0.4/iptc/po' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/builddir/build/BUILD/libiptcdata-1.0.4/iptc/po' make[3]: Entering directory `/builddir/build/BUILD/libiptcdata-1.0.4/iptc' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../libiptcdata -DIPTC_LOCALEDIR=\""/usr/share/locale"\" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -Wall -Wmissing-declarations -Wmissing-prototypes -c main.c main.c: In function 'main': main.c:850:12: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown (filename, -1, statinfo.st_gid); ^ /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -Wall -Wmissing-declarations -Wmissing-prototypes -Wl,-z,relro -g -Wall -o iptc main.o -L../libiptcdata -liptcdata mkdir .libs gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -g -Wall -Wmissing-declarations -Wmissing-prototypes -Wl,-z -Wl,relro -g -Wall -o .libs/iptc main.o -L/builddir/build/BUILD/libiptcdata-1.0.4/libiptcdata /builddir/build/BUILD/libiptcdata-1.0.4/libiptcdata/.libs/libiptcdata.so creating iptc make[3]: Leaving directory `/builddir/build/BUILD/libiptcdata-1.0.4/iptc' make[2]: Leaving directory `/builddir/build/BUILD/libiptcdata-1.0.4/iptc' Making all in docs make[2]: Entering directory `/builddir/build/BUILD/libiptcdata-1.0.4/docs' Making all in reference make[3]: Entering directory `/builddir/build/BUILD/libiptcdata-1.0.4/docs/reference' gtk-doc: Scanning header files cd . && \ gtkdoc-scan --module=libiptcdata --source-dir=../../libiptcdata --ignore-headers="i18n.h" Traceback (most recent call last): File "/usr/bin/gtkdoc-scan", line 59, in scan.Run(options) File "/usr/share/gtk-doc/python/gtkdoc/scan.py", line 78, in Run ScanHeaders(dir, section_list, decl_list, get_types, options) File "/usr/share/gtk-doc/python/gtkdoc/scan.py", line 140, in ScanHeaders ScanHeader(fullname, section_list, decl_list, get_types, options) File "/usr/share/gtk-doc/python/gtkdoc/scan.py", line 229, in ScanHeader for line in common.open_text(input_file): File "/usr/lib64/python2.7/codecs.py", line 684, in next return self.reader.next() File "/usr/lib64/python2.7/codecs.py", line 615, in next line = self.readline() File "/usr/lib64/python2.7/codecs.py", line 530, in readline data = self.read(readsize, firstline=True) File "/usr/lib64/python2.7/codecs.py", line 477, in read newchars, decodedbytes = self.decode(data, self.errors) UnicodeDecodeError: 'utf8' codec can't decode byte 0xa9 in position 0: invalid start byte make[3]: *** [scan-build.stamp] Error 1 make[3]: Leaving directory `/builddir/build/BUILD/libiptcdata-1.0.4/docs/reference' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/builddir/build/BUILD/libiptcdata-1.0.4/docs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/builddir/build/BUILD/libiptcdata-1.0.4' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.ROszeW (%build) Bad exit status from /var/tmp/rpm-tmp.ROszeW (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 9edb3bc31bee4ff7a7b64d033bd004e4 -D /var/lib/mock/dist-an7-build-33924-16169/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.wy09yhq7:/etc/resolv.conf --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libiptcdata.spec