New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mac 'make frameworkinstall' error: [...]/Python.framework/Versions/3.1/bin/2to3: Too many levels of symbolic links #50420
Comments
$ make frameworkinstall DESTDIR=[...]/py3_1rc1-macosx-apy31-rrun/image
running install_scripts
[...]
copying build/scripts-3.1/2to3 ->
//Users/apy/rrun/build/activepython-svn-trunk/build/py3_1rc1-macosx-apy31-rrun/image/Library/Frameworks/Python.framework/Versions/3.1/bin
error:
//Users/apy/rrun/build/activepython-svn-trunk/build/py3_1rc1-macosx-apy31-rrun/image/Library/Frameworks/Python.framework/Versions/3.1/bin/2to3:
Too many levels of symbolic links
make: *** [sharedinstall] Error 1 ! this appears to be a regression in 3.1rc1 (used to work with 3.1b2). |
To explain further, the following section of script is run *twice* .. mv The entire log file is here: http://double.activestate.com/t/apy31-anole.log On 09-06-01 04:46 PM, Sridhar Ratnakumar wrote:
|
Tarek, are you perchance aware of any change that went into distutils |
No, but I am running frameworkinstall right now under Mac to see if I |
To help with the repro, may I suggest running the following in the same make frameworkinstallframework DESTDIR=image |
I'll try tomorrow asap (sorry it's 2:30 am now here) |
also related to bpo-5756 |
The URL you provide for the log doesn't seem to be accessible externally |
Sorry I can't reproduce it, can you tell me how you run configure precisely ? |
I also cannot reproduce this, using both the py3k branch and the r31rc1 My build procedure:
The resulting framework in the $DESTDIR seems to be complete, and I |
Now I'm really confused, I tried to install a second time and this time I Time to start hunting down an issue... |
Ronald, did you try Sridar precise sequence after Pyhon was built ? make frameworkinstallframework DESTDIR=image |
Manually running "make frameworkinstallframework" (and the other ones) is "make framworkinstall" is supported as an alias for "make install" because |
I found the issue. In r72899 antoine.pitrou checked in a change that adds these two lines -rm -f This exposes a bug in the configure script, which causes target What I don't understand is why I've been able to install frameworks all I'm working on a patch, and will check that in after I've full tested The important bit of the patch is this change to configure.in:
bininstall maninstall" |
This should be fixed in r73142, please test. |
That seems to work. However, while testing that, I found another, minor -rm -f Prior to that, though, the Mac Makefile target install_versionedtools is if [ ! -h "$(DESTDIR)$(prefix)/bin/python3-config" ]; then \ and, in fact, the mv fails with an error because (1) the python3-config |
Ronald, a quick note - your fix unfortunately did not solve the issue. [quote]'To help with the repro, may I suggest running the following in make frameworkinstallframework DESTDIR=image |
Don't do that, use 'make install DESTDIR=$PWD/image'. As I mentioned |
Ok, I am no longer relying on internal targets .. and this problem is |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: