ci.guix.gnu.org 'Cannot allocate memory' while building for i686-linux

  • Done
  • quality assurance status badge
Details
10 participants
  • Denis 'GNUtoo' Carikli
  • Efraim Flashner
  • janneke
  • Kaelyn
  • Leo Famulari
  • Ludovic Courtès
  • Maxim Cournoyer
  • André Batista
  • Ricardo Wurmus
  • Richard Sent
Owner
unassigned
Submitted by
Leo Famulari
Severity
normal
L
L
Leo Famulari wrote on 29 Nov 2023 21:55
(address . bug-guix@gnu.org)
ZWelMw84qtyRxxS6@jasmine.lan
I see that ci.guix.gnu.org's builders seem to run out of memory while
building kernel headers for i686-linux:

------
xz: (stdin): Cannot allocate memory
/gnu/store/ns71xxkb3fzr37934bim9l8xiv68kc7w-tar-1.34/bin/tar: /gnu/store/536ifp75wv8i1kb1k0szv7zd57ygpg0n-linux-libre-6.5.13-guix.tar.xz: Wrote only 2048 of 10240 bytes
/gnu/store/ns71xxkb3fzr37934bim9l8xiv68kc7w-tar-1.34/bin/tar: Child returned status 1
/gnu/store/ns71xxkb3fzr37934bim9l8xiv68kc7w-tar-1.34/bin/tar: Error is not recoverable: exiting now
------

E
E
Efraim Flashner wrote on 6 Dec 2023 13:25
(name . Leo Famulari)(address . leo@famulari.name)(address . 67535@debbugs.gnu.org)
ZXBoKfOxrITAuOoF@3900XT
On Wed, Nov 29, 2023 at 03:55:15PM -0500, Leo Famulari wrote:
Toggle quote (12 lines)
> I see that ci.guix.gnu.org's builders seem to run out of memory while
> building kernel headers for i686-linux:
>
> ------
> xz: (stdin): Cannot allocate memory
> /gnu/store/ns71xxkb3fzr37934bim9l8xiv68kc7w-tar-1.34/bin/tar: /gnu/store/536ifp75wv8i1kb1k0szv7zd57ygpg0n-linux-libre-6.5.13-guix.tar.xz: Wrote only 2048 of 10240 bytes
> /gnu/store/ns71xxkb3fzr37934bim9l8xiv68kc7w-tar-1.34/bin/tar: Child returned status 1
> /gnu/store/ns71xxkb3fzr37934bim9l8xiv68kc7w-tar-1.34/bin/tar: Error is not recoverable: exiting now
> ------
>
> https://ci.guix.gnu.org/build/2736161/details

This looks like more of the too-many-cores while decompressing tarballs
issues we've had in the past on i686-linux. Can we change that phase to
use a maximum of 4 cores or would that cause everything to rebuild?

--
Efraim Flashner <efraim@flashner.co.il> ????? ?????
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmVwaCkACgkQQarn3Mo9
g1Hs3BAAtAJDmoD0/eB78MAzyRvr//MPu362BbB1jLZIXMRxnsSC2phX5+/ylUdv
7LCPM8MqukBgCV3AIcuJSaldzVzJ/WgSlKLumcjY26qd9WyO8uco6NUpR5oyvakM
1HdB2e2kaEZORFmCHT/XVTyMZITkTtqpWZ7z/A5m308GaXjl753ALw4gDv++2hYg
Lf8EH4wdetMNTaAoJpusdoIOO2gBLsPziw56VEBr/lsc5kD0xzkQnf5K66LcK+Kx
Rc3ntDl3bwn8B5Jfai1jahy9YG2+LMNY7luv0FZIlz9izwY2nl8bSx8qKxmMgtmm
AfZh1btNpfnptXaUjyAtdHpI+eI2bpmRAEiJHolr6O6bS832GXnn4tbmqPkW0Vsw
mUKS5d1tVXrqBouKWVmyw5yMV31AbkBqLvovnNUHBDzWGLY1ZG+Y3rU6myEnjUnk
vbgrKbbn9Tf/qdHoTZ1CLYjT66fxAa0y+sQbTQyjB0q8c1UDb7HgacsU6Axrc3PP
9yc5DpKtH0VqHbukbZW/bTOGpCS5P56hXJ9QcpWtnptw3NBIogNHGzBQfOyaSSV7
qrJVg8nKbXqv03p3d3l4pJ8SfJ18Znod3XKWy8CD5OXcVXyynGJ93HXWiM+GZvlG
KjxnH3CLRne7RjxsFtq/CMPurRnxMi95xlrCFoTUgePhwTmY+Ks=
=qSRI
-----END PGP SIGNATURE-----


L
L
Leo Famulari wrote on 26 Jul 20:51 +0200
Does anyone use i686-linux? [was Re: bug#67535: ci.guix.gnu.org 'Cannot allocate memory' while building for i686-linux]
(address . 67535@debbugs.gnu.org)(address . guix-devel@gnu.org)
ZqPwRe6ylRgGAeW1@jasmine.lan
For a long time we've not been able to build linux-libre on i686-linux
because the source unpacking process runs out of memory.

I'm forwarding this bug to guix-devel to get more attention.

Is anybody actually using i686-linux anymore? Or should we begin to
officially remove support for it?
K
K
Kaelyn wrote on 26 Jul 22:17 +0200
(name . Leo Famulari)(address . leo@famulari.name)
jomhG_vudfQ-fyVVYlPIXpbcCylT1znYR-ywuW9PSUG_xv_YHNITY1CWMQMVfYUmoji56WZEZEs3cOCifIWUyr5gWIsYCCPSfzek2ap75wI=@protonmail.com
Hi,

On Friday, July 26th, 2024 at 11:51 AM, Leo Famulari <leo@famulari.name> wrote:

Toggle quote (10 lines)
>
>
> For a long time we've not been able to build linux-libre on i686-linux
> because the source unpacking process runs out of memory.
>
> I'm forwarding this bug to guix-devel to get more attention.
>
> Is anybody actually using i686-linux anymore? Or should we begin to
> officially remove support for it?

I'm not sure about i686-linux's usage for a complete system (and I know several other distributions either already have or have plans to drop support for booting 32-bit x86 systems), but at least the "multi-lib" portion of i686-linux packages are needed for the wine and wine64 packages (and their "-staging" variants) on x86_64-linux systems.

Cheers,
Kaelyn
E
E
Efraim Flashner wrote on 28 Jul 23:49 +0200
(name . Leo Famulari)(address . leo@famulari.name)
Zqa8-YD03VpoZNno@pbp
On Fri, Jul 26, 2024 at 02:51:49PM -0400, Leo Famulari wrote:
Toggle quote (3 lines)
> For a long time we've not been able to build linux-libre on i686-linux
> because the source unpacking process runs out of memory.

I believe if we limit the unpacking process to not more than 8 cores we
can avoid that problem.

Toggle quote (5 lines)
> I'm forwarding this bug to guix-devel to get more attention.
>
> Is anybody actually using i686-linux anymore? Or should we begin to
> officially remove support for it?

Keeping this to i686-linux specifically, what generation of hardware
supports i686 but not x86_64? Some (very) quick checking on wikipedia
suggests that the x60 from 2006 was either 32-bit or 64-bit, and I
believe there was an atom chip from 2015 that was 32-bit. Specifically,
that makes the newest hardware (at least from the CPU perspective) 10
years old at least.

Perhaps a different question, what software _available in Guix_ is
supported by i686 that isn't supported by x86_64?

In terms of side-stepping the question, do we have enough x86_64
hardware to continue to support i686 without degrading support for
x86_64? (I ask this seriously, although I'm pretty certain the answer is
we're well covered on that front.)

--
Efraim Flashner <efraim@flashner.co.il> ????? ?????
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmamvO4ACgkQQarn3Mo9
g1G6HxAAwr7Kv6z13z5VYoFeZSAKl0pUYlu1EOvUJHUJ6zFPUufUMxIOlXzCc0ix
qdRHeJcMlx5p/wgcyqpFCikaPJpHl6ZkE+iiPw/VGEx5+DBwQHdQoG2WIWpqL0VG
JmmdIEJeFH6v3NGnQ7jG3V4G7wXW0mFSR0z5fsjQ5VqTWaNWHmWl6bzksXneJA6J
0wk0uaTbYNtNxVXTBPtGWmS5dxGgULgAEXCXo567KVftY0roUtyOO5mwIkmHnp16
+tXCtjOwwSO+L4k1SRib1ie7joHYcnltusk/fi+jdr5/GzJUfgUmekcj9Hxm2VxK
2Cqy+fZx+yGlAEKFhzQNwWNc7D0hFZxj9cAMHQAro3PXieBP9jOhihEE+sSYUxa9
Aj/pOklhZlPHxYSuzrm+5tCx9dBWoK2i0tOzG0VY178xOWNmguJfpyWudzdoIGVj
j6xWpBHrL0OJ5OiW1/vQB0Um58ROmZPOb+VWMzeZ614omZwTXSfOOrG5aCRxg+I6
wcjOJGOFJdOaTU7/pNVJJDSdwXgPxHucygVbSLvMTHxTVnXHXmg/NtrIyhgRC8h+
WEkxce7AVw9MxRT3PfgaiDGlhRHkYO9mRmcI76uL/hiOGwGbQir404YhcHBx421K
HYPUYZGYVXjuVyBCtR2WQJ34oPjXCPCTov0hSezbIP9zrVAwOUY=
=8+ZS
-----END PGP SIGNATURE-----


R
R
Ricardo Wurmus wrote on 29 Jul 14:33 +0200
(name . Leo Famulari)(address . leo@famulari.name)
87sevsxtqg.fsf@elephly.net
Efraim Flashner <efraim@flashner.co.il> writes:

Toggle quote (19 lines)
> On Fri, Jul 26, 2024 at 02:51:49PM -0400, Leo Famulari wrote:
>> For a long time we've not been able to build linux-libre on i686-linux
>> because the source unpacking process runs out of memory.
>
> I believe if we limit the unpacking process to not more than 8 cores we
> can avoid that problem.
>
>> I'm forwarding this bug to guix-devel to get more attention.
>>
>> Is anybody actually using i686-linux anymore? Or should we begin to
>> officially remove support for it?
>
> Keeping this to i686-linux specifically, what generation of hardware
> supports i686 but not x86_64? Some (very) quick checking on wikipedia
> suggests that the x60 from 2006 was either 32-bit or 64-bit, and I
> believe there was an atom chip from 2015 that was 32-bit. Specifically,
> that makes the newest hardware (at least from the CPU perspective) 10
> years old at least.

FWIW, I'm using one of those Atom chips in a netbook for an installation
of Sugar Desktop. I upgrade it every few months or so. If I'm the only
user of i686-linux I would not want to condemn the project to supporting
the architecture for my sake.

We have quite a few package failures on i686-linux, often because of
failing precision tests. It may not be worth attempting to fix these
problems, e.g. for R, because it is very unlikely that people use R on
i686 machines.

Toggle quote (5 lines)
> In terms of side-stepping the question, do we have enough x86_64
> hardware to continue to support i686 without degrading support for
> x86_64? (I ask this seriously, although I'm pretty certain the answer is
> we're well covered on that front.)

Support does not just mean dedicating build cycles to doomed builds, but
also dedicating people's time to wade through hundreds of failures for
little gain. Perhaps our time is better spent supporting architectures
that still have a future.

--
Ricardo
R
R
Richard Sent wrote on 29 Jul 17:00 +0200
Re: Does anyone use i686-linux ? [was Re: bug#67535: ci.guix.g nu.org 'Cannot allocate memory' while building for i686-linux]
A882707A-3035-4986-B630-23CDFD20B6C7@freakingpenguin.com
Toggle quote (11 lines)
>> In terms of side-stepping the question, do we have enough x86_64
>> hardware to continue to support i686 without degrading support for
>> x86_64? (I ask this seriously, although I'm pretty certain the answer is
>> we're well covered on that front.)
>
>Support does not just mean dedicating build cycles to doomed builds, but
>also dedicating people's time to wade through hundreds of failures for
>little gain. Perhaps our time is better spent supporting architectures
>that still have a future.
>

For consideration, I know at least one 3rd-party channel relies on being able to create a multiarch container containing i686 packages. I'll refrain from linking since it packages nonfree software. This is an example where keeping an old architecture around is more complicated than simply counting the number of active machines using said architecture.

Perhaps we could tally the number of substitutes served for supported architectures and use that as our metric for liveliness.
L
L
Leo Famulari wrote on 30 Jul 02:01 +0200
Re: Does anyone use i686-linux? [was Re: bug#67535: ci.guix.gnu.org 'Cannot allocate memory' while building for i686-linux]
(name . Richard Sent)(address . richard@freakingpenguin.com)
ZqgtSPDRFmqEaptq@jasmine.lan
On Mon, Jul 29, 2024 at 11:00:36AM -0400, Richard Sent wrote:
Toggle quote (2 lines)
> For consideration, I know at least one 3rd-party channel relies on being able to create a multiarch container containing i686 packages. I'll refrain from linking since it packages nonfree software. This is an example where keeping an old architecture around is more complicated than simply counting the number of active machines using said architecture.

People have presented some good reasons for keeping at least some level
of i686 support.

But unfortunately, 3rd party channels cannot be one of them, whether or
not they follow the FSDG.

Of course, we won't deliberately make their work more difficult, and
maybe we consider their needs if it's easy, but I think they shouldn't
be considered to present compelling arguments for us to make decisions
within GNU Guix, especially if it involves us doing extra work.

Toggle quote (2 lines)
> Perhaps we could tally the number of substitutes served for supported architectures and use that as our metric for liveliness.

I'd love this! Not just for deciding when to remove support, but to
measure if adding support gains more users.
R
R
Richard Sent wrote on 30 Jul 03:21 +0200
(name . Leo Famulari)(address . leo@famulari.name)
87v80n8yiy.fsf@freakingpenguin.com
Leo Famulari <leo@famulari.name> writes:

Toggle quote (11 lines)
> People have presented some good reasons for keeping at least some level
> of i686 support.
>
> But unfortunately, 3rd party channels cannot be one of them, whether or
> not they follow the FSDG.
>
> Of course, we won't deliberately make their work more difficult, and
> maybe we consider their needs if it's easy, but I think they shouldn't
> be considered to present compelling arguments for us to make decisions
> within GNU Guix, especially if it involves us doing extra work.

That's true enough! I don't mean to say that 3rd party channels using
i686 is sufficient reason alone to support it. I just consider it worth
keeping in mind.

In my opinion, when we ask questions like "Does anyone use X", it
doesn't really matter if that answer is "Yes, in my custom config" vs.
"Yes, in this 3rd party channel my custom config uses". The primary
distinction between the two is if the code is shared publicly. I don't
see that line in the sand being helpful when asking about usage.

To phrase this another way, if I instead said "I use multiarch
environments containing i686-linux Guix packages to run software that
can't be ported to x64" without mentioning 3rd-party channels at all,
would that suddenly become valid usage? Why?

i686 multiarch environments are useful in certain cases. Regardless of
whether those environments are provided in Guix proper, in a custom
config, or a 3rd party channel, user-facing functionality will be lost
if we remove them.

Breaking changes are okay, and if we consider this too niche of a use
case or too high of a maintenance burden it should be dropped. I do
believe it should progress into the consideration stage instead of being
discarded outright.

Thanks! :)

--
Take it easy,
Richard Sent
Making my computer weirder one commit at a time.
L
L
Leo Famulari wrote on 30 Jul 16:39 +0200
(name . Richard Sent)(address . richard@freakingpenguin.com)
Zqj7KEUwUBxBrw6R@jasmine.lan
I basically agree with you :)

On Mon, Jul 29, 2024 at 09:21:57PM -0400, Richard Sent wrote:
Toggle quote (5 lines)
> Breaking changes are okay, and if we consider this too niche of a use
> case or too high of a maintenance burden it should be dropped. I do
> believe it should progress into the consideration stage instead of being
> discarded outright.

It's not really a maintenance burden, at least for me as a person that
helps with the kernel packages. They get updated automatically as part
of our work updating the kernels for more popular systems.

But after years of watching the i686 kernel packages fail to build, I'm
wondering if the project should be attempting these builds.
E
E
Efraim Flashner wrote on 30 Jul 17:18 +0200
(name . Richard Sent)(address . richard@freakingpenguin.com)
ZqkEWh4NpeeVeKYD@pbp
On Mon, Jul 29, 2024 at 09:21:57PM -0400, Richard Sent wrote:
Toggle quote (40 lines)
> Leo Famulari <leo@famulari.name> writes:
>
> > People have presented some good reasons for keeping at least some level
> > of i686 support.
> >
> > But unfortunately, 3rd party channels cannot be one of them, whether or
> > not they follow the FSDG.
> >
> > Of course, we won't deliberately make their work more difficult, and
> > maybe we consider their needs if it's easy, but I think they shouldn't
> > be considered to present compelling arguments for us to make decisions
> > within GNU Guix, especially if it involves us doing extra work.
>
> That's true enough! I don't mean to say that 3rd party channels using
> i686 is sufficient reason alone to support it. I just consider it worth
> keeping in mind.
>
> In my opinion, when we ask questions like "Does anyone use X", it
> doesn't really matter if that answer is "Yes, in my custom config" vs.
> "Yes, in this 3rd party channel my custom config uses". The primary
> distinction between the two is if the code is shared publicly. I don't
> see that line in the sand being helpful when asking about usage.
>
> To phrase this another way, if I instead said "I use multiarch
> environments containing i686-linux Guix packages to run software that
> can't be ported to x64" without mentioning 3rd-party channels at all,
> would that suddenly become valid usage? Why?
>
> i686 multiarch environments are useful in certain cases. Regardless of
> whether those environments are provided in Guix proper, in a custom
> config, or a 3rd party channel, user-facing functionality will be lost
> if we remove them.
>
> Breaking changes are okay, and if we consider this too niche of a use
> case or too high of a maintenance burden it should be dropped. I do
> believe it should progress into the consideration stage instead of being
> discarded outright.
>
> Thanks! :)

I would argue that some of the bootstrapping effort which is i686
specifically and can't be easily ported to x86_64 (such as compilers)
are a perfectly fine reason to need something to be built natively vs
cross-compiled. Another email mentioned wine, which, while I don't
believe it is currently possible to cross-compile in guix, may or may
not work correctly when used cross-compiled as an input for wine64.

Without directly answering the question of "is the phrasing wrong" vs
"is the burden too high", IMO there's not really a difference between a
package in a separate channel vs a custom package in someone's config,
other than how easy it is to share. If we said, despite the move to Qt6
and upstream chromium dropping support for 32-bit architectures and thus
affecting i686 support in qtwebengine, that it was imperative that i686
keep a working qtwebengine and that we couldn't upgrade it unless we
knew it worked on i686 that might be a problem due to "The Dangers of
the Internets", but ongoing work to update patches to keep it working
would be good. Or I suppose another example is if we froze Gnome at a
version that supported the old librsvg because the new one depends on
rust, instead we've worked around it so that those that can't use the
new one use the old one, and those packages which can't use the old one
specifically use the new one, with the side effect that gnome isn't
supported on all architectures.

I would not be against selecting some scientific packages and marking
them as 64bit only with a note that although they might build on 32bit
architectures, they would never be used there and there is no reason to
try to even build them.

--
Efraim Flashner <efraim@flashner.co.il> ????? ?????
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmapBE0ACgkQQarn3Mo9
g1F/uA/9HPYjvpj+lSoWxKe91Uwc15OW0nmB/nDgkCbyaz7nhwqFUQSngP2aTqA4
CNI/EEnMtjLR7KoEGEFRbRa8bRF/rxa4rW68HTZApxJ4DL7SFvL+YBQJweKNBz0h
HU8NnmLEGqG2jNSpoxNOUpBXRL/bcFhgRe/kJsFmChfLaj7Blf8twwNo2IA1QlZN
kIswFOkrf7UBHYI23BZo6I89eo8Rd4A2DeVM7TCME50KV0XTks6dz7wygJ6sJT86
F+bzpAIZ+Wu0t7LLl5j2zqMxUzqsFSR6hqr6ybjW0LjLl0mDWMjtMjvquMqZQDrv
1I7JfBMO6JPsW91J3MktW8kur/+dW7CW+xBhe+PU0kqSMW5YfyfbcvfEOCynT05x
ad1UbSBTYJu7EgTb2izGTMgAqA0YXpezMtgjOIXmyHJ87T91sVQvIusX7md2Hcht
Zo4ARgyIrNMQsNg3Saxk9d3Wq41FwxQlNb1NjKR+x+kbccg50gCsWgqBe0BVXirv
ALhmbxSkzO5gHkRRmv2KA5Ztt8z/te6kn0PUIlAWTRX+XP11imWBv/E5sD9hGvjZ
yafQKPEr3r+c1WoWdpaAxoPpE1Th6szZ5U11DN1MxkNn+e4OZNd9lY2O5ZZVXsvd
RK1Micqd3mBEfyu2bSix3Yw/MCwUQqhG+v27ahDGIwGqDxyYvKs=
=CfPU
-----END PGP SIGNATURE-----


A
A
André Batista wrote on 30 Jul 23:02 +0200
(name . Ricardo Wurmus)(address . rekado@elephly.net)
ZqlUog2ArfDgEW7N@andel
Hi!

seg 29 jul 2024 �s 14:33:59 (1722274439), rekado@elephly.net enviou:
Toggle quote (26 lines)
> Efraim Flashner <efraim@flashner.co.il> writes:
>
> > On Fri, Jul 26, 2024 at 02:51:49PM -0400, Leo Famulari wrote:
> >> For a long time we've not been able to build linux-libre on i686-linux
> >> because the source unpacking process runs out of memory.
> >
> > I believe if we limit the unpacking process to not more than 8 cores we
> > can avoid that problem.
> >
> >> I'm forwarding this bug to guix-devel to get more attention.
> >>
> >> Is anybody actually using i686-linux anymore? Or should we begin to
> >> officially remove support for it?
> >
> > Keeping this to i686-linux specifically, what generation of hardware
> > supports i686 but not x86_64? Some (very) quick checking on wikipedia
> > suggests that the x60 from 2006 was either 32-bit or 64-bit, and I
> > believe there was an atom chip from 2015 that was 32-bit. Specifically,
> > that makes the newest hardware (at least from the CPU perspective) 10
> > years old at least.
>
> FWIW, I'm using one of those Atom chips in a netbook for an installation
> of Sugar Desktop. I upgrade it every few months or so. If I'm the only
> user of i686-linux I would not want to condemn the project to supporting
> the architecture for my sake.

For the record, I'm another one still using those atom netbooks. Most
software that I use on that machine still builds and runs fine, with the
occasional hiccup.

But even though I use the arch, I also don't feel particularly inclined
to fix the occasional errors and can understand if people here decide to
drop support to it.
L
L
Leo Famulari wrote on 1 Aug 22:12 +0200
(name . André Batista)(address . nandre@riseup.net)
ZqvsIi7j1EHKkry_@jasmine.lan
On Tue, Jul 30, 2024 at 06:02:23PM -0300, Andr� Batista wrote:
Toggle quote (14 lines)
> seg 29 jul 2024 �s 14:33:59 (1722274439), rekado@elephly.net enviou:
> > FWIW, I'm using one of those Atom chips in a netbook for an installation
> > of Sugar Desktop. I upgrade it every few months or so. If I'm the only
> > user of i686-linux I would not want to condemn the project to supporting
> > the architecture for my sake.
>
> For the record, I'm another one still using those atom netbooks. Most
> software that I use on that machine still builds and runs fine, with the
> occasional hiccup.
>
> But even though I use the arch, I also don't feel particularly inclined
> to fix the occasional errors and can understand if people here decide to
> drop support to it.

Thanks for chiming in Ricardo and Andr�. Do you build your own kernels
for these machines? Or wait for the occasional successful build from CI?
Download substitutes from a different build farm?
R
R
Ricardo Wurmus wrote on 2 Aug 10:36 +0200
(name . Leo Famulari)(address . leo@famulari.name)
87mslv1fth.fsf@elephly.net
Leo Famulari <leo@famulari.name> writes:

Toggle quote (19 lines)
> On Tue, Jul 30, 2024 at 06:02:23PM -0300, André Batista wrote:
>> seg 29 jul 2024 às 14:33:59 (1722274439), rekado@elephly.net enviou:
>> > FWIW, I'm using one of those Atom chips in a netbook for an installation
>> > of Sugar Desktop. I upgrade it every few months or so. If I'm the only
>> > user of i686-linux I would not want to condemn the project to supporting
>> > the architecture for my sake.
>>
>> For the record, I'm another one still using those atom netbooks. Most
>> software that I use on that machine still builds and runs fine, with the
>> occasional hiccup.
>>
>> But even though I use the arch, I also don't feel particularly inclined
>> to fix the occasional errors and can understand if people here decide to
>> drop support to it.
>
> Thanks for chiming in Ricardo and André. Do you build your own kernels
> for these machines? Or wait for the occasional successful build from CI?
> Download substitutes from a different build farm?

I used to get the kernel from ci.guix.gnu.org. I haven't updated that
system in at least 6 months, though. (It's not networked and used for
the occasional game.)

I use "guix deploy" for all weak machines at home and build whatever
might be missing on the targets on my x86_64 laptop. For aarch64 this
means a regular build of a custom kernel. For i686 I use the stock
kernel.

--
Ricardo
A
A
André Batista wrote on 2 Aug 21:34 +0200
(name . Leo Famulari)(address . leo@famulari.name)
Zq00x3euWwBFwTw9@andel
Hi

qui 01 ago 2024 �s 16:12:18 (1722539538), leo@famulari.name enviou:
Toggle quote (19 lines)
> On Tue, Jul 30, 2024 at 06:02:23PM -0300, Andr� Batista wrote:
> > seg 29 jul 2024 �s 14:33:59 (1722274439), rekado@elephly.net enviou:
> > > FWIW, I'm using one of those Atom chips in a netbook for an installation
> > > of Sugar Desktop. I upgrade it every few months or so. If I'm the only
> > > user of i686-linux I would not want to condemn the project to supporting
> > > the architecture for my sake.
> >
> > For the record, I'm another one still using those atom netbooks. Most
> > software that I use on that machine still builds and runs fine, with the
> > occasional hiccup.
> >
> > But even though I use the arch, I also don't feel particularly inclined
> > to fix the occasional errors and can understand if people here decide to
> > drop support to it.
>
> Thanks for chiming in Ricardo and Andr�. Do you build your own kernels
> for these machines? Or wait for the occasional successful build from CI?
> Download substitutes from a different build farm?

I build my own kernels tailored for that machine so I did not notice that
substitutes were not available. I usually keep pace with whatever is the
latest stable kernel until it goes eol or, if it is a lts, until the
latest stable reaches x.x.3 or x.x.4 minor version. Currently it is on
v. 6.9.12.

I've not had any issues building kernels to it in a long time, but I do
use two local offload builders that are x84_64. None of them have more
than 8 cores though.
L
L
Ludovic Courtès wrote on 12 Aug 16:03 +0200
(name . Leo Famulari)(address . leo@famulari.name)
87h6bpdeia.fsf@gnu.org
Efraim Flashner <efraim@flashner.co.il> skribis:

Toggle quote (7 lines)
> On Fri, Jul 26, 2024 at 02:51:49PM -0400, Leo Famulari wrote:
>> For a long time we've not been able to build linux-libre on i686-linux
>> because the source unpacking process runs out of memory.
>
> I believe if we limit the unpacking process to not more than 8 cores we
> can avoid that problem.

Also, this is very much a defect of xz; on ‘core-updates’,
‘patch-and-repack’ uses zstd, which is much less memory-hungry and more
predictable.

Ludo’.
R
R
Ricardo Wurmus wrote on 5 Sep 11:42 +0200
(name . André Batista)(address . nandre@riseup.net)
87le06mo6m.fsf@elephly.net
André Batista <nandre@riseup.net> writes:

Toggle quote (14 lines)
>> > Keeping this to i686-linux specifically, what generation of hardware
>> > supports i686 but not x86_64? Some (very) quick checking on wikipedia
>> > suggests that the x60 from 2006 was either 32-bit or 64-bit, and I
>> > believe there was an atom chip from 2015 that was 32-bit. Specifically,
>> > that makes the newest hardware (at least from the CPU perspective) 10
>> > years old at least.
>>
>> FWIW, I'm using one of those Atom chips in a netbook for an installation
>> of Sugar Desktop. I upgrade it every few months or so. If I'm the only
>> user of i686-linux I would not want to condemn the project to supporting
>> the architecture for my sake.
>
> For the record, I'm another one still using those atom netbooks.

I just noticed that my Atom-powered netbook should also be able to run
an x86_64 system. I'll try to upgrade today; if this is successful I
won't have any i686 system left at home.

--
Ricardo
A
A
André Batista wrote on 6 Sep 01:52 +0200
(name . Ricardo Wurmus)(address . rekado@elephly.net)
ZtpEQqz7TiZrcXZh@andel
qui 05 set 2024 �s 11:42:41 (1725547361), rekado@elephly.net enviou:
Toggle quote (20 lines)
> Andr� Batista <nandre@riseup.net> writes:
>
> >> > Keeping this to i686-linux specifically, what generation of hardware
> >> > supports i686 but not x86_64? Some (very) quick checking on wikipedia
> >> > suggests that the x60 from 2006 was either 32-bit or 64-bit, and I
> >> > believe there was an atom chip from 2015 that was 32-bit. Specifically,
> >> > that makes the newest hardware (at least from the CPU perspective) 10
> >> > years old at least.
> >>
> >> FWIW, I'm using one of those Atom chips in a netbook for an installation
> >> of Sugar Desktop. I upgrade it every few months or so. If I'm the only
> >> user of i686-linux I would not want to condemn the project to supporting
> >> the architecture for my sake.
> >
> > For the record, I'm another one still using those atom netbooks.
>
> I just noticed that my Atom-powered netbook should also be able to run
> an x86_64 system. I'll try to upgrade today; if this is successful I
> won't have any i686 system left at home.

Lucky you! Mine is an Intel Atom N270 which is 32-bit only...
M
M
Maxim Cournoyer wrote on 10 Nov 12:56 +0100
(name . Ludovic Courtès)(address . ludo@gnu.org)
87h68fwbda.fsf@gmail.com
Hi,

Ludovic Courtès <ludo@gnu.org> writes:

Toggle quote (13 lines)
> Efraim Flashner <efraim@flashner.co.il> skribis:
>
>> On Fri, Jul 26, 2024 at 02:51:49PM -0400, Leo Famulari wrote:
>>> For a long time we've not been able to build linux-libre on i686-linux
>>> because the source unpacking process runs out of memory.
>>
>> I believe if we limit the unpacking process to not more than 8 cores we
>> can avoid that problem.
>
> Also, this is very much a defect of xz; on ‘core-updates’,
> ‘patch-and-repack’ uses zstd, which is much less memory-hungry and more
> predictable.

I was about to write this; thanks for be6g faster :-). I believe the
unpacking should now be fine even for i686, Leo?

--
Thanks,
Maxim
J
J
janneke wrote on 10 Nov 13:32 +0100
(name . Richard Sent)(address . richard@freakingpenguin.com)
87zfm7z2ur.fsf@gnu.org
Efraim Flashner writes:

Hello,

Toggle quote (48 lines)
> On Mon, Jul 29, 2024 at 09:21:57PM -0400, Richard Sent wrote:
>> Leo Famulari <leo@famulari.name> writes:
>>
>> > People have presented some good reasons for keeping at least some level
>> > of i686 support.
>> >
>> > But unfortunately, 3rd party channels cannot be one of them, whether or
>> > not they follow the FSDG.
>> >
>> > Of course, we won't deliberately make their work more difficult, and
>> > maybe we consider their needs if it's easy, but I think they shouldn't
>> > be considered to present compelling arguments for us to make decisions
>> > within GNU Guix, especially if it involves us doing extra work.
>>
>> That's true enough! I don't mean to say that 3rd party channels using
>> i686 is sufficient reason alone to support it. I just consider it worth
>> keeping in mind.
>>
>> In my opinion, when we ask questions like "Does anyone use X", it
>> doesn't really matter if that answer is "Yes, in my custom config" vs.
>> "Yes, in this 3rd party channel my custom config uses". The primary
>> distinction between the two is if the code is shared publicly. I don't
>> see that line in the sand being helpful when asking about usage.
>>
>> To phrase this another way, if I instead said "I use multiarch
>> environments containing i686-linux Guix packages to run software that
>> can't be ported to x64" without mentioning 3rd-party channels at all,
>> would that suddenly become valid usage? Why?
>>
>> i686 multiarch environments are useful in certain cases. Regardless of
>> whether those environments are provided in Guix proper, in a custom
>> config, or a 3rd party channel, user-facing functionality will be lost
>> if we remove them.
>>
>> Breaking changes are okay, and if we consider this too niche of a use
>> case or too high of a maintenance burden it should be dropped. I do
>> believe it should progress into the consideration stage instead of being
>> discarded outright.
>>
>> Thanks! :)
>
> I would argue that some of the bootstrapping effort which is i686
> specifically and can't be easily ported to x86_64 (such as compilers)
> are a perfectly fine reason to need something to be built natively vs
> cross-compiled. Another email mentioned wine, which, while I don't
> believe it is currently possible to cross-compile in guix, may or may
> not work correctly when used cross-compiled as an input for wine64.

Also, I have been "using" Guix i686-linux to for my work on bringing
i586-gnu Guix/Hurd to real 32bit hardware, by installing and
re-installing Guix/hurd from Guix/linux and dual booting. i586-gnu does
not boot on any of my older 64bit machines. A draft blog post is in the
works about this.

While this could technically also be done by installing debian-i386 and
do foreign-distro guix development, that would be far from ideal.

Toggle quote (21 lines)
> Without directly answering the question of "is the phrasing wrong" vs
> "is the burden too high", IMO there's not really a difference between a
> package in a separate channel vs a custom package in someone's config,
> other than how easy it is to share. If we said, despite the move to Qt6
> and upstream chromium dropping support for 32-bit architectures and thus
> affecting i686 support in qtwebengine, that it was imperative that i686
> keep a working qtwebengine and that we couldn't upgrade it unless we
> knew it worked on i686 that might be a problem due to "The Dangers of
> the Internets", but ongoing work to update patches to keep it working
> would be good. Or I suppose another example is if we froze Gnome at a
> version that supported the old librsvg because the new one depends on
> rust, instead we've worked around it so that those that can't use the
> new one use the old one, and those packages which can't use the old one
> specifically use the new one, with the side effect that gnome isn't
> supported on all architectures.
>
> I would not be against selecting some scientific packages and marking
> them as 64bit only with a note that although they might build on 32bit
> architectures, they would never be used there and there is no reason to
> try to even build them.

Indeed, it would be nice to at least have a basic exwm system available.

Greeings,
Janneke

--
Janneke Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond https://LilyPond.org
Freelance IT https://www.JoyOfSource.com| Avatar® https://AvatarAcademy.com
L
L
Leo Famulari wrote on 11 Nov 05:51 +0100
(name . Maxim Cournoyer)(address . maxim.cournoyer@gmail.com)
ZzGNOQVoq8vZGJkc@jasmine.lan
On Sun, Nov 10, 2024 at 08:56:33PM +0900, Maxim Cournoyer wrote:
Toggle quote (3 lines)
> I was about to write this; thanks for be6g faster :-). I believe the
> unpacking should now be fine even for i686, Leo?

Yes, it's working now! Fantastic!
Closed
M
M
Maxim Cournoyer wrote on 12 Nov 13:59 +0100
(name . Leo Famulari)(address . leo@famulari.name)
87bjyk38w1.fsf@gmail.com
Hi,

Leo Famulari <leo@famulari.name> writes:

Toggle quote (6 lines)
> On Sun, Nov 10, 2024 at 08:56:33PM +0900, Maxim Cournoyer wrote:
>> I was about to write this; thanks for be6g faster :-). I believe the
>> unpacking should now be fine even for i686, Leo?
>
> Yes, it's working now! Fantastic!

Great. That said, I wouldn't be against stopping building i686 packages
on our build farm. Nobody has shown much interested in fixing the
broken ones or hunting down test failures... it seems better to focus
our energy elsewhere and clear the view in my opinion (such as old bugs
on our bug tracker that lingers on)

So I'd be of the opinion to:

1) Stop building i686 packages
2) Otherwise preserve the architecture in Guix source so that someone
can at least build from source and hack on it if they wish, e.g. to test
cross-building packages.

--
Thanks,
Maxim
Closed
D
D
Denis 'GNUtoo' Carikli wrote on 12 Nov 17:13 +0100
(name . Maxim Cournoyer)(address . maxim.cournoyer@gmail.com)
20241112171323.619c734b@primarylaptop.localdomain
Hi,

