Bug 257766 - www/adguardhome: LOCAL distfiles mismatch - port wont build
Summary: www/adguardhome: LOCAL distfiles mismatch - port wont build
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Yuri Victorovich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-11 12:02 UTC by Michiel van Baak
Modified: 2021-08-11 19:02 UTC (History)
0 users

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


Attachments
poudriere log (10.23 KB, text/plain)
2021-08-11 12:02 UTC, Michiel van Baak
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michiel van Baak 2021-08-11 12:02:37 UTC
Created attachment 227111 [details]
poudriere log

I added www/adguardhome to the list of ports for my poudriere to build and run into this error.

Uploaded the poudriere logfile.

TL;DR log message:
=> Attempting to fetch http://distcache.us-west.FreeBSD.org/local-distfiles/yuri/adguardhome-html-build-0.106.3.tar.gz
fetch: http://distcache.us-west.FreeBSD.org/local-distfiles/yuri/adguardhome-html-build-0.106.3.tar.gz: size mismatch: expected 2339485, actual 2339043
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/go/www_adguardhome/adguardhome-v0.106.3/adguardhome-html-build-0.106.3.tar.gz
fetch: http://distcache.FreeBSD.org/ports-distfiles/go/www_adguardhome/adguardhome-v0.106.3/adguardhome-html-build-0.106.3.tar.gz: Not Found
Comment 1 Yuri Victorovich freebsd_committer 2021-08-11 18:42:22 UTC
Hi Michiel van Baak,


Yes, there is a mismatch in tarballs. Strangely central builds never broke because of this.

But AdGuardHome is currently broken because frontend isn't built properly. (https://github.com/AdguardTeam/AdGuardHome/issues/3362)

I will update this bug once this is resolved.


Thanks for your report.

Yuri
Comment 2 Yuri Victorovich freebsd_committer 2021-08-11 18:59:07 UTC
This is now fixed in the new AdGuardHome version.

Thanks for your report!
Comment 3 commit-hook freebsd_committer 2021-08-11 18:59:51 UTC
A commit in branch main references this bug:

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

commit a6b49877f8f2b86f5787dbf1f8ec3e058ee13cd1
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-08-11 18:55:03 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-08-11 18:59:19 +0000

    www/adguardhome: Update 0.106.3 -> 0.107.0-b.7

    This fixes:
    * the local distfile mismatch (bug#257766)
    * the broken fronend problem (it wasn't built properly and causes the '404 page not found' error)

    PR:             257766
    Reported by:    Michiel van Baak <michiel@vanbaak.eu>

 www/adguardhome/Makefile |  2 +-
 www/adguardhome/distinfo | 18 +++++++++---------
 2 files changed, 10 insertions(+), 10 deletions(-)
Comment 4 commit-hook freebsd_committer 2021-08-11 19:02:52 UTC
A commit in branch 2021Q3 references this bug:

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

commit 14130108207fa6357f6298f6de3a67bec764673a
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-08-11 18:55:03 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-08-11 19:02:09 +0000

    www/adguardhome: Update 0.106.3 -> 0.107.0-b.7

    This fixes:
    * the local distfile mismatch (bug#257766)
    * the broken fronend problem (it wasn't built properly and causes the '404 page not found' error)

    PR:             257766
    Reported by:    Michiel van Baak <michiel@vanbaak.eu>

    (cherry picked from commit a6b49877f8f2b86f5787dbf1f8ec3e058ee13cd1)

 www/adguardhome/Makefile |  2 +-
 www/adguardhome/distinfo | 18 +++++++++---------
 2 files changed, 10 insertions(+), 10 deletions(-)