Compile fails with HEADERS_MORE option enabled due to size/SHA256 has mismatch. http://hastebin.com/xiwibixaki.coffee
Created attachment 158078 [details] Update size/hash in distinfo
this bug appears to be caused by a change in the github tag for headers_more 0.26 as of 4 days ago. https://github.com/openresty/headers-more-nginx-module/releases
A commit references this bug: Author: koobs Date: Fri Jul 3 16:45:00 UTC 2015 New revision: 391254 URL: https://svnweb.freebsd.org/changeset/ports/391254 Log: www/nginx{-deve}: Fix build with HEADERS_MORE option Upstream apparently re-tagged the v0.26 release, thereby changing the contents of the tarball oftained from github, causing distinfo checksums to become mismatched. This change updates distinfo entries in nginx and nginx-devel to compensate. PR: 201129 Submitted by: Adam Twardowski <adam dot twardowski gmail.com> Approved by: portmgr (blanket) MFH: 2015Q3 Changes: head/www/nginx/Makefile head/www/nginx/distinfo head/www/nginx-devel/Makefile head/www/nginx-devel/distinfo
nginx and nginx-devel are super popular software packages so I opted to fix this on behalf of Sergey in case he was otherwise occupied. This was build tested in poudriere, and changes were applied (beyond the original report in www/nginx) to nginx-devel as well.
Committed, thank you Adam!
Kubilay, I don't think this is about super popular nginx or nginx-devel ports, but about an issue with the headers_more module. The size/SHA256 mismatch in third-party headers_more module has been acquired probably because of the module's author mistake: he's changed something in source code after release tagging. In my point of view, I'd recommend to ask the module's author to create a new release with that change. Any comments?
(In reply to Sergey A. Osokin from comment #6) Absolutely agree with that recommendation. Upstreams re-rolling distfiles and moving tags (in this case) is bad practice at best, and disruptive in most if not all cases for downstream consumers that rely on them, as was the case here. I mentioned that popularity of the nginx ports only as a warrant to commit the fix on your behalf. Apologies if that was out-of-line. What is there left to do on this issue?
Upstream issue created post-commit to clarify changes in the 2nd version of v0.26, with explanation of the impact moving the tag caused: https://github.com/openresty/headers-more-nginx-module/issues/35
Has been upgraded to 0.261.
Can you MFH? I havent merged my original commit yet. Your last one is probably the one we want instead
A commit references this bug: Author: koobs Date: Mon Jul 6 05:43:35 UTC 2015 New revision: 391391 URL: https://svnweb.freebsd.org/changeset/ports/391391 Log: MFH: r391254 www/nginx{-deve}: Fix build with HEADERS_MORE option Upstream apparently re-tagged the v0.26 release, thereby changing the contents of the tarball oftained from github, causing distinfo checksums to become mismatched. This change updates distinfo entries in nginx and nginx-devel to compensate. PR: 201129 Approved by: portmgr (feld) Changes: _U branches/2015Q3/ branches/2015Q3/www/nginx/Makefile branches/2015Q3/www/nginx/distinfo branches/2015Q3/www/nginx-devel/Makefile branches/2015Q3/www/nginx-devel/distinfo