[Bug 245243] math/py-numpy port makefile tries to fetch wrong documentation version

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Apr 1 17:45:55 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245243

            Bug ID: 245243
           Summary: math/py-numpy port makefile tries to fetch wrong
                    documentation version
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: python at FreeBSD.org
          Reporter: tommi.pernila at iki.fi
             Flags: maintainer-feedback?(python at FreeBSD.org)
          Assignee: python at FreeBSD.org

Created attachment 212939
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=212939&action=edit
patch file for Makefile

math/py-numpy port makefile tries to fetch wrong documentation version.

Upstream doesn't change the document version for minor updates.
As a solution i have hardcoded the document version number.
Patch file that i did with 'diff -u -N Makefile.orig Makefile >
patch-document-version' is attached.


Here is a clip of the buildlog from a poudriere build.
Notice that the sha256 sum is still correct.



=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License BSD3CLAUSE accepted by the user
=> numpy-1.16.5.zip doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch
https://files.pythonhosted.org/packages/source/n/numpy/numpy-1.16.5.zip
numpy-1.16.5.zip                                      5017 kB 2329 kBps    03s
=> numpy-ref-1.16.1.pdf doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch
https://docs.scipy.org/doc/numpy-1.16.5/numpy-ref-1.16.1.pdf
fetch: https://docs.scipy.org/doc/numpy-1.16.5/numpy-ref-1.16.1.pdf: Not Found
=> Attempting to fetch
http://distcache.FreeBSD.org/ports-distfiles/numpy-ref-1.16.1.pdf
numpy-ref-1.16.1.pdf                                  5054 kB 1153 kBps    04s
=> numpy-user-1.16.1.pdf doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch
https://docs.scipy.org/doc/numpy-1.16.5/numpy-user-1.16.1.pdf
fetch: https://docs.scipy.org/doc/numpy-1.16.5/numpy-user-1.16.1.pdf: Not Found
=> Attempting to fetch
http://distcache.FreeBSD.org/ports-distfiles/numpy-user-1.16.1.pdf
numpy-user-1.16.1.pdf                                  578 kB  446 kBps    01s
===> Fetching all distfiles required by py27-numpy-1.16.5_4,1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by py27-numpy-1.16.5_4,1 for building
=> SHA256 Checksum OK for numpy-1.16.5.zip.
=> SHA256 Checksum OK for numpy-ref-1.16.1.pdf.
=> SHA256 Checksum OK for numpy-user-1.16.1.pdf.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by py27-numpy-1.16.5_4,1 for building
===>  Extracting for py27-numpy-1.16.5_4,1
=> SHA256 Checksum OK for numpy-1.16.5.zip.
=> SHA256 Checksum OK for numpy-ref-1.16.1.pdf.
=> SHA256 Checksum OK for numpy-user-1.16.1.pdf.
===========================================================================

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-python mailing list