Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Dec 2021 21:05:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 260852] multimedia/zoneminder distinfo update to allow for codeload.github.com hash and/or file size changes
Message-ID:  <bug-260852-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260852

            Bug ID: 260852
           Summary: multimedia/zoneminder distinfo update to allow for
                    codeload.github.com hash and/or file size changes
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://cgit.freebsd.org/ports/tree/multimedia/zonemin
                    der/distinfo
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: grahamperrin@gmail.com
                CC: bsd@abinet.ru
             Flags: maintainer-feedback?(bsd@abinet.ru)
                CC: bsd@abinet.ru

In Information Security Stack Exchange at=20
<https://security.stackexchange.com/a/240209/13575>:=20

> GitHub dynamically generates a tar.gz file when a user downloads=20
> a source release for a git tag. The hashes for those files are=20
> not stable, as they are dependent on the versions of git, tar,=20
> and gzip involved. These hashes have changed in the past,=20
> which has affected various package repository/build systems.
>=20
> Source: =E2=80=A6

----

Now, for example:=20

% tail -n 25
/usr/local/poudriere/data/logs/bulk/main-default/2021-12-31_20h35m15s/logs/=
errors/zoneminder-1.36.5.log
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase=
: fetch          >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D=3D=3D env: DEVELOPER_MODE=3Dyes STRICT_DEPENDS=3Dyes USER=3Droot =
UID=3D0 GID=3D0
=3D=3D=3D>  License GPLv2 accepted by the user
=3D=3D=3D>   zoneminder-1.36.5 depends on file: /usr/local/sbin/pkg - found
=3D> zoneminder-zoneminder-1.36.5_GH0.tar.gz doesn't seem to exist in
/portdistfiles/.
=3D> Attempting to fetch
https://codeload.github.com/zoneminder/zoneminder/tar.gz/1.36.5?dummy=3D/zo=
neminder-zoneminder-1.36.5_GH0.tar.gz
fetch:
https://codeload.github.com/zoneminder/zoneminder/tar.gz/1.36.5?dummy=3D/zo=
neminder-zoneminder-1.36.5_GH0.tar.gz:
size unknown
fetch:
https://codeload.github.com/zoneminder/zoneminder/tar.gz/1.36.5?dummy=3D/zo=
neminder-zoneminder-1.36.5_GH0.tar.gz:
size of remote file is not known
zoneminder-zoneminder-1.36.5_GH0.tar.gz                 10 MB 6983 kBps    =
01s
=3D> Fetched file size mismatch (expected 11347787, actual 11347838)
=3D> Trying next site
=3D> Attempting to fetch
http://distcache.FreeBSD.org/ports-distfiles/zoneminder-zoneminder-1.36.5_G=
H0.tar.gz
fetch:
http://distcache.FreeBSD.org/ports-distfiles/zoneminder-zoneminder-1.36.5_G=
H0.tar.gz:
Not Found
=3D> Couldn't fetch it - please try to retrieve this
=3D> port manually into /portdistfiles/ and try again.
*** Error code 1

Stop.
make: stopped in /usr/ports/multimedia/zoneminder
=3D>> Cleaning up wrkdir
=3D=3D=3D>  Cleaning for zoneminder-1.36.5
build of multimedia/zoneminder | zoneminder-1.36.5 ended at Fri Dec 31 20:4=
6:51
GMT 2021
build time: 00:00:05
!!! build failure encountered !!!
%=20

----

That's consistent with the report at
<https://forums.freebsd.org/threads/83549/>.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260852-7788>