D: [iurt_root_command] chroot
warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend.
Installing /home/iurt/rpmbuild/SRPMS/ocaml-alsa-0.2.3-10.mga9.src.rpm
Building target platforms: aarch64
Building for target aarch64
Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.XoHWiQ
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/iurt/rpmbuild/BUILD
+ rm -rf ocaml-alsa-0.2.3
+ /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/ocaml-alsa-0.2.3.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd ocaml-alsa-0.2.3
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.mlnzuI
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ cd ocaml-alsa-0.2.3
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ ./configure --libdir=/usr/lib64
configuring ocaml-alsa 0.2.3
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 build system type... aarch64-unknown-linux-gnu
checking host system type... aarch64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking that calling user is not root... ok
checking for gcc... (cached) 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 for ar... ar
checking for ocamlc... ocamlc
OCaml version is 4.12.0
checking if ocaml compiler supports first-class modules... yes
OCaml library path is /usr/lib64/ocaml
checking for ocamlopt... ocamlopt
checking for ocamlc.opt... ocamlc.opt
checking for ocamlopt.opt... ocamlopt.opt
checking for ocaml... ocaml
checking for ocamldep... ocamldep
checking for ocamldep.opt... ocamldep.opt
checking for ocamlmktop... ocamlmktop
checking for ocamlmklib... ocamlmklib
checking for ocamldoc... ocamldoc
checking for ocamldoc.opt... ocamldoc.opt
checking for ocamlbuild... no
checking for camlidl... no
checking for ocamllex... ocamllex
checking for ocamllex.opt... ocamllex.opt
checking for ocamlyacc... ocamlyacc
checking for camlp4... no
checking for camlp4boot... no
checking for camlp4o... no
checking for camlp4of... no
checking for camlp4oof... no
checking for camlp4orf... no
checking for camlp4prof... no
checking for camlp4r... no
checking for camlp4rf... no
checking for ocamlfind... ocamlfind
checking for ocaml standard library path... /usr/lib64/ocaml
checking for caml/threads.h... no
checking for gcc option to produce PIC... -fPIC
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether pkg-config knows about alsa... ok
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/META
config.status: creating src/Makefile
+ make all
make -C src all
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/ocaml-alsa-0.2.3/src'
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/ocaml-alsa-0.2.3/src'
making ._bcdi/alsa.di from alsa.mli
making ._d/alsa.d from alsa.ml
ocamlc.opt -c -cc "gcc" -ccopt "-fPIC -g -O2  -Wall -DCAML_NAME_SPACE \
			-DPIC -fPIC   \
			    -o alsa_stubs.o " alsa_stubs.c 
In file included from /usr/lib64/ocaml/caml/alloc.h:24,
                 from alsa_stubs.c:30:
alsa_stubs.c: In function 'ocaml_snd_int_of_error':
/usr/lib64/ocaml/caml/mlvalues.h:282:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  282 | #define String_val(x) ((const char *) Bp_val(x))
      |                       ^
alsa_stubs.c:174:13: note: in expansion of macro 'String_val'
  174 |   char *s = String_val(name);
      |             ^~~~~~~~~~
alsa_stubs.c: In function 'ocaml_snd_pcm_readi':
alsa_stubs.c:314:27: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  314 |   memcpy(String_val(dbuf) + ofs, buf, len * Frame_size_val(handle_));
In file included from alsa_stubs.c:27:
/usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
   43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
      |                      ~~~~~~~~~~~~~~~~~^~~~~~
alsa_stubs.c: In function 'ocaml_snd_pcm_readn':
alsa_stubs.c:367:39: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  367 |     memcpy(String_val(Field(dbuf, c)) + ofs, buf[c], 2 * len);
In file included from alsa_stubs.c:27:
/usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
   43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
      |                      ~~~~~~~~~~~~~~~~~^~~~~~
ar rcs libalsa_stubs.a  alsa_stubs.o
ocamlc.opt -c -g -w +A@5-7@8@11@12@20-35-44-45 alsa.mli
ocamlc.opt -c -g -w +A@5-7@8@11@12@20-35-44-45 alsa.ml
File "alsa.ml", line 174, characters 21-27:
174 |   let get_frame_size params = 4
                           ^^^^^^
Warning 27 [unused-var-strict]: unused variable params.
ocamlmklib          \
			-o alsa_stubs  alsa_stubs.o -lasound \
			
ocamlc.opt -a -dllib dllalsa_stubs.so              \
			-cclib -lalsa_stubs -cclib -lasound  -o alsa.cma  alsa.cmo
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/ocaml-alsa-0.2.3/src'
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/ocaml-alsa-0.2.3/src'
making ._ncdi/alsa.di from alsa.mli
make[2]: 'libalsa_stubs.a' is up to date.
ocamlopt.opt -c -g -w +A@5-7@8@11@12@20-35-44-45 alsa.ml
File "alsa.ml", line 174, characters 21-27:
174 |   let get_frame_size params = 4
                           ^^^^^^
Warning 27 [unused-var-strict]: unused variable params.
ocamlopt.opt -a              -cclib -lalsa_stubs -cclib -lasound  \
			 -o alsa.cmxa alsa.cmx
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/ocaml-alsa-0.2.3/src'
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/ocaml-alsa-0.2.3/src'
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.tP0Bxu
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' /home/iurt/rpmbuild/BUILDROOT/ocaml-alsa-0.2.3-10.mga9.aarch64 '!=' / ']'
+ rm -rf /home/iurt/rpmbuild/BUILDROOT/ocaml-alsa-0.2.3-10.mga9.aarch64
++ dirname /home/iurt/rpmbuild/BUILDROOT/ocaml-alsa-0.2.3-10.mga9.aarch64
+ mkdir -p /home/iurt/rpmbuild/BUILDROOT
+ mkdir /home/iurt/rpmbuild/BUILDROOT/ocaml-alsa-0.2.3-10.mga9.aarch64
+ cd ocaml-alsa-0.2.3
+ '[' 1 -eq 1 ']'
+ export DESTDIR=/home/iurt/rpmbuild/BUILDROOT/ocaml-alsa-0.2.3-10.mga9.aarch64
+ DESTDIR=/home/iurt/rpmbuild/BUILDROOT/ocaml-alsa-0.2.3-10.mga9.aarch64
+ export OCAMLFIND_DESTDIR=/home/iurt/rpmbuild/BUILDROOT/ocaml-alsa-0.2.3-10.mga9.aarch64//usr/lib64/ocaml
+ OCAMLFIND_DESTDIR=/home/iurt/rpmbuild/BUILDROOT/ocaml-alsa-0.2.3-10.mga9.aarch64//usr/lib64/ocaml
+ export DLLDIR=/home/iurt/rpmbuild/BUILDROOT/ocaml-alsa-0.2.3-10.mga9.aarch64//usr/lib64/ocaml/stublibs
+ DLLDIR=/home/iurt/rpmbuild/BUILDROOT/ocaml-alsa-0.2.3-10.mga9.aarch64//usr/lib64/ocaml/stublibs
+ mkdir -p /home/iurt/rpmbuild/BUILDROOT/ocaml-alsa-0.2.3-10.mga9.aarch64//usr/lib64/ocaml/stublibs
+ mkdir -p /home/iurt/rpmbuild/BUILDROOT/ocaml-alsa-0.2.3-10.mga9.aarch64//usr/lib64/ocaml/alsa
+ make install
make -C src install
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/ocaml-alsa-0.2.3/src'
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/ocaml-alsa-0.2.3/src'
make[2]: 'libalsa_stubs.a' is up to date.
make[2]: 'alsa.cma' is up to date.
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/ocaml-alsa-0.2.3/src'
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/ocaml-alsa-0.2.3/src'
make[2]: 'libalsa_stubs.a' is up to date.
make[2]: 'alsa.cmxa' is up to date.
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/ocaml-alsa-0.2.3/src'

Installing library with ocamlfind
ocamlfind install  alsa META alsa.mli alsa.cmi alsa.cma alsa.cmxa alsa.cmx alsa.a libalsa_stubs.a dllalsa_stubs.so
Installed /home/iurt/rpmbuild/BUILDROOT/ocaml-alsa-0.2.3-10.mga9.aarch64//usr/lib64/ocaml/alsa/libalsa_stubs.a
Installed /home/iurt/rpmbuild/BUILDROOT/ocaml-alsa-0.2.3-10.mga9.aarch64//usr/lib64/ocaml/alsa/alsa.a
Installed /home/iurt/rpmbuild/BUILDROOT/ocaml-alsa-0.2.3-10.mga9.aarch64//usr/lib64/ocaml/alsa/alsa.cmx
Installed /home/iurt/rpmbuild/BUILDROOT/ocaml-alsa-0.2.3-10.mga9.aarch64//usr/lib64/ocaml/alsa/alsa.cmxa
Installed /home/iurt/rpmbuild/BUILDROOT/ocaml-alsa-0.2.3-10.mga9.aarch64//usr/lib64/ocaml/alsa/alsa.cma
Installed /home/iurt/rpmbuild/BUILDROOT/ocaml-alsa-0.2.3-10.mga9.aarch64//usr/lib64/ocaml/alsa/alsa.cmi
Installed /home/iurt/rpmbuild/BUILDROOT/ocaml-alsa-0.2.3-10.mga9.aarch64//usr/lib64/ocaml/alsa/alsa.mli
Installed /home/iurt/rpmbuild/BUILDROOT/ocaml-alsa-0.2.3-10.mga9.aarch64//usr/lib64/ocaml/stublibs/dllalsa_stubs.so
Installed /home/iurt/rpmbuild/BUILDROOT/ocaml-alsa-0.2.3-10.mga9.aarch64//usr/lib64/ocaml/stublibs/dllalsa_stubs.so.owner
ocamlfind: [WARNING] You have installed DLLs but the directory /home/iurt/rpmbuild/BUILDROOT/ocaml-alsa-0.2.3-10.mga9.aarch64/usr/lib64/ocaml/stublibs is not mentioned in ld.conf
Installed /home/iurt/rpmbuild/BUILDROOT/ocaml-alsa-0.2.3-10.mga9.aarch64//usr/lib64/ocaml/alsa/META

Installation successful.
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/ocaml-alsa-0.2.3/src'
+ /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 0.2.3-10.mga9 --unique-debug-suffix -0.2.3-10.mga9.aarch64 --unique-debug-src-base ocaml-alsa-0.2.3-10.mga9.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/ocaml-alsa-0.2.3

