Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 May 2021 16:30:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 205056] Mk/Uses/python.mk: USE_PYTHON=autoplist fails to generate the correct plist when some tag is empty in setup.cfg
Message-ID:  <bug-205056-7788-Cn5TcAc4ku@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-205056-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-205056-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205056

Oleg Sidorkin <osidorkin@gmail.com> changed:

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

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

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 s=
uch
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-205056-7788-Cn5TcAc4ku>