D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/ocaml-augeas-0.5-16.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.rHWyDM + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf ocaml-augeas-0.5 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/ocaml-augeas-0.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ocaml-augeas-0.5 + /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.nCx30M + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd ocaml-augeas-0.5 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=aarch64-mageia-linux-gnu --build=aarch64-mageia-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 configure: WARNING: unrecognized options: --disable-dependency-tracking checking for aarch64-mageia-linux-gnu-gcc... aarch64-mageia-linux-gnu-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 aarch64-mageia-linux-gnu-gcc accepts -g... yes checking for aarch64-mageia-linux-gnu-gcc option to accept ISO C89... none needed checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... aarch64-mageia-linux-gnu-gcc -E checking for function prototypes... yes checking whether aarch64-mageia-linux-gnu-gcc and cc understand -c and -o together... yes checking for aarch64-mageia-linux-gnu-ocamlc... no checking for ocamlc... ocamlc OCaml version is 4.10.0+beta1 OCaml library path is /usr/lib64/ocaml checking for aarch64-mageia-linux-gnu-ocamlopt... no checking for ocamlopt... ocamlopt checking for aarch64-mageia-linux-gnu-ocamlc.opt... no checking for ocamlc.opt... ocamlc.opt checking for aarch64-mageia-linux-gnu-ocamlopt.opt... no checking for ocamlopt.opt... ocamlopt.opt checking for aarch64-mageia-linux-gnu-ocaml... no checking for ocaml... ocaml checking for aarch64-mageia-linux-gnu-ocamldep... no checking for ocamldep... ocamldep checking for aarch64-mageia-linux-gnu-ocamlmktop... no checking for ocamlmktop... ocamlmktop checking for aarch64-mageia-linux-gnu-ocamlmklib... no checking for ocamlmklib... ocamlmklib checking for aarch64-mageia-linux-gnu-ocamldoc... no checking for ocamldoc... ocamldoc checking for aarch64-mageia-linux-gnu-ocamlbuild... no checking for ocamlbuild... no checking for aarch64-mageia-linux-gnu-ocamlfind... no checking for ocamlfind... ocamlfind checking for aarch64-mageia-linux-gnu-pkg-config... /usr/bin/aarch64-mageia-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBXML2... yes checking for AUGEAS... yes configure: creating ./config.status config.status: creating Makefile config.status: creating META config.status: creating config.h configure: WARNING: unrecognized options: --disable-dependency-tracking + make aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I/usr/include/libxml2 -I/usr/include/libxml2 -fPIC -I/usr/lib64/ocaml -Wall -Werror -c -o augeas_c.o augeas_c.c In file included from /usr/lib64/ocaml/caml/alloc.h:24, from augeas_c.c:25: augeas_c.c: In function 'ocaml_augeas_create': /usr/lib64/ocaml/caml/mlvalues.h:265:23: error: initialization discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ augeas_c.c:89:16: note: in expansion of macro 'String_val' 89 | char *root = String_val (rootv); | ^~~~~~~~~~ augeas_c.c:95:12: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers] 95 | loadpath = | ^ In file included from /usr/lib64/ocaml/caml/alloc.h:24, from augeas_c.c:25: augeas_c.c: In function 'ocaml_augeas_get': /usr/lib64/ocaml/caml/mlvalues.h:265:23: error: initialization discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ augeas_c.c:136:16: note: in expansion of macro 'String_val' 136 | char *path = String_val (pathv); | ^~~~~~~~~~ augeas_c.c: In function 'ocaml_augeas_exists': /usr/lib64/ocaml/caml/mlvalues.h:265:23: error: initialization discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ augeas_c.c:162:16: note: in expansion of macro 'String_val' 162 | char *path = String_val (pathv); | ^~~~~~~~~~ augeas_c.c: In function 'ocaml_augeas_insert': /usr/lib64/ocaml/caml/mlvalues.h:265:23: error: initialization discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ augeas_c.c:184:16: note: in expansion of macro 'String_val' 184 | char *path = String_val (pathv); | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:265:23: error: initialization discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ augeas_c.c:185:17: note: in expansion of macro 'String_val' 185 | char *label = String_val (labelv); | ^~~~~~~~~~ augeas_c.c: In function 'ocaml_augeas_rm': /usr/lib64/ocaml/caml/mlvalues.h:265:23: error: initialization discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ augeas_c.c:202:16: note: in expansion of macro 'String_val' 202 | char *path = String_val (path); | ^~~~~~~~~~ augeas_c.c: In function 'ocaml_augeas_match': /usr/lib64/ocaml/caml/mlvalues.h:265:23: error: initialization discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ augeas_c.c:219:16: note: in expansion of macro 'String_val' 219 | char *path = String_val (pathv); | ^~~~~~~~~~ augeas_c.c: In function 'ocaml_augeas_count_matches': /usr/lib64/ocaml/caml/mlvalues.h:265:23: error: initialization discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ augeas_c.c:249:16: note: in expansion of macro 'String_val' 249 | char *path = String_val (path); | ^~~~~~~~~~ cc1: all warnings being treated as errors make: *** [: augeas_c.o] Error 1 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.nCx30M (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.nCx30M (%build) I: [iurt_root_command] ERROR: chroot