GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||
GeezerVison is showing github.com — `sysconfig --generate-posix-vars` can hang on cyclic variable definitions · Issue #136097 · python/cpython Closed Labels buildThe build process and cross-buildThe build process and cross-buildstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-sysconfigtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error DescriptionBug reportBug description:This loop can run forever if there's a cycle in the Makefile variable definitions: cpython/Lib/sysconfig/__main__.py Line 79 in 5334732
To reproduce: make clean echo 'foo=$(foo)' > ./Modules/Setup.local ./configure make # hangs forever Or more minimally: make clean echo 'foo=$(foo)' > ./Modules/Setup.local make Makefile ./python -m sysconfig --generate-posix-vars # hangs forever Longer cycles are also possible, e.g. Note that this is less of an issue if the recursive variable definition gets expanded in the Makefile before @serhiy-storchaka you may be interested, this is very similar to #136073 CPython versions tested on:CPython main branch Operating systems tested on:Linux Linked PRsActivity
MetadataMetadataAssigneesLabelsbuildThe build process and cross-buildThe build process and cross-buildstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-sysconfigtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error ProjectsMilestoneRelationshipsDevelopmentIssue actions | ||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |