[Bug 264962] ports-mgmt/pkg 1.18.2: 'pkg-static: pkg_checksum_hash_sha256_file(read failed): Is a directory' error when package contains .egg-info dir

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 30 Jun 2022 14:56:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264962

            Bug ID: 264962
           Summary: ports-mgmt/pkg 1.18.2: 'pkg-static:
                    pkg_checksum_hash_sha256_file(read failed): Is a
                    directory' error  when package contains .egg-info dir
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: pkg@FreeBSD.org
          Reporter: nick.rozhkov@gmail.com
             Flags: maintainer-feedback?(pkg@FreeBSD.org)
          Assignee: pkg@FreeBSD.org

Its impossible to create the package or install the port when it contains
.egg-info dir. Faced with the same error for graphics/lensfun and
sysutils/xen-tools
Error log (make package/make install in graphics/lensfun dir): 

DBG(3)[67579]> Pkg: add new file
'/usr/local/share/lensfun/version_2/timestamp.txt'
DBG(1)[67579]> Parsing plist line:
'lib/python3.9/site-packages/lensfun-0.3.95-py3.9.egg-info'
pkg-static: pkg_checksum_hash_sha256_file(read failed): Is a directory

Same and for sysutils/xen-tools:
DBG(1)[11477]> Parsing plist line:
'lib/python3.9/site-packages/pygrub-0.6-py3.9.egg-info'
pkg-static: pkg_checksum_hash_sha256_file(read failed): Is a directory
DBG(1)[11477]> Parsing plist line:
'lib/python3.9/site-packages/xen-3.0-py3.9.egg-info'
pkg-static: pkg_checksum_hash_sha256_file(read failed): Is a directory

-- 
You are receiving this mail because:
You are the assignee for the bug.