<86>Feb 27 10:38:29 userdel[3820691]: delete user 'rooter' <86>Feb 27 10:38:29 userdel[3820691]: removed group 'rooter' owned by 'rooter' <86>Feb 27 10:38:29 groupadd[3820697]: group added to /etc/group: name=rooter, GID=699 <86>Feb 27 10:38:29 groupadd[3820697]: group added to /etc/gshadow: name=rooter <86>Feb 27 10:38:29 groupadd[3820697]: new group: name=rooter, GID=699 <86>Feb 27 10:38:29 useradd[3820701]: new user: name=rooter, UID=699, GID=699, home=/root, shell=/bin/bash <86>Feb 27 10:38:29 userdel[3820799]: delete user 'builder' <86>Feb 27 10:38:29 userdel[3820799]: removed group 'builder' owned by 'builder' <86>Feb 27 10:38:29 userdel[3820799]: removed shadow group 'builder' owned by 'builder' <86>Feb 27 10:38:29 groupadd[3820811]: group added to /etc/group: name=builder, GID=700 <86>Feb 27 10:38:29 groupadd[3820811]: group added to /etc/gshadow: name=builder <86>Feb 27 10:38:29 groupadd[3820811]: new group: name=builder, GID=700 <86>Feb 27 10:38:30 useradd[3820823]: new user: name=builder, UID=700, GID=700, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/ocaml-camlbz2-0.6.0-alt1.src.rpm: exception not found in '/usr/share/license-exception' directory: linking /usr/src/in/srpm/ocaml-camlbz2-0.6.0-alt1.src.rpm: license not found in '/usr/share/license' directory: exception <13>Feb 27 10:38:33 rpmi: libxkbcommon-0.10.0-alt1 sisyphus+244530.100.1.1 1579516274 installed <13>Feb 27 10:38:33 rpmi: libpng16-1.6.37-alt1 sisyphus+236677.100.2.1 1566917998 installed <13>Feb 27 10:38:33 rpmi: libICE-1.0.9-alt1 1409902721 installed <13>Feb 27 10:38:33 rpmi: libjpeg-2:2.0.2-alt1 sisyphus+226996.100.1.1 1554902907 installed <13>Feb 27 10:38:33 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Feb 27 10:38:33 rpmi: libSM-1.2.3-alt1 sisyphus+226734.100.2.1 1554586158 installed <13>Feb 27 10:38:33 rpmi: ocaml-runtime-4.08.1-alt1 sisyphus+235061.70.23.1 1565087976 installed <13>Feb 27 10:38:34 rpmi: libwebp7-1.1.0-alt1 sisyphus+243895.100.1.1 1578410873 installed <13>Feb 27 10:38:34 rpmi: libmtdev-1.1.5-alt1 sisyphus+220715.100.1.1 1549364509 installed <13>Feb 27 10:38:34 rpmi: udev-rules-1:244.3-alt2 sisyphus+246535.200.2.1 1581950419 installed <13>Feb 27 10:38:34 rpmi: libglvnd-7:1.3.0-alt1 sisyphus+246627.100.1.1 1582101173 installed <13>Feb 27 10:38:34 rpmi: libwayland-server-1.18.0-alt1 sisyphus+245906.100.1.1 1581492503 installed <13>Feb 27 10:38:34 rpmi: qt5-base-common-5.12.7-alt1 sisyphus+246056.100.5.1 1582104231 installed <13>Feb 27 10:38:34 rpmi: qt5-svg-common-5.12.7-alt1 sisyphus+246056.1700.5.1 1582107667 installed <13>Feb 27 10:38:34 rpmi: rpm-build-ocaml-1.3-alt1 1494941050 installed <13>Feb 27 10:38:34 rpmi: libdatrie-0.2.9-alt1_6 1511686676 installed <13>Feb 27 10:38:34 rpmi: libthai-0.1.28-alt1_1 sisyphus+226107.100.1.1 1554123079 installed <13>Feb 27 10:38:34 rpmi: libfribidi-1.0.8-alt1 sisyphus+243018.200.3.3 1576821924 installed <13>Feb 27 10:38:34 rpmi: libjbig-2.1-alt1 1401380926 installed <13>Feb 27 10:38:34 rpmi: libtiff5-4.1.0-alt1 sisyphus+240802.100.1.1 1573743635 installed <13>Feb 27 10:38:34 rpmi: libpixman-3:0.38.4-alt1 sisyphus+228006.100.1.1 1556013870 installed <13>Feb 27 10:38:34 rpmi: libts-1.0-alt1.qa1 1366249315 installed <13>Feb 27 10:38:34 rpmi: libwacom-data-1.2-alt1 sisyphus+243430.100.1.1 1577100525 installed <13>Feb 27 10:38:34 rpmi: libgudev-1:233-alt1 sisyphus+235422.100.1.1 1564855273 installed <13>Feb 27 10:38:34 rpmi: libwacom-1.2-alt1 sisyphus+243430.100.1.1 1577100528 installed <13>Feb 27 10:38:34 rpmi: libevdev-1.8.0-alt1 sisyphus+236608.100.1.1 1566815743 installed <13>Feb 27 10:38:34 rpmi: libinput-1.15.1-alt1 sisyphus+245405.100.1.1 1580728614 installed <13>Feb 27 10:38:34 rpmi: liblz4-1:1.9.2-alt1 sisyphus+238585.100.2.2 1570066927 installed <13>Feb 27 10:38:34 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521082 installed <13>Feb 27 10:38:34 rpmi: libgcrypt20-1.8.5-alt3 sisyphus+239622.100.1.1 1571746654 installed <13>Feb 27 10:38:34 rpmi: libsystemd-1:244.3-alt2 sisyphus+246535.200.2.1 1581950464 installed <13>Feb 27 10:38:34 rpmi: libdbus-1.12.16-alt2 sisyphus+240566.100.2.1 1573547696 installed <13>Feb 27 10:38:34 rpmi: libavahi-0.7-alt1 sisyphus+237493.100.1.1 1568299481 installed <13>Feb 27 10:38:34 rpmi: libcups-2.2.12-alt4 sisyphus+242884.100.1.1 1576235865 installed <13>Feb 27 10:38:34 rpmi: libproxy-0.4.15-alt3 sisyphus+227885.100.1.2 1555818599 installed <13>Feb 27 10:38:34 rpmi: libgraphite2-1.3.13-alt2 sisyphus+226799.100.1.1 1554648241 installed <13>Feb 27 10:38:34 rpmi: libharfbuzz-2.6.4-alt1 sisyphus+240033.100.1.1 1572506773 installed <13>Feb 27 10:38:34 rpmi: libfreetype-2.10.1-alt1 sisyphus+237471.100.1.1 1568276356 installed <13>Feb 27 10:38:34 rpmi: fontconfig-2.13.1-alt1 sisyphus+226691.100.2.2 1554598726 installed Updating fonts cache: <29>Feb 27 10:38:36 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Feb 27 10:38:36 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268571 installed <13>Feb 27 10:38:36 rpmi: libwayland-client-1.18.0-alt1 sisyphus+245906.100.1.1 1581492503 installed <13>Feb 27 10:38:36 rpmi: libpciaccess-1:0.16-alt1 sisyphus+234814.100.1.1 1563438291 installed <13>Feb 27 10:38:36 rpmi: libdrm-1:2.4.100-alt1 sisyphus+240099.100.1.1 1572599774 installed <13>Feb 27 10:38:36 rpmi: libgbm-4:20.0.0-alt1 sisyphus+246678.100.1.1 1582201624 installed <13>Feb 27 10:38:36 rpmi: libpcre2-10.34-alt1 sisyphus+241619.100.1.1 1574686794 installed <13>Feb 27 10:38:37 rpmi: libicu65-1:6.5.1-alt1 sisyphus+238768.100.16.1 1571427455 installed <13>Feb 27 10:38:37 rpmi: libqt5-core-5.12.7-alt1 sisyphus+246056.100.5.1 1582104231 installed <13>Feb 27 10:38:37 rpmi: libqt5-dbus-5.12.7-alt1 sisyphus+246056.100.5.1 1582104231 installed <13>Feb 27 10:38:37 rpmi: libX11-locales-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056781 installed <13>Feb 27 10:38:37 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949353 installed <13>Feb 27 10:38:37 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Feb 27 10:38:37 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593801 installed <13>Feb 27 10:38:37 rpmi: libX11-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056801 installed <13>Feb 27 10:38:37 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed <13>Feb 27 10:38:37 rpmi: libXrender-0.9.8-alt1 1371312112 installed <13>Feb 27 10:38:37 rpmi: libXft-2.3.3-alt1 sisyphus+225206.1000.3.2 1552987708 installed <13>Feb 27 10:38:37 rpmi: libXxf86vm-1.1.4-alt2 1527672187 installed <13>Feb 27 10:38:37 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949286 installed <13>Feb 27 10:38:37 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614841 installed <13>Feb 27 10:38:37 rpmi: libGLX-mesa-4:20.0.0-alt1 sisyphus+246678.100.1.1 1582201624 installed <13>Feb 27 10:38:37 rpmi: libEGL-mesa-4:20.0.0-alt1 sisyphus+246678.100.1.1 1582201624 installed <13>Feb 27 10:38:37 rpmi: libEGL-7:1.3.0-alt1 sisyphus+246627.100.1.1 1582101173 installed <13>Feb 27 10:38:37 rpmi: libGLX-7:1.3.0-alt1 sisyphus+246627.100.1.1 1582101173 installed <13>Feb 27 10:38:37 rpmi: libGL-7:1.3.0-alt1 sisyphus+246627.100.1.1 1582101173 installed <13>Feb 27 10:38:37 rpmi: libcairo-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515535 installed <13>Feb 27 10:38:37 rpmi: libpango-1.44.7-alt1 sisyphus+239731.100.1.1 1571986949 installed <13>Feb 27 10:38:37 rpmi: libXt-1.1.4-alt1 1369984722 installed <13>Feb 27 10:38:37 rpmi: libXpm-3.5.12-alt1 sisyphus+223149.400.2.1 1551268289 installed <13>Feb 27 10:38:37 rpmi: libgd3-2.2.5-alt3 sisyphus+226800.200.2.1 1554649317 installed <13>Feb 27 10:38:37 rpmi: libxcbutil-icccm-0.4.1-alt2 sisyphus+229000.100.1.1 1557152221 installed <13>Feb 27 10:38:37 rpmi: libxcbutil-1:0.4.0-alt1 1413392888 installed <13>Feb 27 10:38:37 rpmi: libxcbutil-image-0.4.0-alt1 1446204182 installed <13>Feb 27 10:38:37 rpmi: libxcbutil-keysyms-0.4.0-alt1 1446204124 installed <13>Feb 27 10:38:37 rpmi: libxcb-render-util-0.3.9-alt3 sisyphus+222674.100.1.1 1550989886 installed <13>Feb 27 10:38:37 rpmi: libxkbcommon-x11-0.10.0-alt1 sisyphus+244530.100.1.1 1579516274 installed <13>Feb 27 10:38:37 rpmi: tex-common-0.2-alt4 1244804096 installed <13>Feb 27 10:38:37 rpmi: gnuplot-common-1:5.2.8-alt2 sisyphus+242742.100.1.1 1576082211 installed <13>Feb 27 10:38:37 rpmi: gnuplot-common-x11-1:5.2.8-alt2 sisyphus+242742.100.1.1 1576082353 installed <13>Feb 27 10:38:37 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Feb 27 10:38:37 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Feb 27 10:38:37 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Feb 27 10:38:37 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Feb 27 10:38:37 rpmi: ca-certificates-2020.01.23-alt1 sisyphus+244791.300.2.1 1580285500 installed <13>Feb 27 10:38:37 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Feb 27 10:38:37 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Feb 27 10:38:37 rpmi: libcrypto1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <13>Feb 27 10:38:37 rpmi: libssl1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <13>Feb 27 10:38:38 rpmi: libqt5-network-5.12.7-alt1 sisyphus+246056.100.5.1 1582104231 installed <13>Feb 27 10:38:38 rpmi: libqt5-eglfsdeviceintegration-5.12.7-alt1 sisyphus+246056.100.5.1 1582104231 installed <13>Feb 27 10:38:38 rpmi: libqt5-xcbqpa-5.12.7-alt1 sisyphus+246056.100.5.1 1582104231 installed <13>Feb 27 10:38:38 rpmi: libqt5-eglfskmssupport-5.12.7-alt1 sisyphus+246056.100.5.1 1582104231 installed <13>Feb 27 10:38:38 rpmi: libqt5-gui-5.12.7-alt1 sisyphus+246056.100.5.1 1582104231 installed <13>Feb 27 10:38:38 rpmi: libqt5-widgets-5.12.7-alt1 sisyphus+246056.100.5.1 1582104231 installed <13>Feb 27 10:38:38 rpmi: libqt5-printsupport-5.12.7-alt1 sisyphus+246056.100.5.1 1582104231 installed <13>Feb 27 10:38:38 rpmi: libqt5-svg-5.12.7-alt1 sisyphus+246056.1700.5.1 1582109041 installed <13>Feb 27 10:38:38 rpmi: gnuplot-qt-1:5.2.8-alt2 sisyphus+242742.100.1.1 1576082353 installed <13>Feb 27 10:38:47 rpmi: ocaml-4.08.1-alt1 sisyphus+235061.70.23.1 1565087976 installed <13>Feb 27 10:38:47 rpmi: ocaml-findlib-1.8.1-alt1 sisyphus+235061.540.23.1 1565088675 installed <13>Feb 27 10:38:47 rpmi: bzlib-devel-1:1.0.6-alt6 sisyphus+224341.100.1.1 1552254552 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/ocaml-camlbz2-0.6.0-alt1.nosrc.rpm Installing ocaml-camlbz2-0.6.0-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.44466 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf ocaml-camlbz2-0.6.0 + echo 'Source #0 (ocaml-camlbz2-0.6.0.tar):' Source #0 (ocaml-camlbz2-0.6.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/ocaml-camlbz2-0.6.0.tar + cd ocaml-camlbz2-0.6.0 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.44466 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ocaml-camlbz2-0.6.0 + autoreconf -fisv autoreconf-default: Entering directory `.' autoreconf-default: configure.in: not using Gettext autoreconf-default: configure.in: not using aclocal autoreconf-default: configure.in: tracing autoreconf-default: configure.in: not using Libtool autoreconf-default: configure.in: not using Intltool autoreconf-default: configure.in: not using gtk-doc autoreconf-default: running: /usr/bin/autoconf-2.60 --force autoreconf-default: configure.in: not using Autoheader autoreconf-default: configure.in: not using Automake autoreconf-default: Leaving directory `.' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-silent-rules, --without-included-gettext checking for i586-alt-linux-ocamlc... no checking for ocamlc... ocamlc OCaml version is 4.08.1+rc3 OCaml library path is /usr/lib/ocaml checking for i586-alt-linux-ocamlopt... no checking for ocamlopt... ocamlopt checking for i586-alt-linux-ocamlc.opt... no checking for ocamlc.opt... ocamlc.opt checking for i586-alt-linux-ocamlopt.opt... no checking for ocamlopt.opt... ocamlopt.opt checking for i586-alt-linux-ocaml... no checking for ocaml... ocaml checking for i586-alt-linux-ocamldep... no checking for ocamldep... ocamldep checking for i586-alt-linux-ocamlmktop... no checking for ocamlmktop... ocamlmktop checking for i586-alt-linux-ocamlmklib... no checking for ocamlmklib... ocamlmklib checking for i586-alt-linux-ocamldoc... no checking for ocamldoc... no checking for i586-alt-linux-ocamlbuild... no checking for ocamlbuild... no checking for i586-alt-linux-ocamlfind... no checking for ocamlfind... ocamlfind checking for i586-alt-linux-gcc... i586-alt-linux-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 i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ISO C89... none needed checking for a BSD-compatible install... /bin/install -c checking how to run the C preprocessor... i586-alt-linux-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /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 bzlib.h usability... yes checking bzlib.h presence... yes checking for bzlib.h... yes checking for BZ2_bzReadOpen in -lbz2... yes configure: creating ./config.status config.status: creating Makefile configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-silent-rules, --without-included-gettext + make make: Entering directory '/usr/src/RPM/BUILD/ocaml-camlbz2-0.6.0' ocamlc.opt -ccopt "-D BZ_PREFIX -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic" -c c_bz.c c_bz.c: In function 'mlbz_readopen': c_bz.c:121:15: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 121 | c_unused = Bytes_val(Field(unused, 0)) ; | ^ c_bz.c: In function 'mlbz_read': c_bz.c:143:9: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 143 | c_buf = Bytes_val(buf) + c_pos ; | ^ c_bz.c: In function 'mlbz_write': c_bz.c:204:9: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 204 | c_buf = Bytes_val(buf) + c_pos ; | ^ c_bz.c: In function 'mlbz_compress': c_bz.c:242:11: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 242 | src_buf = Bytes_val(src) + c_pos; | ^ c_bz.c: In function 'mlbz_uncompress': c_bz.c:287:11: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 287 | src_buf = Bytes_val(src) + c_pos; | ^ ocamlmklib -oc camlbz2 c_bz.o -lbz2 ocamlc.opt -c bz2.mli File "bz2.mli", line 54, characters 46-67: 54 | val open_in : ?small:bool -> ?unused:bytes -> Pervasives.in_channel -> ^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims File "bz2.mli", line 84, characters 29-51: 84 | val open_out : ?block:int -> Pervasives.out_channel -> out_channel ^^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims ocamlc.opt -c bz2.ml File "bz2.ml", line 31, characters 51-72: 31 | external open_in : ?small:bool -> ?unused:bytes -> Pervasives.in_channel -> ^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims File "bz2.ml", line 44, characters 34-56: 44 | external open_out : ?block:int -> Pervasives.out_channel -> out_channel ^^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims ocamlmklib -oc camlbz2 -o bz2 bz2.cmo -lbz2 ocamlopt.opt -c bz2.ml File "bz2.ml", line 31, characters 51-72: 31 | external open_in : ?small:bool -> ?unused:bytes -> Pervasives.in_channel -> ^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims File "bz2.ml", line 44, characters 34-56: 44 | external open_out : ?block:int -> Pervasives.out_channel -> out_channel ^^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims ocamlmklib -oc camlbz2 -o bz2 bz2.cmx -lbz2 make: Leaving directory '/usr/src/RPM/BUILD/ocaml-camlbz2-0.6.0' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.54318 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/ocaml-camlbz2-buildroot + : + /bin/rm -rf -- /usr/src/tmp/ocaml-camlbz2-buildroot + cd ocaml-camlbz2-0.6.0 + export DESTDIR=/usr/src/tmp/ocaml-camlbz2-buildroot + DESTDIR=/usr/src/tmp/ocaml-camlbz2-buildroot + export OCAMLFIND_DESTDIR=/usr/src/tmp/ocaml-camlbz2-buildroot//usr/lib/ocaml + OCAMLFIND_DESTDIR=/usr/src/tmp/ocaml-camlbz2-buildroot//usr/lib/ocaml + export DLLDIR=/usr/src/tmp/ocaml-camlbz2-buildroot//usr/lib/ocaml/stublibs + DLLDIR=/usr/src/tmp/ocaml-camlbz2-buildroot//usr/lib/ocaml/stublibs + mkdir -p /usr/src/tmp/ocaml-camlbz2-buildroot//usr/lib/ocaml/bz2 + mkdir -p /usr/src/tmp/ocaml-camlbz2-buildroot//usr/lib/ocaml/stublibs + make install make: Entering directory '/usr/src/RPM/BUILD/ocaml-camlbz2-0.6.0' ocamlfind remove bz2 ocamlfind: [WARNING] No such file: /usr/src/tmp/ocaml-camlbz2-buildroot//usr/lib/ocaml/bz2/META ocamlfind install \ -patch-version 0.6.0 -ldconf ignore \ bz2 META bz2.cmi bz2.mli bz2.cma dllcamlbz2.so libcamlbz2.a bz2.cmx bz2.cmxa bz2.a Installed /usr/src/tmp/ocaml-camlbz2-buildroot//usr/lib/ocaml/bz2/bz2.a Installed /usr/src/tmp/ocaml-camlbz2-buildroot//usr/lib/ocaml/bz2/bz2.cmxa Installed /usr/src/tmp/ocaml-camlbz2-buildroot//usr/lib/ocaml/bz2/bz2.cmx Installed /usr/src/tmp/ocaml-camlbz2-buildroot//usr/lib/ocaml/bz2/libcamlbz2.a Installed /usr/src/tmp/ocaml-camlbz2-buildroot//usr/lib/ocaml/bz2/bz2.cma Installed /usr/src/tmp/ocaml-camlbz2-buildroot//usr/lib/ocaml/bz2/bz2.mli Installed /usr/src/tmp/ocaml-camlbz2-buildroot//usr/lib/ocaml/bz2/bz2.cmi Installed /usr/src/tmp/ocaml-camlbz2-buildroot//usr/lib/ocaml/stublibs/dllcamlbz2.so Installed /usr/src/tmp/ocaml-camlbz2-buildroot//usr/lib/ocaml/stublibs/dllcamlbz2.so.owner Installed /usr/src/tmp/ocaml-camlbz2-buildroot//usr/lib/ocaml/bz2/META make: Leaving directory '/usr/src/RPM/BUILD/ocaml-camlbz2-0.6.0' + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/ocaml-camlbz2-buildroot (auto) mode of './usr/lib/ocaml/stublibs/dllcamlbz2.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/ocaml-camlbz2-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/ocaml-camlbz2-buildroot/ (default) Compressing files in /usr/src/tmp/ocaml-camlbz2-buildroot (auto) Adjusting library links in /usr/src/tmp/ocaml-camlbz2-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/ocaml-camlbz2-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=relaxed,unresolved=normal) verify-elf: WARNING: ./usr/lib/ocaml/stublibs/dllcamlbz2.so: undefined symbol: caml_named_value verify-elf: WARNING: ./usr/lib/ocaml/stublibs/dllcamlbz2.so: undefined symbol: caml_string_length verify-elf: WARNING: ./usr/lib/ocaml/stublibs/dllcamlbz2.so: undefined symbol: caml_alloc_small verify-elf: WARNING: ./usr/lib/ocaml/stublibs/dllcamlbz2.so: undefined symbol: caml_raise_out_of_memory verify-elf: WARNING: ./usr/lib/ocaml/stublibs/dllcamlbz2.so: undefined symbol: caml_invalid_argument verify-elf: WARNING: ./usr/lib/ocaml/stublibs/dllcamlbz2.so: undefined symbol: caml_raise_constant verify-elf: WARNING: ./usr/lib/ocaml/stublibs/dllcamlbz2.so: undefined symbol: caml_copy_string verify-elf: WARNING: ./usr/lib/ocaml/stublibs/dllcamlbz2.so: undefined symbol: caml_alloc_string verify-elf: WARNING: ./usr/lib/ocaml/stublibs/dllcamlbz2.so: undefined symbol: caml_raise_end_of_file verify-elf: WARNING: ./usr/lib/ocaml/stublibs/dllcamlbz2.so: undefined symbol: caml_failwith verify-elf: WARNING: ./usr/lib/ocaml/stublibs/dllcamlbz2.so: undefined symbol: caml_raise_with_string Hardlinking identical .pyc and .pyo files Processing files: ocaml-camlbz2-0.6.0-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.54318 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ocaml-camlbz2-0.6.0 + DOCDIR=/usr/src/tmp/ocaml-camlbz2-buildroot/usr/share/doc/ocaml-camlbz2-0.6.0 + export DOCDIR + rm -rf /usr/src/tmp/ocaml-camlbz2-buildroot/usr/share/doc/ocaml-camlbz2-0.6.0 + /bin/mkdir -p /usr/src/tmp/ocaml-camlbz2-buildroot/usr/share/doc/ocaml-camlbz2-0.6.0 + cp -prL BUGS COPYING ChangeLog INSTALL LICENSE README ROADMAP /usr/src/tmp/ocaml-camlbz2-buildroot/usr/share/doc/ocaml-camlbz2-0.6.0 + chmod -R go-w /usr/src/tmp/ocaml-camlbz2-buildroot/usr/share/doc/ocaml-camlbz2-0.6.0 + chmod -R a+rX /usr/src/tmp/ocaml-camlbz2-buildroot/usr/share/doc/ocaml-camlbz2-0.6.0 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.jGQQtp find-provides: running scripts (alternatives,debuginfo,lib,ocaml,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.yGUj4o find-requires: running scripts (cpp,debuginfo,files,lib,ocaml,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: ocaml-cmi(Bz2) = 4.08-08C3F22C, ocaml-dll(camlbz2) Requires: bzlib, libbz2.so.1 >= set:ieU4cqgmj14CreKN3z7ZeH231, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.4), ocaml-cmi(CamlinternalFormatBasics) = 4.08-A2B1A9D8, ocaml-cmi(Stdlib) = 4.08-AD45F251, ocaml-cmi(Stdlib__callback) = 4.08-DA1159C8, ocaml-cmi(Stdlib__pervasives) = 4.08-FFB0EEFB, ocaml-runtime = 4.08, rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.bBNLsp Creating ocaml-camlbz2-debuginfo package Processing files: ocaml-camlbz2-devel-0.6.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Q1p2Tr find-provides: running scripts (alternatives,debuginfo,lib,ocaml,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.vEFM6r find-requires: running scripts (cpp,debuginfo,files,lib,ocaml,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: ocaml-cmx(Bz2) = 4.08-F5B92537 Requires: ocaml-camlbz2 = 0.6.0-alt1, bzlib-devel, /usr/lib/ocaml/stublibs/dllcamlbz2.so, bzlib, ocaml-cmi(Bz2) = 4.08-08C3F22C, ocaml-cmi(CamlinternalFormatBasics) = 4.08-A2B1A9D8, ocaml-cmi(Stdlib) = 4.08-AD45F251, ocaml-cmi(Stdlib__callback) = 4.08-DA1159C8, ocaml-cmi(Stdlib__pervasives) = 4.08-FFB0EEFB, ocaml-cmx(Stdlib__callback) = 4.08-8CD5D658 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Od9lis Processing files: ocaml-camlbz2-debuginfo-0.6.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.9r98bp find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.g62Ais find-requires: running scripts (debuginfo) Requires: ocaml-camlbz2 = 0.6.0-alt1, debug(libbz2.so.1), debug(libc.so.6) Adding to ocaml-camlbz2-devel a strict dependency on ocaml-camlbz2 Adding to ocaml-camlbz2-debuginfo a strict dependency on ocaml-camlbz2 Removing 2 extra deps from ocaml-camlbz2-devel due to dependency on ocaml-camlbz2 Removing 5 extra deps from ocaml-camlbz2-devel due to repentancy on ocaml-camlbz2 Wrote: /usr/src/RPM/RPMS/i586/ocaml-camlbz2-0.6.0-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/ocaml-camlbz2-devel-0.6.0-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/ocaml-camlbz2-debuginfo-0.6.0-alt1.i586.rpm 4.87user 0.97system 0:16.05elapsed 36%CPU (0avgtext+0avgdata 23600maxresident)k 0inputs+0outputs (0major+407803minor)pagefaults 0swaps /.out/ocaml-camlbz2-0.6.0-alt1.i586.rpm: exception not found in '/usr/share/license-exception' directory: linking /.out/ocaml-camlbz2-0.6.0-alt1.i586.rpm: license not found in '/usr/share/license' directory: exception /.out/ocaml-camlbz2-devel-0.6.0-alt1.i586.rpm: exception not found in '/usr/share/license-exception' directory: linking /.out/ocaml-camlbz2-devel-0.6.0-alt1.i586.rpm: license not found in '/usr/share/license' directory: exception /.out/ocaml-camlbz2-debuginfo-0.6.0-alt1.i586.rpm: exception not found in '/usr/share/license-exception' directory: linking /.out/ocaml-camlbz2-debuginfo-0.6.0-alt1.i586.rpm: license not found in '/usr/share/license' directory: exception 20.40user 4.70system 0:42.85elapsed 58%CPU (0avgtext+0avgdata 108972maxresident)k 1088inputs+0outputs (0major+807080minor)pagefaults 0swaps