Date: Thu, 18 Jul 2019 16:01:35 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 239285] devel/automake: Fix 'make uninstall' for Python scripts Message-ID: <bug-239285-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239285 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@FreeBSD.org Reporter: lantw44@gmail.com Flags: maintainer-feedback?(tijl@FreeBSD.org) Assignee: tijl@FreeBSD.org Created attachment 205870 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D205870&action= =3Dedit 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-package= s/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-package= s/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-package= s/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-package= s/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 cau= ses 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=3D31222 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239285-7788>