let fedora-dir = "%HOME/d/fedora"
-let fedora-branch = "master"
-let fedora-tag = "f32-build-side-18015"
-let koji = "koji"
-#let koji = "koji -p riscv64"
-let fedpkg = "fedpkg"
-#let fedpkg = "fedpkg --user-config %HOME/d/fedora-ocaml-rebuild/fedpkg-user-config"
+#let fedora-branch = "master"
+let fedora-branch = "f32"
+let fedora-tag = "f32-build-side-19863"
# The magic string that must appear in %changelog when the
# package has been rebuilt.
-let fedora-rebuild-name = "OCaml 4.10.0+beta1 rebuild."
+let fedora-rebuild-name = "OCaml 4.10.0 final (Fedora 32)."
# Packages that are blocked. Any dependent packages are also blocked
# automatically.
# Packages that are ignored, which means they are treated as if
# they have been rebuilt.
-let fedora-ignored = [ "ocaml-srpm-macros", "ocaml" ]
+let fedora-ignored = [
+ "ocaml-srpm-macros", "ocaml",
+]
# All OCaml-related source package names
let other-packages = [
- "alt-ergo", "apron", "brltty", "coccinelle", "coq",
- "frama-c", "gappalib-coq", "graphviz", "hevea", "hivex",
- "libguestfs", "libnbd", "nbdkit", "opam", "plplot",
- "virt-top", "virt-v2v", "why3", "z3",
+ "alt-ergo", "apron", "brltty",
+ "graphviz", "hevea", "hivex",
+ "libguestfs", "libnbd",
+ "virt-top", "virt-v2v",
+ "z3",
+
# no OCaml code, but needs to be rebuilt after Coq
- "flocq"
+ #"flocq"
+
+ # Coq problems:
+ # https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/6I2CB4KNAZXH6TKX5WQZJ3ZQGBIOCNJK/
+ # "coq", "frama-c", "gappalib-coq",
+ # "why3", "zenon",
+ # "flocq",
+
+ # Coccinelle uses -unsafe-string.
+ # "coccinelle",
+
+ # Causes a cyclic dependency between libnbd <-> nbdkit. We need
+ # to fix this in goals itself, but in the meantime disable nbdkit
+ # and build it by hand.
+ # "nbdkit",
+
+ # https://bugzilla.redhat.com/show_bug.cgi?id=1797853
+ # "plplot",
+
+ # FTBFS because of a missing dependency.
+ # "opam",
]
+
pure function get-source-packages () returning strings = {
cd %fedora-dir
for f in ocaml* %other-packages; do
}
let fedora-source-packages = get-source-packages ()
-# Main goal: Rebuild all packages.
-goal all = : wrap ("*koji-built", fedora-source-packages)
+# Main goal: Rebuild all packages in Koji.
+goal all = : wrap ("is-koji-built", fedora-source-packages)