unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#49372: lagrange: illegal instruction
@ 2021-07-04  3:32 Christopher Howard
  2021-07-04 12:18 ` Maxime Devos
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Christopher Howard @ 2021-07-04  3:32 UTC (permalink / raw)
  To: 49372

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@nightshade ~$ neofetch --stdout
christopher@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






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

* bug#49372: lagrange: illegal instruction
  2021-07-04  3:32 bug#49372: lagrange: illegal instruction Christopher Howard
@ 2021-07-04 12:18 ` Maxime Devos
  2021-07-04 12:24 ` Maxime Devos
  2021-07-04 19:09 ` Efraim Flashner
  2 siblings, 0 replies; 8+ messages in thread
From: Maxime Devos @ 2021-07-04 12:18 UTC (permalink / raw)
  To: Christopher Howard, 49372

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

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.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

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

* bug#49372: lagrange: illegal instruction
  2021-07-04  3:32 bug#49372: lagrange: illegal instruction Christopher Howard
  2021-07-04 12:18 ` Maxime Devos
@ 2021-07-04 12:24 ` Maxime Devos
  2021-07-04 19:09 ` Efraim Flashner
  2 siblings, 0 replies; 8+ messages in thread
From: Maxime Devos @ 2021-07-04 12:24 UTC (permalink / raw)
  To: Christopher Howard, 49372

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

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.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

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

* bug#49372: lagrange: illegal instruction
  2021-07-04  3:32 bug#49372: lagrange: illegal instruction Christopher Howard
  2021-07-04 12:18 ` Maxime Devos
  2021-07-04 12:24 ` Maxime Devos
@ 2021-07-04 19:09 ` Efraim Flashner
  2021-07-04 23:14   ` Christopher Howard
  2 siblings, 1 reply; 8+ messages in thread
From: Efraim Flashner @ 2021-07-04 19:09 UTC (permalink / raw)
  To: Christopher Howard; +Cc: 49372

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

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@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

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

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

* bug#49372: lagrange: illegal instruction
  2021-07-04 19:09 ` Efraim Flashner
@ 2021-07-04 23:14   ` Christopher Howard
  2021-07-05  0:40     ` Christopher Howard
  0 siblings, 1 reply; 8+ messages in thread
From: Christopher Howard @ 2021-07-04 23:14 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 49372

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?
> 





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

* bug#49372: lagrange: illegal instruction
  2021-07-04 23:14   ` Christopher Howard
@ 2021-07-05  0:40     ` Christopher Howard
  2021-07-05  1:40       ` Christopher Howard
  0 siblings, 1 reply; 8+ messages in thread
From: Christopher Howard @ 2021-07-05  0:40 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 49372

It seems to have downloaded as a substitute, and I was able to launch the program without getting an error.

```
christopher@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@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






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

* bug#49372: lagrange: illegal instruction
  2021-07-05  0:40     ` Christopher Howard
@ 2021-07-05  1:40       ` Christopher Howard
  2021-07-05  6:11         ` Efraim Flashner
  0 siblings, 1 reply; 8+ messages in thread
From: Christopher Howard @ 2021-07-05  1:40 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 49372

I rebuilt from source and challenge now seems to be okay:

christopher@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@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@nightshade ~/Repos/guix-working$ /gnu/store/jj873xpq7h0rxm3rzc4b7rm6kzwnbby4-lagrange-1.5.2/bin/lagrange
> 
> (launched without trouble)
> ```
> 





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

* bug#49372: lagrange: illegal instruction
  2021-07-05  1:40       ` Christopher Howard
@ 2021-07-05  6:11         ` Efraim Flashner
  0 siblings, 0 replies; 8+ messages in thread
From: Efraim Flashner @ 2021-07-05  6:11 UTC (permalink / raw)
  To: Christopher Howard; +Cc: 49372-done

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

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@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@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@nightshade ~/Repos/guix-working$ /gnu/store/jj873xpq7h0rxm3rzc4b7rm6kzwnbby4-lagrange-1.5.2/bin/lagrange
> > 
> > (launched without trouble)
> > ```
> > 
> 

-- 
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

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

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

end of thread, other threads:[~2021-07-05  6:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-04  3:32 bug#49372: lagrange: illegal instruction Christopher Howard
2021-07-04 12:18 ` Maxime Devos
2021-07-04 12:24 ` Maxime Devos
2021-07-04 19:09 ` Efraim Flashner
2021-07-04 23:14   ` Christopher Howard
2021-07-05  0:40     ` Christopher Howard
2021-07-05  1:40       ` Christopher Howard
2021-07-05  6:11         ` Efraim Flashner

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).