RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 849994 - Setting environ['CFLAGS'] in a distutils setup.py file results in missing compile flags
Summary: Setting environ['CFLAGS'] in a distutils setup.py file results in missing com...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: python
Version: 7.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Bohuslav "Slavek" Kabrda
QA Contact: Branislav Náter
URL:
Whiteboard:
Depends On: 727364
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-21 12:51 UTC by Branislav Náter
Modified: 2018-11-14 11:14 UTC (History)
4 users (show)

Fixed In Version: python-2.7.5-3.el7
Doc Type: Bug Fix
Doc Text:
Clone Of: 727364
Environment:
Last Closed: 2014-06-13 12:09:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Python 969718 0 None None None Never

Comment 4 Dave Malcolm 2013-02-20 18:59:26 UTC
Fix committed to Fedora git:
http://pkgs.fedoraproject.org/cgit/python.git/commit/?id=01cf2c167eea6e4243facb4bbd5f87ba5ea128fb

Building python-2.7.3-22.fc19 for rawhide
Task info: http://koji.fedoraproject.org/koji/taskinfo?taskID=5037616

Comment 5 Bohuslav "Slavek" Kabrda 2013-07-24 10:00:34 UTC
This has been merged into RHEL 7 dist-git a while ago. The current build, python-2.7.5-3.el7 has this patch incorporated. Moving to MODIFIED.

Comment 7 Branislav Náter 2013-11-15 14:35:10 UTC
Fix is present in python-2.7.5-10.el7. No build errors appear.

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: Build module
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

running build
running build_ext
building 'example' extension
creating build
creating build/temp.linux-ppc64-2.7
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power7 -mtune=power7 -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power7 -mtune=power7 -D_GNU_SOURCE -fPIC -fwrapv -Wno-write-strings -fPIC -I/usr/include/python2.7 -c example.c -o build/temp.linux-ppc64-2.7/example.o
creating build/lib.linux-ppc64-2.7
gcc -pthread -shared -Wl,-z,relro -Wno-write-strings build/temp.linux-ppc64-2.7/example.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-ppc64-2.7/example.so
:: [   PASS   ] :: Building the module (Expected 0, got 0)
:: [   PASS   ] :: File 'output' should contain 'fno-strict-aliasing' 
:: [   PASS   ] :: File 'output' should contain 'no-write-string'

Comment 8 Ludek Smid 2014-06-13 12:09:48 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


Note You need to log in before you can comment on or make changes to this bug.