unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* GHC 8.6.5 build failure (bootstrapping)
@ 2023-05-21 21:16 Felix Lechner via Development of GNU Guix and the GNU System distribution.
  2023-05-22  6:11 ` Lars-Dominik Braun
  0 siblings, 1 reply; 3+ messages in thread
From: Felix Lechner via Development of GNU Guix and the GNU System distribution. @ 2023-05-21 21:16 UTC (permalink / raw)
  To: Guix Devel

Hi,

While dreaming up potential improvements to 'patch-shebangs, I got to
see our new full-source bootstrapping [1] and more. Congratulations!

Everything looks great, except that GHC failed to build from source
locally. (I know GHC bootstraps separately.) I don't think my code
caused the failure, but it's possible. Looks like it failed in the
tests.

Below are partial logs. Perhaps they mean something to somebody.

Thanks for your dedication in maintaining the complex Haskell ecosystem in Guix!

Kind regards
Felix

[1] https://guix.gnu.org/en/blog/2023/the-full-source-bootstrap-building-from-source-all-the-way-down/

* * *

Framework failures:
   ghci/scripts/ghci001.run                           ghci001 [ghci]
([Errno 2] No such file or directory:
'./ghci/scripts/ghci001.run/ghci001.run.stderr')
   ghci/scripts/ghci002.run                           ghci002 [ghci]
([Errno 2] No such file or directory:
'./ghci/scripts/ghci002.run/ghci002.run.stderr')
   ghci/scripts/ghci003.run                           ghci003 [ghci]
([Errno 2] No such file or directory:
'./ghci/scripts/ghci003.run/ghci003.run.stderr')
   ghci/scripts/ghci004.run                           ghci004 [ghci]
([Errno 2] No such file or directory:
'./ghci/scripts/ghci004.run/ghci004.run.stderr')
   ghci/scripts/ghci005.run                           ghci005 [ghci]
([Errno 2] No such file or directory:
'./ghci/scripts/ghci005.run/ghci005.run.stderr')
   ghci/scripts/ghci006.run                           ghci006 [ghci]
([Errno 2] No such file or directory:
'./ghci/scripts/ghci006.run/ghci006.run.stderr')
   ghci/scripts/ghci007.run                           ghci007 [ghci]
([Errno 2] No such file or directory:
'./ghci/scripts/ghci007.run/ghci007.run.stderr')
   ghci/scripts/ghci008.run                           ghci008 [ghci]
([Errno 2] No such file or directory:
'./ghci/scripts/ghci008.run/ghci008.run.stderr')
   ghci/scripts/ghci009.run                           ghci009 [ghci]
([Errno 2] No such file or directory:
'./ghci/scripts/ghci009.run/ghci009.run.stderr')
   ghci/scripts/ghci055.run                           ghci055 [ghci]
([Errno 2] No such file or directory:
'./ghci/scripts/ghci055.run/ghci055.run.stderr')
   ghci/scripts/T5557.run                             T5557 [ghci]
([Errno 2] No such file or directory:
'./ghci/scripts/T5557.run/T5557.run.stderr')
   ghci/scripts/T7730.run                             T7730 [ghci]
([Errno 2] No such file or directory:
'./ghci/scripts/T7730.run/T7730.run.stderr')
   ghci/scripts/T9140.run                             T9140 [ghci]
([Errno 2] No such file or directory:
'./ghci/scripts/T9140.run/T9140.run.stderr')
   ghci.debugger/scripts/break009.run                 break009 [ghci]
([Errno 2] No such file or directory:
'./ghci.debugger/scripts/break009.run/break009.run.stderr')
   ghci.debugger/scripts/break011.run                 break011 [ghci]
([Errno 2] No such file or directory:
'./ghci.debugger/scripts/break011.run/break011.run.stderr')
   ghci.debugger/scripts/break016.run                 break016 [ghci]
([Errno 2] No such file or directory:
'./ghci.debugger/scripts/break016.run/break016.run.stderr')
   ghci.debugger/scripts/break017.run                 break017 [ghci]
([Errno 2] No such file or directory:
'./ghci.debugger/scripts/break017.run/break017.run.stderr')
   ghci.debugger/scripts/break024.run                 break024 [ghci]
([Errno 2] No such file or directory:
'./ghci.debugger/scripts/break024.run/break024.run.stderr')
   ghci.debugger/scripts/listCommand001.run           listCommand001
[ghci] ([Errno 2] No such file or directory:
'./ghci.debugger/scripts/listCommand001.run/listCommand001.run.stderr')
   overloadedrecflds/ghci/duplicaterecfldsghci01.run
duplicaterecfldsghci01 [ghci] ([Errno 2] No such file or directory:
'./overloadedrecflds/ghci/duplicaterecfldsghci01.run/duplicaterecfldsghci01.run.stderr')
   overloadedrecflds/ghci/overloadedlabelsghci01.run
overloadedlabelsghci01 [ghci] ([Errno 2] No such file or directory:
'./overloadedrecflds/ghci/overloadedlabelsghci01.run/overloadedlabelsghci01.run.stderr')
   th/T7276a.run                                      T7276a [ghci]
([Errno 2] No such file or directory:
'./th/T7276a.run/T7276a.run.stderr')

make[1]: *** [../mk/test.mk:329: test] Error 1
make[1]: Leaving directory
'/tmp/guix-build-ghc-8.6.5.drv-0/ghc-8.6.5/testsuite/tests'
make: *** [Makefile:223: test] Error 2

Test suite failed, dumping logs.
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("test"
"EXTRA_RUNTEST_OPTS=--skip-perf-tests") exit-status: 2 term-signal: #f
stop-signal: #f>
phase `check' failed after 3948.5 seconds
command "make" "test" "EXTRA_RUNTEST_OPTS=--skip-perf-tests" failed
with status 2
builder for `/gnu/store/a6280j7d7az6rq4n9iza2jj78in3ajsh-ghc-8.6.5.drv'
failed with exit code 1
build of /gnu/store/a6280j7d7az6rq4n9iza2jj78in3ajsh-ghc-8.6.5.drv failed
View build log at
'/var/log/guix/drvs/a6/280j7d7az6rq4n9iza2jj78in3ajsh-ghc-8.6.5.drv.gz'.
cannot build derivation
`/gnu/store/rngi0ninm0vn2j9xzym1aslgxg5rq8kj-ghc-8.10.7.drv': 1
dependencies couldn't be built
cannot build derivation
`/gnu/store/3q8bppln5xgijh2vj8y5mjk3xg98hycq-ghc-9.2.5.drv': 1
dependencies couldn't be built
cannot build derivation
`/gnu/store/iwdl5gsd4r4fk1q7rqijc9vdza7q4a5g-pandoc-2.19.2.drv': 1
dependencies couldn't be built


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: GHC 8.6.5 build failure (bootstrapping)
  2023-05-21 21:16 GHC 8.6.5 build failure (bootstrapping) Felix Lechner via Development of GNU Guix and the GNU System distribution.
