[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#906434: alex: Changes needed to bootstrap? (riscv64)

Source: alex
Version: 3.2.4-3
Severity: minor
Tags: patch
User: debian-riscv@lists.debian.org
Usertags: riscv64


When bootstrapping Haskell for riscv64 a few weeks ago I had to change this
package.  I don't have any specific knowledge of the Haskell ecosystem.

The stage1 profile is useful, but still I had to modify the package to be able
to build it the first time, patch attached.  Basically, the modification was to
just comment out this line:

  -       cp -a dist/build/alex/alex-tmp/*.hs src/
  +#      cp -a dist/build/alex/alex-tmp/*.hs src/

I don't know how to get those files and how people bootstrapping are supposed to
modify the package in such a way that this works automatically.

After the initial package built, possibly non-functional, it was immediately
rebuilt cleanly in the buildds [1] (all build-deps were satisfied, and thus no
need for using build profiles), and everything seems to be fine since then.

  [1] https://buildd.debian.org/status/fetch.php?pkg=alex&arch=riscv64&ver=3.2.4-3&stamp=1532512437&raw=0

So I send this bug report in the case that the instructions need to be updated,
or explained for future porters, etc.

Thanks and cheers.
Manuel A. Fernandez Montecelo <mafm@debian.org>
diff -Nru alex-3.2.4/debian/changelog alex-3.2.4/debian/changelog
--- alex-3.2.4/debian/changelog	2018-04-12 20:40:32.000000000 +0200
+++ alex-3.2.4/debian/changelog	2018-07-24 22:53:25.000000000 +0200
@@ -1,3 +1,10 @@
+alex (3.2.4-3~0.riscv64.1) unreleased; urgency=medium
+  * Non-maintainer upload.
+  * Bootstrap riscv64
+ -- Manuel A. Fernandez Montecelo <mafm@debian.org>  Tue, 24 Jul 2018 22:53:25 +0200
 alex (3.2.4-3) unstable; urgency=medium
   * Use Distribution.Version instead.
diff -Nru alex-3.2.4/debian/rules alex-3.2.4/debian/rules
--- alex-3.2.4/debian/rules	2018-04-09 21:05:35.000000000 +0200
+++ alex-3.2.4/debian/rules	2018-07-24 22:53:25.000000000 +0200
@@ -18,7 +18,7 @@
 DEB_SETUP_GHC_CONFIGURE_ARGS := --with-alex=/bin/true
-	cp -a dist/build/alex/alex-tmp/*.hs src/
+#	cp -a dist/build/alex/alex-tmp/*.hs src/

Reply to: