Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-gd.spec'], chrootPath='/var/lib/mock/f29-build-8979-4004/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-gd.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/python-gd-0.56-19.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-gd.spec'], chrootPath='/var/lib/mock/f29-build-8979-4004/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-gd.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.RJfdFH + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gdmodule-0.56 + /usr/bin/gzip -dc /builddir/build/SOURCES/gdmodule-0.56-clean.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd gdmodule-0.56 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -e 's|\r||' /builddir/build/SOURCES/LICENSE + touch -r /builddir/build/SOURCES/LICENSE LICENSE + sed -i -e 's|"/usr/local/lib"|"/usr/lib64"|;' Setup.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.CxB9zj + umask 022 + cd /builddir/build/BUILD + cd gdmodule-0.56 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + /usr/bin/python2 Setup.py build WARNING: Missing ttf Libraries running build running build_py creating build creating build/lib.linux-riscv64-2.7 copying gd.py -> build/lib.linux-riscv64-2.7 running build_ext building '_gd' extension creating build/temp.linux-riscv64-2.7 gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DHAVE_LIBGD -DHAVE_LIBJPEG -DHAVE_LIBPNG -DHAVE_LIBGIF -DHAVE_LIBZ -DHAVE_LIBX11 -DHAVE_LIBXPM -DHAVE_LIBFREETYPE -I/usr/include -I/usr/include/X11 -I/usr/include/python2.7 -c _gdmodule.c -o build/temp.linux-riscv64-2.7/_gdmodule.o BUILDSTDERR: _gdmodule.c: In function 'image_string': BUILDSTDERR: _gdmodule.c:993:68: warning: pointer targets in passing argument 5 of 'gdImageString' differ in signedness [-Wpointer-sign] BUILDSTDERR: gdImageString(self->imagedata, fonts[font].func(), X(x), Y(y), str, color); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from _gdmodule.c:127: BUILDSTDERR: /usr/include/gd.h:746:19: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: BGD_DECLARE(void) gdImageString (gdImagePtr im, gdFontPtr f, int x, int y, BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: _gdmodule.c: In function 'image_string16': BUILDSTDERR: _gdmodule.c:1007:70: warning: passing argument 5 of 'gdImageString16' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: gdImageString16(self->imagedata, fonts[font].func(), X(x), Y(y), ustr, BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from _gdmodule.c:127: BUILDSTDERR: /usr/include/gd.h:751:52: note: expected 'short unsigned int *' but argument is of type 'Py_UNICODE *' {aka 'unsigned int *'} BUILDSTDERR: unsigned short *s, int color); BUILDSTDERR: ~~~~~~~~~~~~~~~~^ BUILDSTDERR: _gdmodule.c: In function 'image_stringup': BUILDSTDERR: _gdmodule.c:1022:70: warning: pointer targets in passing argument 5 of 'gdImageStringUp' differ in signedness [-Wpointer-sign] BUILDSTDERR: gdImageStringUp(self->imagedata, fonts[font].func(), X(x), Y(y), str, color); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from _gdmodule.c:127: BUILDSTDERR: /usr/include/gd.h:748:19: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: BGD_DECLARE(void) gdImageStringUp (gdImagePtr im, gdFontPtr f, int x, int y, BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: _gdmodule.c: In function 'image_stringup16': BUILDSTDERR: _gdmodule.c:1037:23: warning: passing argument 5 of 'gdImageStringUp16' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: ustr, color); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from _gdmodule.c:127: BUILDSTDERR: /usr/include/gd.h:753:54: note: expected 'short unsigned int *' but argument is of type 'Py_UNICODE *' {aka 'unsigned int *'} BUILDSTDERR: unsigned short *s, int color); BUILDSTDERR: ~~~~~~~~~~~~~~~~^ BUILDSTDERR: _gdmodule.c: In function 'image_copyto': BUILDSTDERR: _gdmodule.c:1218:28: warning: variable 'dh' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int dx,dy,sx,sy,w,h,dw,dh; BUILDSTDERR: ^~ BUILDSTDERR: _gdmodule.c:1218:25: warning: variable 'dw' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int dx,dy,sx,sy,w,h,dw,dh; BUILDSTDERR: ^~ BUILDSTDERR: _gdmodule.c: In function 'image_copymergeto': BUILDSTDERR: _gdmodule.c:1294:28: warning: variable 'dh' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int dx,dy,sx,sy,w,h,dw,dh,pct; BUILDSTDERR: ^~ BUILDSTDERR: _gdmodule.c:1294:25: warning: variable 'dw' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int dx,dy,sx,sy,w,h,dw,dh,pct; BUILDSTDERR: ^~ BUILDSTDERR: _gdmodule.c: In function 'image_copymergegrayto': BUILDSTDERR: _gdmodule.c:1319:28: warning: variable 'dh' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int dx,dy,sx,sy,w,h,dw,dh,pct; BUILDSTDERR: ^~ BUILDSTDERR: _gdmodule.c:1319:25: warning: variable 'dw' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int dx,dy,sx,sy,w,h,dw,dh,pct; BUILDSTDERR: ^~ BUILDSTDERR: _gdmodule.c: In function 'PyFileIfaceObj_IOCtx_GetBuf': BUILDSTDERR: _gdmodule.c:1809:58: warning: passing argument 3 of 'PyString_AsStringAndSize' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: err = PyString_AsStringAndSize(pctx->strObj, &value, &size); BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from /usr/include/python2.7/Python.h:97, BUILDSTDERR: from _gdmodule.c:126: BUILDSTDERR: /usr/include/python2.7/stringobject.h:175:26: note: expected 'Py_ssize_t *' {aka 'long int *'} but argument is of type 'int *' BUILDSTDERR: register Py_ssize_t *len /* pointer to length variable or NULL BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~^~~ gcc -pthread -shared -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-riscv64-2.7/_gdmodule.o -L/usr/lib64 -L/usr/lib -L/usr/lib64 -lgd -ljpeg -lpng -lgif -lz -lX11 -lXpm -lfreetype -lpython2.7 -o build/lib.linux-riscv64-2.7/_gd.so + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.TeHStR + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-gd-0.56-19.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-gd-0.56-19.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/python-gd-0.56-19.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-gd-0.56-19.fc29.riscv64 + cd gdmodule-0.56 + /usr/bin/python Setup.py install --root /builddir/build/BUILDROOT/python-gd-0.56-19.fc29.riscv64 BUILDSTDERR: DEPRECATION WARNING: python2 invoked with /usr/bin/python. BUILDSTDERR: Use /usr/bin/python3 or /usr/bin/python2 BUILDSTDERR: /usr/bin/python will be removed or switched to Python 3 in the future. BUILDSTDERR: If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out WARNING: Missing ttf Libraries running install running build running build_py running build_ext running install_lib creating /builddir/build/BUILDROOT/python-gd-0.56-19.fc29.riscv64/usr creating /builddir/build/BUILDROOT/python-gd-0.56-19.fc29.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-gd-0.56-19.fc29.riscv64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/python-gd-0.56-19.fc29.riscv64/usr/lib64/python2.7/site-packages copying build/lib.linux-riscv64-2.7/_gd.so -> /builddir/build/BUILDROOT/python-gd-0.56-19.fc29.riscv64/usr/lib64/python2.7/site-packages copying build/lib.linux-riscv64-2.7/gd.py -> /builddir/build/BUILDROOT/python-gd-0.56-19.fc29.riscv64/usr/lib64/python2.7/site-packages byte-compiling /builddir/build/BUILDROOT/python-gd-0.56-19.fc29.riscv64/usr/lib64/python2.7/site-packages/gd.py to gd.pyc running install_egg_info Writing /builddir/build/BUILDROOT/python-gd-0.56-19.fc29.riscv64/usr/lib64/python2.7/site-packages/gdmodule-0.56-py2.7.egg-info + chmod 755 /builddir/build/BUILDROOT/python-gd-0.56-19.fc29.riscv64//usr/lib64/python2.7/site-packages/_gd.so + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.56-19.fc29 --unique-debug-suffix -0.56-19.fc29.riscv64 --unique-debug-src-base python-gd-0.56-19.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/gdmodule-0.56 extracting debug info from /builddir/build/BUILDROOT/python-gd-0.56-19.fc29.riscv64/usr/lib64/python2.7/site-packages/_gd.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 127 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-gd-0.56-19.fc29.riscv64/usr/lib/debug/usr/lib64/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/python-gd-0.56-19.fc29.riscv64/usr/lib64/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: python2-gd-0.56-19.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.6MdhTM + umask 022 + cd /builddir/build/BUILD + cd gdmodule-0.56 + DOCDIR=/builddir/build/BUILDROOT/python-gd-0.56-19.fc29.riscv64/usr/share/doc/python2-gd + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-gd-0.56-19.fc29.riscv64/usr/share/doc/python2-gd + cp -pr LICENSE /builddir/build/BUILDROOT/python-gd-0.56-19.fc29.riscv64/usr/share/doc/python2-gd + cp -pr README /builddir/build/BUILDROOT/python-gd-0.56-19.fc29.riscv64/usr/share/doc/python2-gd + exit 0 Provides: python-gd = 0.56-19.fc29 python-gd(riscv-64) = 0.56-19.fc29 python2-gd = 0.56-19.fc29 python2-gd(riscv-64) = 0.56-19.fc29 python2.7dist(gdmodule) = 0.56 python2dist(gdmodule) = 0.56 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libX11.so.6()(64bit) libXpm.so.4()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libfreetype.so.6()(64bit) libgd.so.3()(64bit) libgif.so.7()(64bit) libjpeg.so.62()(64bit) libpng16.so.16()(64bit) libpthread.so.0()(64bit) libpython2.7.so.1.0()(64bit) libz.so.1()(64bit) python(abi) = 2.7 rtld(GNU_HASH) Obsoletes: python-gd < 0.56-19.fc29 Processing files: python-gd-debugsource-0.56-19.fc29.riscv64 Provides: python-gd-debugsource = 0.56-19.fc29 python-gd-debugsource(riscv-64) = 0.56-19.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python2-gd-debuginfo-0.56-19.fc29.riscv64 Provides: debuginfo(build-id) = c6e91a1546f34823157a2a8413474c13412f192b python2-gd-debuginfo = 0.56-19.fc29 python2-gd-debuginfo(riscv-64) = 0.56-19.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-gd-debugsource(riscv-64) = 0.56-19.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-gd-0.56-19.fc29.riscv64 Wrote: /builddir/build/RPMS/python2-gd-0.56-19.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/python-gd-debugsource-0.56-19.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/python2-gd-debuginfo-0.56-19.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.HvGFFb + umask 022 + cd /builddir/build/BUILD + cd gdmodule-0.56 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-gd-0.56-19.fc29.riscv64 + exit 0 Child return code was: 0