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.

Author bkabrda
Recipients bkabrda, gregory.p.smith
Date 2015-03-24.14:55:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1427208931.68.0.90393736414.issue22904@psf.upfronthosting.co.za>
In-reply-to
Content
I'm also hitting an issue with test_sysconfig_module, but for a different reason: While building Python, I used "make EXTRA_CFLAGS='some flags'" and this makes test_sysconfig_module fail when I run "make test" or "python -m test.regrtest".

The problem is that EXTRA_CFLAGS, like profile-opt, is not in the Makefile, so _sysconfigdata has it stored from build - unlike distutils, which can't see the EXTRA_CFLAGS variable in the environment, thus resulting in failure.

I'm not sure what's the proper solution here, but I think requiring people to run "make test" with precisely the same EXTRA_CFLAGS as "make" is not right (although it solves the issue). This makes me think this is a bug - should I open a new issue?
History
Date User Action Args
2015-03-24 14:55:31bkabrdasetrecipients: + bkabrda, gregory.p.smith
2015-03-24 14:55:31bkabrdasetmessageid: <1427208931.68.0.90393736414.issue22904@psf.upfronthosting.co.za>
2015-03-24 14:55:31bkabrdalinkissue22904 messages
2015-03-24 14:55:31bkabrdacreate