Bug 264231 - math/py-numpy: Build failure, documentation checksums changed
Summary: math/py-numpy: Build failure, documentation checksums changed
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Wen Heping
URL:
Keywords:
Depends on: 259637
Blocks:
  Show dependency treegraph
 
Reported: 2022-05-25 11:15 UTC by david
Modified: 2022-06-04 00:26 UTC (History)
4 users (show)

See Also:
bugzilla: maintainer-feedback? (python)


Attachments
Patch to update file sizes and checksums (1.31 KB, patch)
2022-05-25 11:15 UTC, david
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description david 2022-05-25 11:15:37 UTC
Created attachment 234205 [details]
Patch to update file sizes and checksums

math/py-numpy build fails as documentation checksums and sizes have changed:

```
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License BSD3CLAUSE accepted by the user
=> numpy-1.22.4.zip doesn't seem to exist in /portdistfiles/numpy-1.22.
=> Attempting to fetch https://files.pythonhosted.org/packages/source/n/numpy/numpy-1.22.4.zip
numpy-1.22.4.zip                                        10 MB   19 MBps    01s
=> numpy-ref.pdf doesn't seem to exist in /portdistfiles/numpy-1.22.
=> Attempting to fetch https://numpy.org/doc/1.22/numpy-ref.pdf
fetch: https://numpy.org/doc/1.22/numpy-ref.pdf: size mismatch: expected 7537013, actual 7537545
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/numpy-1.22/numpy-ref.pdf
fetch: http://distcache.FreeBSD.org/ports-distfiles/numpy-1.22/numpy-ref.pdf: Not Found
=> Couldn't fetch it - please try to retrieve this
=> port manually into /portdistfiles/numpy-1.22 and try again.
*** Error code 1

Stop.
make: stopped in /usr/ports/math/py-numpy
=>> Cleaning up wrkdir
===>  Cleaning for py38-numpy-1.22.4,1
build of math/py-numpy@py38 | py38-numpy-1.22.4,1 ended at Wed May 25 10:05:39 GMT 2022
build time: 00:00:04
!!! build failure encountered !!!
```

The attached patch fixes this.
Comment 1 Vladimir Druzenko freebsd_committer freebsd_triage 2022-05-25 15:14:43 UTC
Same here.
Comment 2 david 2022-05-25 19:13:56 UTC
Yeah, me too with ports at main-n584621-240c20b01b8f
Comment 3 commit-hook freebsd_committer freebsd_triage 2022-05-25 23:31:46 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=85affc89e8df0f6c95c37c5065bc7b595f34e9ec

commit 85affc89e8df0f6c95c37c5065bc7b595f34e9ec
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2022-05-25 23:29:36 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2022-05-25 23:29:36 +0000

    math/py-numpy: Fix doc checksums

    PR:             264231
    Reported by:    david@isnic.is

 math/py-numpy/distinfo | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
Comment 4 Wen Heping freebsd_committer freebsd_triage 2022-05-25 23:33:11 UTC
Committed, thank you !

wen
Comment 5 commit-hook freebsd_committer freebsd_triage 2022-06-04 00:26:57 UTC
A commit in branch 2022Q2 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c7535f6bc2ae975b3d86de017eb8b05eb8b2c09d

commit c7535f6bc2ae975b3d86de017eb8b05eb8b2c09d
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2022-05-25 23:29:36 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2022-06-04 00:25:58 +0000

    math/py-numpy: Fix doc checksums

    PR:             264231
    Reported by:    david@isnic.is

    (cherry picked from commit 85affc89e8df0f6c95c37c5065bc7b595f34e9ec)

 math/py-numpy/distinfo | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)