Summary: | Mk/Uses/python.mk: USE_PYTHON=autoplist fails to generate the correct plist when some tag is empty in setup.cfg | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Yuri Victorovich <yuri> | ||||
Component: | Ports Framework | Assignee: | freebsd-python (Nobody) <python> | ||||
Status: | New --- | ||||||
Severity: | Affects Only Me | CC: | ant, antoine, arrowd, freebsd, mva, osidorkin, pi, ports-bugs, python, trombik1973 | ||||
Priority: | --- | Keywords: | needs-qa | ||||
Version: | Latest | Flags: | arrowd:
maintainer-feedback?
(python) |
||||
Hardware: | Any | ||||||
OS: | Any | ||||||
See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201386 | ||||||
Attachments: |
|
Description
Yuri Victorovich
2015-12-06 11:51:24 UTC
Is this still relevant? Yuri, can you assess? Created attachment 224696 [details]
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.
(In reply to Oleg Sidorkin from comment #2) I can confirm this is (1) An actual problem; and (2) This patch seems to solve, at least for me, for buildbot. I have been working on getting the buildbot port upgraded, and this was the blocker. |