* Re: Core-updates after the staging merge
2023-04-17 9:03 ` Andreas Enge
@ 2023-04-17 9:56 ` Andreas Enge
2023-04-17 12:19 ` Simon Tournier
2023-04-17 12:57 ` Andreas Enge
` (3 subsequent siblings)
4 siblings, 1 reply; 37+ messages in thread
From: Andreas Enge @ 2023-04-17 9:56 UTC (permalink / raw)
To: guix-devel; +Cc: Lars-Dominik Braun, Alice BRENON
Am Mon, Apr 17, 2023 at 11:03:25AM +0200 schrieb Andreas Enge:
> - ghc is taking a long time...
Actually ghc@9.0 fails its tests, which are written in Python (it looks
like ".abc" needs to be added to collections); but since it is not needed
for bootstrapping any more, maybe we could drop it?
Well, there is the dependent package ghc-next@9.4.4 that would need to be
built from 8.10 also, or maybe 9.2. Some work for the haskell team ;-)
Andreas
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Core-updates after the staging merge
2023-04-17 9:56 ` Andreas Enge
@ 2023-04-17 12:19 ` Simon Tournier
2023-04-17 12:38 ` Andreas Enge
2023-04-17 14:12 ` Lars-Dominik Braun
0 siblings, 2 replies; 37+ messages in thread
From: Simon Tournier @ 2023-04-17 12:19 UTC (permalink / raw)
To: Andreas Enge, guix-devel; +Cc: Lars-Dominik Braun, Alice BRENON, Ricardo Wurmus
Hi,
On lun., 17 avril 2023 at 11:56, Andreas Enge <andreas@enge.fr> wrote:
> Am Mon, Apr 17, 2023 at 11:03:25AM +0200 schrieb Andreas Enge:
>> - ghc is taking a long time...
>
> Actually ghc@9.0 fails its tests, which are written in Python (it looks
> like ".abc" needs to be added to collections); but since it is not needed
> for bootstrapping any more, maybe we could drop it?
Well, the current Haskell bootstrap chain is:
7.8.4
-> 7.10.3
-> 8.0.2
-> 8.4.4
-> 8.6.5
-> 8.8.4
-> 8.10.7
-> 9.0.2; 9.2.5
-> 9.4.4 (next)
and instead we could try this shorter one:
7.8.4
-> 8.0.2 (needs >= 7.10)
-> 8.4.4 (needs >= 8.0)
-> 8.8.4 (needs >= 8.4)
-> 9.2.5 (needs >= 8.6)
WDYT? If no objection, I will give a try.
Moreover, the recipe for GHC looks like:
--8<---------------cut here---------------start------------->8---
(define-public ghc-9.0
(package
(inherit ghc-8.10)
(name "ghc")
(version "9.0.2")
(source (origin
(method url-fetch)
(uri (string-append "https://www.haskell.org/ghc/dist/" version
"/ghc-" version "-src.tar.xz"))
(sha256
(base32
"15wii8can2r3dcl6jjmd50h2jvn7rlmn05zb74d2scj6cfwl43hl"))))
(native-inputs
`(;; GHC 9.0.2 must be built with GHC >= 8.8
("ghc-bootstrap" ,ghc-8.10)
("ghc-testsuite"
,(origin
(method url-fetch)
(uri (string-append
"https://www.haskell.org/ghc/dist/"
version "/ghc-" version "-testsuite.tar.xz"))
(sha256
(base32
"1m5fzhr4gjn9ni8gxx7ag3fkbw1rspjzgv39mnfb0nkm5mw70v3s"))))
,@(filter (match-lambda
(("ghc-bootstrap" . _) #f)
(("ghc-testsuite" . _) #f)
(_ #t))
(package-native-inputs ghc-8.10))))
(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))))))
--8<---------------cut here---------------end--------------->8---
and it is similar for ’ghc-8.10’ and other, well something like:
(native-inputs
`(
("ghc-bootstrap" ,ghc-x.y)
("ghc-testsuite"
,(origin
(method url-fetch)
(uri (string-append
"https://www.haskell.org/ghc/dist/"
version "/ghc-" version "-testsuite.tar.xz"))
where ghc-x.y is a full GHC containing the complete testsuite. I
propose here to replace by ’ghc-x.y/bootstrap’ where the tests are
turned off for this ghc-x.y/bootstrap. We would not have to wait hours
and hours… Hum, I do not know if it is a good idea. :-)
I mean I propose to have both: ghc-x.y (with tests) and
ghc.x.y/bootstrap (without tests), it would ease the maintenance of the
Haskell ecosystem on several architectures. WDYT?
Cheers,
simon
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Core-updates after the staging merge
2023-04-17 12:19 ` Simon Tournier
@ 2023-04-17 12:38 ` Andreas Enge
2023-04-17 12:57 ` Simon Tournier
2023-04-17 14:12 ` Lars-Dominik Braun
1 sibling, 1 reply; 37+ messages in thread
From: Andreas Enge @ 2023-04-17 12:38 UTC (permalink / raw)
To: Simon Tournier
Cc: guix-devel, Lars-Dominik Braun, Alice BRENON, Ricardo Wurmus
Am Mon, Apr 17, 2023 at 02:19:43PM +0200 schrieb Simon Tournier:
> and instead we could try this shorter one:
> 7.8.4
> -> 8.0.2 (needs >= 7.10)
Here it looks like we still need 7.10.
> where ghc-x.y is a full GHC containing the complete testsuite. I
> propose here to replace by ’ghc-x.y/bootstrap’ where the tests are
> turned off for this ghc-x.y/bootstrap. We would not have to wait hours
> and hours… Hum, I do not know if it is a good idea. :-)
Well, it would mean that bootstrapping would somehow happen in parallel
to building the full ghc versions with tests. But is there any use for
keeping these old versions around except for bootstrapping? If not, it
might be enough to enable tests only for the last, user facing version.
Andreas
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Core-updates after the staging merge
2023-04-17 12:19 ` Simon Tournier
2023-04-17 12:38 ` Andreas Enge
@ 2023-04-17 14:12 ` Lars-Dominik Braun
2023-04-17 17:47 ` Simon Tournier
1 sibling, 1 reply; 37+ messages in thread
From: Lars-Dominik Braun @ 2023-04-17 14:12 UTC (permalink / raw)
To: Simon Tournier; +Cc: Andreas Enge, guix-devel, Alice BRENON, Ricardo Wurmus
Hi Simon,
> and instead we could try this shorter one:
>
> 7.8.4
> -> 8.0.2 (needs >= 7.10)
> -> 8.4.4 (needs >= 8.0)
> -> 8.8.4 (needs >= 8.4)
> -> 9.2.5 (needs >= 8.6)
>
> WDYT? If no objection, I will give a try.
note that the information on haskell.org is not always accurate and thus
this shorter chain may not actually work. Please give it a try and send
a patch.
> I mean I propose to have both: ghc-x.y (with tests) and
> ghc.x.y/bootstrap (without tests), it would ease the maintenance of the
> Haskell ecosystem on several architectures. WDYT?
I have a bad feeling about turning the testsuites of intermediate versions
off. Yes, they take a long time, but then they also ensure the resulting
compiler actually works (with high confidence) and we don’t silently
propagate issues into the next one.
Cheers,
Lars
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Core-updates after the staging merge
2023-04-17 14:12 ` Lars-Dominik Braun
@ 2023-04-17 17:47 ` Simon Tournier
2023-04-17 18:07 ` Andreas Enge
0 siblings, 1 reply; 37+ messages in thread
From: Simon Tournier @ 2023-04-17 17:47 UTC (permalink / raw)
To: Lars-Dominik Braun; +Cc: Andreas Enge, guix-devel, Alice BRENON, Ricardo Wurmus
Hi,
On lun., 17 avril 2023 at 16:12, Lars-Dominik Braun <lars@6xq.net> wrote:
> note that the information on haskell.org is not always accurate and thus
> this shorter chain may not actually work. Please give it a try and send
> a patch.
If I read correctly, the current chain is:
7.8.4
-> 7.10.3
-> 8.0.2
-> 8.4.4
-> 8.6.5
-> 8.8.4
-> 8.10.7
-> 9.0.2; 9.2.5
-> 9.4.4 (next)
where 9.2.5 is the one used by haskell-build-system. Instead, this
chain,
7.8.4 (needs 7.4 at least)
-> 8.0.1 (needs 7.8 at least)
-> 8.4.4 (needs 8.0 at least)
-> 8.6.5 (needs 8.2 at least)
-> 8.10.7 (needs 8.6 at least)
-> 9.2.5 (needs 8.10 at least)
builds for me. So It removes 7.10.3 and 8.8.4.
That said, note that the current binary root is 7.8.4 with the hope to
join with the current,
4.08.2 (needs GCC and outputs of previous GHC)
-> 6.0 (needs 4.08 at least)
-> 6.6 (needs 5.04 at least)
-> 6.10.4 (needs 6.6 at least)
Well, joining 9.2.5 to 4.08.2 could be done using intermediary versions:
-> 6.10.4 (needs 6.6 at least) | -> 6.10.4 (needs 6.6 at least)
6.12.3 (needs 6.8 at least) | 7.2.2 (needs 6.10 at least)
7.4.2 (needs 6.12 at least) | 7.6.3 (needs 7.0 at least)
7.8.4 (needs 7.4 at least) | -> 7.10.3 (needs 7.6 at least)
-> 8.0.1 (needs 7.8 at least) | 8.2.2 (needs 7.10 at least)
-> 8.4.4 (needs 8.0 at least) | -> 8.6.5 (needs 8.2 at least)
-> 8.6.5 (needs 8.2 at least) | -> 8.10.7 (needs 8.6 at least)
-> 8.10.7 (needs 8.6 at least) | -> 9.2.5 (needs 8.10 at least)
-> 9.2.5 (needs 8.10 at least)
Well, one version would be win when using 7.10.3 (modulo inaccurate
information on Haskell website :-)).
All in all, I am proposing to send a patch for the first path for this
core-updates cycle and postpone this other path – not doable for this
cycle; I will resume this story later.
Andreas, core-updates is frozen but is the former shorter bootstrap
chain acceptable?
>> I mean I propose to have both: ghc-x.y (with tests) and
>> ghc.x.y/bootstrap (without tests), it would ease the maintenance of the
>> Haskell ecosystem on several architectures. WDYT?
>
> I have a bad feeling about turning the testsuites of intermediate versions
> off. Yes, they take a long time, but then they also ensure the resulting
> compiler actually works (with high confidence) and we don’t silently
> propagate issues into the next one.
Well, I am convinced that we are doing the optimal way. For instance,
the run is sequencial,
--8<---------------cut here---------------start------------->8---
#:test-target "test"
;; We get a smaller number of test failures by disabling parallel test
;; execution.
#:parallel-tests? #f
--8<---------------cut here---------------end--------------->8---
Then, for another example, the GHC testsuite is distributed separately,
https://downloads.haskell.org/~ghc/8.10.7/ghc-8.10.7-src.tar.xz
https://downloads.haskell.org/~ghc/8.10.7/ghc-8.10.7-testsuite.tar.xz
And Debian seems considering the GHC testsuite as a package,
https://tracker.debian.org/pkg/ghc-testsuite
Maybe we could do that. It would allow to catch errors and not wait
ages after each GHC bootstrap toolchain completes all its testsuite.
WDYT?
Cheers,
simon
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Core-updates after the staging merge
2023-04-17 17:47 ` Simon Tournier
@ 2023-04-17 18:07 ` Andreas Enge
2023-04-17 19:01 ` Lars-Dominik Braun
0 siblings, 1 reply; 37+ messages in thread
From: Andreas Enge @ 2023-04-17 18:07 UTC (permalink / raw)
To: Simon Tournier
Cc: Lars-Dominik Braun, guix-devel, Alice BRENON, Ricardo Wurmus
Am Mon, Apr 17, 2023 at 07:47:16PM +0200 schrieb Simon Tournier:
> All in all, I am proposing to send a patch for the first path for this
> core-updates cycle and postpone this other path – not doable for this
> cycle; I will resume this story later.
> Andreas, core-updates is frozen but is the former shorter bootstrap
> chain acceptable?
Well, I would see this as rather an action for a later feature branch.
Except for removing 9.0 by building 9.4 with 9.2, since 9.0 does not
build now anyway.
Andreas
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Core-updates after the staging merge
2023-04-17 18:07 ` Andreas Enge
@ 2023-04-17 19:01 ` Lars-Dominik Braun
2023-04-18 17:16 ` Andreas Enge
0 siblings, 1 reply; 37+ messages in thread
From: Lars-Dominik Braun @ 2023-04-17 19:01 UTC (permalink / raw)
To: Andreas Enge; +Cc: Simon Tournier, guix-devel, Alice BRENON, Ricardo Wurmus
Hi Andreas,
> Well, I would see this as rather an action for a later feature branch.
> Except for removing 9.0 by building 9.4 with 9.2, since 9.0 does not
> build now anyway.
shouldn’t this snippet from 8.10 also work for 9.0?
(modules '((guix build utils)))
(snippet
;; collections.Iterable was moved to collections.abc in Python 3.10.
'(substitute* "testsuite/driver/testlib.py"
(("collections\\.Iterable")
"collections.abc.Iterable")))))
Cheers,
Lars
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Core-updates after the staging merge
2023-04-17 19:01 ` Lars-Dominik Braun
@ 2023-04-18 17:16 ` Andreas Enge
2023-04-21 18:29 ` Lars-Dominik Braun
0 siblings, 1 reply; 37+ messages in thread
From: Andreas Enge @ 2023-04-18 17:16 UTC (permalink / raw)
To: Lars-Dominik Braun
Cc: Simon Tournier, guix-devel, Alice BRENON, Ricardo Wurmus
Am Mon, Apr 17, 2023 at 09:01:20PM +0200 schrieb Lars-Dominik Braun:
> shouldn’t this snippet from 8.10 also work for 9.0?
> (modules '((guix build utils)))
> (snippet
> ;; collections.Iterable was moved to collections.abc in Python 3.10.
> '(substitute* "testsuite/driver/testlib.py"
> (("collections\\.Iterable")
> "collections.abc.Iterable")))))
Probably so! I will let you decide whether to apply it or to drop the 9.0
version, both are fine from the core-updates point of view.
Andreas
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Core-updates after the staging merge
2023-04-17 9:03 ` Andreas Enge
2023-04-17 9:56 ` Andreas Enge
@ 2023-04-17 12:57 ` Andreas Enge
2023-04-17 18:03 ` Maxim Cournoyer
` (2 subsequent siblings)
4 siblings, 0 replies; 37+ messages in thread
From: Andreas Enge @ 2023-04-17 12:57 UTC (permalink / raw)
To: guix-devel
Am Mon, Apr 17, 2023 at 11:03:25AM +0200 schrieb Andreas Enge:
> On aarch64 and powerpc, we are still stuck by CI problems.
Things improve! I could reenable sjd-p9 by a little "guix gc". Thanks to
Ricardo for walking me through a few cuirass steps! So we have four more
build slots on powerpc, five times what we had before. I still do not see
why only one of the two slots on guixp9 is building.
And a second aarch64 machine is online, with people working on others.
Andreas
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Core-updates after the staging merge
2023-04-17 9:03 ` Andreas Enge
2023-04-17 9:56 ` Andreas Enge
2023-04-17 12:57 ` Andreas Enge
@ 2023-04-17 18:03 ` Maxim Cournoyer
2023-04-17 18:08 ` Andreas Enge
2023-04-18 5:04 ` John Kehayias
2023-04-19 10:48 ` Latest news on core-updates Andreas Enge
4 siblings, 1 reply; 37+ messages in thread
From: Maxim Cournoyer @ 2023-04-17 18:03 UTC (permalink / raw)
To: Andreas Enge; +Cc: guix-devel
Hi,
Andreas Enge <andreas@enge.fr> writes:
> Hello,
>
> just a quick update after a night of building on CI.
> Things look generally quite good on x86_64; some things are being rebuilt
> due to the recent wget update, and that should hopefully also sort out
> i686 rather quickly.
>
> Am Sun, Apr 16, 2023 at 01:09:02PM +0200 schrieb Andreas Enge:
>> - python: It is mostly green, but with lots of red, including at least
>> one package that prevents icecat from building. I would call for careful
>> updates and bug fixes to move on; leaf packages can be updated to the
>> latest version, but for important intermediate packages please be
>> careful.
>
> Python probably is the place where work is needed most, the strip in the
> dashboard looks like it has measles. Fixing one package there could bring
> us a long way (or not - we are in plain hand resolution of dependency
> problems there, one update could also hide another one). Sometimes it is
> just a matter of trying an update to see whether a package and its
> dependents build, so even someone who knows nothing about Python, but
> has a web browser pointed at https://pypi.org/, can do some useful work
> (I am speaking from experience).
I think python is starting to look good here, after a few upgrades.
It'll cause a rebuild of at least GTK+, so I'll push it a bit later
today (during the European night).
--
Thanks,
Maxim
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Core-updates after the staging merge
2023-04-17 18:03 ` Maxim Cournoyer
@ 2023-04-17 18:08 ` Andreas Enge
0 siblings, 0 replies; 37+ messages in thread
From: Andreas Enge @ 2023-04-17 18:08 UTC (permalink / raw)
To: Maxim Cournoyer; +Cc: guix-devel
Am Mon, Apr 17, 2023 at 02:03:14PM -0400 schrieb Maxim Cournoyer:
> I think python is starting to look good here, after a few upgrades.
> It'll cause a rebuild of at least GTK+, so I'll push it a bit later
> today (during the European night).
Nice! I just merged master back, hopefully this is all compatible with
your changes (and hopefully I did not introduce many errors...).
Andreas
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Core-updates after the staging merge
2023-04-17 9:03 ` Andreas Enge
` (2 preceding siblings ...)
2023-04-17 18:03 ` Maxim Cournoyer
@ 2023-04-18 5:04 ` John Kehayias
2023-04-18 17:38 ` Andreas Enge
2023-04-19 10:48 ` Latest news on core-updates Andreas Enge
4 siblings, 1 reply; 37+ messages in thread
From: John Kehayias @ 2023-04-18 5:04 UTC (permalink / raw)
To: Andreas Enge; +Cc: guix-devel
Hi Andreas and Guixers,
Again, thanks Andreas for all your work on core-updates!
On Mon, Apr 17, 2023 at 11:03 AM, Andreas Enge wrote:
> Hello,
>
> just a quick update after a night of building on CI.
> Things look generally quite good on x86_64; some things are being rebuilt
> due to the recent wget update, and that should hopefully also sort out
> i686 rather quickly.
>
Packages I use all seem to be good too, except wine as there is a
samba failure for i686. Pending fix: <https://issues.guix.gnu.org/62894>
> Am Sun, Apr 16, 2023 at 01:09:02PM +0200 schrieb Andreas Enge:
>> - python: It is mostly green, but with lots of red, including at least
>> one package that prevents icecat from building. I would call for careful
>> updates and bug fixes to move on; leaf packages can be updated to the
>> latest version, but for important intermediate packages please be
>> careful.
>
> Python probably is the place where work is needed most, the strip in the
> dashboard looks like it has measles. Fixing one package there could bring
> us a long way (or not - we are in plain hand resolution of dependency
> problems there, one update could also hide another one). Sometimes it is
> just a matter of trying an update to see whether a package and its
> dependents build, so even someone who knows nothing about Python, but
> has a web browser pointed at <https://pypi.org/>, can do some useful work
> (I am speaking from experience).
>
I took a stab at a few random packages and ended up finding out that
python-urllib3 needed an update due to our updated
python-cryptography. Only saw this through test failures of leaf
packages rather than itself (noted in upstream update that failures
with newer cryptography tend to point people to the wrong packages).
While urllib3 has quite a few dependents (> 500 rebuilds on update)
and this may break more than it fixes, I pushed the latest version. A
few other updates/build fixes for the packages I was trying as well.
In the chain of oauth/google packages I was looking at, I was left at
python-google-auth-1 (older version) as failing tests even adding in
the missing python-mock. At quick glance I'm guessing due to the newer
python-cryptography. I haven't had a chance to see how we want to work
around that, or if the older versions of the few dependents should be
kept. It is only a few packages anyway, so maybe bigger fish to hunt
first.
I'll check in tomorrow on how the urllib update built on Cuirass and
see if I can pick off any other easy python-* fixes.
Oh, looks like no x86_64 builds currently on Cuirass...hopefully
temporary?
John
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Core-updates after the staging merge
2023-04-18 5:04 ` John Kehayias
@ 2023-04-18 17:38 ` Andreas Enge
0 siblings, 0 replies; 37+ messages in thread
From: Andreas Enge @ 2023-04-18 17:38 UTC (permalink / raw)
To: John Kehayias; +Cc: guix-devel
Am Tue, Apr 18, 2023 at 05:04:35AM +0000 schrieb John Kehayias:
> I took a stab at a few random packages and ended up finding out that
> python-urllib3 needed an update due to our updated
> python-cryptography. Only saw this through test failures of leaf
> packages rather than itself (noted in upstream update that failures
> with newer cryptography tend to point people to the wrong packages).
> While urllib3 has quite a few dependents (> 500 rebuilds on update)
> and this may break more than it fixes, I pushed the latest version. A
> few other updates/build fixes for the packages I was trying as well.
Thanks for working on these packages! I tend to always update to the newest
version, but with Python this seems to be much more tricky when depending
packages do not work with the latest and greatest. Good luck in finding
combinations that work well together!
Andreas
^ permalink raw reply [flat|nested] 37+ messages in thread
* Latest news on core-updates
2023-04-17 9:03 ` Andreas Enge
` (3 preceding siblings ...)
2023-04-18 5:04 ` John Kehayias
@ 2023-04-19 10:48 ` Andreas Enge
2023-04-19 10:58 ` Christopher Baines
` (2 more replies)
4 siblings, 3 replies; 37+ messages in thread
From: Andreas Enge @ 2023-04-19 10:48 UTC (permalink / raw)
To: guix-devel
Hello all,
just a quick update to share good news and to heap praise on people who are
not rewarded by seeing their name in a git commit.
Am Mon, Apr 17, 2023 at 11:03:25AM +0200 schrieb Andreas Enge:
> On aarch64 and powerpc, we are still stuck by CI problems.
Thanks to tireless work by Ricardo, Ludovic, Julien, Christopher and myself
enough machines for these architectures are running in the build farm to
hopefully clear the backlog. We went from 1 to 5 aarch machines (or from 4
to 14 build slots), and from 1 to 2 powerpc64le machines (or from 2 to 8
build slots).
The dash boards are filling up, and on x86_64 and i686 the situation looks
comparable to master. On powerpc64le, I have been restarting cancelled jobs
with a little script, and the red dots are also becoming less. On aarch64,
I am waiting for the backlog from master to clear up before trying something
similar. I think the situation on these architectures is better than it
looks on the dashboard.
I hope we will be able to merge core-updates after next weekend; also for
personal reasons, since I will not be able to spend much time on it any
more after that.
So please help us in a last sprint to get core-updates into shape!
Andreas
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Latest news on core-updates
2023-04-19 10:48 ` Latest news on core-updates Andreas Enge
@ 2023-04-19 10:58 ` Christopher Baines
2023-04-19 12:41 ` Andreas Enge
2023-04-20 13:56 ` Christopher Baines
2023-04-21 8:20 ` Simon Tournier
2023-04-21 16:12 ` Katherine Cox-Buday
2 siblings, 2 replies; 37+ messages in thread
From: Christopher Baines @ 2023-04-19 10:58 UTC (permalink / raw)
To: Andreas Enge; +Cc: guix-devel
[-- Attachment #1: Type: text/plain, Size: 873 bytes --]
Andreas Enge <andreas@enge.fr> writes:
> I hope we will be able to merge core-updates after next weekend; also for
> personal reasons, since I will not be able to spend much time on it any
> more after that.
After next weekend (around the end of April) sounds good to me.
The bordeaux build farm has pretty much caught up after the staging
merge which should mean there's some capacity to attempt to build
core-updates changes prior to the merge around next weekend.
I haven't restarted submitting builds for core-updates given I think
there's still some big changes going to land, but in any case, it would
be good to get this going once there are no planned big changes (aka the
branch is frozen). Getting the builds to happen currently requires a
code change in the qa-frontpage, but I can do this, I just need someone
to let me know when I should.
Thanks,
Chris
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Latest news on core-updates
2023-04-19 10:58 ` Christopher Baines
@ 2023-04-19 12:41 ` Andreas Enge
2023-04-21 7:58 ` Andreas Enge
2023-04-20 13:56 ` Christopher Baines
1 sibling, 1 reply; 37+ messages in thread
From: Andreas Enge @ 2023-04-19 12:41 UTC (permalink / raw)
To: Christopher Baines; +Cc: guix-devel
Am Wed, Apr 19, 2023 at 11:58:03AM +0100 schrieb Christopher Baines:
> I haven't restarted submitting builds for core-updates given I think
> there's still some big changes going to land, but in any case, it would
> be good to get this going once there are no planned big changes (aka the
> branch is frozen).
I am not sure what "frozen" means exactly; I would say we must not make
commits to core-updates unless they repair a broken package, or maybe help
repair broken packages further down towards the leaves. (And this has been
true for a while now.) And maybe we should go further and refrain from
repairing things in core-updates that are already broken on master, at
least if they are relatively close to the root of the dependency graph.
These can be done later in feature branches; I think we have the infra-
structure to shoulder bigger changes outside of core-updates.
On the other hand, this report is a bit worrying:
[core-updates] locales not installed properly
https://issues.guix.gnu.org/62934
It could potentially mean changes to glibc, which would throw us back
a week.
Andreas
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Latest news on core-updates
2023-04-19 12:41 ` Andreas Enge
@ 2023-04-21 7:58 ` Andreas Enge
2023-04-21 13:01 ` Maxim Cournoyer
0 siblings, 1 reply; 37+ messages in thread
From: Andreas Enge @ 2023-04-21 7:58 UTC (permalink / raw)
To: Maxim Cournoyer; +Cc: guix-devel
Hello Maxim,
Am Wed, Apr 19, 2023 at 02:41:31PM +0200 schrieb Andreas Enge:
> I am not sure what "frozen" means exactly; I would say we must not make
> commits to core-updates unless they repair a broken package, or maybe help
> repair broken packages further down towards the leaves.
your recent docbook commits probably do not fit this definition, much less
so than the suggested valgrind update that we nevertheless postponed until
after the merge. They cause an extraordinary number of rebuilds. I hope they
are mostly harmless and do not cause additional build failures, so keeping
them in is probably easier than reverting them.
But let us from now on stick with commits that make important packages work,
or packages very close to the leaves.
I suggest the following timetable:
- Hard freeze now, only important broken packages or packages close to the
leaves may be changed.
- Over the weekend, update your systems and profiles and test and repair
problems that appear.
- If no show-stopper occurs, merge core-updates into master on Tuesday.
Andreas
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Latest news on core-updates
2023-04-21 7:58 ` Andreas Enge
@ 2023-04-21 13:01 ` Maxim Cournoyer
0 siblings, 0 replies; 37+ messages in thread
From: Maxim Cournoyer @ 2023-04-21 13:01 UTC (permalink / raw)
To: Andreas Enge; +Cc: guix-devel
Hi Andreas,
Andreas Enge <andreas@enge.fr> writes:
> Hello Maxim,
>
> Am Wed, Apr 19, 2023 at 02:41:31PM +0200 schrieb Andreas Enge:
>> I am not sure what "frozen" means exactly; I would say we must not make
>> commits to core-updates unless they repair a broken package, or maybe help
>> repair broken packages further down towards the leaves.
>
> your recent docbook commits probably do not fit this definition, much less
> so than the suggested valgrind update that we nevertheless postponed until
> after the merge. They cause an extraordinary number of rebuilds. I hope they
> are mostly harmless and do not cause additional build failures, so keeping
> them in is probably easier than reverting them.
10,000 total rebuilds for Cuirass is about 2500 packages per platforms.
It's large, but not 'extraordinary' large :-). 8 hours later we're back
to our current 50% substitute coverage target.
> But let us from now on stick with commits that make important packages work,
> or packages very close to the leaves.
>
> I suggest the following timetable:
> - Hard freeze now, only important broken packages or packages close to the
> leaves may be changed.
> - Over the weekend, update your systems and profiles and test and repair
> problems that appear.
> - If no show-stopper occurs, merge core-updates into master on Tuesday.
OK, thanks for making this clear! I'll refrain from changes causing big
rebuilds from now on, unless they are truly unavoidable. Sounds like a
good plan.
Cheers,
--
Maxim
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Latest news on core-updates
2023-04-19 10:58 ` Christopher Baines
2023-04-19 12:41 ` Andreas Enge
@ 2023-04-20 13:56 ` Christopher Baines
2023-04-20 18:09 ` Andreas Enge
1 sibling, 1 reply; 37+ messages in thread
From: Christopher Baines @ 2023-04-20 13:56 UTC (permalink / raw)
To: guix-devel
[-- Attachment #1: Type: text/plain, Size: 1425 bytes --]
Christopher Baines <mail@cbaines.net> writes:
> Andreas Enge <andreas@enge.fr> writes:
>
>> I hope we will be able to merge core-updates after next weekend; also for
>> personal reasons, since I will not be able to spend much time on it any
>> more after that.
>
> After next weekend (around the end of April) sounds good to me.
>
> The bordeaux build farm has pretty much caught up after the staging
> merge which should mean there's some capacity to attempt to build
> core-updates changes prior to the merge around next weekend.
>
> I haven't restarted submitting builds for core-updates given I think
> there's still some big changes going to land, but in any case, it would
> be good to get this going once there are no planned big changes (aka the
> branch is frozen). Getting the builds to happen currently requires a
> code change in the qa-frontpage, but I can do this, I just need someone
> to let me know when I should.
Andreas suggested on IRC that I get things building, so I've configured
the qa-frontpage to start submitting builds for core-updates again.
You can track the progress here [1] of course, and if you want to get an
idea if any of the builds are currently happening, you can get some
information on what builds are assigned to what agents here [2]
(providing the experimental interface hasn't crashed).
1: https://qa.guix.gnu.org/branch/core-updates
2: https://bordeaux.guix.gnu.org/activity
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Latest news on core-updates
2023-04-20 13:56 ` Christopher Baines
@ 2023-04-20 18:09 ` Andreas Enge
0 siblings, 0 replies; 37+ messages in thread
From: Andreas Enge @ 2023-04-20 18:09 UTC (permalink / raw)
To: Christopher Baines; +Cc: guix-devel
Am Thu, Apr 20, 2023 at 02:56:48PM +0100 schrieb Christopher Baines:
> Andreas suggested on IRC that I get things building, so I've configured
> the qa-frontpage to start submitting builds for core-updates again.
> You can track the progress here [1] of course, and if you want to get an
> idea if any of the builds are currently happening, you can get some
> information on what builds are assigned to what agents here [2]
> (providing the experimental interface hasn't crashed).
Thanks! I see numbers going up on powerpc :-)
[2] times out, however.
Andreas
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Latest news on core-updates
2023-04-19 10:48 ` Latest news on core-updates Andreas Enge
2023-04-19 10:58 ` Christopher Baines
@ 2023-04-21 8:20 ` Simon Tournier
2023-04-21 8:47 ` Andreas Enge
2023-04-21 16:12 ` Katherine Cox-Buday
2 siblings, 1 reply; 37+ messages in thread
From: Simon Tournier @ 2023-04-21 8:20 UTC (permalink / raw)
To: Andreas Enge, guix-devel
Hi Andreas,
On Wed, 19 Apr 2023 at 12:48, Andreas Enge <andreas@enge.fr> wrote:
> I hope we will be able to merge core-updates after next weekend; also for
> personal reasons, since I will not be able to spend much time on it any
> more after that.
I do not know if something is twisted with the report [1] of Cuirass but
many things seems missing. Right?
Therefore, if many things are still missing, I suggest to apply #62967
[2]. It removes the annoyance you spotted out in #62954 [3]. And as I
explained in [4], it will be safe because ’valgrind’ appears only in the
testsuite of ’lz4’ and ’valgrind’ is not even run there.
Doing so, it will fix failures for powerpc64le and will increase the
coverage.
WDYT?
1: https://ci.guix.gnu.org/eval/417699/dashboard
2: https://issues.guix.gnu.org/62967
3 https://issues.guix.gnu.org/62954
4: https://issues.guix.gnu.org/62954#3
Moreover, I have revamped the GHC bootstrap chain.
1. it cuts the number of Haskell compilers to build,
2. it separates building the compiler itself and running the testsuite,
3. it introduces ghc-toolchain that glue one compiler and its testsuite.
Well, #2 removing failure for i686 [5] since the failure of the
testsuite of 8.10.7 is not blocking for 9.2.5.
However, the patches needs more polishing and then because of ’pandoc’
depending on the GHC bootstrap, it would a large rebuild.
Since Haskell is also broken on master for i686, I guess the option is
to apply on some “feature™ branch” after the merge, right?
5: https://ci.guix.gnu.org/build/953241/details
Cheers,
simon
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Latest news on core-updates
2023-04-21 8:20 ` Simon Tournier
@ 2023-04-21 8:47 ` Andreas Enge
2023-04-21 11:31 ` Simon Tournier
0 siblings, 1 reply; 37+ messages in thread
From: Andreas Enge @ 2023-04-21 8:47 UTC (permalink / raw)
To: Simon Tournier; +Cc: guix-devel
Am Fri, Apr 21, 2023 at 10:20:18AM +0200 schrieb Simon Tournier:
> Since Haskell is also broken on master for i686, I guess the option is
> to apply on some “feature™ branch” after the merge, right?
Yes indeed.
> Therefore, if many things are still missing, I suggest to apply #62967
> [2]. It removes the annoyance you spotted out in #62954 [3]. And as I
> explained in [4], it will be safe because ’valgrind’ appears only in the
> testsuite of ’lz4’ and ’valgrind’ is not even run there.
> Doing so, it will fix failures for powerpc64le and will increase the
> coverage.
CI just disappeared, so I cannot check. If r-minimal builds for powerpc64le
on master, then it is justifiable to fix the regression (leaving open the
possibility of an immediate revert if the patch introduces problems else-
where, which I do not expect). Otherwise I would postpone it until after
the merge.
Andreas
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Latest news on core-updates
2023-04-21 8:47 ` Andreas Enge
@ 2023-04-21 11:31 ` Simon Tournier
0 siblings, 0 replies; 37+ messages in thread
From: Simon Tournier @ 2023-04-21 11:31 UTC (permalink / raw)
To: Andreas Enge; +Cc: guix-devel
Hi,
On ven., 21 avril 2023 at 10:47, Andreas Enge <andreas@enge.fr> wrote:
>> Therefore, if many things are still missing, I suggest to apply #62967
>> [2]. It removes the annoyance you spotted out in #62954 [3]. And as I
>> explained in [4], it will be safe because ’valgrind’ appears only in the
>> testsuite of ’lz4’ and ’valgrind’ is not even run there.
>> Doing so, it will fix failures for powerpc64le and will increase the
>> coverage.
>
> CI just disappeared, so I cannot check. If r-minimal builds for powerpc64le
> on master, then it is justifiable to fix the regression (leaving open the
> possibility of an immediate revert if the patch introduces problems else-
> where, which I do not expect). Otherwise I would postpone it until after
> the merge.
Yes r-minimal builds for powerpc64le-linux on master:
https://ci.guix.gnu.org/build/1050833/details
--8<---------------cut here---------------start------------->8---
simon@pfiuh07$ guix weather -s powerpc64le-linux r-minimal
computing 1 package derivations for powerpc64le-linux...
looking for 1 store items on https://ci.guix.gnu.org...
https://ci.guix.gnu.org ☀
100.0% substitutes available (1 out of 1)
at least 49,1 MiB of nars (compressed)
52,7 MiB on disk (uncompressed)
2,529 seconds per request (2,5 seconds in total)
0,4 requests per second
at least 1 000 queued builds
aarch64-linux: 819 (81.9%)
x86_64-linux: 117 (11.7%)
powerpc64le-linux: 7 (.7%)
i686-linux: 57 (5.7%)
build rate: 189.97 builds per hour
i686-linux: 138.13 builds per hour
x86_64-linux: 27.34 builds per hour
powerpc64le-linux: 21.66 builds per hour
aarch64-linux: 5.56 builds per hour
looking for 1 store items on https://bordeaux.guix.gnu.org...
https://bordeaux.guix.gnu.org ☀
100.0% substitutes available (1 out of 1)
24,2 MiB of nars (compressed)
52,7 MiB on disk (uncompressed)
0,852 seconds per request (0,9 seconds in total)
1,2 requests per second
'https://bordeaux.guix.gnu.org/api/queue?nr=1000' returned 502 ("Bad Gateway")
--8<---------------cut here---------------end--------------->8---
Note that the patch removes the dependency between subversion and
valgrind. Therefore, as you noted, many TeXlive packages could also
build.
Well, I do not see any cons. :-) The only difference for ’lz4’ is the
path of the store item; here without and with the removal of valgrind:
--8<---------------cut here---------------start------------->8---
$ diff -r --no-dereference /gnu/store/3sabpv5k19lnifda5ihk7340xm3idxi2-lz4-1.9.3 /gnu/store/1j0jq03930q4c7570145vjiaa8pnajz4-lz4-1.9.3
diff -r --no-dereference /gnu/store/3sabpv5k19lnifda5ihk7340xm3idxi2-lz4-1.9.3/lib/pkgconfig/liblz4.pc /gnu/store/1j0jq03930q4c7570145vjiaa8pnajz4-lz4-1.9.3/lib/pkgconfig/liblz4.pc
5,7c5,7
< prefix=/gnu/store/3sabpv5k19lnifda5ihk7340xm3idxi2-lz4-1.9.3
< libdir=/gnu/store/3sabpv5k19lnifda5ihk7340xm3idxi2-lz4-1.9.3/lib
< includedir=/gnu/store/3sabpv5k19lnifda5ihk7340xm3idxi2-lz4-1.9.3/include
---
> prefix=/gnu/store/1j0jq03930q4c7570145vjiaa8pnajz4-lz4-1.9.3
> libdir=/gnu/store/1j0jq03930q4c7570145vjiaa8pnajz4-lz4-1.9.3/lib
> includedir=/gnu/store/1j0jq03930q4c7570145vjiaa8pnajz4-lz4-1.9.3/include
13,14c13,14
< Libs: -L/gnu/store/3sabpv5k19lnifda5ihk7340xm3idxi2-lz4-1.9.3/lib -llz4
< Cflags: -I/gnu/store/3sabpv5k19lnifda5ihk7340xm3idxi2-lz4-1.9.3/include
---
> Libs: -L/gnu/store/1j0jq03930q4c7570145vjiaa8pnajz4-lz4-1.9.3/lib -llz4
> Cflags: -I/gnu/store/1j0jq03930q4c7570145vjiaa8pnajz4-lz4-1.9.3/include
--8<---------------cut here---------------end--------------->8---
Cheers,
simon
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Latest news on core-updates
@ 2023-04-21 16:12 ` Katherine Cox-Buday
0 siblings, 0 replies; 37+ messages in thread
From: Katherine Cox-Buday @ 2023-04-21 16:12 UTC (permalink / raw)
To: Andreas Enge, guix-devel
On 4/19/23 4:48 AM, Andreas Enge wrote:
> just a quick update to share good news and to heap praise on people who are
> not rewarded by seeing their name in a git commit.
Consider my praise added to the heap (and hopefully not GCed). As
always, I am deeply appreciative to all of our maintainers.
Thank you, thank you, thank you!
--
Katherine
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Latest news on core-updates
@ 2023-04-21 16:12 ` Katherine Cox-Buday
0 siblings, 0 replies; 37+ messages in thread
From: Katherine Cox-Buday @ 2023-04-21 16:12 UTC (permalink / raw)
To: guix-devel
On 4/19/23 4:48 AM, Andreas Enge wrote:
> just a quick update to share good news and to heap praise on people who are
> not rewarded by seeing their name in a git commit.
Consider my praise added to the heap (and hopefully not GCed). As
always, I am deeply appreciative to all of our maintainers.
Thank you, thank you, thank you!
--
Katherine
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Latest news on core-updates
2023-04-21 16:12 ` Katherine Cox-Buday
(?)
@ 2023-04-21 17:04 ` reza.housseini
2023-04-23 7:17 ` Andreas Enge
-1 siblings, 1 reply; 37+ messages in thread
From: reza.housseini @ 2023-04-21 17:04 UTC (permalink / raw)
To: guix-devel, Katherine Cox-Buday, Andreas Enge
[-- Attachment #1: Type: text/plain, Size: 690 bytes --]
Consider my praise added as well! Was there already a discussion about adding liberapay, to at least have some monetary compensation for the hard and necessary work done by all these volunteers?
On April 21, 2023 6:12:55 PM GMT+02:00, Katherine Cox-Buday <cox.katherine.e@gmail.com> wrote:
>On 4/19/23 4:48 AM, Andreas Enge wrote:
>
>> just a quick update to share good news and to heap praise on people who are
>> not rewarded by seeing their name in a git commit.
>
>Consider my praise added to the heap (and hopefully not GCed). As always, I am deeply appreciative to all of our maintainers.
>
>Thank you, thank you, thank you!
>
>--
>Katherine
>
-- Sent from /e/ Mail.
[-- Attachment #2: Type: text/html, Size: 1086 bytes --]
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Latest news on core-updates
2023-04-21 17:04 ` reza.housseini
@ 2023-04-23 7:17 ` Andreas Enge
0 siblings, 0 replies; 37+ messages in thread
From: Andreas Enge @ 2023-04-23 7:17 UTC (permalink / raw)
To: reza.housseini@gmail.com; +Cc: guix-devel
Am Fri, Apr 21, 2023 at 07:04:19PM +0200 schrieb reza.housseini@gmail.com:
> Consider my praise added as well! Was there already a discussion about adding
> liberapay, to at least have some monetary compensation for the hard and
> necessary work done by all these volunteers?
Thanks for the thanks! Well, the volunteers are volunteers; if you want
to donate to Guix (so far, mainly for covering infrastructure costs and
Outreachy internships), you can do so at Guix Europe or the FSF.
Andreas
^ permalink raw reply [flat|nested] 37+ messages in thread