GNU bug report logs - #49372
lagrange: illegal instruction

Previous Next

Package: guix;

Reported by: Christopher Howard <christopher <at> librehacker.com>

Date: Sun, 4 Jul 2021 03:34:02 UTC

Severity: normal

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 49372 in the body.
You can then email your comments to 49372 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#49372; Package guix. (Sun, 04 Jul 2021 03:34:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christopher Howard <christopher <at> librehacker.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 04 Jul 2021 03:34:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christopher Howard <christopher <at> librehacker.com>
To: Guix Bug Reports <bug-guix <at> gnu.org>
Subject: lagrange: illegal instruction
Date: Sat, 03 Jul 2021 19:32:45 -0800
Hi, I've discovered lagrange is another one of those packages which, if I use a substitute, it gives the error "illegal instruction" when I try to run it. but if I download the source and build it
myself, I have no trouble running it. I'm certain without any research that this is a reproducibility error, due to native instructions not on my processor, but I could do the guix challenge if
somebody could remind me exactly how to tell guix to rebuild that one package from source.

christopher <at> nightshade ~$ neofetch --stdout
christopher <at> nightshade 
---------------------- 
OS: Guix System b65af6ed9120234cf655e8e76317558cfbd02477 x86_64 
Host: GA-880GM-UD2H 
Kernel: 5.12.14-gnu 
Uptime: 48 mins 
Packages: 107 (guix-system), 103 (guix-user) 
Shell: bash 5.0.16 
Resolution: 1920x1200 
DE: GNOME 3.34.5 
Theme: Adwaita [GTK2/3] 
Icons: Adwaita [GTK2/3] 
Terminal: kitty 
CPU: AMD Athlon II X3 455 (3) @ 3.300GHz 
GPU: NVIDIA GeForce 8400 GS Rev. 3 
Memory: 1419MiB / 7957MiB 

-- 
Christopher Howard
my gemini capsule: gemini://gem.librehacker.com
gemini browser: https://git.skyjake.fi/gemini/lagrange/releases






Information forwarded to bug-guix <at> gnu.org:
bug#49372; Package guix. (Sun, 04 Jul 2021 12:19:02 GMT) Full text and rfc822 format available.

Message #8 received at 49372 <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: Christopher Howard <christopher <at> librehacker.com>, 49372 <at> debbugs.gnu.org
Subject: Re: bug#49372: lagrange: illegal instruction
Date: Sun, 04 Jul 2021 14:18:35 +0200
[Message part 1 (text/plain, inline)]
Christopher Howard schreef op za 03-07-2021 om 19:32 [-0800]:
> myself, I have no trouble running it. I'm certain without any research that this is a reproducibility error, due to native instructions not on my processor, but I could do the guix challenge if

$ guix gc --delete /gnu/store/...-lagrange-VERSION

Take note that lagrange must be removed from all profiles first,
and no file from the "lagrange" package may be opened ...

Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#49372; Package guix. (Sun, 04 Jul 2021 12:25:02 GMT) Full text and rfc822 format available.

Message #11 received at 49372 <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: Christopher Howard <christopher <at> librehacker.com>, 49372 <at> debbugs.gnu.org
Subject: Re: bug#49372: lagrange: illegal instruction
Date: Sun, 04 Jul 2021 14:24:02 +0200
[Message part 1 (text/plain, inline)]
Christopher Howard schreef op za 03-07-2021 om 19:32 [-0800]:
> Hi, I've discovered lagrange is another one of those packages which, if I use a substitute, it gives the error "illegal instruction" when I try to run it. but if I download the source and build it
> myself, I have no trouble running it. I'm certain without any research that this is a reproducibility error, due to native instructions not on my processor, but I could do the guix challenge if
> somebody could remind me exactly how to tell guix to rebuild that one package from source.

To test reproducibility, you can also try

# To avoid building the dependencies
$ guix environment lagrange --system=i686-linux --no-grafts
$ (exit environment)
$ guix build lagrange --no-substitutes --system=i686-linux
$ guix challenge lagrange --system=i686-linux

Maybe the issue also exists for the iN86 architecture family ...

Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#49372; Package guix. (Sun, 04 Jul 2021 19:12:02 GMT) Full text and rfc822 format available.

Message #14 received at 49372 <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Christopher Howard <christopher <at> librehacker.com>
Cc: 49372 <at> debbugs.gnu.org
Subject: Re: bug#49372: lagrange: illegal instruction
Date: Sun, 4 Jul 2021 22:09:57 +0300
[Message part 1 (text/plain, inline)]
On Sat, Jul 03, 2021 at 07:32:45PM -0800, Christopher Howard wrote:
> Hi, I've discovered lagrange is another one of those packages which, if I use a substitute, it gives the error "illegal instruction" when I try to run it. but if I download the source and build it
> myself, I have no trouble running it. I'm certain without any research that this is a reproducibility error, due to native instructions not on my processor, but I could do the guix challenge if
> somebody could remind me exactly how to tell guix to rebuild that one package from source.
> 