extracting debug info from /home/iurt/rpmbuild/BUILDROOT/ocaml-alsa-0.2.3-10.mga9.aarch64/usr/lib64/ocaml/stublibs/dllalsa_stubs.so
dwz: ./usr/lib64/ocaml/stublibs/dllalsa_stubs.so-0.2.3-10.mga9.aarch64.debug: Unknown debugging section .debug_line_str
original debug info size: 64kB, size after compression: 64kB
/usr/bin/sepdebugcrcfix: Updated 0 CRC32s, 1 CRC32s did match.
39 blocks
+ /usr/lib/rpm/check-buildroot
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/compress_files .xz
+ '[' -n '' ']'
+ /usr/share/spec-helper/relink_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_perl
+ '[' -n '' ']'
+ /usr/share/spec-helper/lib_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/gprintify
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_mo
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_pamd
+ '[' -n '' ']'
+ /usr/share/spec-helper/remove_info_dir
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_eol
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_desktop_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_elf_files
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 1 0
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/brp-remove-la-files
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
Processing files: ocaml-alsa-0.2.3-10.mga9.aarch64
Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.qghEqz
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ cd ocaml-alsa-0.2.3
+ DOCDIR=/home/iurt/rpmbuild/BUILDROOT/ocaml-alsa-0.2.3-10.mga9.aarch64/usr/share/doc/ocaml-alsa
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/ocaml-alsa-0.2.3-10.mga9.aarch64/usr/share/doc/ocaml-alsa
+ cp -pr COPYING /home/iurt/rpmbuild/BUILDROOT/ocaml-alsa-0.2.3-10.mga9.aarch64/usr/share/doc/ocaml-alsa
+ cp -pr CHANGES /home/iurt/rpmbuild/BUILDROOT/ocaml-alsa-0.2.3-10.mga9.aarch64/usr/share/doc/ocaml-alsa
+ cp -pr README /home/iurt/rpmbuild/BUILDROOT/ocaml-alsa-0.2.3-10.mga9.aarch64/usr/share/doc/ocaml-alsa
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: ocaml(Alsa) = c78f5a9846594ff2d9bb9b9934ad35aa ocaml-alsa = 0.2.3-10.mga9 ocaml-alsa(aarch-64) = 0.2.3-10.mga9
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libasound.so.2()(64bit) libasound.so.2(ALSA_0.9)(64bit) libasound.so.2(ALSA_0.9.0rc4)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) ocaml(CamlinternalFormatBasics) = b6c6694955e10001aed267571104a961 ocaml(Stdlib) = 4b04b4eda19aa722df365141895fb347 ocaml(Stdlib__callback) = 21c02abb4cc9eea752b0e9ab3b1a0e6a
Processing files: ocaml-alsa-devel-0.2.3-10.mga9.aarch64
Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.hnYeCM
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ cd ocaml-alsa-0.2.3
+ DOCDIR=/home/iurt/rpmbuild/BUILDROOT/ocaml-alsa-0.2.3-10.mga9.aarch64/usr/share/doc/ocaml-alsa-devel
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/ocaml-alsa-0.2.3-10.mga9.aarch64/usr/share/doc/ocaml-alsa-devel
+ cp -pr doc/Alsa.Pcm.html doc/Alsa.html doc/index.html doc/index_attributes.html doc/index_class_types.html doc/index_classes.html doc/index_exceptions.html doc/index_extensions.html doc/index_methods.html doc/index_module_types.html doc/index_modules.html doc/index_types.html doc/index_values.html doc/type_Alsa.Pcm.html doc/type_Alsa.html /home/iurt/rpmbuild/BUILDROOT/ocaml-alsa-0.2.3-10.mga9.aarch64/usr/share/doc/ocaml-alsa-devel
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: ocaml(Alsa) = c78f5a9846594ff2d9bb9b9934ad35aa ocaml-alsa-devel = 0.2.3-10.mga9 ocaml-alsa-devel(aarch-64) = 0.2.3-10.mga9 ocamlx(Alsa) = 5cf5e822a127d1b158008f7e08ebf89d
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: ocaml(CamlinternalFormatBasics) = b6c6694955e10001aed267571104a961 ocaml(Stdlib) = 4b04b4eda19aa722df365141895fb347 ocaml(Stdlib__callback) = 21c02abb4cc9eea752b0e9ab3b1a0e6a ocamlx(Stdlib__callback) = f51ffea73ea6512880e00974c161a04c
Processing files: ocaml-alsa-debugsource-0.2.3-10.mga9.aarch64
Provides: ocaml-alsa-debugsource = 0.2.3-10.mga9 ocaml-alsa-debugsource(aarch-64) = 0.2.3-10.mga9
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: ocaml-alsa-debuginfo-0.2.3-10.mga9.aarch64
Provides: debuginfo(build-id) = 0538be67c29bef2aab8ceddac3d50802a2798460 ocaml-alsa-debuginfo = 0.2.3-10.mga9 ocaml-alsa-debuginfo(aarch-64) = 0.2.3-10.mga9
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: ocaml-alsa-debugsource(aarch-64) = 0.2.3-10.mga9
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/ocaml-alsa-0.2.3-10.mga9.aarch64
Wrote: /home/iurt/rpmbuild/RPMS/aarch64/ocaml-alsa-debugsource-0.2.3-10.mga9.aarch64.rpm
Wrote: /home/iurt/rpmbuild/RPMS/aarch64/ocaml-alsa-debuginfo-0.2.3-10.mga9.aarch64.rpm
Wrote: /home/iurt/rpmbuild/RPMS/aarch64/ocaml-alsa-0.2.3-10.mga9.aarch64.rpm
Wrote: /home/iurt/rpmbuild/RPMS/aarch64/ocaml-alsa-devel-0.2.3-10.mga9.aarch64.rpm
Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.dUHNp3
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ cd ocaml-alsa-0.2.3
+ /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/ocaml-alsa-0.2.3-10.mga9.aarch64
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.jglnU4
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ rm -rf ocaml-alsa-0.2.3
+ RPM_EC=0
++ jobs -p
+ exit 0
D: [iurt_root_command] Success!