all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / Atom feed
* bug#48131: build failure: 1.3.0rc1 on Debian i386 with guile-2.2
@ 2021-05-01  0:01 Vagrant Cascadian
  2021-05-02  2:17 ` Vagrant Cascadian
  0 siblings, 1 reply; 6+ messages in thread
From: Vagrant Cascadian @ 2021-05-01  0:01 UTC (permalink / raw)
  To: 48131

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

I've been unable to build version 1.3.0rc1 for i386 on Debian:

  [ 70%] GUILEC   gnu/packages/direct-connect.go
  [ 70%] GUILEC   gnu/packages/disk.go
  GC Warning: Failed to expand heap by 8388608 bytes
  GC Warning: Failed to expand heap by 8388608 bytes
  ...
  GC Warning: Failed to expand heap by 8388608 bytes
  GC Warning: Failed to expand heap by 8388608 bytes
  Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS
  make[3]: *** [Makefile:6871: make-go] Aborted


Debian is still using guile-2.2, so I'm guessing this is not a
particularly well tested codepath anymore...


live well,
  vagrant

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

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

* bug#48131: build failure: 1.3.0rc1 on Debian i386 with guile-2.2
  2021-05-01  0:01 bug#48131: build failure: 1.3.0rc1 on Debian i386 with guile-2.2 Vagrant Cascadian
@ 2021-05-02  2:17 ` Vagrant Cascadian
  2021-05-02 21:59   ` Ludovic Courtès
  0 siblings, 1 reply; 6+ messages in thread
From: Vagrant Cascadian @ 2021-05-02  2:17 UTC (permalink / raw)
  To: 48131

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

On 2021-04-30, Vagrant Cascadian wrote:
> I've been unable to build version 1.3.0rc1 for i386 on Debian:
>
>   [ 70%] GUILEC   gnu/packages/direct-connect.go
>   [ 70%] GUILEC   gnu/packages/disk.go
>   GC Warning: Failed to expand heap by 8388608 bytes
>   GC Warning: Failed to expand heap by 8388608 bytes
>   ...
>   GC Warning: Failed to expand heap by 8388608 bytes
>   GC Warning: Failed to expand heap by 8388608 bytes
>   Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS
>   make[3]: *** [Makefile:6871: make-go] Aborted
>
>
> Debian is still using guile-2.2, so I'm guessing this is not a
> particularly well tested codepath anymore...

But strangely enough, it built fine on debian's build machines on all
supported architectures:

  https://buildd.debian.org/status/package.php?p=guix&suite=experimental

*shrug*


live well,
  vagrant

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

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

* bug#48131: build failure: 1.3.0rc1 on Debian i386 with guile-2.2
  2021-05-02  2:17 ` Vagrant Cascadian
@ 2021-05-02 21:59   ` Ludovic Courtès
  2021-05-02 22:17     ` Vagrant Cascadian
  0 siblings, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2021-05-02 21:59 UTC (permalink / raw)
  To: Vagrant Cascadian; +Cc: 48131

Hi!

Vagrant Cascadian <vagrant@debian.org> skribis:

> On 2021-04-30, Vagrant Cascadian wrote:
>> I've been unable to build version 1.3.0rc1 for i386 on Debian:
>>
>>   [ 70%] GUILEC   gnu/packages/direct-connect.go
>>   [ 70%] GUILEC   gnu/packages/disk.go
>>   GC Warning: Failed to expand heap by 8388608 bytes
>>   GC Warning: Failed to expand heap by 8388608 bytes
>>   ...
>>   GC Warning: Failed to expand heap by 8388608 bytes
>>   GC Warning: Failed to expand heap by 8388608 bytes
>>   Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS
>>   make[3]: *** [Makefile:6871: make-go] Aborted
>>
>>
>> Debian is still using guile-2.2, so I'm guessing this is not a
>> particularly well tested codepath anymore...
>
> But strangely enough, it built fine on debian's build machines on all
> supported architectures:
>
>   https://buildd.debian.org/status/package.php?p=guix&suite=experimental

Guile 3.0’s compiler with ‘-O1’ (which is what we use for package files)
uses much less memory than 2.2¹.  The amount of memory may also be a
function of the number of threads used (‘-j’).  So it could be that the
build failed on a machine with less memory or more cores.

Ludo’.

¹ https://wingolog.org/archives/2020/06/03/a-baseline-compiler-for-guile




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

* bug#48131: build failure: 1.3.0rc1 on Debian i386 with guile-2.2
  2021-05-02 21:59   ` Ludovic Courtès
@ 2021-05-02 22:17     ` Vagrant Cascadian
  2021-05-02 22:50       ` Vagrant Cascadian
  0 siblings, 1 reply; 6+ messages in thread
From: Vagrant Cascadian @ 2021-05-02 22:17 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 48131

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

On 2021-05-02, Ludovic Courtès wrote:
> Vagrant Cascadian <vagrant@debian.org> skribis:
>
>> On 2021-04-30, Vagrant Cascadian wrote:
>>> I've been unable to build version 1.3.0rc1 for i386 on Debian:
>>>
>>>   [ 70%] GUILEC   gnu/packages/direct-connect.go
>>>   [ 70%] GUILEC   gnu/packages/disk.go
>>>   GC Warning: Failed to expand heap by 8388608 bytes
>>>   GC Warning: Failed to expand heap by 8388608 bytes
>>>   ...
>>>   GC Warning: Failed to expand heap by 8388608 bytes
>>>   GC Warning: Failed to expand heap by 8388608 bytes
>>>   Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS
>>>   make[3]: *** [Makefile:6871: make-go] Aborted
>>>
>>>
>>> Debian is still using guile-2.2, so I'm guessing this is not a
>>> particularly well tested codepath anymore...
>>
>> But strangely enough, it built fine on debian's build machines on all
>> supported architectures:
>>
>>   https://buildd.debian.org/status/package.php?p=guix&suite=experimental
>
> Guile 3.0’s compiler with ‘-O1’ (which is what we use for package files)
> uses much less memory than 2.2¹.  The amount of memory may also be a
> function of the number of threads used (‘-j’).  So it could be that the
> build failed on a machine with less memory or more cores.

The machine it failed on had 32 cores and 140GB of ram... but will
experiment with reducing parallelism on that machine and see if that
helps.

The buildd.debian.org machine used only four cores, not sure how much
ram it had.


live well,
  vagrant

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

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

* bug#48131: build failure: 1.3.0rc1 on Debian i386 with guile-2.2
  2021-05-02 22:17     ` Vagrant Cascadian
@ 2021-05-02 22:50       ` Vagrant Cascadian
  2021-05-03 19:54         ` Ludovic Courtès
  0 siblings, 1 reply; 6+ messages in thread
From: Vagrant Cascadian @ 2021-05-02 22:50 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 48131

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

On 2021-05-02, Vagrant Cascadian wrote:
> On 2021-05-02, Ludovic Courtès wrote:
>> Vagrant Cascadian <vagrant@debian.org> skribis:
>>> On 2021-04-30, Vagrant Cascadian wrote:
>>>> I've been unable to build version 1.3.0rc1 for i386 on Debian:
>>>>
>>>>   [ 70%] GUILEC   gnu/packages/direct-connect.go
>>>>   [ 70%] GUILEC   gnu/packages/disk.go
>>>>   GC Warning: Failed to expand heap by 8388608 bytes
>>>>   GC Warning: Failed to expand heap by 8388608 bytes
>>>>   ...
>>>>   GC Warning: Failed to expand heap by 8388608 bytes
>>>>   GC Warning: Failed to expand heap by 8388608 bytes
>>>>   Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS
>>>>   make[3]: *** [Makefile:6871: make-go] Aborted
>>>>
>>>>
>>>> Debian is still using guile-2.2, so I'm guessing this is not a
>>>> particularly well tested codepath anymore...
>>>
>>> But strangely enough, it built fine on debian's build machines on all
>>> supported architectures:
>>>
>>>   https://buildd.debian.org/status/package.php?p=guix&suite=experimental
>>
>> Guile 3.0’s compiler with ‘-O1’ (which is what we use for package files)
>> uses much less memory than 2.2¹.  The amount of memory may also be a
>> function of the number of threads used (‘-j’).  So it could be that the
>> build failed on a machine with less memory or more cores.
>
> The machine it failed on had 32 cores and 140GB of ram... but will
> experiment with reducing parallelism on that machine and see if that
> helps.

I just realized that the Debian guix packages are built with parallelism
disabled for reproducible builds, so that seems unlikely to be the
issue... it might just be an issue with guile-2.2 on Debian...


live well,
  vagrant

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

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

* bug#48131: build failure: 1.3.0rc1 on Debian i386 with guile-2.2
  2021-05-02 22:50       ` Vagrant Cascadian
@ 2021-05-03 19:54         ` Ludovic Courtès
  0 siblings, 0 replies; 6+ messages in thread
From: Ludovic Courtès @ 2021-05-03 19:54 UTC (permalink / raw)
  To: Vagrant Cascadian; +Cc: 48131

Vagrant Cascadian <vagrant@debian.org> skribis:

> On 2021-05-02, Vagrant Cascadian wrote:
>> On 2021-05-02, Ludovic Courtès wrote:

[...]

>>> Guile 3.0’s compiler with ‘-O1’ (which is what we use for package files)
>>> uses much less memory than 2.2¹.  The amount of memory may also be a
>>> function of the number of threads used (‘-j’).  So it could be that the
>>> build failed on a machine with less memory or more cores.
>>
>> The machine it failed on had 32 cores and 140GB of ram... but will
>> experiment with reducing parallelism on that machine and see if that
>> helps.
>
> I just realized that the Debian guix packages are built with parallelism
> disabled for reproducible builds, so that seems unlikely to be the
> issue... it might just be an issue with guile-2.2 on Debian...

D’oh.  Could you try reducing the number of libgc marker thread, in case
that is what’s causing troubles?  You can do that by setting the
GC_MARKERS environment variables, as in GC_MARKERS=2.

Thanks,
Ludo’.




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

end of thread, other threads:[~2021-05-03 19:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-01  0:01 bug#48131: build failure: 1.3.0rc1 on Debian i386 with guile-2.2 Vagrant Cascadian
2021-05-02  2:17 ` Vagrant Cascadian
2021-05-02 21:59   ` Ludovic Courtès
2021-05-02 22:17     ` Vagrant Cascadian
2021-05-02 22:50       ` Vagrant Cascadian
2021-05-03 19:54         ` Ludovic Courtès

all messages for Guix-related lists mirrored at yhetil.org

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix

Example config snippet for mirrors.


AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git