Date: Sun, 16 Aug 2009 13:40:08 GMT From: Anatoly Borodin <anatoly.borodin@gmail.com> To: python@FreeBSD.org Subject: Re: ports/137764: devel/py-setuptools cannot be installed Message-ID: <200908161340.n7GDe8FK040623@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/137764; it has been noted by GNATS. From: Anatoly Borodin <anatoly.borodin@gmail.com> To: bug-followup@freebsd.org Cc: python@freebsd.org, miwi@freebsd.org Subject: Re: ports/137764: devel/py-setuptools cannot be installed Date: Sun, 16 Aug 2009 16:08:11 +0300 I've found the reason: I use ZFS. The error message is produced by the shutil.copystat function. #cat /usr/local/lib/python2.6/shutil.py ... def copystat(src, dst): """Copy all stat info (mode bits, atime, mtime, flags) from src to dst""" st = os.stat(src) mode = stat.S_IMODE(st.st_mode) if hasattr(os, 'utime'): os.utime(dst, (st.st_atime, st.st_mtime)) if hasattr(os, 'chmod'): os.chmod(dst, mode) if hasattr(os, 'chflags') and hasattr(st, 'st_flags'): os.chflags(dst, st.st_flags) ... FreeBSD has flags, but ZFS where /usr/local resides doesn't support them. It may be related to one of the recent update to the code ZFS - at some point mv started to give messages like # rm -f /var/tmp/t ; touch /tmp/t ; mv /tmp/t /var/tmp mv: /var/tmp/t: set flags (was: 00000000): Invalid argument See also http://www.google.com.ua/search?q=zfs+%22set+flags+(was%3A%22+%22Invalid+argument%22
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908161340.n7GDe8FK040623>