[kde-freebsd] [Bug 200018] editors/kate-plugin-pate: Poudriere build fails: Filesystem touched during build
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Dec 19 12:58:40 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200018
--- Comment #6 from commit-hook at freebsd.org ---
A commit references this bug:
Author: rakuco
Date: Sat Dec 19 12:58:27 UTC 2015
New revision: 404014
URL: https://svnweb.freebsd.org/changeset/ports/404014
Log:
MFH: r403982
Remove ${STAGEDIR} from pyc/pyo files installed with kdelibs's CMake macros.
Bug 200018 is caused by the .pyc/.pyo files installed by devel/py-pykde4
containing references to the stage directory in them. When
editors/kate-plugin-pate is built by a user with write-access to those
PyKDE4 .pyc/.pyo files, they are rewritten automatically by Python to point
to their current location, which most of the times is different from the
staging location of where devel/py-pykde4 was built. This at the very least
leads to a filesystem violation in Poudriere.
The fix I landed upstream involves making kdelibs's PythonCompile.py accept
a --destination-dir parameter with the directory we want to register in the
.pyc/.pyo files, just like several ports do in their build or post-install
targets by calling Python's compileall.py module with -d.
The patches in files/ look somewhat confusing because we already patch
PythonMacros.cmake to build .pyo files and had to integrate the other
patches into it. At least I have added some context to
patch-cmake_modules_PythonMacros.cmake to reduce the confusion.
Bump PORTREVISION in affected ports:
- devel/py-pykde4: Install .pyc/.pyo files with ${STAGEDIR} in them.
- games/kajongg: The plist now includes .pyo files, and was adjusted to work
with Python 3 in the future if necessary.
- x11/kdelibs4: Install new CMake files.
- x11/plasma-scriptengine-python: Install .pyc/.pyo files with ${STAGEDIR}
in them.
PR: 200018
Approved by: ports-secteam (feld)
Changes:
_U branches/2015Q4/
branches/2015Q4/devel/py-pykde4/Makefile
branches/2015Q4/games/kajongg/Makefile
branches/2015Q4/games/kajongg/pkg-plist
branches/2015Q4/x11/kdelibs4/Makefile
branches/2015Q4/x11/kdelibs4/files/patch-cmake_modules_PythonMacros.cmake
branches/2015Q4/x11/kdelibs4/files/patch-git_016841a
branches/2015Q4/x11/kdelibs4/files/patch-git_94f1d2f
branches/2015Q4/x11/plasma-scriptengine-python/Makefile
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the kde-freebsd
mailing list