This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: makesetup loop
Type: Stage:
Components: Build Versions:
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: jhylton Nosy List: fdrake, jhylton
Priority: high Keywords:

Created on 2000-11-02 17:36 by jhylton, last changed 2022-04-10 16:03 by admin. This issue is now closed.

Messages (3)
msg2314 - (view) Author: Jeremy Hylton (jhylton) (Python triager) Date: 2000-11-02 17:36
My Python build directory is different from the source directory.  After the most recent changes to Setup processing, make gets stuck in an infinite loop.


(cd Modules; make -f Makefile.pre Makefile)
make[1]: Entering directory `/home/jeremy/src/python/dist/src/build-O3/Modules'
-----------------------------------------------
Modules/Setup.dist is newer than Modules/Setup;
check to make sure you have all the updates you
need in your Modules/Setup file.
-----------------------------------------------
rm -rf ../libpython2.0.a
/bin/sh ../../Modules/makesetup Setup.config Setup.local Setup
cat: Setup.local: No such file or directory
cat: Setup: No such file or directory
make[1]: Leaving directory `/home/jeremy/src/python/dist/src/build-O3/Modules'
making Makefile in subdirectory .
make[1]: Entering directory `/home/jeremy/src/python/dist/src/build-O3'
make[1]: `Makefile' is up to date.
make[1]: Leaving directory `/home/jeremy/src/python/dist/src/build-O3'
making Makefile in subdirectory Parser
make[1]: Entering directory `/home/jeremy/src/python/dist/src/build-O3/Parser'
make[1]: `Makefile' is up to date.
make[1]: Leaving directory `/home/jeremy/src/python/dist/src/build-O3/Parser'
making Makefile in subdirectory Grammar
make[1]: Entering directory `/home/jeremy/src/python/dist/src/build-O3/Grammar'
make[1]: Nothing to be done for `Makefile'.
make[1]: Leaving directory `/home/jeremy/src/python/dist/src/build-O3/Grammar'
making Makefile in subdirectory Objects
make[1]: Entering directory `/home/jeremy/src/python/dist/src/build-O3/Objects'
make[1]: `Makefile' is up to date.
make[1]: Leaving directory `/home/jeremy/src/python/dist/src/build-O3/Objects'
making Makefile in subdirectory Python
make[1]: Entering directory `/home/jeremy/src/python/dist/src/build-O3/Python'
make[1]: `Makefile' is up to date.
make[1]: Leaving directory `/home/jeremy/src/python/dist/src/build-O3/Python'
making Makefile in subdirectory Modules
make[1]: Entering directory `/home/jeremy/src/python/dist/src/build-O3/Modules'
-----------------------------------------------
Modules/Setup.dist is newer than Modules/Setup;
check to make sure you have all the updates you
need in your Modules/Setup file.
-----------------------------------------------
rm -rf ../libpython2.0.a
/bin/sh ../../Modules/makesetup Setup.config Setup.local Setup
cat: Setup.local: No such file or directory
cat: Setup: No such file or directory
make[1]: Leaving directory `/home/jeremy/src/python/dist/src/build-O3/Modules'
make[1]: Entering directory `/home/jeremy/src/python/dist/src/build-O3/Modules'
-----------------------------------------------
Modules/Setup.dist is newer than Modules/Setup;
check to make sure you have all the updates you
need in your Modules/Setup file.
-----------------------------------------------
rm -rf ../libpython2.0.a
/bin/sh ../../Modules/makesetup Setup.config Setup.local Setup
cat: Setup.local: No such file or directory
cat: Setup: No such file or directory
make[1]: Leaving directory `/home/jeremy/src/python/dist/src/build-O3/Modules'
make[1]: Entering directory `/home/jeremy/src/python/dist/src/build-O3/Modules'
-----------------------------------------------
Modules/Setup.dist is newer than Modules/Setup;
check to make sure you have all the updates you
need in your Modules/Setup file.
-----------------------------------------------
rm -rf ../libpython2.0.a
/bin/sh ../../Modules/makesetup Setup.config Setup.local Setup
cat: Setup.local: No such file or directory
cat: Setup: No such file or directory
make[1]: Leaving directory `/home/jeremy/src/python/dist/src/build-O3/Modules'
make[1]: Entering directory `/home/jeremy/src/python/dist/src/build-O3/Modules'
-----------------------------------------------
Modules/Setup.dist is newer than Modules/Setup;
check to make sure you have all the updates you
need in your Modules/Setup file.
msg2315 - (view) Author: Fred Drake (fdrake) (Python committer) Date: 2000-11-02 17:54
I cannot reproduce this, but hit a different bug instead.  ;)

The configure script does not *create* the Modules/ directory in time to write the Modules/Setup file on the first run, so there are failures later.  This is fixed in configure.in revision 1.176.

I'm leaving this bug open, but assigning to Jeremy for further testing.  Please make sure you're starting with a clear working directory, or document what's there when you run configure for the first time.
msg2316 - (view) Author: Jeremy Hylton (jhylton) (Python triager) Date: 2000-11-02 20:56
This happens if you have a Setup.local in your source tree.  It's a limitation of VPATH support.  You can't build in the source tree and in other directories.
History
Date User Action Args
2022-04-10 16:03:28adminsetgithub: 33440
2000-11-02 17:36:18jhyltoncreate