pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: www/hugo build problem



On Thu, 10 Mar 2022 at 17:09, Nikita Ronja Gillmann <nikita%klang.is@localhost> wrote:
>
> may be corrupted due to weak text file detection heuristic
>
> is something which, probably for another 2 files, was non-fatal on my
> side (from memory).
> Non-fatal every time I ran this did not make me explore this issue
> further so far.

I switched locally the package to 0.94.0, the last available release.
I am getting the same.  it fails because of
...
unzip: ZIP uncompressed data is wrong size (read 69159, expected 69156)
...

The released version also builds cleanly away from pkgsrc:
...
-rwxr-xr-x   1 xci  wheel  67365917 Mar 10 17:29 hugo
$ ./hugo version
hugo v0.94.0 netbsd/amd64 BuildDate=unknown
...


>
> On 3/10/22 18:01, Chavdar Ivanov wrote:
> > On Thu, 10 Mar 2022 at 16:52, Nikita Ronja Gillmann <nikita%klang.is@localhost> wrote:
> >> I can't look into this right now, but is it possible that the file was
> >> altered on golang.org since I did the commit?
> > Most likely; make NO_CHECKSUM=yes also fails with:
> > ...
> > => Bootstrap dependency digest>=20211023: found digest-20220214
> > ===> Installing dependencies for go-hugo-0.93.2nb2
> > => Build dependency go117-1.17.8*: found go117-1.17.8
> > => Build dependency cwrappers>=20150314: found cwrappers-20180325
> > ===> Checking for vulnerabilities in go-hugo-0.93.2nb2
> > ===> Overriding tools for go-hugo-0.93.2nb2
> > ===> Extracting for go-hugo-0.93.2nb2
> > unzip: github.com/Azure/go-amqp@v0.12.7/fuzz/marshal/corpus/2b6ea826123947958906be7d62b18908ddb4f85a-8
> > may be corrupted due to weak text file detection heuristic
> > unzip: github.com/Azure/go-amqp@v0.12.7/fuzz/marshal/corpus/42990cf46d875afc034e3e9ff31114eeab49c383-9
> > may be corrupted due to weak text file detection heuristic
> > unzip: github.com/magefile/mage@v1.12.1/site/themes/learn/static/mermaid/mermaid.js
> > may be corrupted due to weak text file detection heuristic
> > unzip: ZIP uncompressed data is wrong size (read 69159, expected 69156)
> > ...
> >
> >> On 3/10/22 17:47, Chavdar Ivanov wrote:
> >>> Hi,
> >>>
> >>> Does anybody see
> >>>
> >>> ...
> >>> checksum: Checksum BLAKE2s mismatch for
> >>> golang.org_x_net_@v_v0.0.0-20220127200216-cd36cc0744dd.zip
> >>> ERROR: Make sure the Makefile and checksum file (/usr/pkgsrc/www/hugo/distinfo)
> >>> ERROR: are up to date.  If you want to override this check, type
> >>> ERROR: "/usr/bin/make NO_CHECKSUM=yes [other args]".
> >>> *** Error code 1
> >>>
> >>> Stop.
> >>> make: stopped in /usr/pkgsrc/www/hugo
> >>>
> >>> (after removing all .mod files in the distfiles directory, fully
> >>> updated pkgsrc -current, reinstalled pkgtools/digest).
> >>>
> >>> Mind you, cloning the git repo and just building it works fine (this
> >>> is on 9.99.94 amd64, go1.17.8).
> >>>
> >>> Chavdar
> >>>
> >>>
> >
> >



-- 
----


Home | Main Index | Thread Index | Old Index