I found that there is a spot in the code where it tests if the compiling
computer can support sse4.1, and if so then it enables it. I've added a
configure-flag to disable that. Can you test the new version?

-- 
Efraim Flashner   <efraim <at> 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
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#49372; Package guix. (Sun, 04 Jul 2021 23:16:02 GMT) Full text and rfc822 format available.

Message #17 received at 49372 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Howard <christopher <at> librehacker.com>
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: 49372 <at> debbugs.gnu.org
Subject: Re: bug#49372: lagrange: illegal instruction
Date: Sun, 04 Jul 2021 15:14:50 -0800
Test it as a substitute?

-- 
Christopher Howard
my gemini capsule: gemini://gem.librehacker.com
gemini browser: https://git.skyjake.fi/gemini/lagrange/releases


On Sun, 2021-07-04 at 22:09 +0300, Efraim Flashner wrote:
> On Sat, Jul 03, 2021 at 07:32:45PM -0800, Christopher Howard wrote:
> > Hi, I've discovered lagrange is another one of those packages which, if I use a substitute, it gives the error "illegal instruction" when I try to run it. but if I download the source and build it
> > myself, I have no trouble running it. I'm certain without any research that this is a reproducibility error, due to native instructions not on my processor, but I could do the guix challenge if
> > somebody could remind me exactly how to tell guix to rebuild that one package from source.
> > 
> 
> I found that there is a spot in the code where it tests if the compiling
> computer can support sse4.1, and if so then it enables it. I've added a
> configure-flag to disable that. Can you test the new version?
> 





Information forwarded to bug-guix <at> gnu.org:
bug#49372; Package guix. (Mon, 05 Jul 2021 00:41:02 GMT) Full text and rfc822 format available.

Message #20 received at 49372 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Howard <christopher <at> librehacker.com>
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: 49372 <at> debbugs.gnu.org
Subject: Re: bug#49372: lagrange: illegal instruction
Date: Sun, 04 Jul 2021 16:40:43 -0800
It seems to have downloaded as a substitute, and I was able to launch the program without getting an error.

```
christopher <at> nightshade ~/Repos/guix-working$ guix build lagrange
11.0 MB will be downloaded:
   /gnu/store/n45izfbldxjxdzfry2l4gn81lm18gmp0-lagrange-1.5.2
substituting /gnu/store/n45izfbldxjxdzfry2l4gn81lm18gmp0-lagrange-1.5.2...
downloading from https://ci.guix.gnu.org/nar/lzip/n45izfbldxjxdzfry2l4gn81lm18gmp0-lagrange-1.5.2 ...
 lagrange-1.5.2  11.4MiB                                                                                                                                                   4.4MiB/s 00:03
[##################] 100.0%

The following graft will be made:
   /gnu/store/9n5nyy324bp50yjc7pxv6a53zq7b9cza-lagrange-1.5.2.drv
applying 3 grafts for /gnu/store/9n5nyy324bp50yjc7pxv6a53zq7b9cza-lagrange-1.5.2.drv ...
grafting '/gnu/store/n45izfbldxjxdzfry2l4gn81lm18gmp0-lagrange-1.5.2' -> '/gnu/store/jj873xpq7h0rxm3rzc4b7rm6kzwnbby4-lagrange-1.5.2'...
successfully built /gnu/store/9n5nyy324bp50yjc7pxv6a53zq7b9cza-lagrange-1.5.2.drv
/gnu/store/jj873xpq7h0rxm3rzc4b7rm6kzwnbby4-lagrange-1.5.2
christopher <at> nightshade ~/Repos/guix-working$ /gnu/store/jj873xpq7h0rxm3rzc4b7rm6kzwnbby4-lagrange-1.5.2/bin/lagrange

(launched without trouble)
```

-- 
Christopher Howard
my gemini capsule: gemini://gem.librehacker.com
gemini browser: https://git.skyjake.fi/gemini/lagrange/releases






Information forwarded to bug-guix <at> gnu.org:
bug#49372; Package guix. (Mon, 05 Jul 2021 01:41:01 GMT) Full text and rfc822 format available.

Message #23 received at 49372 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Howard <christopher <at> librehacker.com>
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: 49372 <at> debbugs.gnu.org
Subject: Re: bug#49372: lagrange: illegal instruction
Date: Sun, 04 Jul 2021 17:40:41 -0800
I rebuilt from source and challenge now seems to be okay:

christopher <at> nightshade ~/Repos/guix-working$ guix challenge lagrange

1 store items were analyzed:
  - 1 (100.0%) were identical
  - 0 (0.0%) differed
  - 0 (0.0%) were inconclusive

-- 
Christopher Howard
my gemini capsule: gemini://gem.librehacker.com
gemini browser: https://git.skyjake.fi/gemini/lagrange/releases


