python ./setup.py install -- can't create or remove files in install directory #803
Labels
No Label
0.2.0
0.3.0
0.4.0
0.5.0
0.5.1
0.6.0
0.6.1
0.7.0
0.8.0
0.9.0
1.0.0
1.1.0
1.10.0
1.10.1
1.10.2
1.10a2
1.11.0
1.12.0
1.12.1
1.13.0
1.14.0
1.15.0
1.15.1
1.2.0
1.3.0
1.4.1
1.5.0
1.6.0
1.6.1
1.7.0
1.7.1
1.7β
1.8.0
1.8.1
1.8.2
1.8.3
1.8β
1.9.0
1.9.0-s3branch
1.9.0a1
1.9.0a2
1.9.0b1
1.9.1
1.9.2
1.9.2a1
LeastAuthority.com automation
blocker
cannot reproduce
cloud-branch
code
code-dirnodes
code-encoding
code-frontend
code-frontend-cli
code-frontend-ftp-sftp
code-frontend-magic-folder
code-frontend-web
code-mutable
code-network
code-nodeadmin
code-peerselection
code-storage
contrib
critical
defect
dev-infrastructure
documentation
duplicate
enhancement
fixed
invalid
major
minor
n/a
normal
operational
packaging
somebody else's problem
supercritical
task
trivial
unknown
was already fixed
website
wontfix
worksforme
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Reference: tahoe-lafs/trac-2024-07-25#803
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
bewst reported:
This is part of http://bugs.python.org/setuptools/issue54 (be more like distutils with regard to --prefix=). There are some patches to fix this particular detail in zetuptoolz, the fork of setuptools which comes bundled in Tahoe-LAFS under the unfortunate name of [setuptools-0.6c12dev]src:misc/dependencies/setuptools-0.6c12dev.egg?rev=20090205152818-92b7f-68bbee545bd9198bb3c4eb7cf9b84bf7d93e09d6. (I've also submitted the patches to the new Python Distribute Project, which will hopefully be the successor to setuptools: http://bitbucket.org/tarek/distribute/issue/46/be-more-like-distutils-with-regard-to .)
Anyway, the fact that bewst is getting this error message suggests that somehow real setuptools instead of zetuptoolz is being used to try to build Tahoe-LAFS. It's curious to wonder how this could happen. bewst: could you tell me what happens when you run
python -c 'import pkg_resources;print pkg_resources.require("setuptools")'
?(bewst initially reported this on ticket #668, but that ticket is about running
easy_install allmydata-tahoe
and this ticket is about downloading the source, unpacking it, and runningpython ./setup.py install
. This are intimately related, but the latter works for everyone else except bewst and the former doesn't work for anyone yet.)bewst: which system was this on, and what do you get from
It's ubuntu Intrepid and I get
Interesting -- you have a newer alpha release of setuptools installed, so Tahoe-LAFS's bundled variant of setuptools won't install because it appears to be an earlier version that your version. #668 which Chris Galvan is currently working on will probably fix this. Assigning this ticket to Chris.
Replying to zooko:
On Debian testing (== squeeze) amd64, I've got the same problem.
My environment:
I succeeded to get it build by the following workaround:
Hey, that's exactly what's happening on my new ARM buildbot running Debian squeeze.
http://allmydata.org/buildbot/builders/FranXois%20lenny-armv5tel/builds/112/steps/build/logs/stdio
My plan is to try replacing setuptools with distribute as well as submitting a couple of patches to distribute (http://bitbucket.org/tarek/distribute/issue/136/respect-the-pythonpath and http://bitbucket.org/tarek/distribute/issue/46/be-more-like-distutils-with-regard-to ).
(Help appreciated.)
Fixed by changeset:ba8f0c27f07199a4, changeset:7b3a9a3d0eb7432f, changeset:0b306e31cee93a90.