unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#47480: gprolog: hash mismatch
@ 2021-03-29 17:14 zimoun
  2021-03-29 21:37 ` Ludovic Courtès
  2021-11-04 20:53 ` bug#47480: logo " phodina via Bug reports for GNU Guix
  0 siblings, 2 replies; 5+ messages in thread
From: zimoun @ 2021-03-29 17:14 UTC (permalink / raw)
  To: 47480

Hi,

Using Guix 55685e4, I get:

--8<---------------cut here---------------start------------->8---
$ guix build -S --no-substitutes gprolog
The following derivation will be built:
   /gnu/store/yjrcalnckwmi1ah217xh85sd7ksjcxfw-gprolog-1.4.5.tar.gz.drv
building /gnu/store/yjrcalnckwmi1ah217xh85sd7ksjcxfw-gprolog-1.4.5.tar.gz.drv...

Starting download of
/gnu/store/wm72f18w1gvshkz39yp12vnmnkkib79k-gprolog-1.4.5.tar.gz
From http://gprolog.org/gprolog-1.4.5.tar.gz...
downloading from http://gprolog.org/gprolog-1.4.5.tar.gz ...
 gprolog-1.4.5.tar.gz  3.4MiB        50.1MiB/s 00:00 [##################] 100.0%
sha256 hash mismatch for
/gnu/store/wm72f18w1gvshkz39yp12vnmnkkib79k-gprolog-1.4.5.tar.gz:
  expected hash: 0z4cc42n3k6i35b8mr816iwsvrpxshw6d7dgz6s2h1hy0l7g1p5z
  actual hash:   18mrmx44fll0g1qphadna9g6m7miw8d22lkjavah22vzc38kalyf
hash mismatch for store item
'/gnu/store/wm72f18w1gvshkz39yp12vnmnkkib79k-gprolog-1.4.5.tar.gz'
build of /gnu/store/yjrcalnckwmi1ah217xh85sd7ksjcxfw-gprolog-1.4.5.tar.gz.drv
failed
View build log at
'/var/log/guix/drvs/yj/rcalnckwmi1ah217xh85sd7ksjcxfw-gprolog-1.4.5.tar.gz.drv.bz2'.
guix build: error: build of
`/gnu/store/yjrcalnckwmi1ah217xh85sd7ksjcxfw-gprolog-1.4.5.tar.gz.drv'
failed

$ guix build -S gprolog
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
3.6 MB will be downloaded:
   /gnu/store/wm72f18w1gvshkz39yp12vnmnkkib79k-gprolog-1.4.5.tar.gz
substituting /gnu/store/wm72f18w1gvshkz39yp12vnmnkkib79k-gprolog-1.4.5.tar.gz...
downloading from
https://ci.guix.gnu.org/nar/wm72f18w1gvshkz39yp12vnmnkkib79k-gprolog-1.4.5.tar.gz
...
 gprolog-1.4.5.tar.gz  3.4MiB         5.9MiB/s 00:01 [##################] 100.0%

/gnu/store/wm72f18w1gvshkz39yp12vnmnkkib79k-gprolog-1.4.5.tar.gz
--8<---------------cut here---------------end--------------->8---

It is probably an upstream in-place replacement.  This kind of thing is
really annoying because it means that people using substitutes do not
notice whereas people building from source do.


All the best,
simon




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

* bug#47480: gprolog: hash mismatch
  2021-03-29 17:14 bug#47480: gprolog: hash mismatch zimoun
@ 2021-03-29 21:37 ` Ludovic Courtès
  2021-03-30 12:33   ` zimoun
  2021-11-04 20:53 ` bug#47480: logo " phodina via Bug reports for GNU Guix
  1 sibling, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2021-03-29 21:37 UTC (permalink / raw)
  To: zimoun; +Cc: 47480

Hi!

zimoun <zimon.toutoune@gmail.com> skribis:

> It is probably an upstream in-place replacement.  This kind of thing is
> really annoying because it means that people using substitutes do not
> notice whereas people building from source do.

Could you send a diff of the two tarballs?

Thanks,
Ludo’.




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

* bug#47480: gprolog: hash mismatch
  2021-03-29 21:37 ` Ludovic Courtès
@ 2021-03-30 12:33   ` zimoun
  2021-03-30 20:16     ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: zimoun @ 2021-03-30 12:33 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 47480

Hi,

On Mon, 29 Mar 2021 at 23:37, Ludovic Courtès <ludo@gnu.org> wrote:
> zimoun <zimon.toutoune@gmail.com> skribis:
>
>> It is probably an upstream in-place replacement.  This kind of thing is
>> really annoying because it means that people using substitutes do not
>> notice whereas people building from source do.
>
> Could you send a diff of the two tarballs?

Hehe!  I have opened the bug because I wanted to avoid to investigate
myself. ;-)

Basically, I think it is a classical upstream in-place replacement.


From upstream:

--8<---------------cut here---------------start------------->8---
$ guix build -S  gprolog --no-substitutes
The following derivation will be built:
   /gnu/store/yjrcalnckwmi1ah217xh85sd7ksjcxfw-gprolog-1.4.5.tar.gz.drv
building /gnu/store/yjrcalnckwmi1ah217xh85sd7ksjcxfw-gprolog-1.4.5.tar.gz.drv...

Starting download of /gnu/store/wm72f18w1gvshkz39yp12vnmnkkib79k-gprolog-1.4.5.tar.gz
From http://gprolog.org/gprolog-1.4.5.tar.gz...
downloading from http://gprolog.org/gprolog-1.4.5.tar.gz ...
 gprolog-1.4.5.tar.gz  3.4MiB         556KiB/s 00:06 [##################] 100.0%
sha256 hash mismatch for /gnu/store/wm72f18w1gvshkz39yp12vnmnkkib79k-gprolog-1.4.5.tar.gz:
  expected hash: 0z4cc42n3k6i35b8mr816iwsvrpxshw6d7dgz6s2h1hy0l7g1p5z
  actual hash:   18mrmx44fll0g1qphadna9g6m7miw8d22lkjavah22vzc38kalyf
hash mismatch for store item '/gnu/store/wm72f18w1gvshkz39yp12vnmnkkib79k-gprolog-1.4.5.tar.gz'
build of /gnu/store/yjrcalnckwmi1ah217xh85sd7ksjcxfw-gprolog-1.4.5.tar.gz.drv failed
View build log at '/var/log/guix/drvs/yj/rcalnckwmi1ah217xh85sd7ksjcxfw-gprolog-1.4.5.tar.gz.drv.bz2'.
guix build: error: build of `/gnu/store/yjrcalnckwmi1ah217xh85sd7ksjcxfw-gprolog-1.4.5.tar.gz.drv' failed

$ guix download http://gprolog.org/gprolog-1.4.5.tar.gz

Starting download of /tmp/guix-file.aqmcFI
From http://gprolog.org/gprolog-1.4.5.tar.gz...
 gprolog-1.4.5.tar.gz  3.4MiB         557KiB/s 00:06 [##################] 100.0%
/gnu/store/59hpvhs8zk66g62yisx363fkl53svcnf-gprolog-1.4.5.tar.gz
18mrmx44fll0g1qphadna9g6m7miw8d22lkjavah22vzc38kalyf
--8<---------------cut here---------------end--------------->8---

From Guix CI:

--8<---------------cut here---------------start------------->8---
$ guix hash $(guix build -S gprolog)
3.6 MB will be downloaded:
   /gnu/store/wm72f18w1gvshkz39yp12vnmnkkib79k-gprolog-1.4.5.tar.gz
substituting /gnu/store/wm72f18w1gvshkz39yp12vnmnkkib79k-gprolog-1.4.5.tar.gz...
downloading from https://ci.guix.gnu.org/nar/wm72f18w1gvshkz39yp12vnmnkkib79k-gprolog-1.4.5.tar.gz ...
 gprolog-1.4.5.tar.gz  3.4MiB         559KiB/s 00:06 [##################] 100.0%

0z4cc42n3k6i35b8mr816iwsvrpxshw6d7dgz6s2h1hy0l7g1p5z
--8<---------------cut here---------------end--------------->8---

Then, let get the content:

--8<---------------cut here---------------start------------->8---
$ tar -xf /gnu/store/59hpvhs8zk66g62yisx363fkl53svcnf-gprolog-1.4.5.tar.gz
$ mv gprolog-1.4.5 from-upstream

$ tar -xf /gnu/store/wm72f18w1gvshkz39yp12vnmnkkib79k-gprolog-1.4.5.tar.gz
$ mv gprolog-1.4.5 from-ci
--8<---------------cut here---------------end--------------->8---

and show which files are differing:

--8<---------------cut here---------------start------------->8---
$ diff -r --no-dereference from-{ci,upstream}
diff -r --no-dereference from-ci/ChangeLog from-upstream/ChangeLog
diff -r --no-dereference from-ci/doc/copyright.tex from-upstream/doc/copyright.tex
Binary files from-ci/doc/gprolog.dvi and from-upstream/doc/gprolog.dvi differ
diff -r --no-dereference from-ci/doc/gprolog.html from-upstream/doc/gprolog.html
Binary files from-ci/doc/gprolog.pdf and from-upstream/doc/gprolog.pdf differ
diff -r --no-dereference from-ci/doc/gprolog.ps from-upstream/doc/gprolog.ps
diff -r --no-dereference from-ci/doc/html_node/gprolog001.html from-upstream/doc/html_node/gprolog001.html

[...]

diff -r --no-dereference from-ci/doc/html_node/gprolog073.html from-upstream/doc/html_node/gprolog073.html
diff -r --no-dereference from-ci/doc/html_node/gprolog-idx.html from-upstream/doc/html_node/gprolog-idx.html
diff -r --no-dereference from-ci/doc/html_node/index.html from-upstream/doc/html_node/index.html
diff -r --no-dereference from-ci/NEWS from-upstream/NEWS
diff -r --no-dereference from-ci/src/EnginePl/gp_config.h from-upstream/src/EnginePl/gp_config.h
diff -r --no-dereference from-ci/src/EnginePl/gprolog_cst.h from-upstream/src/EnginePl/gprolog_cst.h
diff -r --no-dereference from-ci/src/Ma2Asm/x86_64_any.c from-upstream/src/Ma2Asm/x86_64_any.c
diff -r --no-dereference from-ci/src/Wam2Ma/wam2ma.c from-upstream/src/Wam2Ma/wam2ma.c
--8<---------------cut here---------------end--------------->8---

Basically, most seems a Copyright update and a documentation
regeneration. Except this:

--8<---------------cut here---------------start------------->8---
$ diff -r --no-dereference from-ci/src/Ma2Asm/x86_64_any.c from-upstream/src/Ma2Asm/x86_64_any.c
213,214c213,216
< #if defined(M_x86_64_darwin) || defined(M_x86_64_bsd) || defined(M_x86_64_linux) 
<   pic_code = 1;			/* NB: on darwin and BSD everything is PIC code, last gcc 6 needs this for linux */
---
> #if defined(M_x86_64_darwin) || defined(M_x86_64_bsd)
>   pic_code = 1;                 /* NB: on darwin and BSD everything is PIC code */
> #elif defined(M_x86_64_linux) && __GNUC__ >= 6 /* gcc >= 6 needs PIC for linux */
>   pic_code = 1;

$ diff -r --no-dereference from-ci/src/Wam2Ma/wam2ma.c from-upstream/src/Wam2Ma/wam2ma.c
514c514,516
<     Syntax_Error("multifile or multifile expected");
---
>     {
>       Syntax_Error("multifile or multifile expected");
>     }
--8<---------------cut here---------------end--------------->8---


Cheers,
simon




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

* bug#47480: gprolog: hash mismatch
  2021-03-30 12:33   ` zimoun
@ 2021-03-30 20:16     ` Ludovic Courtès
  0 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2021-03-30 20:16 UTC (permalink / raw)
  To: zimoun; +Cc: 47480

Hi!

zimoun <zimon.toutoune@gmail.com> skribis:

> Basically, most seems a Copyright update and a documentation
> regeneration. Except this:
>
> $ diff -r --no-dereference from-ci/src/Ma2Asm/x86_64_any.c from-upstream/src/Ma2Asm/x86_64_any.c
> 213,214c213,216
> < #if defined(M_x86_64_darwin) || defined(M_x86_64_bsd) || defined(M_x86_64_linux) 
> <   pic_code = 1;			/* NB: on darwin and BSD everything is PIC code, last gcc 6 needs this for linux */
> ---
>> #if defined(M_x86_64_darwin) || defined(M_x86_64_bsd)
>>   pic_code = 1;                 /* NB: on darwin and BSD everything is PIC code */
>> #elif defined(M_x86_64_linux) && __GNUC__ >= 6 /* gcc >= 6 needs PIC for linux */
>>   pic_code = 1;
>
> $ diff -r --no-dereference from-ci/src/Wam2Ma/wam2ma.c from-upstream/src/Wam2Ma/wam2ma.c
> 514c514,516
> <     Syntax_Error("multifile or multifile expected");
> ---
>>     {
>>       Syntax_Error("multifile or multifile expected");
>>     }

Bah, sadness.

Anyway, I guess that means we can update the hash, with a link to this
report for posterity.

Thanks,
Ludo’.




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

* bug#47480: logo gprolog: hash mismatch
  2021-03-29 17:14 bug#47480: gprolog: hash mismatch zimoun
  2021-03-29 21:37 ` Ludovic Courtès
@ 2021-11-04 20:53 ` phodina via Bug reports for GNU Guix
  1 sibling, 0 replies; 5+ messages in thread
From: phodina via Bug reports for GNU Guix @ 2021-11-04 20:53 UTC (permalink / raw)
  To: 47480-done@debbugs.gnu.org

Hi,

I've looked at the package gprolog and it was updated by Efraim Flashner in commit
1914d24b452ca6dad30fad6f1faa5f611fa740b0 to version 1.5.0.

There's a note saying "Recent versions are not hosted on the GNU mirrors".

Petr




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

end of thread, other threads:[~2021-11-04 20:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-29 17:14 bug#47480: gprolog: hash mismatch zimoun
2021-03-29 21:37 ` Ludovic Courtès
2021-03-30 12:33   ` zimoun
2021-03-30 20:16     ` Ludovic Courtès
2021-11-04 20:53 ` bug#47480: logo " phodina via Bug reports for GNU Guix

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