D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/opam-2.0.0-1.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.uY1cNK + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf opam-2.0.0-beta6 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/opam-2.0.0-beta6.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd opam-2.0.0-beta6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.DiGhx6 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd opam-2.0.0-beta6 + '[' 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 + 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 + '[' -f ./configure.in -o -f ./configure.ac ']' + CONFIGURE_XPATH='--x-includes=/usr/include --x-libraries=/usr/lib64' + ./configure --build=x86_64-mageia-linux-gnu --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 --x-includes=/usr/include --x-libraries=/usr/lib64 checking for ocamlc... ocamlc OCaml version is 4.06.0 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... ocamlbuild checking OCaml Sys.os_type... Unix checking for gawk... gawk 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 for ocamlfind... ocamlfind checking for curl... curl checking for jbuilder... jbuilder checking for OCaml findlib package unix... found checking for OCaml findlib package bigarray... found checking for OCaml findlib package extlib... found checking for OCaml findlib package re... found checking for OCaml findlib package re.glob... found checking for OCaml findlib package cmdliner... found checking for OCaml findlib package ocamlgraph... found checking for OCaml findlib package cudf... found checking for OCaml findlib package dose3.common... found checking for OCaml findlib package dose3.algo... found checking for OCaml findlib package opam-file-format... found checking for OCaml findlib package mccs... not found configure: creating ./config.status config.status: creating Makefile.config Opam will be built WITHOUT a built-in solver Executables will be installed in /usr/bin Manual pages will be installed in /usr/share/man + sed s/OPAMINSTALLER_FLAGS=/OPAMINSTALLER_FLAGS+=/g -i Makefile + make jbuilder build opam-installer.install opam.install File "jbuild-ignore", line 2, characters 0-16: Warning: subdirectory expression src_ext/jbuilder ignored File "jbuild-ignore", line 3, characters 0-14: Warning: subdirectory expression tests/packages ignored ocaml (internal) fatal: not a git repository (or any of the parent directories): .git File "src/state/jbuild", line 14, characters 44-49: Warning: The use of the variable prefix '!' is deprecated, simply use '${^}' File "src/core/jbuild", line 19, characters 17-47: Error: please quote the string containing the list variable ${@} make: *** [Makefile:90: opam.install] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.DiGhx6 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.DiGhx6 (%build) I: [iurt_root_command] ERROR: chroot