summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspwhitton2020-06-08 16:54:37 +0000
committeradmin2020-06-08 16:54:37 +0000
commit191a1b6d51351e0d788ea1d8084b9a6b40c27140 (patch)
tree1dea4bfec9e81ac92e6126e578571ab0bfa86c20
parenta1fe1138c2ab62d708e83fb71ce19a5eadf769a5 (diff)
report bug
-rw-r--r--doc/todo/Default_of_new_style_builds_breaks_Bootstrap.OSOnly.mdwn29
1 files changed, 29 insertions, 0 deletions
diff --git a/doc/todo/Default_of_new_style_builds_breaks_Bootstrap.OSOnly.mdwn b/doc/todo/Default_of_new_style_builds_breaks_Bootstrap.OSOnly.mdwn
new file mode 100644
index 00000000..b3a3cd90
--- /dev/null
+++ b/doc/todo/Default_of_new_style_builds_breaks_Bootstrap.OSOnly.mdwn
@@ -0,0 +1,29 @@
+It looks like ghc in Debian unstable is defaulting to new style cabal builds which bypasses `Bootstrap.bootstrapWith Bootstrap.OSOnly`:
+
+ ...
+ git branch origin/spw3conf gpg signature verified; merging
+ Already up to date.
+ Build profile: -w ghc-8.8.3 -O1
+ In order, the following will be built (use -v for more details):
+ - IfElse-0.85 (lib:IfElse) (requires build)
+ - first-class-families-0.8.0.0 (lib) (requires build)
+ - hsc2hs-0.68.7 (exe:hsc2hs) (requires download & build)
+ - old-locale-1.0.0.7 (lib) (requires build)
+ - syb-0.7.1 (lib) (requires build)
+ - th-abstraction-0.3.2.0 (lib) (requires build)
+ - network-bsd-2.8.1.0 (lib) (requires build)
+ - type-errors-0.2.0.0 (lib) (requires build)
+ - hslogger-1.3.1.0 (lib) (requires build)
+ - propellor-5.10.1 (lib) (first run)
+ - propellor-5.10.1 (exe:propellor-config) (first run)
+ Downloading hsc2hs-0.68.7
+ Configuring IfElse-0.85...
+ Preprocessing library for IfElse-0.85..
+ Building library for IfElse-0.85..
+ [1 of 1] Compiling Control.Monad.IfElse ( Control/Monad/IfElse.hs, dist/build/Control/Monad/IfElse.o )
+ Downloaded hsc2hs-0.68.7
+ ...
+
+I think the simplest fix is to replace `cabal build` with `cabal v1-build` in `Propellor.Bootstrap.buildCommand`?
+
+--spwhitton