Julia: ‘objconv.zip’ modified in place on www.agner.org

  • Done
  • quality assurance status badge
Details
2 participants
  • Ludovic Courtès
  • zimoun
Owner
unassigned
Submitted by
Ludovic Courtès
Severity
normal
L
L
Ludovic Courtès wrote on 9 Apr 2018 10:39
(address . bug-guix@gnu.org)
87muyclqoe.fsf@inria.fr
The ‘objconv.zip’ file referred to by ‘julia’ was modified in place:

Toggle snippet (17 lines)
$ guix build /gnu/store/p9sy48pip38gk1c72c5k7wsphppj07vk-objconv.zip.drv
The following derivation will be built:
/gnu/store/p9sy48pip38gk1c72c5k7wsphppj07vk-objconv.zip.drv
@ build-started /gnu/store/p9sy48pip38gk1c72c5k7wsphppj07vk-objconv.zip.drv - i686-linux /var/log/guix/drvs/p9//sy48pip38gk1c72c5k7wsphppj07vk-objconv.zip.drv.gz

Starting download of /gnu/store/2fsjkc8ipqvy2f392m842715h19qdkd7-objconv.zip
From http://www.agner.org/optimize/objconv.zip...
objconv.zip 1009KiB 1.3MiB/s 00:01 [##################] 100.0%
sha256 hash mismatch for output path `/gnu/store/2fsjkc8ipqvy2f392m842715h19qdkd7-objconv.zip'
expected: 1fi7qa2sd9vb35dvkgripjf0fayzg2qmff215f8agfqfiwd1g8qs
actual: 195p7dbjqfd6vca9mjj7i0ifpscsrm9njyfmzrpyf9zjdz6w9h7j
@ build-failed /gnu/store/p9sy48pip38gk1c72c5k7wsphppj07vk-objconv.zip.drv - 1 sha256 hash mismatch for output path `/gnu/store/2fsjkc8ipqvy2f392m842715h19qdkd7-objconv.zip'
expected: 1fi7qa2sd9vb35dvkgripjf0fayzg2qmff215f8agfqfiwd1g8qs
actual: 195p7dbjqfd6vca9mjj7i0ifpscsrm9njyfmzrpyf9zjdz6w9h7j
guix build: error: build failed: build of `/gnu/store/p9sy48pip38gk1c72c5k7wsphppj07vk-objconv.zip.drv' failed

Is there a versioned URL for this?

Ludo’.
Z
Z
zimoun wrote on 5 Oct 2020 23:55
(name . Ludovic Courtès)(address . ludovic.courtes@inria.fr)(address . 31108@debbugs.gnu.org)
867ds4bao5.fsf@gmail.com
Hi Ludo,

Digging in old bug report, I find this one [1] about Julia, ’objconv’
and www.agnre.org.


On Mon, 09 Apr 2018 at 10:39, ludovic.courtes@inria.fr (Ludovic Courtès) wrote:
Toggle quote (20 lines)
> The ‘objconv.zip’ file referred to by ‘julia’ was modified in place:
>
> $ guix build /gnu/store/p9sy48pip38gk1c72c5k7wsphppj07vk-objconv.zip.drv
> The following derivation will be built:
> /gnu/store/p9sy48pip38gk1c72c5k7wsphppj07vk-objconv.zip.drv
> @ build-started /gnu/store/p9sy48pip38gk1c72c5k7wsphppj07vk-objconv.zip.drv - i686-linux /var/log/guix/drvs/p9//sy48pip38gk1c72c5k7wsphppj07vk-objconv.zip.drv.gz
>
> Starting download of /gnu/store/2fsjkc8ipqvy2f392m842715h19qdkd7-objconv.zip
>>From http://www.agner.org/optimize/objconv.zip...
> objconv.zip 1009KiB 1.3MiB/s 00:01 [##################] 100.0%
> sha256 hash mismatch for output path `/gnu/store/2fsjkc8ipqvy2f392m842715h19qdkd7-objconv.zip'
> expected: 1fi7qa2sd9vb35dvkgripjf0fayzg2qmff215f8agfqfiwd1g8qs
> actual: 195p7dbjqfd6vca9mjj7i0ifpscsrm9njyfmzrpyf9zjdz6w9h7j
> @ build-failed /gnu/store/p9sy48pip38gk1c72c5k7wsphppj07vk-objconv.zip.drv - 1 sha256 hash mismatch for output path `/gnu/store/2fsjkc8ipqvy2f392m842715h19qdkd7-objconv.zip'
> expected: 1fi7qa2sd9vb35dvkgripjf0fayzg2qmff215f8agfqfiwd1g8qs
> actual: 195p7dbjqfd6vca9mjj7i0ifpscsrm9njyfmzrpyf9zjdz6w9h7j
> guix build: error: build failed: build of `/gnu/store/p9sy48pip38gk1c72c5k7wsphppj07vk-objconv.zip.drv' failed
>
> Is there a versioned URL for this?

The Object file converter still exists [2]. However, it still seems
being a zip file. However, today I do not find any reference in the
current packages to agner.org; well, to be correct, the only one is from
the package ’r-biased-urn’ in gnu/packages/statistics.scm.



Does it make sense to keep the bug open? If yes, could you please
provide a bit more information about the context?


Thanks,
simon
L
L
Ludovic Courtès wrote on 8 Oct 2020 09:20
(name . zimoun)(address . zimon.toutoune@gmail.com)(address . 31108@debbugs.gnu.org)
878schrxnu.fsf@inria.fr
Hi,

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

Toggle quote (3 lines)
> Does it make sense to keep the bug open? If yes, could you please
> provide a bit more information about the context?

If the current Julia package doesn’t have a similar problem, I think we
can close this bug.

Thanks,
Ludo’.
Z
Z
zimoun wrote on 12 Oct 2020 11:21
(name . Ludovic Courtès)(address . ludovic.courtes@inria.fr)(address . 31108-done@debbugs.gnu.org)
86mu0rvlyi.fsf@gmail.com
Hi Ludo,

On Thu, 08 Oct 2020 at 09:20, Ludovic Courtès <ludovic.courtes@inria.fr> wrote:
Toggle quote (8 lines)
> zimoun <zimon.toutoune@gmail.com> skribis:
>
>> Does it make sense to keep the bug open? If yes, could you please
>> provide a bit more information about the context?
>
> If the current Julia package doesn’t have a similar problem, I think we
> can close this bug.

Maybe I miss the bug at the time “09 Apr 2018”, where it was an upstream
mismatch. It seems fixed by these 2 commits:

Toggle snippet (18 lines)
commit 2930a39b165ce9e13e899fe66b82c03932e0e86b
Author: Tobias Geerinckx-Rice <me@tobias.gr>
Date: Wed Oct 31 15:54:38 2018 +0100

gnu: julia: Update objconv input to 2018-10-07.
* gnu/packages/julia.scm (julia)[input]: Update objconf to 2018-10-07.

commit 81bf0fd0d4a7e78febb394576ea849285fc2d329
Author: Marius Bakke <mbakke@fastmail.com>
Date: Tue Sep 4 18:53:13 2018 +0200

gnu: julia: Update objconv input.
* gnu/packages/julia.scm (julia)[inputs]: Update the hash of "objconv", which
does not have a stable URL. Add a file name and use HTTPS while at it.

So closing! :-)


BTW, at the time (2018), the inputs were:

Toggle snippet (11 lines)
("objconv"
,(origin
(method url-fetch)
;; No versioned URL, see <https://www.agner.org/optimize/> for updates.
(uri "https://www.agner.org/optimize/objconv.zip")
(file-name "objconv-2018-08-15.zip")
(sha256
(base32
"09y4pwxfs6fl47cyingbf95i2rxx74wmycl9fd4ldcgvpx9bzdrx"))))

and now, AFAICT, it is not the case. This ’objconv’ had been removed
from the inputs list. See commit (with the not so talkative commit
message :-))
5ef30f2a1f89397bc78af94b6ee95e9fce2f646e updating to 1.4.1.

However, on one hand this dependency seems now bundled with Julia. See
upstream ’deps/objconv.mk’:

Toggle snippet (4 lines)
$(SRCCACHE)/objconv.zip: | $(SRCCACHE)
$(JLDOWNLOAD) $@ http://www.agner.org/optimize/objconv.zip

On the other hand, maybe ’#:make-flags’ deactivates this; I do not know,
nothing obvious. Julia needs some love and I will not have enough time
to dedicated to them. :-)


Cheers,
simon
Closed
?