[Bug 205056] Mk/Uses/python.mk: USE_PYTHON=autoplist fails to generate the correct plist when some tag is empty in setup.cfg

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed May 5 16:30:11 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205056

Oleg Sidorkin <osidorkin at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |osidorkin at gmail.com

--- Comment #2 from Oleg Sidorkin <osidorkin at gmail.com> ---
Created attachment 224696
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=224696&action=edit
patch to add special handling for directoried with USE_PYTHON=autoplist

Some python packages adds empty directories entries to the list of installed
files. python.mk blindly copies these entries to the plist file, and then such
plist produces some strange effects (e.g. pkg fails to calculate sha256).

I've spotted this when tried to update py-buildbot port.

Attached patch adds a check if the given entry is a directory and adds @dir
prefix to directory entries.

I can attach my version of buildbot port that reproduces this problem.

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


More information about the freebsd-python mailing list