@ 2023-05-22  6:11 ` Lars-Dominik Braun
  2023-05-22  6:20   ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
  0 siblings, 1 reply; 3+ messages in thread
From: Lars-Dominik Braun @ 2023-05-22  6:11 UTC (permalink / raw)
  To: Felix Lechner; +Cc: Guix Devel

Hi,

> Everything looks great, except that GHC failed to build from source
> locally. (I know GHC bootstraps separately.) I don't think my code
> caused the failure, but it's possible. Looks like it failed in the
> tests.

could you share your changes? The logs are rather unhelpful.

Cheers,
Lars



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: GHC 8.6.5 build failure (bootstrapping)
  2023-05-22  6:11 ` Lars-Dominik Braun
@ 2023-05-22  6:20   ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
  0 siblings, 0 replies; 3+ messages in thread
From: Felix Lechner via Development of GNU Guix and the GNU System distribution. @ 2023-05-22  6:20 UTC (permalink / raw)
  To: Lars-Dominik Braun; +Cc: Guix Devel

[-- Attachment #1: Type: text/plain, Size: 403 bytes --]

Hi Lars-Dominik,

On Sun, May 21, 2023 at 11:11 PM Lars-Dominik Braun <lars@6xq.net> wrote:
>
> could you share your changes?

Here is my patch but the change was experimental and upon reflection
makes little sense. I meant to allow 'env -S' to be used in hashbangs.

Maybe my changes caused the build to fail. In that case, you should
disregard my messages, please.

Kind regards
Felix

[-- Attachment #2: 0001-guix-Make-patch-shebang-work-for-env-S.patch.xz --]
[-- Type: application/octet-stream, Size: 1640 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-05-22  6:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-21 21:16 GHC 8.6.5 build failure (bootstrapping) Felix Lechner via Development of GNU Guix and the GNU System distribution.
2023-05-22  6:11 ` Lars-Dominik Braun
2023-05-22  6:20   ` Felix Lechner via Development of GNU Guix and the GNU System distribution.

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).