Solved pkg_checksum_hash_sha256_file(read failed)

Hi mates!
Try to install databases/rrdtool with portmaster and on the step of registing installation see this:

Code:
===>   Registering installation for rrdtool-1.7.2_6
pkg-static: pkg_checksum_hash_sha256_file(read failed): Is a directory
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/databases/rrdtool
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/rrdtool

===>>> Installation of rrdtool-1.7.2_6 (databases/rrdtool) failed
===>>> Aborting update
Also tried make clean and make isntall clean from port directory, same error.
My system - FreeBSD 13.1, ports updated.
 
This is normally an issue with the port, it happens when something ends up in the package content listing as if it was a file, but is indeed a directory.

But, the last package build was fine: http://beefy16.nyi.freebsd.org/data/130amd64-default/latest-per-pkg/rrdtool-1.7.2_6.log (IPv6 only). The port had two changes since that build https://cgit.freebsd.org/ports/commit/?id=972bbf13b42495101400b8afee66b96775e2f31c and https://cgit.freebsd.org/ports/commit/?id=ea98b6a1c43a0af1d07e68587efd792c285f4714 and I can't spot anything suspicious in them :-/

I'd say open a PR on bugzilla, but first please check:
  • do you use any non-default options for that port?
  • do you have anything in your make.conf?
 
Back
Top