<86>Jan 15 12:25:12 userdel[4110320]: delete user 'rooter' <86>Jan 15 12:25:12 userdel[4110320]: removed group 'rooter' owned by 'rooter' <86>Jan 15 12:25:12 userdel[4110320]: removed shadow group 'rooter' owned by 'rooter' <86>Jan 15 12:25:12 groupadd[4110334]: group added to /etc/group: name=rooter, GID=651 <86>Jan 15 12:25:12 groupadd[4110334]: group added to /etc/gshadow: name=rooter <86>Jan 15 12:25:12 groupadd[4110334]: new group: name=rooter, GID=651 <86>Jan 15 12:25:12 useradd[4110341]: new user: name=rooter, UID=651, GID=651, home=/root, shell=/bin/bash <86>Jan 15 12:25:12 userdel[4110354]: delete user 'builder' <86>Jan 15 12:25:12 userdel[4110354]: removed group 'builder' owned by 'builder' <86>Jan 15 12:25:12 userdel[4110354]: removed shadow group 'builder' owned by 'builder' <86>Jan 15 12:25:12 groupadd[4110404]: group added to /etc/group: name=builder, GID=652 <86>Jan 15 12:25:12 groupadd[4110404]: group added to /etc/gshadow: name=builder <86>Jan 15 12:25:12 groupadd[4110404]: new group: name=builder, GID=652 <86>Jan 15 12:25:12 useradd[4110542]: new user: name=builder, UID=652, GID=652, home=/usr/src, shell=/bin/bash warning: Macro %dune_build not found warning: Macro %dune_install not found warning: Macro %dune_check not found warning: Macro %_ocamldir not found <13>Jan 15 12:25:17 rpmi: ocaml-runtime-4.11.1-alt1 sisyphus+263310.200.12.1 1608876657 installed <13>Jan 15 12:25:17 rpmi: xorg-proto-devel-2020.1-alt1 sisyphus+250406.100.1.1 1587554810 installed <13>Jan 15 12:25:17 rpmi: libglvnd-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Jan 15 12:25:17 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824518 installed <13>Jan 15 12:25:17 rpmi: libpng16-1.6.37-alt1 sisyphus+236677.100.2.1 1566917998 installed <13>Jan 15 12:25:17 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550601058 installed <13>Jan 15 12:25:17 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Jan 15 12:25:17 rpmi: libwayland-server-1.18.0-alt1 sisyphus+255795.100.1.1 1596475648 installed <13>Jan 15 12:25:18 rpmi: libicu67-1:6.7.1-alt2 sisyphus+252432.100.2.2 1590796126 installed <13>Jan 15 12:25:18 rpmi: libgraphite2-1.3.14-alt2 sisyphus+250009.100.1.1 1586943065 installed <13>Jan 15 12:25:18 rpmi: libgraphite2-devel-1.3.14-alt2 sisyphus+250009.100.1.1 1586943065 installed <13>Jan 15 12:25:18 rpmi: icu-utils-1:6.7.1-alt2 sisyphus+252432.100.2.2 1590796126 installed <13>Jan 15 12:25:18 rpmi: libicu-devel-1:6.7.1-alt2 sisyphus+252432.100.2.2 1590796126 installed <13>Jan 15 12:25:18 rpmi: libXau-devel-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Jan 15 12:25:18 rpmi: libpng-devel-1.6.37-alt1 sisyphus+236677.100.2.1 1566917998 installed <13>Jan 15 12:25:18 rpmi: libOpenGL-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Jan 15 12:25:18 rpmi: libGLES-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Jan 15 12:25:18 rpmi: rpm-build-ocaml-1.4.1-alt1 sisyphus+263310.60.12.1 1608876340 installed <13>Jan 15 12:25:29 rpmi: ocaml-4.11.1-alt1 sisyphus+263310.200.12.1 1608876657 installed <13>Jan 15 12:25:29 rpmi: ocaml-result-1.5-alt2 sisyphus+263310.4500.12.1 1608878956 installed <13>Jan 15 12:25:29 rpmi: ocaml-csexp-1.3.2-alt2 sisyphus+263310.7000.12.1 1608880046 installed <13>Jan 15 12:25:29 rpmi: ocaml-sexplib0-0.14.0-alt2 sisyphus+263310.6700.12.1 1608880001 installed <13>Jan 15 12:25:30 rpmi: ocaml-base-0.14.0-alt2 sisyphus+263310.7200.12.1 1608880224 installed <13>Jan 15 12:25:30 rpmi: ocaml-sexplib0-devel-0.14.0-alt2 sisyphus+263310.6700.12.1 1608880001 installed <13>Jan 15 12:25:30 rpmi: ocaml-csexp-devel-1.3.2-alt2 sisyphus+263310.7000.12.1 1608880046 installed <13>Jan 15 12:25:30 rpmi: ocaml-result-devel-1.5-alt2 sisyphus+263310.4500.12.1 1608878956 installed <13>Jan 15 12:25:30 rpmi: libpixman-3:0.40.0-alt1 sisyphus+250700.100.1.1 1587971055 installed <13>Jan 15 12:25:30 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268571 installed <13>Jan 15 12:25:30 rpmi: libX11-locales-3:1.7.0-alt1 sisyphus+264667.100.1.2 1610655150 installed <13>Jan 15 12:25:30 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949353 installed <13>Jan 15 12:25:30 rpmi: libxcb-1.14-alt1 sisyphus+247358.200.1.3 1583854228 installed <13>Jan 15 12:25:30 rpmi: libX11-3:1.7.0-alt1 sisyphus+264667.100.1.2 1610655170 installed <13>Jan 15 12:25:30 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed <13>Jan 15 12:25:30 rpmi: libXrender-0.9.10-alt1 sisyphus+261890.100.1.1 1605595177 installed <13>Jan 15 12:25:31 rpmi: libxcb-devel-1.14-alt1 sisyphus+247358.200.1.3 1583854228 installed <13>Jan 15 12:25:31 rpmi: libX11-devel-3:1.7.0-alt1 sisyphus+264667.100.1.2 1610655170 installed <13>Jan 15 12:25:31 rpmi: libXext-devel-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed <13>Jan 15 12:25:31 rpmi: libXrender-devel-0.9.10-alt1 sisyphus+261890.100.1.1 1605595177 installed <13>Jan 15 12:25:31 rpmi: libXxf86vm-1.1.4-alt2 1527672187 installed <13>Jan 15 12:25:31 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949286 installed <13>Jan 15 12:25:31 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614841 installed <13>Jan 15 12:25:31 rpmi: libwayland-client-1.18.0-alt1 sisyphus+255795.100.1.1 1596475648 installed <13>Jan 15 12:25:31 rpmi: libpciaccess-1:0.16-alt1 sisyphus+234814.100.1.1 1563438291 installed <13>Jan 15 12:25:31 rpmi: libdrm-1:2.4.104-alt1 sisyphus+264662.100.1.1 1610612753 installed <13>Jan 15 12:25:31 rpmi: libGLX-mesa-4:20.3.3-alt1 sisyphus+264662.200.1.1 1610613074 installed <13>Jan 15 12:25:31 rpmi: libGLX-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Jan 15 12:25:31 rpmi: libGL-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Jan 15 12:25:31 rpmi: libgbm-4:20.3.3-alt1 sisyphus+264662.200.1.1 1610613074 installed <13>Jan 15 12:25:31 rpmi: libEGL-mesa-4:20.3.3-alt1 sisyphus+264662.200.1.1 1610613074 installed <13>Jan 15 12:25:31 rpmi: libEGL-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Jan 15 12:25:31 rpmi: libglvnd-devel-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Jan 15 12:25:31 rpmi: libEGL-devel-4:20.3.3-alt1 sisyphus+264662.200.1.1 1610613074 installed <13>Jan 15 12:25:31 rpmi: libGL-devel-4:20.3.3-alt1 sisyphus+264662.200.1.1 1610613074 installed <13>Jan 15 12:25:31 rpmi: libbrotlicommon-1.0.9-alt2 sisyphus+257777.100.1.1 1599688017 installed <13>Jan 15 12:25:31 rpmi: libbrotlidec-1.0.9-alt2 sisyphus+257777.100.1.1 1599688017 installed <13>Jan 15 12:25:31 rpmi: libharfbuzz-2.6.8-alt1 sisyphus+254028.100.1.1 1593106819 installed <13>Jan 15 12:25:31 rpmi: libfreetype-2.10.4-alt2 sisyphus+260293.100.2.1 1604479496 installed <13>Jan 15 12:25:32 rpmi: fontconfig-2.13.1-alt1 sisyphus+257555.100.1.1 1599475160 installed Updating fonts cache: <29>Jan 15 12:25:33 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Jan 15 12:25:33 rpmi: libcairo-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515535 installed <13>Jan 15 12:25:33 rpmi: libharfbuzz-icu-2.6.8-alt1 sisyphus+254028.100.1.1 1593106819 installed <13>Jan 15 12:25:33 rpmi: libharfbuzz-gobject-2.6.8-alt1 sisyphus+254028.100.1.1 1593106819 installed <13>Jan 15 12:25:33 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Jan 15 12:25:33 rpmi: xml-utils-1:2.9.10-alt4 sisyphus+261132.100.1.1 1604669137 installed <13>Jan 15 12:25:33 rpmi: rpm-build-gir-0.7.3-alt3 sisyphus+242150.100.1.1 1575312005 installed <13>Jan 15 12:25:33 rpmi: dune-2.7.1-alt3 sisyphus+263310.7100.12.1 1608880149 installed <13>Jan 15 12:25:33 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Jan 15 12:25:33 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Jan 15 12:25:33 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jan 15 12:25:33 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jan 15 12:25:33 rpmi: ca-certificates-2020.10.22-alt1 sisyphus+260224.300.2.1 1603549301 installed <13>Jan 15 12:25:33 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Jan 15 12:25:33 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Jan 15 12:25:33 rpmi: libcrypto1.1-1.1.1i-alt1 sisyphus+263103.100.1.1 1607445576 installed <13>Jan 15 12:25:33 rpmi: libssl1.1-1.1.1i-alt1 sisyphus+263103.100.1.1 1607445576 installed <13>Jan 15 12:25:33 rpmi: libpython3-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed <13>Jan 15 12:25:33 rpmi: python3-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed <13>Jan 15 12:25:34 rpmi: python3-base-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed <13>Jan 15 12:25:34 rpmi: glib2-devel-2.66.4-alt1 sisyphus+263595.100.1.1 1608228132 installed <13>Jan 15 12:25:34 rpmi: libfreetype-devel-2.10.4-alt2 sisyphus+260293.100.2.1 1604479496 installed <13>Jan 15 12:25:34 rpmi: libharfbuzz-devel-2.6.8-alt1 sisyphus+254028.100.1.1 1593106819 installed <13>Jan 15 12:25:34 rpmi: fontconfig-devel-2.13.1-alt1 sisyphus+257555.100.1.1 1599475160 installed <13>Jan 15 12:25:34 rpmi: libcairo-devel-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515535 installed <13>Jan 15 12:25:35 rpmi: ocaml-dune-devel-2.7.1-alt3 sisyphus+263310.7100.12.1 1608880149 installed <13>Jan 15 12:25:35 rpmi: ocaml-base-devel-0.14.0-alt2 sisyphus+263310.7200.12.1 1608880224 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/ocaml-cairo2-0.6.1-alt2.nosrc.rpm (w1.gzdio) Installing ocaml-cairo2-0.6.1-alt2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.4942 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf ocaml-cairo2-0.6.1 + echo 'Source #0 (ocaml-cairo2-0.6.1.tar):' Source #0 (ocaml-cairo2-0.6.1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/ocaml-cairo2-0.6.1.tar + cd ocaml-cairo2-0.6.1 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (ocaml-cairo-test.patch):' Patch #0 (ocaml-cairo-test.patch): + /usr/bin/patch -p1 patching file src/cairo_stubs.c patching file tests/image_create.ml + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.92238 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ocaml-cairo2-0.6.1 + /usr/bin/dune build --verbose -p cairo2 Workspace root: /usr/src/RPM/BUILD/ocaml-cairo2-0.6.1 Running[0]: /usr/bin/nproc > /usr/src/tmp/dune08e851.output 2> /dev/null Auto-detected concurrency: 8 disable binary cache Running[1]: /usr/bin/ocamlc.opt -config > /usr/src/tmp/duneb1ba1b.output Dune context: { name = "default" ; kind = "default" ; profile = Release ; merlin = true ; for_host = None ; fdo_target_exe = None ; build_dir = "default" ; toplevel_path = None ; ocaml_bin = External "/usr/bin" ; ocaml = Ok External "/usr/bin/ocaml" ; ocamlc = External "/usr/bin/ocamlc.opt" ; ocamlopt = Ok External "/usr/bin/ocamlopt.opt" ; ocamldep = Ok External "/usr/bin/ocamldep.opt" ; ocamlmklib = Ok External "/usr/bin/ocamlmklib.opt" ; env = map { "CAML_LD_LIBRARY_PATH" : "/usr/src/RPM/BUILD/ocaml-cairo2-0.6.1/_build/install/default/lib/stublibs" ; "INSIDE_DUNE" : "/usr/src/RPM/BUILD/ocaml-cairo2-0.6.1/_build/default" ; "MANPATH" : "/usr/src/RPM/BUILD/ocaml-cairo2-0.6.1/_build/install/default/bin" ; "OCAMLFIND_IGNORE_DUPS_IN" : "/usr/src/RPM/BUILD/ocaml-cairo2-0.6.1/_build/install/default/lib" ; "OCAMLPATH" : "/usr/src/RPM/BUILD/ocaml-cairo2-0.6.1/_build/install/default/lib" ; "OCAMLTOP_INCLUDE_PATH" : "/usr/src/RPM/BUILD/ocaml-cairo2-0.6.1/_build/install/default/lib/toplevel" } ; findlib_path = [ External "/usr/lib/ocaml" ] ; arch_sixtyfour = false ; natdynlink_supported = true ; supports_shared_libraries = true ; ocaml_config = { version = "4.11.1" ; standard_library_default = "/usr/lib/ocaml" ; standard_library = "/usr/lib/ocaml" ; standard_runtime = "the_standard_runtime_variable_was_deleted" ; ccomp_type = "cc" ; c_compiler = "gcc" ; ocamlc_cflags = [ "-O2"; "-fno-strict-aliasing"; "-fwrapv"; "-fPIC" ] ; ocamlc_cppflags = [ "-D_FILE_OFFSET_BITS=64"; "-D_REENTRANT" ] ; ocamlopt_cflags = [ "-O2"; "-fno-strict-aliasing"; "-fwrapv"; "-fPIC" ] ; ocamlopt_cppflags = [ "-D_FILE_OFFSET_BITS=64"; "-D_REENTRANT" ] ; bytecomp_c_compiler = [ "gcc" ; "-O2" ; "-fno-strict-aliasing" ; "-fwrapv" ; "-fPIC" ; "-D_FILE_OFFSET_BITS=64" ; "-D_REENTRANT" ] ; bytecomp_c_libraries = [ "-lm"; "-ldl"; "-lpthread" ] ; native_c_compiler = [ "gcc" ; "-O2" ; "-fno-strict-aliasing" ; "-fwrapv" ; "-fPIC" ; "-D_FILE_OFFSET_BITS=64" ; "-D_REENTRANT" ] ; native_c_libraries = [ "-lm"; "-ldl" ] ; cc_profile = [] ; architecture = "i386" ; model = "default" ; int_size = 31 ; word_size = 32 ; system = "linux_elf" ; asm = [ "as" ] ; asm_cfi_supported = true ; with_frame_pointers = false ; ext_exe = "" ; ext_obj = ".o" ; ext_asm = ".s" ; ext_lib = ".a" ; ext_dll = ".so" ; os_type = "Unix" ; default_executable_name = "a.out" ; systhread_supported = true ; host = "i686-pc-linux-gnu" ; target = "i686-pc-linux-gnu" ; profiling = false ; flambda = false ; spacetime = false ; safe_string = true ; exec_magic_number = "Caml1999X028" ; cmi_magic_number = "Caml1999I028" ; cmo_magic_number = "Caml1999O028" ; cma_magic_number = "Caml1999A028" ; cmx_magic_number = "Caml1999Y028" ; cmxa_magic_number = "Caml1999Z028" ; ast_impl_magic_number = "Caml1999M028" ; ast_intf_magic_number = "Caml1999N028" ; cmxs_magic_number = "Caml1999D028" ; cmt_magic_number = "Caml1999T028" ; natdynlink_supported = true ; supports_shared_libraries = true ; windows_unicode = false } } Actual targets: - recursive alias @install Running[2]: (cd _build/default && /usr/bin/ocamldep.opt -modules -intf src/cairo.mli) > _build/default/src/.cairo.objs/cairo.mli.d Running[3]: (cd _build/default && /usr/bin/ocamldep.opt -modules -impl src/cairo.ml) > _build/default/src/.cairo.objs/cairo.ml.d Running[4]: (cd _build/default && /usr/bin/ocamldep.opt -modules -impl config/discover.ml) > _build/default/config/.discover.eobjs/discover.ml.d Running[5]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -g -bin-annot -I config/.discover.eobjs/byte -I /usr/lib/ocaml/csexp -I /usr/lib/ocaml/dune-configurator -I /usr/lib/ocaml/result -no-alias-deps -o config/.discover.eobjs/byte/discover.cmo -c -impl config/discover.ml) Running[6]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -bin-annot -I src/.cairo.objs/byte -no-alias-deps -o src/.cairo.objs/byte/cairo.cmi -c -intf src/cairo.mli) Running[7]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -I config/.discover.eobjs/byte -I config/.discover.eobjs/native -I /usr/lib/ocaml/csexp -I /usr/lib/ocaml/dune-configurator -I /usr/lib/ocaml/result -intf-suffix .ml -no-alias-deps -o config/.discover.eobjs/native/discover.cmx -c -impl config/discover.ml) Running[8]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -I src/.cairo.objs/byte -I src/.cairo.objs/native -intf-suffix .ml -no-alias-deps -o src/.cairo.objs/native/cairo.cmx -c -impl src/cairo.ml) Running[9]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -bin-annot -I src/.cairo.objs/byte -intf-suffix .ml -no-alias-deps -o src/.cairo.objs/byte/cairo.cmo -c -impl src/cairo.ml) Running[10]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -o config/discover.exe /usr/lib/ocaml/unix.cmxa -I /usr/lib/ocaml /usr/lib/ocaml/result/result.cmxa /usr/lib/ocaml/csexp/csexp.cmxa /usr/lib/ocaml/dune-configurator/configurator.cmxa /usr/lib/ocaml/str.cmxa -I /usr/lib/ocaml config/.discover.eobjs/native/discover.cmx) Output[10]: ld: config/.discover.eobjs/native/discover.o: warning: relocation in read-only section `.text' ld: warning: creating DT_TEXTREL in a PIE Running[11]: (cd _build/default/src && ../config/discover.exe) Running[12]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -a -o src/cairo.cmxa -cclib -lcairo_stubs -cclib -lfreetype -cclib -lfontconfig -cclib -lfreetype -cclib -lcairo src/.cairo.objs/native/cairo.cmx) Running[13]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -a -o src/cairo.cma -dllib -lcairo_stubs -cclib -lcairo_stubs -cclib -lfreetype -cclib -lfontconfig -cclib -lfreetype -cclib -lcairo src/.cairo.objs/byte/cairo.cmo) Running[14]: (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O2 -fno-strict-aliasing -fwrapv -fPIC -I/usr/lib/glib-2.0/include -I/usr/lib/glib-2.0/include/freetype -I/usr/include/glib-2.0 -I/usr/include/glib-2.0/freetype -I/usr/include/harfbuzz -I/usr/include/harfbuzz/freetype -I/usr/include/libpng16 -I/usr/include/libpng16/freetype -I/usr/include/freetype2 -I/usr/include/freetype2/freetype -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libpng16 -g -I /usr/lib/ocaml -o cairo_stubs.o -c cairo_stubs.c) Output[14]: In file included from cairo_stubs.c:35: cairo_ocaml_types.h: In function 'caml_cairo_raise_Error': cairo_ocaml_types.h:53:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 53 | exn = caml_named_value("Cairo.Error"); | ^ In file included from cairo_stubs.c:24: cairo_stubs.c: In function 'caml_cairo_output_string': /usr/lib/ocaml/caml/mlvalues.h:265:24: warning: passing argument 1 of 'memmove' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ cairo_stubs.c:1685:11: note: in expansion of macro 'String_val' 1685 | memmove(String_val(s), data, length); | ^~~~~~~~~~ In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from cairo_stubs.c:18: /usr/include/bits/string_fortified.h:33:1: note: expected 'void *' but argument is of type 'const char *' 33 | __NTH (memmove (void *__dest, const void *__src, size_t __len)) | ^~~~~ Running[15]: (cd _build/default && /usr/bin/ocamlmklib.opt -g -o src/cairo_stubs src/cairo_stubs.o -lfreetype -lfontconfig -lfreetype -lcairo) Running[16]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -shared -linkall -I src -o src/cairo.cmxs src/cairo.cmxa) Output[16]: ld: src/cairo.a(cairo.o): warning: relocation in read-only section `.text' ld: warning: creating DT_TEXTREL in a shared object + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.98642 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/ocaml-cairo2-buildroot + : + /bin/rm -rf -- /usr/src/tmp/ocaml-cairo2-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd ocaml-cairo2-0.6.1 + __dune_install cairo2 + /usr/bin/dune install --destdir=/usr/src/tmp/ocaml-cairo2-buildroot cairo2 Installing /usr/src/tmp/ocaml-cairo2-buildroot/usr/lib/ocaml/cairo2/META Installing /usr/src/tmp/ocaml-cairo2-buildroot/usr/lib/ocaml/cairo2/cairo.a Installing /usr/src/tmp/ocaml-cairo2-buildroot/usr/lib/ocaml/cairo2/cairo.cma Installing /usr/src/tmp/ocaml-cairo2-buildroot/usr/lib/ocaml/cairo2/cairo.cmi Installing /usr/src/tmp/ocaml-cairo2-buildroot/usr/lib/ocaml/cairo2/cairo.cmt Installing /usr/src/tmp/ocaml-cairo2-buildroot/usr/lib/ocaml/cairo2/cairo.cmti Installing /usr/src/tmp/ocaml-cairo2-buildroot/usr/lib/ocaml/cairo2/cairo.cmx Installing /usr/src/tmp/ocaml-cairo2-buildroot/usr/lib/ocaml/cairo2/cairo.cmxa Installing /usr/src/tmp/ocaml-cairo2-buildroot/usr/lib/ocaml/cairo2/cairo.cmxs Installing /usr/src/tmp/ocaml-cairo2-buildroot/usr/lib/ocaml/cairo2/cairo.ml Installing /usr/src/tmp/ocaml-cairo2-buildroot/usr/lib/ocaml/cairo2/cairo.mli Installing /usr/src/tmp/ocaml-cairo2-buildroot/usr/lib/ocaml/cairo2/cairo_ocaml.h Installing /usr/src/tmp/ocaml-cairo2-buildroot/usr/lib/ocaml/cairo2/dune-package Installing /usr/src/tmp/ocaml-cairo2-buildroot/usr/lib/ocaml/cairo2/libcairo_stubs.a Installing /usr/src/tmp/ocaml-cairo2-buildroot/usr/lib/ocaml/cairo2/opam Installing /usr/src/tmp/ocaml-cairo2-buildroot/usr/share/doc/cairo2/CHANGES.md Installing /usr/src/tmp/ocaml-cairo2-buildroot/usr/share/doc/cairo2/LICENSE.md Installing /usr/src/tmp/ocaml-cairo2-buildroot/usr/share/doc/cairo2/README.md Installing /usr/src/tmp/ocaml-cairo2-buildroot/usr/lib/ocaml/stublibs/dllcairo_stubs.so + find /usr/src/tmp/ocaml-cairo2-buildroot/usr/lib/ocaml/ -type f -regextype posix-extended '(' -regex '.*\.(cma|cmi|cmxs|so|js)$' -o -name META ')' -printf '/usr/lib/ocaml/%P\n' + find /usr/src/tmp/ocaml-cairo2-buildroot/usr/lib/ocaml/ -type d -printf '%%dir /usr/lib/ocaml/%P\n' + find /usr/src/tmp/ocaml-cairo2-buildroot/usr/lib/ocaml/ -type f -regextype posix-extended '(' -regex '.*\.(a|cmt|cmti|cmx|cmxa|ml|mli|exe)$' -o -name opam -o -name dune-package ')' -printf '/usr/lib/ocaml/%P\n' + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/ocaml-cairo2-buildroot (auto) mode of './usr/lib/ocaml/stublibs/dllcairo_stubs.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/ocaml-cairo2-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/ocaml-cairo2-buildroot/ (default) Compressing files in /usr/src/tmp/ocaml-cairo2-buildroot (auto) Adjusting library links in /usr/src/tmp/ocaml-cairo2-buildroot ./usr/lib: (from :0) Verifying ELF objects in /usr/src/tmp/ocaml-cairo2-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=relaxed,unresolved=normal) verify-elf: WARNING: ./usr/lib/ocaml/stublibs/dllcairo_stubs.so: undefined symbol: Caml_state verify-elf: WARNING: ./usr/lib/ocaml/stublibs/dllcairo_stubs.so: undefined symbol: caml_named_value verify-elf: WARNING: ./usr/lib/ocaml/stublibs/dllcairo_stubs.so: undefined symbol: caml_alloc_tuple verify-elf: WARNING: ./usr/lib/ocaml/stublibs/dllcairo_stubs.so: undefined symbol: caml_stat_free verify-elf: WARNING: ./usr/lib/ocaml/stublibs/dllcairo_stubs.so: undefined symbol: caml_callback2_exn verify-elf: WARNING: ./usr/lib/ocaml/stublibs/dllcairo_stubs.so: undefined symbol: caml_string_length verify-elf: WARNING: ./usr/lib/ocaml/stublibs/dllcairo_stubs.so: undefined symbol: caml_callback2 verify-elf: WARNING: ./usr/lib/ocaml/stublibs/dllcairo_stubs.so: undefined symbol: caml_ba_alloc verify-elf: WARNING: ./usr/lib/ocaml/stublibs/dllcairo_stubs.so: undefined symbol: caml_register_generational_global_root verify-elf: WARNING: ./usr/lib/ocaml/stublibs/dllcairo_stubs.so: undefined symbol: caml_callback_exn verify-elf: WARNING: ./usr/lib/ocaml/stublibs/dllcairo_stubs.so: undefined symbol: caml_alloc verify-elf: WARNING: ./usr/lib/ocaml/stublibs/dllcairo_stubs.so: undefined symbol: caml_raise_out_of_memory verify-elf: WARNING: ./usr/lib/ocaml/stublibs/dllcairo_stubs.so: undefined symbol: caml_remove_generational_global_root verify-elf: WARNING: ./usr/lib/ocaml/stublibs/dllcairo_stubs.so: undefined symbol: caml_copy_double verify-elf: WARNING: ./usr/lib/ocaml/stublibs/dllcairo_stubs.so: undefined symbol: caml_invalid_argument verify-elf: WARNING: ./usr/lib/ocaml/stublibs/dllcairo_stubs.so: undefined symbol: caml_modify verify-elf: WARNING: ./usr/lib/ocaml/stublibs/dllcairo_stubs.so: undefined symbol: caml_copy_string verify-elf: WARNING: ./usr/lib/ocaml/stublibs/dllcairo_stubs.so: undefined symbol: caml_alloc_string verify-elf: WARNING: ./usr/lib/ocaml/stublibs/dllcairo_stubs.so: undefined symbol: caml_hash_variant verify-elf: WARNING: ./usr/lib/ocaml/stublibs/dllcairo_stubs.so: undefined symbol: caml_alloc_custom verify-elf: WARNING: ./usr/lib/ocaml/stublibs/dllcairo_stubs.so: undefined symbol: caml_raise_with_arg verify-elf: WARNING: ./usr/lib/ocaml/stublibs/dllcairo_stubs.so: undefined symbol: caml_failwith the file containing the function 'camlCairo__error_of_status_121' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__create_for_data8_875' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__create_for_data32_inner_2365' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__get_data32_932' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__output_ppm_935' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__entry' is not compiled with -fpic/-fPIC either the file containing the function 'caml_shared_startup__code_begin' or the file containing the function 'caml_curry7_1_app' is not compiled with -fpic/-fPIC the file containing the function 'caml_curry7_1' is not compiled with -fpic/-fPIC the file containing the function 'caml_curry7_2' is not compiled with -fpic/-fPIC the file containing the function 'caml_curry7_3' is not compiled with -fpic/-fPIC the file containing the function 'caml_curry7_4' is not compiled with -fpic/-fPIC the file containing the function 'caml_curry7_5' is not compiled with -fpic/-fPIC the file containing the function 'caml_curry6' is not compiled with -fpic/-fPIC the file containing the function 'caml_curry6_1' is not compiled with -fpic/-fPIC the file containing the function 'caml_curry6_2' is not compiled with -fpic/-fPIC the file containing the function 'caml_curry6_3' is not compiled with -fpic/-fPIC the file containing the function 'caml_curry6_4' is not compiled with -fpic/-fPIC the file containing the function 'caml_curry5' is not compiled with -fpic/-fPIC the file containing the function 'caml_curry5_1' is not compiled with -fpic/-fPIC the file containing the function 'caml_curry5_2' is not compiled with -fpic/-fPIC the file containing the function 'caml_curry5_3' is not compiled with -fpic/-fPIC the file containing the function 'caml_curry4' is not compiled with -fpic/-fPIC the file containing the function 'caml_curry4_1' is not compiled with -fpic/-fPIC the file containing the function 'caml_curry4_2' is not compiled with -fpic/-fPIC the file containing the function 'caml_curry3' is not compiled with -fpic/-fPIC the file containing the function 'caml_curry3_1' is not compiled with -fpic/-fPIC the file containing the function 'caml_curry2' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2150' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__init_identity_324' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__init_translate_327' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__init_scale_331' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__init_rotate_335' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__invert_356' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__multiply_362' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__transform_distance_366' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__transform_point_371' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__get_ft_library_493' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__create_for_ft_face_inner_2294' is not compiled with -fpic/-fPIC either the file containing the function 'caml_shared_startup__code_begin' or the file containing the function 'caml_curry7_1_app' is not compiled with -fpic/-fPIC the file containing the function 'caml_curry7_1_app' is not compiled with -fpic/-fPIC the file containing the function 'caml_curry7_2_app' is not compiled with -fpic/-fPIC the file containing the function 'caml_curry7_3_app' is not compiled with -fpic/-fPIC the file containing the function 'caml_curry7_4_app' is not compiled with -fpic/-fPIC the file containing the function 'caml_curry7_5_app' is not compiled with -fpic/-fPIC the file containing the function 'caml_curry7_6' is not compiled with -fpic/-fPIC the file containing the function 'caml_curry6_1_app' is not compiled with -fpic/-fPIC the file containing the function 'caml_curry6_2_app' is not compiled with -fpic/-fPIC the file containing the function 'caml_curry6_3_app' is not compiled with -fpic/-fPIC the file containing the function 'caml_curry6_4_app' is not compiled with -fpic/-fPIC the file containing the function 'caml_curry6_5' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2035' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2043' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2009' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2011' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2013' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2015' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2017' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2019' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2025' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2027' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2029' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2031' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2033' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2037' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2039' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2041' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2045' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2047' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2049' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2051' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2053' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2055' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2057' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2059' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2061' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2063' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2065' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2067' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2069' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2071' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2073' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2075' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2077' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2079' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2081' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2083' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2085' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2087' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2089' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2091' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2093' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2095' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2097' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2099' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2101' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2103' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2105' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2107' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2109' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2111' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2113' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2115' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2117' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2119' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2121' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2123' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2125' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2127' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2129' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2131' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2133' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2135' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2137' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2139' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2141' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2143' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2145' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2147' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2157' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2155' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2153' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__push_188' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__set_dash_inner_2159' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__paint_276' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2190' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2188' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2186' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2184' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2182' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2180' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2178' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2176' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2174' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2172' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2170' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2168' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2166' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2235' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2233' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2231' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2229' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2227' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2225' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2223' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2221' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2219' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2217' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2215' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2213' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2211' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__make_inner_2203' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2253' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2251' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2249' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2247' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2245' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2243' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__create_inner_2237' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2259' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2257' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2255' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2285' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2283' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2281' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2279' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2277' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2275' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2273' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2271' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2269' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2267' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2265' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2263' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2261' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2322' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2320' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2318' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2316' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2314' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__face_inner_2288' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__set_inner_2302' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__unset_inner_2308' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__select_font_face_inner_2324' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2359' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2357' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2355' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2353' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2351' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2349' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2347' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2345' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2343' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2341' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2339' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2337' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2335' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2333' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2331' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2391' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2389' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2387' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2385' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2383' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2381' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2397' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2395' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2407' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2405' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2403' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2401' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2429' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2427' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2425' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2423' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2421' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2419' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2417' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2415' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2413' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2411' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2409' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2439' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2437' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2435' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2433' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2431' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2443' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2441' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2494' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2490' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2486' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2482' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2480' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2478' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2476' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2474' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2472' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2470' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2468' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2466' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2464' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2462' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2021' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2023' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__set_dash_210' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__add_color_stop_rgb_1028' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__add_color_stop_rgba_1038' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__rotate_348' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__create_445' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2393' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2399' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2492' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2488' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__fun_2484' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__add_color_stop_rgb_inner_2445' is not compiled with -fpic/-fPIC the file containing the function 'camlCairo__add_color_stop_rgba_inner_2453' is not compiled with -fpic/-fPIC verify-elf: WARNING: ./usr/lib/ocaml/cairo2/cairo.cmxs: TEXTREL entry found: 0x00000000 verify-elf: WARNING: ./usr/lib/ocaml/cairo2/cairo.cmxs: undefined symbol: Caml_state verify-elf: WARNING: ./usr/lib/ocaml/cairo2/cairo.cmxs: undefined symbol: Caml_state verify-elf: WARNING: ./usr/lib/ocaml/cairo2/cairo.cmxs: undefined symbol: caml_call_gc verify-elf: WARNING: ./usr/lib/ocaml/cairo2/cairo.cmxs: undefined symbol: caml_extra_params verify-elf: WARNING: ./usr/lib/ocaml/cairo2/cairo.cmxs: undefined symbol: caml_c_call verify-elf: WARNING: ./usr/lib/ocaml/cairo2/cairo.cmxs: undefined symbol: caml_raise_exn verify-elf: WARNING: ./usr/lib/ocaml/cairo2/cairo.cmxs: undefined symbol: caml_modify verify-elf: WARNING: ./usr/lib/ocaml/cairo2/cairo.cmxs: undefined symbol: camlStdlib__list__iter_258 verify-elf: WARNING: ./usr/lib/ocaml/cairo2/cairo.cmxs: undefined symbol: camlStdlib__invalid_arg_9 verify-elf: WARNING: ./usr/lib/ocaml/cairo2/cairo.cmxs: undefined symbol: camlStdlib__printf__sprintf_201 verify-elf: WARNING: ./usr/lib/ocaml/cairo2/cairo.cmxs: undefined symbol: camlStdlib__printf__fprintf_170 verify-elf: WARNING: ./usr/lib/ocaml/cairo2/cairo.cmxs: undefined symbol: caml_ml_output_char verify-elf: WARNING: ./usr/lib/ocaml/cairo2/cairo.cmxs: undefined symbol: caml_ml_array_bound_error verify-elf: WARNING: ./usr/lib/ocaml/cairo2/cairo.cmxs: undefined symbol: caml_fresh_oo_id verify-elf: WARNING: ./usr/lib/ocaml/cairo2/cairo.cmxs: undefined symbol: caml_allocN verify-elf: WARNING: ./usr/lib/ocaml/cairo2/cairo.cmxs: undefined symbol: camlStdlib__callback__register_exception_155 verify-elf: WARNING: ./usr/lib/ocaml/cairo2/cairo.cmxs: undefined symbol: camlStdlib__printexc__register_printer_424 verify-elf: WARNING: ./usr/lib/ocaml/cairo2/cairo.cmxs: undefined symbol: caml_alloc2 verify-elf: WARNING: ./usr/lib/ocaml/cairo2/cairo.cmxs: undefined symbol: caml_named_value verify-elf: WARNING: ./usr/lib/ocaml/cairo2/cairo.cmxs: undefined symbol: caml_alloc_tuple verify-elf: WARNING: ./usr/lib/ocaml/cairo2/cairo.cmxs: undefined symbol: caml_stat_free verify-elf: WARNING: ./usr/lib/ocaml/cairo2/cairo.cmxs: undefined symbol: caml_callback2_exn verify-elf: WARNING: ./usr/lib/ocaml/cairo2/cairo.cmxs: undefined symbol: caml_string_length verify-elf: WARNING: ./usr/lib/ocaml/cairo2/cairo.cmxs: undefined symbol: caml_callback2 verify-elf: WARNING: ./usr/lib/ocaml/cairo2/cairo.cmxs: undefined symbol: caml_ba_alloc verify-elf: WARNING: ./usr/lib/ocaml/cairo2/cairo.cmxs: undefined symbol: caml_register_generational_global_root verify-elf: WARNING: ./usr/lib/ocaml/cairo2/cairo.cmxs: undefined symbol: caml_callback_exn verify-elf: WARNING: ./usr/lib/ocaml/cairo2/cairo.cmxs: undefined symbol: caml_alloc verify-elf: WARNING: ./usr/lib/ocaml/cairo2/cairo.cmxs: undefined symbol: caml_raise_out_of_memory verify-elf: WARNING: ./usr/lib/ocaml/cairo2/cairo.cmxs: undefined symbol: caml_remove_generational_global_root verify-elf: WARNING: ./usr/lib/ocaml/cairo2/cairo.cmxs: undefined symbol: caml_copy_double verify-elf: WARNING: ./usr/lib/ocaml/cairo2/cairo.cmxs: undefined symbol: caml_invalid_argument verify-elf: WARNING: ./usr/lib/ocaml/cairo2/cairo.cmxs: undefined symbol: caml_modify verify-elf: WARNING: ./usr/lib/ocaml/cairo2/cairo.cmxs: undefined symbol: caml_copy_string verify-elf: WARNING: ./usr/lib/ocaml/cairo2/cairo.cmxs: undefined symbol: caml_alloc_string verify-elf: WARNING: ./usr/lib/ocaml/cairo2/cairo.cmxs: undefined symbol: caml_hash_variant verify-elf: WARNING: ./usr/lib/ocaml/cairo2/cairo.cmxs: undefined symbol: caml_alloc_custom verify-elf: WARNING: ./usr/lib/ocaml/cairo2/cairo.cmxs: undefined symbol: caml_raise_with_arg verify-elf: WARNING: ./usr/lib/ocaml/cairo2/cairo.cmxs: undefined symbol: caml_failwith Hardlinking identical .pyc and .pyo files Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.62048 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ocaml-cairo2-0.6.1 + /usr/bin/dune runtest -p cairo2 ocamlopt tests/matrix_set.exe ld: tests/.image_create.eobjs/native/matrix_set.o: warning: relocation in read-only section `.text' ld: warning: creating DT_TEXTREL in a PIE ocamlopt tests/test_finish.exe ld: tests/.image_create.eobjs/native/test_finish.o: warning: relocation in read-only section `.text' ld: warning: creating DT_TEXTREL in a PIE ocamlopt tests/test_for_stream.exe ld: tests/.image_create.eobjs/native/test_for_stream.o: warning: relocation in read-only section `.text' ld: warning: creating DT_TEXTREL in a PIE ocamlopt tests/test_exn.exe ld: tests/.image_create.eobjs/native/test_exn.o: warning: relocation in read-only section `.text' ld: warning: creating DT_TEXTREL in a PIE ocamlopt tests/surface_gc.exe ld: tests/.image_create.eobjs/native/surface_gc.o: warning: relocation in read-only section `.text' ld: warning: creating DT_TEXTREL in a PIE ocamlopt tests/image_create.exe ld: tests/.image_create.eobjs/native/image_create.o: warning: relocation in read-only section `.text' ld: warning: creating DT_TEXTREL in a PIE ocamlopt tests/test_path.exe ld: tests/.image_create.eobjs/native/test_path.o: warning: relocation in read-only section `.text' ld: warning: creating DT_TEXTREL in a PIE image_create alias tests/runtest With Cairo handle: DESTROY bigarray 'data' - Write image - Finish surface surface_gc alias tests/runtest `surf' should be garbage collected but the surface still held by `cr'. `surf' is collected by the GC. `cr' should be garbage collected. `cr' is collected by the GC. test_for_stream alias tests/runtest Wrote "/usr/src/tmp/cairo-test.svg". Wrote "/usr/src/tmp/cairo-test.pdf". test_finish alias tests/runtest OK, correct exception raised test_path alias tests/runtest Current path: [|MOVE_TO(0,0); LINE_TO(100,100)|] test_exn alias tests/runtest As expected, raise the exception: Cairo.Error(FILE_NOT_FOUND) + exit 0 Processing files: ocaml-cairo2-0.6.1-alt2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.62048 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ocaml-cairo2-0.6.1 + DOCDIR=/usr/src/tmp/ocaml-cairo2-buildroot/usr/share/doc/ocaml-cairo2-0.6.1 + export DOCDIR + rm -rf /usr/src/tmp/ocaml-cairo2-buildroot/usr/share/doc/ocaml-cairo2-0.6.1 + /bin/mkdir -p /usr/src/tmp/ocaml-cairo2-buildroot/usr/share/doc/ocaml-cairo2-0.6.1 + cp -prL README.md /usr/src/tmp/ocaml-cairo2-buildroot/usr/share/doc/ocaml-cairo2-0.6.1 + chmod -R go-w /usr/src/tmp/ocaml-cairo2-buildroot/usr/share/doc/ocaml-cairo2-0.6.1 + chmod -R a+rX /usr/src/tmp/ocaml-cairo2-buildroot/usr/share/doc/ocaml-cairo2-0.6.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ouwa4v find-provides: running scripts (alternatives,debuginfo,gir,lib,ocaml,pam,perl,pkgconfig,python,shell,typelib) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.pXZjAu find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,ocaml,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services,typelib) lib.req: WARNING: /usr/src/tmp/ocaml-cairo2-buildroot/usr/lib/ocaml/cairo2/cairo.cmxs: underlinked libraries: /lib/libm.so.6 Provides: ocaml-cmi(Cairo) = 4.11.1-AA8A01A8, ocaml-dll(cairo_stubs) Requires: fontconfig, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.4), libcairo, libcairo.so.2 >= set:metjTTC6y8L2C1AkdwIoZx8xswpgtZ0MljWQs0ZaBZBhOWvr2bzr26KKkZsW6HREMwMKyDuwy0LIQol7pD5ZDc74bqmkAXz2P5RqbkT35aI49LJ4JEglADv7YPnUZgPTcTxyuGUlEUSxsAaVHWeHYXl8dKa9fviF6GedL2GmaiikGbQKPkjIMZhPfZk9iS3MAMdBBzHrfkLfbbB5pPUDf9oudDxV2hwiuw7hteuS1k0tw89AzSsS0u5vZzHMVkHaMa0vCZHIsAVZ0r6Sfwe3AavvsLmJn0EuSZ4ppMZkoa9pH0UYwQN7fR4gjrbbjVxrIZb2wJIxLmEfloZKQzlZwo2rrAniCNEACG3w77ExJ2e7gphdYHgDWY67fyeC5gsNGhY6b9pV30W9bILlZEMkmgxaLu8ndp2NouNjwm6v3Za8QUdvYVkNLEoj3p1ZzTmZmM2TAkVjM5pwzq1NVZ52FZmGdQzZuRjgsRge, libfontconfig.so.1 >= set:liNwqVsKYZEzPMgt3, libfreetype, libfreetype.so.6 >= set:liHbeJx3nIxVM3, ocaml-cmi(CamlinternalFormatBasics) = 4.11.1-3A3CA183, ocaml-cmi(Stdlib) = 4.11.1-C21C5D26, ocaml-cmi(Stdlib__bigarray) = 4.11.1-8F51E488, ocaml-cmi(Stdlib__buffer) = 4.11.1-234B61FA, ocaml-cmi(Stdlib__callback) = 4.11.1-1B88FBD7, ocaml-cmi(Stdlib__complex) = 4.11.1-2221DCE2, ocaml-cmi(Stdlib__int32) = 4.11.1-2E6C00C3, ocaml-cmi(Stdlib__list) = 4.11.1-15CEF025, ocaml-cmi(Stdlib__printexc) = 4.11.1-6E03AB07, ocaml-cmi(Stdlib__printf) = 4.11.1-5CEC2EFA, ocaml-cmi(Stdlib__seq) = 4.11.1-D6A8DE25, ocaml-cmi(Stdlib__uchar) = 4.11.1-AB6F1DF9, ocaml-runtime = 4.11.1, 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.Q5yqwv Creating ocaml-cairo2-debuginfo package Processing files: ocaml-cairo2-devel-0.6.1-alt2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.C2npLt find-provides: running scripts (alternatives,debuginfo,gir,lib,ocaml,pam,perl,pkgconfig,python,shell,typelib) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.T0h4Cu find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,ocaml,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services,typelib) /usr/src/tmp/ocaml-cairo2-buildroot/usr/lib/ocaml/cairo2/cairo_ocaml.h:21:10: fatal error: cairo.h: No such file or directory 21 | #include | ^~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/ocaml-cairo2-buildroot/usr/lib/ocaml/cairo2/cairo_ocaml.h: cpp failed, trying c++ mode i586-alt-linux-cpp: fatal error: cannot execute 'cc1plus': execvp: No such file or directory compilation terminated. cpp.req: WARNING: /usr/src/tmp/ocaml-cairo2-buildroot/usr/lib/ocaml/cairo2/cairo_ocaml.h: cpp failed Provides: ocaml-cmx(Cairo) = 4.11.1-35E5CA76 Requires: ocaml-cairo2 = 0.6.1-alt2, /usr/lib/ocaml/stublibs/dllcairo_stubs.so, fontconfig, libcairo, libfreetype, ocaml-cmi(Cairo) = 4.11.1-AA8A01A8, ocaml-cmi(CamlinternalFormatBasics) = 4.11.1-3A3CA183, ocaml-cmi(Stdlib) = 4.11.1-C21C5D26, ocaml-cmi(Stdlib__bigarray) = 4.11.1-8F51E488, ocaml-cmi(Stdlib__buffer) = 4.11.1-234B61FA, ocaml-cmi(Stdlib__callback) = 4.11.1-1B88FBD7, ocaml-cmi(Stdlib__complex) = 4.11.1-2221DCE2, ocaml-cmi(Stdlib__int32) = 4.11.1-2E6C00C3, ocaml-cmi(Stdlib__list) = 4.11.1-15CEF025, ocaml-cmi(Stdlib__printexc) = 4.11.1-6E03AB07, ocaml-cmi(Stdlib__printf) = 4.11.1-5CEC2EFA, ocaml-cmi(Stdlib__seq) = 4.11.1-D6A8DE25, ocaml-cmi(Stdlib__uchar) = 4.11.1-AB6F1DF9, ocaml-cmx(Stdlib) = 4.11.1-E2655595, ocaml-cmx(Stdlib__callback) = 4.11.1-98DBFE84, ocaml-cmx(Stdlib__list) = 4.11.1-EE635CDA, ocaml-cmx(Stdlib__printexc) = 4.11.1-AEA304DD, ocaml-cmx(Stdlib__printf) = 4.11.1-7B0D6695 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.jHsZtv Processing files: ocaml-cairo2-debuginfo-0.6.1-alt2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.gpjUfu find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Cgu0qs find-requires: running scripts (debuginfo) Requires: ocaml-cairo2 = 0.6.1-alt2, debug(libc.so.6), debug(libcairo.so.2), debug(libfontconfig.so.1), debug(libfreetype.so.6) Adding to ocaml-cairo2-devel a strict dependency on ocaml-cairo2 Adding to ocaml-cairo2-debuginfo a strict dependency on ocaml-cairo2 Removing 2 extra deps from ocaml-cairo2-devel due to dependency on ocaml-cairo2 Removing 15 extra deps from ocaml-cairo2-devel due to repentancy on ocaml-cairo2 warning: Installed (but unpackaged) file(s) found: /usr/share/doc/cairo2/CHANGES.md /usr/share/doc/cairo2/LICENSE.md /usr/share/doc/cairo2/README.md Wrote: /usr/src/RPM/RPMS/i586/ocaml-cairo2-0.6.1-alt2.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/ocaml-cairo2-devel-0.6.1-alt2.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/ocaml-cairo2-debuginfo-0.6.1-alt2.i586.rpm (w2.lzdio) 10.32user 2.51system 0:17.21elapsed 74%CPU (0avgtext+0avgdata 46688maxresident)k 0inputs+0outputs (0major+587223minor)pagefaults 0swaps 30.95user 6.36system 0:46.09elapsed 80%CPU (0avgtext+0avgdata 106304maxresident)k 8104inputs+0outputs (0major+971835minor)pagefaults 0swaps