* Release 1.2.1: Cuirass failed to build Haskell 179 packages
@ 2021-03-10 20:49 zimoun
2021-03-10 23:37 ` Tobias Geerinckx-Rice
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: zimoun @ 2021-03-10 20:49 UTC (permalink / raw)
To: Guix Devel, Mathieu Othacehe
[-- Attachment #1: Type: text/plain, Size: 542 bytes --]
Hi,
Using the command “guix weather --display-missing” at commit 6bed29b, I
identify 180 packages ghc-* which are missing. Then I locally rebuild
all of them and they build successfully. The only one broken is:
ghc-haddock
Therefore, is it possible to “restart” the build on Cuirass of these 179
ghc-* packages? It could be nice to have substitutes for the next
release.
And if someone is in the mood to check why ghc-haddock is broken. :-)
Attached, the list of the 180 ghc-* packages.
Thanks,
simon
[-- Attachment #2: ghc-packages.txt --]
[-- Type: text/plain, Size: 2870 bytes --]
ghc-abstract-deque
ghc-abstract-par
ghc-active
ghc-aeson-compat
ghc-aeson-qq
ghc-annotated-wl-pprint
ghc-atomic-primops
ghc-atomic-write
ghc-atomic-write
ghc-aws
ghc-base-unicode-symbols
ghc-basic-prelude
ghc-bencode
ghc-bindings-dsl
ghc-bloomfilter
ghc-bytes
ghc-bytestring-handle
ghc-bytestring-lexing
ghc-bzlib-conduit
ghc-cairo
ghc-cborg-json
ghc-cereal-conduit
ghc-cgi
ghc-chart
ghc-chart-cairo
ghc-cmark
ghc-concurrent-extra
ghc-conduit-algorithms
ghc-conduit-zstd
ghc-configurator
ghc-convertible
ghc-cryptohash
ghc-curl
ghc-data-accessor
ghc-data-accessor-transformers
ghc-data-fix
ghc-dav
ghc-dbus
ghc-dense-linear-algebra
ghc-descriptive
ghc-diagrams-core
ghc-diagrams-lib
ghc-diagrams-solve
ghc-diagrams-svg
ghc-disk-free-space
ghc-doclayout
ghc-dotgen
ghc-double-conversion
ghc-emojis
ghc-errorcall-eq-instance
ghc-exactprint
ghc-feed
ghc-filepath-bytestring
ghc-findbin
ghc-generic-random
ghc-generic-random
ghc-genvalidity
ghc-genvalidity-property
ghc-haddock
ghc-haddock-api
ghc-happstack-server
ghc-haskeline
ghc-haskell-src
ghc-haskell-src-meta
ghc-hasktags
ghc-hex
ghc-highlighting-kate
ghc-hmatrix
ghc-hmatrix-gsl
ghc-hmatrix-gsl-stats
ghc-hmatrix-special
ghc-hpack
ghc-http-reverse-proxy
ghc-ifelse
ghc-infer-license
ghc-inline-c
ghc-inline-c-cpp
ghc-inspection-testing
ghc-interpolate
ghc-intervalmap
ghc-intervals
ghc-io-streams-haproxy
ghc-iwlib
ghc-jira-wiki-markup
ghc-js-flot
ghc-js-jquery
ghc-language-glsl
ghc-libffi
ghc-libmpd
ghc-linear
ghc-llvm-hs
ghc-llvm-hs-pure
ghc-magic
ghc-managed
ghc-markdown-unlit
ghc-memotrie
ghc-missingh
ghc-monad-par
ghc-monad-par-extras
ghc-mountpoints
ghc-multipart
ghc-network-multicast
ghc-non-negative
ghc-nonce
ghc-numeric-extras
ghc-operational
ghc-optional-args
ghc-options
ghc-pandoc
ghc-pandoc-citeproc
ghc-parsec-numbers
ghc-path
ghc-path-io
ghc-pgp-wordlist
ghc-pqueue
ghc-pretty-simple
ghc-prettyclass
ghc-prettyprinter
ghc-prettyprinter
ghc-prettyprinter-ansi-terminal
ghc-process-extras
ghc-project-template
ghc-psqueue
ghc-pwstore-fast
ghc-regex
ghc-regex-applicative
ghc-regex-compat
ghc-regex-compat-tdfa
ghc-regex-pcre
ghc-repline
ghc-repline
ghc-safe-exceptions
ghc-safeio
ghc-safesemaphore
ghc-say
ghc-scalpel
ghc-sendfile
ghc-snap-core
ghc-snap-server
ghc-special-values
ghc-splitmix
ghc-spoon
ghc-statistics
ghc-stm-conduit
ghc-storable-complex
ghc-storable-record
ghc-storable-tuple
ghc-storablevector
ghc-svg-builder
ghc-tar
ghc-tar-conduit
ghc-tasty-rerun
ghc-text-binary
ghc-text-conversions
ghc-text-manipulate
ghc-text-metrics
ghc-th-expand-syns
ghc-th-orphans
ghc-th-reify-many
ghc-threads
ghc-timeit
ghc-timezone-olson
ghc-timezone-series
ghc-tldr
ghc-torrent
ghc-turtle
ghc-unagi-chan
ghc-union-find
ghc-unsafe
ghc-uri-bytestring
ghc-validation
ghc-validity
ghc-vector-binary-instances
ghc-wai-cors
ghc-wcwidth
ghc-weigh
ghc-wl-pprint
ghc-xml-hamlet
ghc-xmonad-contrib
ghc-zstd
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Release 1.2.1: Cuirass failed to build Haskell 179 packages
2021-03-10 20:49 Release 1.2.1: Cuirass failed to build Haskell 179 packages zimoun
@ 2021-03-10 23:37 ` Tobias Geerinckx-Rice
2021-03-11 11:35 ` zimoun
2021-03-10 23:41 ` Tobias Geerinckx-Rice
2021-03-23 10:32 ` Xinglu Chen
2 siblings, 1 reply; 8+ messages in thread
From: Tobias Geerinckx-Rice @ 2021-03-10 23:37 UTC (permalink / raw)
To: zimoun; +Cc: Mathieu Othacehe, guix-devel
[-- Attachment #1: Type: text/plain, Size: 333 bytes --]
Simon,
zimoun 写道:
> Attached, the list of the 180 ghc-* packages.
I've started the builds on berlin except haddock. Not restarted:
none of these had failed. Judging by how quickly it finished I
think most of them had already been built, but I didn't pay enough
attention to be certain.
Kind regards,
T G-R
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Release 1.2.1: Cuirass failed to build Haskell 179 packages
2021-03-10 23:37 ` Tobias Geerinckx-Rice
@ 2021-03-11 11:35 ` zimoun
0 siblings, 0 replies; 8+ messages in thread
From: zimoun @ 2021-03-11 11:35 UTC (permalink / raw)
To: Tobias Geerinckx-Rice; +Cc: guix-devel, Mathieu Othacehe
Hi Tobias,
On Thu, 11 Mar 2021 at 00:37, Tobias Geerinckx-Rice <me@tobias.gr> wrote:
>> Attached, the list of the 180 ghc-* packages.
>
> I've started the builds on berlin except haddock. Not restarted:
> none of these had failed. Judging by how quickly it finished I
> think most of them had already been built, but I didn't pay enough
> attention to be certain.
Thanks!
I do not know from where the issue was. Now “guix weather
--display-missing” lists the GHC packages:
ghcid-0.8.7
ghc-prettyprinter-1.2.1.1
ghc-repline-0.2.0.0
ghc-haddock-2.22.0
ghc-generic-random-1.2.0.0
ghcid-0.8.7-static
ghc-prettyprinter-1.2.1.1-static
ghc-repline-0.2.0.0-static
ghc-haddock-2.22.0-static
ghc-generic-random-1.2.0.0-static
ghc-atomic-write-0.2.0.6-static
which is acceptable for a release, IMHO.
Cheers,
simon
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Release 1.2.1: Cuirass failed to build Haskell 179 packages
2021-03-10 20:49 Release 1.2.1: Cuirass failed to build Haskell 179 packages zimoun
2021-03-10 23:37 ` Tobias Geerinckx-Rice
@ 2021-03-10 23:41 ` Tobias Geerinckx-Rice
2021-03-23 10:32 ` Xinglu Chen
2 siblings, 0 replies; 8+ messages in thread
From: Tobias Geerinckx-Rice @ 2021-03-10 23:41 UTC (permalink / raw)
To: zimoun; +Cc: Mathieu Othacehe, guix-devel
[-- Attachment #1: Type: text/plain, Size: 220 bytes --]
zimoun 写道:
> Therefore, is it possible to “restart” the build on Cuirass
I used ‘guix build’, not Cuirass (AIUI its CLI is still ‘poke the
SQL database with a stick’?).
Kind regards,
T G-R
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Release 1.2.1: Cuirass failed to build Haskell 179 packages
2021-03-10 20:49 Release 1.2.1: Cuirass failed to build Haskell 179 packages zimoun
2021-03-10 23:37 ` Tobias Geerinckx-Rice
2021-03-10 23:41 ` Tobias Geerinckx-Rice
@ 2021-03-23 10:32 ` Xinglu Chen
2021-03-23 10:39 ` zimoun
2 siblings, 1 reply; 8+ messages in thread
From: Xinglu Chen @ 2021-03-23 10:32 UTC (permalink / raw)
To: zimoun, Guix Devel, Mathieu Othacehe
On Wed, Mar 10 2021, zimoun wrote:
> Using the command “guix weather --display-missing” at commit 6bed29b, I
> identify 180 packages ghc-* which are missing. Then I locally rebuild
> all of them and they build successfully. The only one broken is:
>
> ghc-haddock
>
> Therefore, is it possible to “restart” the build on Cuirass of these 179
> ghc-* packages? It could be nice to have substitutes for the next
> release.
>
> And if someone is in the mood to check why ghc-haddock is broken. :-)
This was an issue with upstream[1], it has since been fixed but the
releases that include the fix are only built for GHC 8.8 or later.
Maybe its time to update to a newer Stackage LTS release? :)
[1]: https://github.com/haskell/haddock/issues/850
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Release 1.2.1: Cuirass failed to build Haskell 179 packages
2021-03-23 10:32 ` Xinglu Chen
@ 2021-03-23 10:39 ` zimoun
2021-03-23 11:10 ` Xinglu Chen
2021-06-08 18:39 ` Haskell update (was: Release 1.2.1: Cuirass failed to build Haskell 179 packages) Xinglu Chen
0 siblings, 2 replies; 8+ messages in thread
From: zimoun @ 2021-03-23 10:39 UTC (permalink / raw)
To: Xinglu Chen, Guix Devel, Mathieu Othacehe
Hi,
On Tue, 23 Mar 2021 at 11:32, Xinglu Chen <public@yoctocell.xyz> wrote:
>> And if someone is in the mood to check why ghc-haddock is broken. :-)
>
> This was an issue with upstream[1], it has since been fixed but the
> releases that include the fix are only built for GHC 8.8 or later.
Thanks! Much appreciated.
> Maybe its time to update to a newer Stackage LTS release? :)
Well, I do not know if it possible to do so before the next release.
IMHO, let focus on what remains for the next release and let upgrade the
Stackage LTS after.
Cheers,
simon
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Release 1.2.1: Cuirass failed to build Haskell 179 packages
2021-03-23 10:39 ` zimoun
@ 2021-03-23 11:10 ` Xinglu Chen
2021-06-08 18:39 ` Haskell update (was: Release 1.2.1: Cuirass failed to build Haskell 179 packages) Xinglu Chen
1 sibling, 0 replies; 8+ messages in thread
From: Xinglu Chen @ 2021-03-23 11:10 UTC (permalink / raw)
To: zimoun, Guix Devel, Mathieu Othacehe
On Tue, Mar 23 2021, zimoun wrote:
> Hi,
>
> On Tue, 23 Mar 2021 at 11:32, Xinglu Chen <public@yoctocell.xyz> wrote:
>
>>> And if someone is in the mood to check why ghc-haddock is broken. :-)
>>
>> This was an issue with upstream[1], it has since been fixed but the
>> releases that include the fix are only built for GHC 8.8 or later.
>
> Thanks! Much appreciated.
You are welcome!
>> Maybe its time to update to a newer Stackage LTS release? :)
>
> Well, I do not know if it possible to do so before the next release.
> IMHO, let focus on what remains for the next release and let upgrade the
> Stackage LTS after.
Ok, sounds good to me.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Haskell update (was: Release 1.2.1: Cuirass failed to build Haskell 179 packages)
2021-03-23 10:39 ` zimoun
2021-03-23 11:10 ` Xinglu Chen
@ 2021-06-08 18:39 ` Xinglu Chen
1 sibling, 0 replies; 8+ messages in thread
From: Xinglu Chen @ 2021-06-08 18:39 UTC (permalink / raw)
To: zimoun, Guix Devel, Mathieu Othacehe
[-- Attachment #1.1: Type: text/plain, Size: 433 bytes --]
On Tue, Mar 23 2021, zimoun wrote:
>> Maybe its time to update to a newer Stackage LTS release? :)
>
> Well, I do not know if it possible to do so before the next release.
> IMHO, let focus on what remains for the next release and let upgrade the
> Stackage LTS after.
Any updates on this? I managed to build GHC 8.10.5 (on x86_64), but I
had to disable some tests. I have attached the patch if anyone wants to
take a look. :)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-Add-ghc-8.10.patch --]
[-- Type: text/x-patch, Size: 4144 bytes --]
From 9ecfe7cb3f94b928dbd883d4b7e7c007278c0fa8 Mon Sep 17 00:00:00 2001
Message-Id: <9ecfe7cb3f94b928dbd883d4b7e7c007278c0fa8.1623177424.git.public@yoctocell.xyz>
From: Xinglu Chen <public@yoctocell.xyz>
Date: Tue, 18 May 2021 23:32:38 +0200
Subject: [RFC PATCH] gnu: Add ghc-8.10.
* gnu/packages/haskell.scm (ghc-8.10): New variable.
---
gnu/packages/haskell.scm | 66 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 66 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 09732fc594..8de3118136 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -657,6 +657,72 @@ interactive environment for the functional language Haskell.")
(file-pattern ".*\\.conf\\.d$")
(file-type 'directory))))))
+(define-public ghc-8.10
+ (package
+ (inherit ghc-8.8)
+ (name "ghc")
+ (version "8.10.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://www.haskell.org/ghc/dist/"
+ version "/ghc-" version "-src.tar.xz"))
+ (sha256
+ (base32 "0vq7wch0wfvy2b5dbi308lq5225vf691n95m19c9igagdvql22gi"))))
+ (native-inputs
+ `(("ghc-bootstrap" ,ghc-8.6)
+ ("ghc-testsuite"
+ ,(origin
+ (method url-fetch)
+ (uri (string-append
+ "https://www.haskell.org/ghc/dist/"
+ version "/ghc-" version "-testsuite.tar.xz"))
+ (patches (search-patches "ghc-testsuite-dlopen-pie.patch"))
+ (sha256
+ (base32
+ "0vcq774rfb6q8vsnh7p5clxp2qaz8ip6d2bm2ghbq53n8jl296d6"))))
+ ("git" ,git-minimal) ; invoked during tests
+ ,@(filter (match-lambda
+ (("ghc-bootstrap" . _) #f)
+ (("ghc-testsuite" . _) #f)
+ (_ #t))
+ (package-native-inputs ghc-8.6))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments ghc-8.6)
+ ((#:phases phases '%standard-phases)
+ `(modify-phases ,phases
+ (add-after 'unpack-testsuite 'skip-more-tests
+ (lambda _
+ ;; XXX: This test fails because our ld-wrapper script
+ ;; mangles the response file passed to the linker.
+ (substitute* "testsuite/tests/hp2ps/all.T"
+ (("^test\\('T15904'") "# guix skipped: test('T15904'"))
+ ;; The following tests fail because they are unable to
+ ;; find a C compiler.
+ (substitute* "testsuite/tests/hsc2hs/all.T"
+ (("^test\\('" all)
+ (string-append "# guix skipped: " all)))
+ (substitute* "testsuite/tests/ffi/should_run/all.T"
+ (("^test\\('Capi_Ctype_00(1|2)'" all)
+ (string-append "# guix skipped: " all)))
+ (substitute* "testsuite/tests/ffi/should_run/all.T"
+ (("makefile_test, \\['Capi_Ctype_00(1|2)'\\].*" all)
+ (string-append "# guix skipped: " all)))
+ (substitute* "libraries/base/tests/IO/T12010/test.T"
+ (("^.*" all)
+ (string-append "# guix skipped: " all)))
+ ;; No idea why these are failing
+ (substitute* '("testsuite/tests/driver/T8602/T8602.T"
+ "testsuite/tests/driver/T16521/all.T")
+ (("^.*" all)
+ (string-append "# guix skipped: " all)))))))))
+ (native-search-paths (list (search-path-specification
+ (variable "GHC_PACKAGE_PATH")
+ (files (list
+ (string-append "lib/ghc-" version)))
+ (file-pattern ".*\\.conf\\.d$")
+ (file-type 'directory))))))
+
(define-public ghc-8 ghc-8.6)
(define-public ghc ghc-8)
base-commit: 503c2039a280dd52a751a6852b4157fccd1b4195
--
2.32.0
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]
^ permalink raw reply related [flat|nested] 8+ messages in thread
end of thread, other threads:[~2021-06-08 18:39 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-10 20:49 Release 1.2.1: Cuirass failed to build Haskell 179 packages zimoun
2021-03-10 23:37 ` Tobias Geerinckx-Rice
2021-03-11 11:35 ` zimoun
2021-03-10 23:41 ` Tobias Geerinckx-Rice
2021-03-23 10:32 ` Xinglu Chen
2021-03-23 10:39 ` zimoun
2021-03-23 11:10 ` Xinglu Chen
2021-06-08 18:39 ` Haskell update (was: Release 1.2.1: Cuirass failed to build Haskell 179 packages) Xinglu Chen
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).