Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 2226044 - ocaml-cil-1.7.3-78.fc39 FTBFS in Fedora rawhide/f39: Unbound module Pervasives
Summary: ocaml-cil-1.7.3-78.fc39 FTBFS in Fedora rawhide/f39: Unbound module Pervasives
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: ocaml-cil
Version: 39
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Orphan Owner
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: F39FTBFS F40FTBFS
TreeView+ depends on / blocked
 
Reported: 2023-07-25 18:46 UTC by Fedora Release Engineering
Modified: 2023-08-16 07:59 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (deleted)
2023-07-25 18:46 UTC, Fedora Release Engineering
no flags Details
root.log (deleted)
2023-07-25 18:46 UTC, Fedora Release Engineering
no flags Details
state.log (deleted)
2023-07-25 18:46 UTC, Fedora Release Engineering
no flags Details

Description Fedora Release Engineering 2023-07-25 18:46:02 UTC
ocaml-cil failed to build from source in Fedora rawhide/f39

https://koji.fedoraproject.org/koji/taskinfo?taskID=103637307


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Please fix ocaml-cil at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
ocaml-cil will be orphaned. Before branching of Fedora 40,
ocaml-cil will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/

Comment 1 Fedora Release Engineering 2023-07-25 18:46:07 UTC
Created attachment 1978544 [details]
build.log

Comment 2 Fedora Release Engineering 2023-07-25 18:46:11 UTC
Created attachment 1978545 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2023-07-25 18:46:14 UTC
Created attachment 1978546 [details]
state.log

Comment 4 Petr Pisar 2023-07-27 06:48:03 UTC
From a build log:

+ /usr/bin/ocamlc.opt -c -g -I src/ext -I src -I ocamlutil -I src/frontc -I src/ext/pta -o src/ext/liveness.cmo src/ext/liveness.ml
File "src/ext/liveness.ml", line 197, characters 21-25:
197 |         with Failure "hd" ->
                           ^^^^
Warning 52 [fragile-literal-pattern]: Code should not depend on the actual values of
this constructor's arguments. They are only for information
and may change in future versions. (See manual section 13.5)
File "src/ext/liveness.ml", line 276, characters 21-25:
276 |         with Failure "hd" ->
                           ^^^^
Warning 52 [fragile-literal-pattern]: Code should not depend on the actual values of
this constructor's arguments. They are only for information
and may change in future versions. (See manual section 13.5)
/usr/bin/ocamlc.opt -c -g -I src/ext -I src -I ocamlutil -I src/frontc -I src/ext/pta -o src/ext/reachingdefs.cmo src/ext/reachingdefs.ml
+ /usr/bin/ocamlc.opt -c -g -I src/ext -I src -I ocamlutil -I src/frontc -I src/ext/pta -o src/ext/reachingdefs.cmo src/ext/reachingdefs.ml
File "src/ext/reachingdefs.ml", line 44, characters 21-39:
44 |    Some i1, Some i2 -> Pervasives.compare i1 i2
                            ^^^^^^^^^^^^^^^^^^
Error: Unbound module Pervasives
Command exited with code 2.
+ /usr/bin/ocamlopt.opt unix.cmxa -I /usr/lib64/ocaml/ocamlbuild /usr/lib64/ocaml/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /usr/lib64/ocaml/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
File "_none_", line 1:
Alert ocaml_deprecated_auto_include: 
OCaml's lib directory layout changed in 5.0. The unix subdirectory has been
automatically added to the search path, but you should add -I +unix to the
command-line to silence this alert (e.g. by adding unix to the list of
libraries in your dune file, or adding use_unix to your _tags file for
ocamlbuild, or using -package unix for ocamlfind).
make: *** [Makefile:79: _build/src/cil.cma] Error 10


A difference between passing and failing build roots is at <https://koschei.fedoraproject.org/build/15820057>. An upgrade of ocaml from 4.14.0-5.fc38 to 5.0.0-3.fc39 is suspicious.

Comment 5 Fedora Release Engineering 2023-08-16 07:59:32 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.


Note You need to log in before you can comment on or make changes to this bug.