Mock Version: 2.9 Mock Version: 2.9 Mock Version: 2.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ocaml-curses.spec'], chrootPath='/var/lib/mock/dist-circle8-build-38109-6732/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=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ocaml-curses.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'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ocaml-curses-1.0.3-45.el8.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/ocaml-curses.spec'], chrootPath='/var/lib/mock/dist-circle8-build-38109-6732/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=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ocaml-curses.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'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8aZ0C0 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ocaml-curses-1.0.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/ocaml-curses-1.0.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ocaml-curses-1.0.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (ocaml-curses-1.0.3-fix-term-h-detection.patch): + echo 'Patch #1 (ocaml-curses-1.0.3-fix-term-h-detection.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure.ac + autoreconf + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.utvnUR + umask 022 + cd /builddir/build/BUILD + cd ocaml-curses-1.0.3 + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-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-widec configure: WARNING: unrecognized options: --disable-dependency-tracking checking for x86_64-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 whether gcc and cc understand -c and -o together... yes checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib 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 termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking for working ncurses library... found in -lncursesw checking for term.h... found in checking for wide character support in ncurses library... yes checking for resizeterm... yes checking for resize_term... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.ml config.status: creating config.h configure: WARNING: unrecognized options: --disable-dependency-tracking + make all make[1]: Entering directory '/builddir/build/BUILD/ocaml-curses-1.0.3' ocamldep curses.mli > ._bcdi/curses.di ocamldep -pp "gcc -x c -E " curses.ml > ._d/curses.d ocamldep keys.ml > ._d/keys.d ocamlc -c -cc "gcc" -ccopt "-fPIC -g -Wall -DHAVE_CONFIG_H \ -DPIC \ -o ml_curses.o " ml_curses.c functions.c: In function 'mlcurses_unctrl': functions.c:596:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ML1(unctrl,string,chtype) ^~~~~~ ml_curses.c:77:15: note: in definition of macro 'r_string' { char *ret=f; \ ^ functions.c:596:1: note: in expansion of macro 'ML1' ML1(unctrl,string,chtype) ^~~ functions.c: In function 'mlcurses_keyname': functions.c:597:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ML1(keyname,string,int) ^~~~~~~ ml_curses.c:77:15: note: in definition of macro 'r_string' { char *ret=f; \ ^ functions.c:597:1: note: in expansion of macro 'ML1' ML1(keyname,string,int) ^~~ ar rcs libcurses_stubs.a ml_curses.o ocamlc -c keys.ml ocamlc -c curses.mli ocamlc -c -pp "gcc -x c -E " curses.ml ocamlmklib \ -o curses_stubs ml_curses.o -lncursesw \ ocamlc -a -dllib dllcurses_stubs.so -custom -ccopt -Wl,-z,relro -ccopt -Wl,-z,now -ccopt -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -cclib -lcurses_stubs -cclib -lncursesw -o curses.cma keys.cmo curses.cmo make[1]: Leaving directory '/builddir/build/BUILD/ocaml-curses-1.0.3' sed \ -e 's/@PACKAGE@/curses/' \ -e 's/@VERSION@/1.0.3/' \ -e 's/@CURSES@/ncurses/' \ < META.in > META ranlib *.a + make opt make[1]: Entering directory '/builddir/build/BUILD/ocaml-curses-1.0.3' ocamldep -native curses.mli > ._ncdi/curses.di make[1]: 'libcurses_stubs.a' is up to date. ocamlopt -c keys.ml ocamlopt -c -pp "gcc -x c -E " curses.ml ocamlopt -a -ccopt -Wl,-z,relro -ccopt -Wl,-z,now -ccopt -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -cclib -lcurses_stubs -cclib -lncursesw -o curses.cmxa keys.cmx curses.cmx make[1]: Leaving directory '/builddir/build/BUILD/ocaml-curses-1.0.3' ranlib *.a + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.uea9da + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ocaml-curses-1.0.3-45.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ocaml-curses-1.0.3-45.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/ocaml-curses-1.0.3-45.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ocaml-curses-1.0.3-45.el8.x86_64 + cd ocaml-curses-1.0.3 + export DESTDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.3-45.el8.x86_64 + DESTDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.3-45.el8.x86_64 + export OCAMLFIND_DESTDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.3-45.el8.x86_64/usr/lib64/ocaml + OCAMLFIND_DESTDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.3-45.el8.x86_64/usr/lib64/ocaml + mkdir -p /builddir/build/BUILDROOT/ocaml-curses-1.0.3-45.el8.x86_64/usr/lib64/ocaml /builddir/build/BUILDROOT/ocaml-curses-1.0.3-45.el8.x86_64/usr/lib64/ocaml/stublibs + ocamlfind install curses META curses.cmi keys.cmi curses.cmx keys.cmx curses.cma curses.cmxa curses.a libcurses_stubs.a dllcurses_stubs.so curses.mli Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.3-45.el8.x86_64/usr/lib64/ocaml/curses/curses.mli Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.3-45.el8.x86_64/usr/lib64/ocaml/curses/libcurses_stubs.a Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.3-45.el8.x86_64/usr/lib64/ocaml/curses/curses.a Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.3-45.el8.x86_64/usr/lib64/ocaml/curses/curses.cmxa Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.3-45.el8.x86_64/usr/lib64/ocaml/curses/curses.cma Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.3-45.el8.x86_64/usr/lib64/ocaml/curses/keys.cmx Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.3-45.el8.x86_64/usr/lib64/ocaml/curses/curses.cmx Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.3-45.el8.x86_64/usr/lib64/ocaml/curses/keys.cmi Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.3-45.el8.x86_64/usr/lib64/ocaml/curses/curses.cmi Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.3-45.el8.x86_64/usr/lib64/ocaml/stublibs/dllcurses_stubs.so Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.3-45.el8.x86_64/usr/lib64/ocaml/stublibs/dllcurses_stubs.so.owner ocamlfind: [WARNING] You have installed DLLs but the directory /builddir/build/BUILDROOT/ocaml-curses-1.0.3-45.el8.x86_64/usr/lib64/ocaml/stublibs is not mentioned in ld.conf Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.3-45.el8.x86_64/usr/lib64/ocaml/curses/META + /usr/lib/rpm/find-debuginfo.sh -j16 --strict-build-id -m -i --build-id-seed 1.0.3-45.el8 --unique-debug-suffix -1.0.3-45.el8.x86_64 --unique-debug-src-base ocaml-curses-1.0.3-45.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/ocaml-curses-1.0.3 extracting debug info from /builddir/build/BUILDROOT/ocaml-curses-1.0.3-45.el8.x86_64/usr/lib64/ocaml/stublibs/dllcurses_stubs.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 55 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /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 '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: ocaml-curses-1.0.3-45.el8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.2f0wGy + umask 022 + cd /builddir/build/BUILD + cd ocaml-curses-1.0.3 + DOCDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.3-45.el8.x86_64/usr/share/doc/ocaml-curses + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocaml-curses-1.0.3-45.el8.x86_64/usr/share/doc/ocaml-curses + cp -pr COPYING /builddir/build/BUILDROOT/ocaml-curses-1.0.3-45.el8.x86_64/usr/share/doc/ocaml-curses + exit 0 Provides: ocaml(Curses) = 83e80424de96b2c87f7b111ba383842c ocaml(Keys) = 4535e0a1f5107171a8e2e58e63a15f81 ocaml-curses = 1.0.3-45.el8 ocaml-curses(x86-64) = 1.0.3-45.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libncursesw.so.6()(64bit) libtinfo.so.6()(64bit) ocaml(CamlinternalFormatBasics) = 7ea79e608e46b41c80c3251773e6fdf3 ocaml(Stdlib) = 2812fae09b173a42800ce3b48328b9cb ocaml(Stdlib__bigarray) = fde4e26503108d041547c9eef855a5fa ocaml(Stdlib__complex) = d4688bd6236fccf33550a083ea8e768f ocaml(Stdlib__hashtbl) = 682884027fa100c01983d89cfc4eaf69 ocaml(Stdlib__list) = 0c0f6e8daa075e845d18d212dd78098f ocaml(Stdlib__seq) = 5c66a1fd18f6126043d7af46d32b4b53 ocaml(Unix) = e5f3d189d40891229c2283728e203e8a ocaml(runtime) = 4.07.0 rtld(GNU_HASH) Processing files: ocaml-curses-devel-1.0.3-45.el8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.y7OZHX + umask 022 + cd /builddir/build/BUILD + cd ocaml-curses-1.0.3 + DOCDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.3-45.el8.x86_64/usr/share/doc/ocaml-curses-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocaml-curses-1.0.3-45.el8.x86_64/usr/share/doc/ocaml-curses-devel + cp -pr COPYING /builddir/build/BUILDROOT/ocaml-curses-1.0.3-45.el8.x86_64/usr/share/doc/ocaml-curses-devel + exit 0 Provides: ocaml-curses-devel = 1.0.3-45.el8 ocaml-curses-devel(x86-64) = 1.0.3-45.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ocaml-curses-debugsource-1.0.3-45.el8.x86_64 Provides: ocaml-curses-debugsource = 1.0.3-45.el8 ocaml-curses-debugsource(x86-64) = 1.0.3-45.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ocaml-curses-debuginfo-1.0.3-45.el8.x86_64 Provides: debuginfo(build-id) = 855815d732e98003b797fa513fda941ded941265 ocaml-curses-debuginfo = 1.0.3-45.el8 ocaml-curses-debuginfo(x86-64) = 1.0.3-45.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ocaml-curses-debugsource(x86-64) = 1.0.3-45.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ocaml-curses-1.0.3-45.el8.x86_64 Wrote: /builddir/build/RPMS/ocaml-curses-1.0.3-45.el8.x86_64.rpm Wrote: /builddir/build/RPMS/ocaml-curses-devel-1.0.3-45.el8.x86_64.rpm Wrote: /builddir/build/RPMS/ocaml-curses-debugsource-1.0.3-45.el8.x86_64.rpm Wrote: /builddir/build/RPMS/ocaml-curses-debuginfo-1.0.3-45.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Mb5Jin + umask 022 + cd /builddir/build/BUILD + cd ocaml-curses-1.0.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ocaml-curses-1.0.3-45.el8.x86_64 + exit 0 Child return code was: 0