python / cpython

The Python programming language
https://www.python.org/
Other
60.06k stars 29.09k forks source link

Include/graminit.h and Parser/graminit.c erroneously in dist #33401

Closed 50eff062-408a-4098-b1b2-8222303b9d0c closed 23 years ago

50eff062-408a-4098-b1b2-8222303b9d0c commented 23 years ago
BPO 219221
Nosy @freddrake

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: ```python assignee = 'https://github.com/freddrake' closed_at = created_at = labels = ['type-feature', 'build'] title = 'Include/graminit.h and Parser/graminit.c erroneously in dist' updated_at = user = 'https://bugs.python.org/anonymous' ``` bugs.python.org fields: ```python activity = actor = 'fdrake' assignee = 'fdrake' closed = True closed_date = None closer = None components = ['Build'] creation = creator = 'anonymous' dependencies = [] files = [] hgrepos = [] issue_num = 219221 keywords = [] message_count = 3.0 messages = ['2177', '2178', '2179'] nosy_count = 2.0 nosy_names = ['fdrake', 'effbot'] pr_nums = [] priority = 'normal' resolution = None stage = None status = 'closed' superseder = None type = 'enhancement' url = 'https://bugs.python.org/issue219221' versions = [] ```

3772858d-27d8-44b0-a664-d68674859f36 commented 23 years ago

I install for multiple architectures by first unpacking the tar file into a read-only directory, then symlinking the files into a shadow tree, via X11 'lndir'. Worked fine on Python 1.*. With 2.0, however, the files Include/graminit.h and Parser/graminit.c are supplied in the tar file, and also generated by the build process. Of course, they cannot be copied into their respective directories, because the files they are overwriting are in a read-only volume.

b7a711ff-d634-47b2-ad1b-41e5ae806c8b commented 23 years ago

Note that these files are not generated on all platforms; if you remove them, you'll break all non-Unix builds.

freddrake commented 23 years ago

I think this is a "don't do that" problem -- although that isn't the very satisfying. The files need to be supplied in the source distribution since the non-Unix build processes cannot rebuild them, and removing the rules to build them would impose a substantial burden on the developers working on the grammar.

I'm closing this as a bug report and adding an entry to the Feature Request PEP.