From owner-freebsd-python@FreeBSD.ORG Sun Aug 16 13:08:33 2009 Return-Path: Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3466F106568B; Sun, 16 Aug 2009 13:08:33 +0000 (UTC) (envelope-from fractalizator@gmail.com) Received: from mail-bw0-f219.google.com (mail-bw0-f219.google.com [209.85.218.219]) by mx1.freebsd.org (Postfix) with ESMTP id 850838FC41; Sun, 16 Aug 2009 13:08:32 +0000 (UTC) Received: by bwz19 with SMTP id 19so2561644bwz.37 for ; Sun, 16 Aug 2009 06:08:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to:cc :content-type:content-transfer-encoding; bh=zwDEvy2/7aQc9OiprZqARlePVouQy80iI8V+Kcp6R4c=; b=pP+iPrpuwoJdC9/uRPe1FpGT6rkAaDtRnnLE8xIMWPT+gn8t05EVoJLWn2R5tnd5JG O+BUaK+0mG9VBDu52k5j93ofqss8/yJe1JltOngRdhtbTYnVqqoIz/GkbpAj719OWAgE sLAwzs3AYTbt2qbh10tDjYRqUSBjo7Mh/EZ6g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=KZdIlCYts2whQhTVcACwIhnEloRdLEAaKg1N0gC26vIzkUpGWeSXhDBbDnhrU2+Pxl 4T8mYQKivAOlhkv2LnW5qJdIf21Yux/9FoswaGz67Fdircv6wTpxjEIO2atKtRreTLFj 3vM5/NTB0Atn0WqOzGHfJRpZuuCJPp9kHVkUk= MIME-Version: 1.0 Sender: fractalizator@gmail.com Received: by 10.204.112.195 with SMTP id x3mr227898bkp.133.1250428111273; Sun, 16 Aug 2009 06:08:31 -0700 (PDT) In-Reply-To: <200908141345.n7EDj3m0050920@freefall.freebsd.org> References: <200908141345.n7EDj3m0050920@freefall.freebsd.org> From: Anatoly Borodin Date: Sun, 16 Aug 2009 16:08:11 +0300 X-Google-Sender-Auth: 9201277e47cb6c6c Message-ID: To: bug-followup@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: python@freebsd.org, miwi@freebsd.org Subject: Re: ports/137764: devel/py-setuptools cannot be installed X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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:08:33 -0000 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