bug#44000: Guile-Git cross-compiled to i586-pc-gnu gets bytestructures wrong

2020-11-16 Thread Ludovic Courtès
Ludovic Courtès skribis: > 1.0.9 seems to help my rather involved use case (Guix cross-compiled to > GNU/Hurd from x86_64-linux, then running ‘guix pull’, which depends on > Guile-Git, which uses Bytestructures) but it still eventually crashes: > > ludo@childhurd ~$ > /gnu/store/mxi1za8gdq77438y

bug#44000: Guile-Git cross-compiled to i586-pc-gnu gets bytestructures wrong

2020-11-16 Thread Ludovic Courtès
Hi, Taylan Kammer skribis: > The module (bytestructures guile numeric) ought to work, although it > doesn't contain the binding 'arch32bit?'. Do you actually need that > predicate, or was that just for demonstration? The "right" way to > test whether the predicate works correctly would be to

bug#44000: Guile-Git cross-compiled to i586-pc-gnu gets bytestructures wrong

2020-11-16 Thread Taylan Kammer
On 16.11.2020 17:10, Ludovic Courtès wrote: 1.0.9 seems to help my rather involved use case (Guix cross-compiled to GNU/Hurd from x86_64-linux, then running ‘guix pull’, which depends on Guile-Git, which uses Bytestructures) but it still eventually crashes: --8<---cut here--

bug#44000: Guile-Git cross-compiled to i586-pc-gnu gets bytestructures wrong

2020-11-16 Thread Ludovic Courtès
Hi Taylan, Apologies for the delay, it seems I hadn’t noticed your reply. Taylan Kammer skribis: > Yes, you're right. I've made another release (1.0.9), where I use > > (environment '(guile) '(bytestructures guile numeric-data-model)) > > for the 'base-environment' binding in case we're runn

bug#44000: Guile-Git cross-compiled to i586-pc-gnu gets bytestructures wrong

2020-10-22 Thread Taylan Kammer
Ludovic Courtès writes: > Hi, > > Taylan Kammer skribis: > >> Could you please test whether bytestructures 1.0.8 fixes the issue? > > Thanks for the prompt reply! I tested 1.0.8 and it does not fix the > problem. > > I think the problem might be that the ‘cond-expand-provide’ call might > affec

bug#44000: Guile-Git cross-compiled to i586-pc-gnu gets bytestructures wrong

2020-10-19 Thread Ludovic Courtès
Hi, Taylan Kammer skribis: > Could you please test whether bytestructures 1.0.8 fixes the issue? Thanks for the prompt reply! I tested 1.0.8 and it does not fix the problem. I think the problem might be that the ‘cond-expand-provide’ call might affect a module that’s not the one tested in (ev

bug#44000: Guile-Git cross-compiled to i586-pc-gnu gets bytestructures wrong

2020-10-17 Thread Taylan Kammer
Taylan Kammer writes: > On 15.10.2020 09:42, Ludovic Courtès wrote: >> Ludovic Courtès skribis: >> >>> The problem is that the ‘cond-expand’ used to define ‘arch32bit?’ is a >>> expansion-time thing when (cross-)building Bytestructures itself, so >>> it’s incorrect from cross-building from 64-b

bug#44000: Guile-Git cross-compiled to i586-pc-gnu gets bytestructures wrong

2020-10-16 Thread Taylan Kammer
On 15.10.2020 09:42, Ludovic Courtès wrote: > Ludovic Courtès skribis: > >> The problem is that the ‘cond-expand’ used to define ‘arch32bit?’ is a >> expansion-time thing when (cross-)building Bytestructures itself, so >> it’s incorrect from cross-building from 64-bit to 32-bit. >> >> I believe t

bug#44000: Guile-Git cross-compiled to i586-pc-gnu gets bytestructures wrong

2020-10-15 Thread Jan Nieuwenhuizen
Ludovic Courtès writes: Hi, > Ludovic Courtès skribis: > >> The problem is that the ‘cond-expand’ used to define ‘arch32bit?’ is a >> expansion-time thing when (cross-)building Bytestructures itself, so >> it’s incorrect from cross-building from 64-bit to 32-bit. >> >> I believe that changing it

bug#44000: Guile-Git cross-compiled to i586-pc-gnu gets bytestructures wrong

2020-10-15 Thread Mathieu Othacehe
Hey Ludo, > I confirm that the attached patch for Bytestructures solves the problem > (running ‘guix pull’ in my childhurd :-)). Nice catch! I guess we had the same issue when cross-compiling for armhf from x86_64. Thanks, Mathieu

bug#44000: Guile-Git cross-compiled to i586-pc-gnu gets bytestructures wrong

2020-10-15 Thread Ludovic Courtès
Reported here: .

bug#44000: Guile-Git cross-compiled to i586-pc-gnu gets bytestructures wrong

2020-10-15 Thread Ludovic Courtès
Ludovic Courtès skribis: > The problem is that the ‘cond-expand’ used to define ‘arch32bit?’ is a > expansion-time thing when (cross-)building Bytestructures itself, so > it’s incorrect from cross-building from 64-bit to 32-bit. > > I believe that changing it to: > > (define arch32bit? (memq da

bug#44000: Guile-Git cross-compiled to i586-pc-gnu gets bytestructures wrong

2020-10-14 Thread Ludovic Courtès
Hello! You might have seen that ‘guix pull’ doesn’t work in your childhurd: --8<---cut here---start->8--- Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'... guix pull: error: Git error: invalid version 0 on git_proxy_