From nobody@FreeBSD.org  Fri Aug 14 13:03:00 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 4A647106568B
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 14 Aug 2009 13:03:00 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 2E4E38FC4D
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 14 Aug 2009 13:03:00 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n7ED2xMY056826
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 14 Aug 2009 13:02:59 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n7ED2x8p056824;
	Fri, 14 Aug 2009 13:02:59 GMT
	(envelope-from nobody)
Message-Id: <200908141302.n7ED2x8p056824@www.freebsd.org>
Date: Fri, 14 Aug 2009 13:02:59 GMT
From: Anatoly Borodin <anatoly.borodin@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: devel/py-setuptools cannot be installed
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         137764
>Category:       ports
>Synopsis:       devel/py-setuptools cannot be installed
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-python
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 14 13:10:00 UTC 2009
>Closed-Date:    Sat Sep 19 18:13:45 UTC 2009
>Last-Modified:  Sat Sep 19 18:13:45 UTC 2009
>Originator:     Anatoly Borodin
>Release:        7.2-STABLE
>Organization:
>Environment:
FreeBSD fractal.home 7.2-STABLE FreeBSD 7.2-STABLE #0 r195917M: Tue Jul 28 02:38:00 EEST 2009     anatoly.borodin@gmail.com:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
The installation of devel/py-setuptools interrupts with an error message.
>How-To-Repeat:
/usr/ports/devel/py-setuptools>make install
===>  Extracting for py26-setuptools-0.6c9
=> MD5 Checksum OK for python/setuptools-0.6c9.tar.gz.
=> SHA256 Checksum OK for python/setuptools-0.6c9.tar.gz.
===>  Patching for py26-setuptools-0.6c9
===>   py26-setuptools-0.6c9 depends on file: /usr/local/bin/python2.6 - found
===>  Configuring for py26-setuptools-0.6c9
running config
===>  Building for py26-setuptools-0.6c9
running build
running build_py
creating build
creating build/lib
copying pkg_resources.py -> build/lib
copying easy_install.py -> build/lib
copying site.py -> build/lib
creating build/lib/setuptools
copying setuptools/extension.py -> build/lib/setuptools
copying setuptools/sandbox.py -> build/lib/setuptools
copying setuptools/depends.py -> build/lib/setuptools
copying setuptools/__init__.py -> build/lib/setuptools
copying setuptools/archive_util.py -> build/lib/setuptools
copying setuptools/dist.py -> build/lib/setuptools
copying setuptools/package_index.py -> build/lib/setuptools
creating build/lib/setuptools/tests
copying setuptools/tests/test_resources.py -> build/lib/setuptools/tests
copying setuptools/tests/__init__.py -> build/lib/setuptools/tests
copying setuptools/tests/test_packageindex.py -> build/lib/setuptools/tests
copying setuptools/tests/doctest.py -> build/lib/setuptools/tests
creating build/lib/setuptools/command
copying setuptools/command/build_ext.py -> build/lib/setuptools/command
copying setuptools/command/upload.py -> build/lib/setuptools/command
copying setuptools/command/bdist_wininst.py -> build/lib/setuptools/command
copying setuptools/command/egg_info.py -> build/lib/setuptools/command
copying setuptools/command/__init__.py -> build/lib/setuptools/command
copying setuptools/command/setopt.py -> build/lib/setuptools/command
copying setuptools/command/install_egg_info.py -> build/lib/setuptools/command
copying setuptools/command/bdist_egg.py -> build/lib/setuptools/command
copying setuptools/command/install.py -> build/lib/setuptools/command
copying setuptools/command/bdist_rpm.py -> build/lib/setuptools/command
copying setuptools/command/install_lib.py -> build/lib/setuptools/command
copying setuptools/command/saveopts.py -> build/lib/setuptools/command
copying setuptools/command/develop.py -> build/lib/setuptools/command
copying setuptools/command/easy_install.py -> build/lib/setuptools/command
copying setuptools/command/build_py.py -> build/lib/setuptools/command
copying setuptools/command/install_scripts.py -> build/lib/setuptools/command
copying setuptools/command/sdist.py -> build/lib/setuptools/command
copying setuptools/command/rotate.py -> build/lib/setuptools/command
copying setuptools/command/alias.py -> build/lib/setuptools/command
copying setuptools/command/register.py -> build/lib/setuptools/command
copying setuptools/command/test.py -> build/lib/setuptools/command
copying setuptools/cli.exe -> build/lib/setuptools
copying setuptools/gui.exe -> build/lib/setuptools
===>  Installing for py26-setuptools-0.6c9
===>   py26-setuptools-0.6c9 depends on file: /usr/local/bin/python2.6 - found
===>   Generating temporary packing list
===>  Checking if devel/py-setuptools already installed
running install
running bdist_egg
running egg_info
writing setuptools.egg-info/PKG-INFO
writing top-level names to setuptools.egg-info/top_level.txt
writing dependency_links to setuptools.egg-info/dependency_links.txt
writing entry points to setuptools.egg-info/entry_points.txt
reading manifest file 'setuptools.egg-info/SOURCES.txt'
writing manifest file 'setuptools.egg-info/SOURCES.txt'
installing library code to build/bdist.freebsd-7.2-STABLE-i386/egg
running install_lib
running build_py
creating build/bdist.freebsd-7.2-STABLE-i386
creating build/bdist.freebsd-7.2-STABLE-i386/egg
copying build/lib/pkg_resources.py -> build/bdist.freebsd-7.2-STABLE-i386/egg
copying build/lib/easy_install.py -> build/bdist.freebsd-7.2-STABLE-i386/egg
copying build/lib/site.py -> build/bdist.freebsd-7.2-STABLE-i386/egg
creating build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools
copying build/lib/setuptools/extension.py -> build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools
copying build/lib/setuptools/sandbox.py -> build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools
copying build/lib/setuptools/depends.py -> build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools
copying build/lib/setuptools/__init__.py -> build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools
copying build/lib/setuptools/archive_util.py -> build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools
copying build/lib/setuptools/dist.py -> build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools
copying build/lib/setuptools/package_index.py -> build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools
creating build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/tests
copying build/lib/setuptools/tests/test_resources.py -> build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/tests
copying build/lib/setuptools/tests/__init__.py -> build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/tests
copying build/lib/setuptools/tests/test_packageindex.py -> build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/tests
copying build/lib/setuptools/tests/doctest.py -> build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/tests
creating build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command
copying build/lib/setuptools/command/build_ext.py -> build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command
copying build/lib/setuptools/command/upload.py -> build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command
copying build/lib/setuptools/command/bdist_wininst.py -> build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command
copying build/lib/setuptools/command/egg_info.py -> build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command
copying build/lib/setuptools/command/__init__.py -> build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command
copying build/lib/setuptools/command/setopt.py -> build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command
copying build/lib/setuptools/command/install_egg_info.py -> build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command
copying build/lib/setuptools/command/bdist_egg.py -> build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command
copying build/lib/setuptools/command/install.py -> build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command
copying build/lib/setuptools/command/bdist_rpm.py -> build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command
copying build/lib/setuptools/command/install_lib.py -> build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command
copying build/lib/setuptools/command/saveopts.py -> build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command
copying build/lib/setuptools/command/develop.py -> build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command
copying build/lib/setuptools/command/easy_install.py -> build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command
copying build/lib/setuptools/command/build_py.py -> build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command
copying build/lib/setuptools/command/install_scripts.py -> build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command
copying build/lib/setuptools/command/sdist.py -> build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command
copying build/lib/setuptools/command/rotate.py -> build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command
copying build/lib/setuptools/command/alias.py -> build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command
copying build/lib/setuptools/command/register.py -> build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command
copying build/lib/setuptools/command/test.py -> build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command
copying build/lib/setuptools/cli.exe -> build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools
copying build/lib/setuptools/gui.exe -> build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools
byte-compiling build/bdist.freebsd-7.2-STABLE-i386/egg/pkg_resources.py to pkg_resources.pyc
byte-compiling build/bdist.freebsd-7.2-STABLE-i386/egg/easy_install.py to easy_install.pyc
byte-compiling build/bdist.freebsd-7.2-STABLE-i386/egg/site.py to site.pyc
byte-compiling build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/extension.py to extension.pyc
byte-compiling build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/sandbox.py to sandbox.pyc
byte-compiling build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/depends.py to depends.pyc
byte-compiling build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/__init__.py to __init__.pyc
byte-compiling build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/archive_util.py to archive_util.pyc
byte-compiling build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/dist.py to dist.pyc
byte-compiling build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/package_index.py to package_index.pyc
byte-compiling build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/tests/test_resources.py to test_resources.pyc
byte-compiling build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/tests/__init__.py to __init__.pyc
byte-compiling build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/tests/test_packageindex.py to test_packageindex.pyc
byte-compiling build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/tests/doctest.py to doctest.pyc
byte-compiling build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command/build_ext.py to build_ext.pyc
byte-compiling build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command/upload.py to upload.pyc
byte-compiling build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command/bdist_wininst.py to bdist_wininst.pyc
byte-compiling build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command/egg_info.py to egg_info.pyc
byte-compiling build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command/__init__.py to __init__.pyc
byte-compiling build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command/setopt.py to setopt.pyc
byte-compiling build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command/install_egg_info.py to install_egg_info.pyc
byte-compiling build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command/bdist_egg.py to bdist_egg.pyc
byte-compiling build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command/install.py to install.pyc
byte-compiling build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command/bdist_rpm.py to bdist_rpm.pyc
byte-compiling build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command/install_lib.py to install_lib.pyc
byte-compiling build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command/saveopts.py to saveopts.pyc
byte-compiling build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command/develop.py to develop.pyc
byte-compiling build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command/easy_install.py to easy_install.pyc
byte-compiling build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command/build_py.py to build_py.pyc
byte-compiling build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command/install_scripts.py to install_scripts.pyc
byte-compiling build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command/sdist.py to sdist.pyc
byte-compiling build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command/rotate.py to rotate.pyc
byte-compiling build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command/alias.py to alias.pyc
byte-compiling build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command/register.py to register.pyc
byte-compiling build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command/test.py to test.pyc
writing byte-compilation script '/tmp/tmpG5Gx1Z.py'
/usr/local/bin/python2.6 -O /tmp/tmpG5Gx1Z.py
removing /tmp/tmpG5Gx1Z.py
creating build/bdist.freebsd-7.2-STABLE-i386/egg/EGG-INFO
copying setuptools.egg-info/PKG-INFO -> build/bdist.freebsd-7.2-STABLE-i386/egg/EGG-INFO
copying setuptools.egg-info/SOURCES.txt -> build/bdist.freebsd-7.2-STABLE-i386/egg/EGG-INFO
copying setuptools.egg-info/dependency_links.txt -> build/bdist.freebsd-7.2-STABLE-i386/egg/EGG-INFO
copying setuptools.egg-info/entry_points.txt -> build/bdist.freebsd-7.2-STABLE-i386/egg/EGG-INFO
copying setuptools.egg-info/top_level.txt -> build/bdist.freebsd-7.2-STABLE-i386/egg/EGG-INFO
copying setuptools.egg-info/zip-safe -> build/bdist.freebsd-7.2-STABLE-i386/egg/EGG-INFO
creating dist
creating 'dist/setuptools-0.6c9-py2.6.egg' and adding 'build/bdist.freebsd-7.2-STABLE-i386/egg' to it
removing 'build/bdist.freebsd-7.2-STABLE-i386/egg' (and everything under it)
Processing setuptools-0.6c9-py2.6.egg
Removing /usr/local/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg
Copying setuptools-0.6c9-py2.6.egg to /usr/local/lib/python2.6/site-packages
error: /usr/local/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg: Invalid argument
*** Error code 1

Stop in /usr/ports/devel/py-setuptools.

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->python 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Aug 14 13:10:14 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=137764 
State-Changed-From-To: open->feedback 
State-Changed-By: miwi 
State-Changed-When: Fri Aug 14 13:45:03 UTC 2009 
State-Changed-Why:  
I can't confirm this problem, is your portstree 100% correct? all 
workdirs was befor cleaned? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=137764 

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
Responsible-Changed-From-To: python->freebsd-python 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun Aug 16 22:53:06 UTC 2009 
Responsible-Changed-Why:  
Canonicalize assignment. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=137764 
State-Changed-From-To: feedback->closed 
State-Changed-By: miwi 
State-Changed-When: Sat Sep 19 18:13:44 UTC 2009 
State-Changed-Why:  
should be fixed now 

http://www.freebsd.org/cgi/query-pr.cgi?pr=137764 
>Unformatted:
