Most likely introduced by http://bugs.python.org/issue8746 % repoman commit -m "Marked ~x{86,64}-macos" RepoMan scours the neighborhood... >>> Creating Manifest for /net/ra/export/gentoo/gentoo-x86/media-libs/libjpeg-turbo Note: use --include-dev (-d) to check dependencies for 'dev' profiles --- ./ChangeLog +++ ./ChangeLog @@ -4,0 +5,4 @@ + 24 Apr 2012; Fabian Groffen <grobian@gentoo.org> + libjpeg-turbo-1.2.0-r1.ebuild: + Marked ~x{86,64}-macos + Traceback (most recent call last): File "/Library/Gentoo/usr/bin/repoman", line 2536, in <module> pretend=options.pretend) File "/Library/Gentoo/usr/lib/portage/pym/repoman/utilities.py", line 857, in UpdateChangeLog shutil.move(clnew_path, cl_path) File "/Library/Gentoo/usr/lib/portage/pym/portage/__init__.py", line 231, in __call__ rval = self._func(*wrapped_args, **wrapped_kwargs) File "/Library/Gentoo/usr/lib/python2.7/shutil.py", line 299, in move copy2(src, real_dst) File "/Library/Gentoo/usr/lib/python2.7/shutil.py", line 129, in copy2 copystat(src, dst) File "/Library/Gentoo/usr/lib/python2.7/shutil.py", line 103, in copystat os.chflags(dst, st.st_flags) OSError: [Errno 45] Operation not supported: './ChangeLog' Problem is absent in 2.7.2
Problem reported upstream with minimal testcase.
This can be patched by adding ENOTSUP to Modules/errnomodule.c, and using ENOTSUP instead of EOPNOTSUPP in shutil.py.
@python, could you please include this patch on your next patchbump, iff this is for 2.7.3 (e.g -r2)?
http://prefix.gentooexperimental.org:8000/python-patches-2_7/rev/66c9cd2be8f2 http://overlays.gentoo.org/proj/alt/changeset/60503