Re-enable ocaml-atd
[fedora-ocaml-rebuild.git] / Goalfile
index 3460aa7..964121b 100644 (file)
--- a/Goalfile
+++ b/Goalfile
@@ -6,11 +6,11 @@ let fedora-dir = "%HOME/d/fedora"
 
 let fedora-branch = "rawhide"
 #let fedora-branch = "f34"
-let fedora-tag = "f38-build-side-62208"
+let fedora-tag = "f39-build-side-69760"
 
 # The magic string that must appear in %changelog when the
 # package has been rebuilt.
-let fedora-rebuild-name = "Rebuild OCaml packages for F38"
+let fedora-rebuild-name = "OCaml 5.0 rebuild for Fedora 39"
 
 # %fedora-retry-failed:
 # If set to 1 then failed builds are retried automatically.
@@ -27,7 +27,6 @@ let fedora-ignored = [
 # All OCaml-related source package names
 let packages = [
     "ocaml-alcotest",
-    "ocaml-ancient",
     "ocaml-astring",
     "ocaml-atd",
     "ocaml-augeas",
@@ -46,10 +45,9 @@ let packages = [
     "ocaml-camlidl",
     "ocaml-camlimages",
     "ocaml-camlp-streams",
-    "ocaml-camlp5",
+    # Waiting on two dependencies to be reviewed
+    #"ocaml-camlp5",
     "ocaml-camomile",
-    "ocaml-charinfo-width",
-    "ocaml-cil",
     "ocaml-cinaps",
     "ocaml-cmdliner",
     "ocaml-compiler-libs-janestreet",
@@ -63,8 +61,7 @@ let packages = [
     "ocaml-curses",
     "ocaml-dbus",
     "ocaml-dose3",
-    # Cyclic dependency ocaml-dune -> ocaml-pp -> ocaml-dune
-    #"ocaml-dune",
+    "ocaml-dune",
     "ocaml-easy-format",
     "ocaml-expat",
     "ocaml-extlib",
@@ -92,7 +89,6 @@ let packages = [
     "ocaml-logs",
     "ocaml-luv",
     "ocaml-lwt",
-    "ocaml-lwt-log",
     "ocaml-markup",
     "ocaml-mccs",
     "ocaml-mdx",
@@ -100,10 +96,8 @@ let packages = [
     "ocaml-merlin",
     "ocaml-mew",
     "ocaml-mew-vi",
-    "ocaml-migrate-parsetree",
     "ocaml-mlgmpidl",
     "ocaml-mlmpfr",
-    "ocaml-mmap",
     "ocaml-mtime",
     "ocamlmod",
     "ocaml-mysql",
@@ -135,6 +129,7 @@ let packages = [
     "ocaml-ppx-custom-printf",
     "ocaml-ppx-derivers",
     "ocaml-ppx-deriving",
+    "ocaml-ppx-deriving-yaml",
     "ocaml-ppx-deriving-yojson",
     "ocaml-ppx-enumerate",
     "ocaml-ppx-expect",
@@ -163,7 +158,6 @@ let packages = [
     "ocaml-rresult",
     "ocaml-SDL",
     "ocaml-sedlex",
-    "ocaml-seq",
     "ocaml-sexplib",
     "ocaml-sexplib0",
     "ocaml-sha",
@@ -173,7 +167,6 @@ let packages = [
     "ocaml-stdio",
     "ocaml-time-now",
     "ocaml-topkg",
-    "ocaml-tplib",
     "ocaml-trie",
     "ocaml-tyxml",
     "ocaml-uucd",
@@ -186,6 +179,7 @@ let packages = [
     "ocaml-xml-light",
     "ocaml-xmlm",
     "ocaml-xmlrpc-light",
+    "ocaml-yaml",
     "ocaml-yojson",
     "ocaml-zarith",
     "ocaml-zed",
@@ -200,18 +194,20 @@ let packages = [
     "flocq",
     "frama-c",
     "gappalib-coq",
-    "graphviz",
-    "haxe",
+    # Depends on swig:
+    #"graphviz",
+    # Depends on camlp5:
+    #"haxe",
     "hevea",
     "hivex",
-    "laby",
     "libguestfs",
     "libnbd",
     "opam",
     "plplot",
     "prooftree",
     "supermin",
-    "swig",
+    # Tests fail for unclear reasons.
+    #"swig",
     "utop",
     "virt-top",
     "virt-v2v",
@@ -231,10 +227,12 @@ pure function get-source-packages () returning strings = {
     for pkg in %packages; do
         spec=$pkg/%fedora-branch/$pkg.spec
         if [ -f $spec ]; then
-            # Check that all spec files have disabled the broken
-            # "package notes" misfeature.
-            if ! grep -sq "%%undefine _package_note_flags" $spec ; then
-                echo "ERROR: $pkg does not %%undefine _package_note_flags" >&2
+            # Check that the spec file excludes i686.
+            # Only implement this check for ocaml-* packages, as the
+            # other packages are more complicated.
+            if [[ "$spec" =~ ^ocaml ]] &&
+               ! rpmspec -P $spec | grep -sq 'ExcludeArch:.*i386' ; then
+                echo "ERROR: $pkg does not ExcludeArch: %%{ix86}" >&2
                 exit 1
             fi
             # OK to rebuild this package.