From owner-freebsd-python@FreeBSD.ORG Sun Aug 16 13:40:09 2009 Return-Path: Delivered-To: python@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36149106568D for ; Sun, 16 Aug 2009 13:40:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2539B8FC6B for ; Sun, 16 Aug 2009 13:40:09 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7GDe8O5040624 for ; Sun, 16 Aug 2009 13:40:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7GDe8FK040623; Sun, 16 Aug 2009 13:40:08 GMT (envelope-from gnats) Date: Sun, 16 Aug 2009 13:40:08 GMT Message-Id: <200908161340.n7GDe8FK040623@freefall.freebsd.org> To: python@FreeBSD.org From: Anatoly Borodin Cc: Subject: Re: ports/137764: devel/py-setuptools cannot be installed X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Anatoly Borodin List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Aug 2009 13:40:09 -0000 The following reply was made to PR ports/137764; it has been noted by GNATS. From: Anatoly Borodin 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