OPNsense Forum

English Forums => Development and Code Review => Topic started by: none on October 22, 2026, 05:04:53 PM

Title: Ports build error fetching patches for pkg
Post by: none on October 22, 2026, 05:04:53 PM
Hi,

this happened to me here, I would like to know if is just me.

I am building 26.7.7 again for post PHP issue images, so this happened here:


[20261022135603] ===> License PHP301 accepted by the user
===>   php85-zlib-8.5.12 depends on file: /usr/local/sbin/pkg - not found
[20261022135603] ===> License BSD2CLAUSE accepted by the user
[20261022135603] => 65e6bddc5ffb3edb71e240f7bbaf58fb00b7002e.patch doesn't seem to exist in /usr/ports/distfiles.
[20261022135603] => Attempting to fetch https://github.com/opnsense/pkg/commit/65e6bddc5ffb3edb71e240f7bbaf58fb00b7002e.patch
fetch: https://github.com/opnsense/pkg/commit/65e6bddc5ffb3edb71e240f7bbaf58fb00b7002e.patch: size mismatch: expected 2827, actual 2831
[20261022135604] => Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/65e6bddc5ffb3edb71e240f7bbaf58fb00b7002e.patch
fetch: http://distcache.FreeBSD.org/ports-distfiles/65e6bddc5ffb3edb71e240f7bbaf58fb00b7002e.patch: Not Found
[20261022135605] => Couldn't fetch it - please try to retrieve this
[20261022135605] => port manually into /usr/ports/distfiles and try again.
*** Error code 1

Stop.
make[1]: stopped making "install" in /usr/ports/opnsense/pkg
*** Error code 1

Stop.
make: stopped making "install" in /usr/ports/archivers/php85-zlib
[20261022135608] ===> Cleaning for pkg-2.8.4_1
[20261022135609] ===> Cleaning for php85-zlib-8.5.12
[20261022135613] ===> License BSD3CLAUSE accepted by the user
===>   snappy-1.3.1 depends on file: /usr/local/sbin/pkg - not found
[20261022135613] ===> License BSD2CLAUSE accepted by the user
[20261022135613] => 65e6bddc5ffb3edb71e240f7bbaf58fb00b7002e.patch doesn't seem to exist in /usr/ports/distfiles.
[20261022135613] => Attempting to fetch https://github.com/opnsense/pkg/commit/65e6bddc5ffb3edb71e240f7bbaf58fb00b7002e.patch
fetch: https://github.com/opnsense/pkg/commit/65e6bddc5ffb3edb71e240f7bbaf58fb00b7002e.patch: size mismatch: expected 2827, actual 2831
[20261022135613] => Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/65e6bddc5ffb3edb71e240f7bbaf58fb00b7002e.patch
fetch: http://distcache.FreeBSD.org/ports-distfiles/65e6bddc5ffb3edb71e240f7bbaf58fb00b7002e.patch: Not Found
[20261022135614] => Couldn't fetch it - please try to retrieve this
[20261022135614] => port manually into /usr/ports/distfiles and try again.
*** Error code 1

Stop.

and

[20261022141943] ===> License BSD2CLAUSE accepted by the user
[20261022141943] => 6a8c6d4bfc5fef41a055952ab2f6fd5e8c6348cb.patch doesn't seem to exist in /usr/ports/distfiles.
[20261022141943] => Attempting to fetch https://github.com/opnsense/pkg/commit/6a8c6d4bfc5fef41a055952ab2f6fd5e8c6348cb.patch
fetch: https://github.com/opnsense/pkg/commit/6a8c6d4bfc5fef41a055952ab2f6fd5e8c6348cb.patch: size mismatch: expected 3036, actual 3038
[20261022141944] => Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/6a8c6d4bfc5fef41a055952ab2f6fd5e8c6348cb.patch
fetch: http://distcache.FreeBSD.org/ports-distfiles/6a8c6d4bfc5fef41a055952ab2f6fd5e8c6348cb.patch: Not Found
[20261022141945] => Couldn't fetch it - please try to retrieve this
[20261022141945] => port manually into /usr/ports/distfiles and try again.

I then downloaded manually the patches and updated the distinfo data as well. The ports build now runs as usual here.

Thanks,

none