On Sun, 2021-07-04 at 16:40 -0800, Christopher Howard wrote:
> It seems to have downloaded as a substitute, and I was able to launch the program without getting an error.
> 
> ```
> christopher <at> nightshade ~/Repos/guix-working$ guix build lagrange
> 11.0 MB will be downloaded:
>    /gnu/store/n45izfbldxjxdzfry2l4gn81lm18gmp0-lagrange-1.5.2
> substituting /gnu/store/n45izfbldxjxdzfry2l4gn81lm18gmp0-lagrange-1.5.2...
> downloading from https://ci.guix.gnu.org/nar/lzip/n45izfbldxjxdzfry2l4gn81lm18gmp0-lagrange-1.5.2 ...
>  lagrange-1.5.2  11.4MiB                                                                                                                                                   4.4MiB/s 00:03
> [##################] 100.0%
> 
> The following graft will be made:
>    /gnu/store/9n5nyy324bp50yjc7pxv6a53zq7b9cza-lagrange-1.5.2.drv
> applying 3 grafts for /gnu/store/9n5nyy324bp50yjc7pxv6a53zq7b9cza-lagrange-1.5.2.drv ...
> grafting '/gnu/store/n45izfbldxjxdzfry2l4gn81lm18gmp0-lagrange-1.5.2' -> '/gnu/store/jj873xpq7h0rxm3rzc4b7rm6kzwnbby4-lagrange-1.5.2'...
> successfully built /gnu/store/9n5nyy324bp50yjc7pxv6a53zq7b9cza-lagrange-1.5.2.drv
> /gnu/store/jj873xpq7h0rxm3rzc4b7rm6kzwnbby4-lagrange-1.5.2
> christopher <at> nightshade ~/Repos/guix-working$ /gnu/store/jj873xpq7h0rxm3rzc4b7rm6kzwnbby4-lagrange-1.5.2/bin/lagrange
> 
> (launched without trouble)
> ```
> 





Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Mon, 05 Jul 2021 06:13:02 GMT) Full text and rfc822 format available.

Notification sent to Christopher Howard <christopher <at> librehacker.com>:
bug acknowledged by developer. (Mon, 05 Jul 2021 06:13:02 GMT) Full text and rfc822 format available.

Message #28 received at 49372-done <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Christopher Howard <christopher <at> librehacker.com>
Cc: 49372-done <at> debbugs.gnu.org
Subject: Re: bug#49372: lagrange: illegal instruction
Date: Mon, 5 Jul 2021 09:11:12 +0300
[Message part 1 (text/plain, inline)]
It sounds like everything's working now so I'm going to close the bug.

On Sun, Jul 04, 2021 at 05:40:41PM -0800, Christopher Howard wrote:
> I rebuilt from source and challenge now seems to be okay:
> 
> christopher <at> nightshade ~/Repos/guix-working$ guix challenge lagrange
> 
> 1 store items were analyzed:
>   - 1 (100.0%) were identical
>   - 0 (0.0%) differed
>   - 0 (0.0%) were inconclusive
> 
> -- 
> Christopher Howard
> my gemini capsule: gemini://gem.librehacker.com
> gemini browser: https://git.skyjake.fi/gemini/lagrange/releases
> 
> 
> On Sun, 2021-07-04 at 16:40 -0800, Christopher Howard wrote:
> > It seems to have downloaded as a substitute, and I was able to launch the program without getting an error.
> > 
> > ```
> > christopher <at> nightshade ~/Repos/guix-working$ guix build lagrange
> > 11.0 MB will be downloaded:
> >    /gnu/store/n45izfbldxjxdzfry2l4gn81lm18gmp0-lagrange-1.5.2
> > substituting /gnu/store/n45izfbldxjxdzfry2l4gn81lm18gmp0-lagrange-1.5.2...
> > downloading from https://ci.guix.gnu.org/nar/lzip/n45izfbldxjxdzfry2l4gn81lm18gmp0-lagrange-1.5.2 ...
> >  lagrange-1.5.2  11.4MiB                                                                                                                                                   4.4MiB/s 00:03
> > [##################] 100.0%
> > 
> > The following graft will be made:
> >    /gnu/store/9n5nyy324bp50yjc7pxv6a53zq7b9cza-lagrange-1.5.2.drv
> > applying 3 grafts for /gnu/store/9n5nyy324bp50yjc7pxv6a53zq7b9cza-lagrange-1.5.2.drv ...
> > grafting '/gnu/store/n45izfbldxjxdzfry2l4gn81lm18gmp0-lagrange-1.5.2' -> '/gnu/store/jj873xpq7h0rxm3rzc4b7rm6kzwnbby4-lagrange-1.5.2'...
> > successfully built /gnu/store/9n5nyy324bp50yjc7pxv6a53zq7b9cza-lagrange-1.5.2.drv
> > /gnu/store/jj873xpq7h0rxm3rzc4b7rm6kzwnbby4-lagrange-1.5.2
> > christopher <at> nightshade ~/Repos/guix-working$ /gnu/store/jj873xpq7h0rxm3rzc4b7rm6kzwnbby4-lagrange-1.5.2/bin/lagrange
> > 
> > (launched without trouble)
> > ```
> > 
> 

-- 
Efraim Flashner   <efraim <at> 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
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 02 Aug 2021 11:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 323 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.