On Tue, 12 Nov 2024 21:59:42 +0900
Maxim Cournoyer <maxim.cournoyer@gmail.com> wrote:
Toggle quote (12 lines)
> Great. That said, I wouldn't be against stopping building i686
> packages on our build farm. Nobody has shown much interested in
> fixing the broken ones or hunting down test failures... it seems
> better to focus our energy elsewhere and clear the view in my opinion
> (such as old bugs on our bug tracker that lingers on)
>
> So I'd be of the opinion to:
>
> 1) Stop building i686 packages
> 2) Otherwise preserve the architecture in Guix source so that someone
> can at least build from source and hack on it if they wish, e.g. to
> test cross-building packages.
In GNU Boot we chose to use i686-linux as the system we build packages
for as this way we support both i686 and x86_64 (some of the computers
we support are still i686).

Though for now we fixed the revision to Guix 1.4.0 so it means that we
don't find regressions affecting newer revisions.

I also personally also depend on i686 computers (ThinkPad X60) that I
don't use every day but that are important for me: they hold the
signature key of my gpg key and they are way easier to secure than
x86_64 machines against evil maid attacks (the machines were audited,
and don't allow DMA from external ports unlike all the x86_64 machines
supported by GNU Boot). But here too they are not updated regularly.

So does it means that we ultimately need to run our own builder for
i686 or are there other options (like setting up our own CI, going back
to i686 to test builds (I was running i686 to be able to find and fix
what didn't work before), etc), using latest Guix revisions to test more
often, etc?

All the use cases above only require very basic software to work: we
don't need full blown desktop systems (that would probably require to
bootstrap rust and I didn't really manage to find a way that would work
in Guix).

Denis.
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEeC+d2+Nrp/PU3kkGX138wUF34mMFAmczfqMACgkQX138wUF3
4mNhqQ//bLFmJqE3CyPybtqVOilNeBtyxGVPaCnj2MrGvoCuTtxmudNDYsO5xpgR
Z/qT8rz9vu38mYtMdIA0HoZlz3qKHYDHeAyTsV72bYLhUeY1/mhwDOM0CtGd3RyF
idJl/OzFxVNM510sDlNa6ZpvVD7dEQ/E1TxzOTmJUVZ15t3qNXxMPe7P6v2DHXU7
DOklagUkYI1wBKRLM1yUs4Oq52H09w4nD1us+hUkRsLQlOvqMiCPpBESmRUgRs/U
ZrjOxXVmO6X0vA2eCGplmDOWBamoUz9ebXnh/MEgM7GmEM6/z1crSDk7SE26D62H
vUOxJiY+zSK/pGnQMoidWMbMTpBP+lmIRJPat5iWC2GCFs+eY9/7taI8PUGXSdyl
EgsBxhYoh/cIfohrYhbMonZ4uWuzrplVh74RlUSZGhAXFQnMl8KElPZ+HVMj3JGv
b0AJxg2pYqBL0OQSq+pT0q0qYbagj15IIX580M+/tLTkSHfAuGG2EoVHW3rMzcHX
vMnb09ggyuM0ZUjD4v8fEPdb6nDMoykWbEd4EERwO5ldknMiGUnwewGkT0tKfoHS
ccVYAYY2S7iN7hHWdNQv1tkcPGrq9xzZnu0Jo5DBYswjv3ttiJixFvybtI0nAxIw
3FzCYgGMbtjamvGyM0SVKljYpbxx+VFz33r39/AcXanyOm1WCAI=
=Djd5
-----END PGP SIGNATURE-----


Closed
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 67535@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 67535
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch