bug#45716: Bug in ‘network-interface-names’ when building guix for aarch64 on x86_64.

2021-01-07 Thread Danny Milosavljevic
Hi Stefan, >I have however no clue, why the number of bytes is only 32 in case of aarch64. >This value is taken from the struct ifconf read via ioctl(SIOCGIFCONF). guix/build/syscalls.scm has: >(define ifreq-struct-size > ;; 'struct ifreq' begins with an array of IF_NAMESIZE bytes containing

bug#45716: Bug in ‘network-interface-names’ when building guix for aarch64 on x86_64.

2021-01-07 Thread Stefan
Hi! This change makes the reproducer working and prints some more values: diff --git a/guix/build/syscalls.scm b/guix/build/syscalls.scm index 85c1c45f81..250c577d33 100644 --- a/guix/build/syscalls.scm +++ b/guix/build/syscalls.scm @@ -1473,7 +1473,19 @@ most LEN bytes from BV." (()

bug#45654: [PATCH 1/1] gnu: qemu-binfmt-service-type: Change 'guix-support?' default to #t.

2021-01-07 Thread Stefan
* gnu/services/virtualization.scm (qemu-binfmt-service-type)[guix-support?]: Change the default from #f to #t. * doc/guix.texi (Transparent Emulation with QEMU): Change the default of ‘guix-support?’ from #f to #t. Describe the implication of setting it to #f. --- doc/guix.texi

bug#45709: guix fails to print friendly help message for unknown command

2021-01-07 Thread Ricardo Wurmus
zimoun writes: > Hi, > > On Thu, 7 Jan 2021 at 10:12, Imran Iqbal wrote: > >> ~ >>> guix test >> Backtrace: > > [...] > >> ERROR: In procedure string-prefix?: >> In procedure string-prefix?: Wrong type argument in position 2 (expecting >> string): #f > > Thanks for the report. The commit >

bug#45615: SWH API break?

2021-01-07 Thread zimoun
Hi, Thanks for the report. It comes from 'visit-snapshot-url' returning # instead of #f. Then 'swh-url' fails because the 'path' argument is not a string. Well, I do not how to fix it. I am confused by: --8<---cut here---start->8--- ;;

bug#45716: Bug in ‘network-interface-names’ when building guix for aarch64 on x86_64.

2021-01-07 Thread Stefan
Hi! When building for aarch64 on a x86…64 system, then the ‘network-interface-names’ function produces an error. Because of this building guix for aarch64 fails during the test with this: test-name: network-interface-names location:

bug#45709: guix fails to print friendly help message for unknown command

2021-01-07 Thread zimoun
Hi, On Thu, 7 Jan 2021 at 10:12, Imran Iqbal wrote: > ~ >>> guix test > Backtrace: [...] > ERROR: In procedure string-prefix?: > In procedure string-prefix?: Wrong type argument in position 2 (expecting > string): #f Thanks for the report. The commit

bug#45570: [PATCH v2] system: Assert, that user and group names are unique.

2021-01-07 Thread Leo Prikler
Am Donnerstag, den 07.01.2021, 09:35 +0100 schrieb Ludovic Courtès: > Leo Prikler skribis: > > > *gnu/system/shadow.scm (find-duplicates): New variable. > > (assert-unique-account-names, assert-unique-group-names): New > > variables. > > (account-activation): Use them here. > > Final nitpicks!

bug#45570: [PATCH v3] system: Assert, that user and group names are unique.

2021-01-07 Thread Leo Prikler
*gnu/system/shadow.scm (find-duplicates): New variable. (assert-unique-account-names, assert-unique-group-names): New variables. (account-activation): Use them here. --- gnu/system/shadow.scm | 44 +++ 1 file changed, 44 insertions(+) diff --git

bug#45676: Store references inside compressed data

2021-01-07 Thread Ludovic Courtès
Howdy, Miguel Ángel Arruga Vivas skribis: > Ludovic Courtès writes: > >> Hi, >> >> Leo Famulari skribis: >> >>> On Tue, Jan 05, 2021 at 03:36:07PM +0100, Miguel Ángel Arruga Vivas wrote: There are several binary formats that allow compression of the executable image, or some of its

bug#45709: guix fails to print friendly help message for unknown command

2021-01-07 Thread Imran Iqbal
See below ~ >>> guix --version guix (GNU Guix) e57b978fc0a6b6298b96c68de4769655d793c7b9 Copyright (C) 2021 the Guix authors License GPLv3+: GNU GPL version 3

bug#45570: [PATCH v2] system: Assert, that user and group names are unique.

2021-01-07 Thread Ludovic Courtès
Leo Prikler skribis: > *gnu/system/shadow.scm (find-duplicates): New variable. > (assert-unique-account-names, assert-unique-group-names): New variables. > (account-activation): Use them here. Final nitpicks! :-) > +(define (find-duplicates list) Please add a docstring. > + (let loop

bug#45570: [PATCH] system: Assert, that user and group names are unique.

2021-01-07 Thread Ludovic Courtès
Hi, Leo Prikler skribis: > Am Mittwoch, den 06.01.2021, 14:32 +0100 schrieb Ludovic Courtès: >> Hi, >> >> Leo Prikler skribis: >> >> > > > +((first . rest) >> > > > + (if (member first rest =) ; (srfi srfi-1) member >> > > > + (cons first (find-duplicates rest =)) >> > > > +

bug#45654: Building guile on x86_64 for aarch64 fails because of a missing guile

2021-01-07 Thread Ludovic Courtès
Hi, Stefan skribis: > There were no ‘--chroot-directory’ flags in my case. So I wondered what is > wrong and re-read the manual. I figured that I managed to copy-paste the > ‘wrong’ example code from the “Transparent Emulation with QEMU” section into > my operating-system definition, the