[Bug 239285] devel/automake: Fix 'make uninstall' for Python scripts
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Jul 18 16:01:36 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239285
Bug ID: 239285
Summary: devel/automake: Fix 'make uninstall' for Python
scripts
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: tijl at FreeBSD.org
Reporter: lantw44 at gmail.com
Flags: maintainer-feedback?(tijl at FreeBSD.org)
Assignee: tijl at FreeBSD.org
Created attachment 205870
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=205870&action=edit
Fix automake bug 31222
I was making a source release for my project on FreeBSD, but I had to stop
because of a 'make distcheck' error:
( cd '/home/lantw44/devel/ceiba-dl/ceiba-dl-0.6/_inst/bin' && rm -f ceiba-dl )
( cd
'/home/lantw44/devel/ceiba-dl/ceiba-dl-0.6/_inst/lib/python3.6/site-packages/ceiba_dl'
&& rm -f __init__.py config.py helper.py vfs.py _version.py )
( cd
'/home/lantw44/devel/ceiba-dl/ceiba-dl-0.6/_inst/lib/python3.6/site-packages/ceiba_dl'
&& rm -f __init__.pyc config.pyc helper.pyc vfs.pyc _version.pyc )
( cd
'/home/lantw44/devel/ceiba-dl/ceiba-dl-0.6/_inst/lib/python3.6/site-packages/ceiba_dl'
&& rm -f __init__.pyo config.pyo helper.pyo vfs.pyo _version.pyo )
( cd
'/home/lantw44/devel/ceiba-dl/ceiba-dl-0.6/_inst/lib/python3.6/site-packages/ceiba_dl/__pycache__'
&& rm -f __init__.*.pycn__init__.*.pyo config.*.pycnconfig.*.pyo
helper.*.pycnhelper.*.pyo vfs.*.pycnvfs.*.pyo _version.*.pycn_version.*.pyo )
( cd '/home/lantw44/devel/ceiba-dl/ceiba-dl-0.6/_inst/lib/ceiba-dl/helpers' &&
rm -f 10-helper-webkitgtk )
ERROR: files left after uninstall:
./lib/python3.6/site-packages/ceiba_dl/__pycache__/__init__.cpython-36.opt-1.pyc
./lib/python3.6/site-packages/ceiba_dl/__pycache__/__init__.cpython-36.pyc
./lib/python3.6/site-packages/ceiba_dl/__pycache__/config.cpython-36.pyc
./lib/python3.6/site-packages/ceiba_dl/__pycache__/helper.cpython-36.pyc
./lib/python3.6/site-packages/ceiba_dl/__pycache__/vfs.cpython-36.pyc
./lib/python3.6/site-packages/ceiba_dl/__pycache__/_version.cpython-36.pyc
./lib/python3.6/site-packages/ceiba_dl/__pycache__/_version.cpython-36.opt-1.pyc
./lib/python3.6/site-packages/ceiba_dl/__pycache__/config.cpython-36.opt-1.pyc
./lib/python3.6/site-packages/ceiba_dl/__pycache__/helper.cpython-36.opt-1.pyc
./lib/python3.6/site-packages/ceiba_dl/__pycache__/vfs.cpython-36.opt-1.pyc
*** Error code 1
The reason of the error is that sed on FreeBSD doesn't recognize '\n' as a
newline in the replacement of s command. Instead, it becomes an 'n' and causes
file names to be joined with 'n', so none of pyc and pyo files are removed
during uninstallation.
This bug has been fixed by upstream. Can we add it to the port?
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=31222
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list