Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 286943 - python-2.6.2-r2 lacks alloca.h check
Summary: python-2.6.2-r2 lacks alloca.h check
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 FreeBSD
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-29 15:21 UTC by Michael Yang
Modified: 2009-09-30 14:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild patch for python-2.6.2-r2 (python-2.6.2-r2.ebuild.patch,482 bytes, patch)
2009-09-29 15:21 UTC, Michael Yang
Details | Diff
ctypes patch for FreeBSD without alloca.h (python-2.6.2-ctypes-alloca.patch,1.16 KB, patch)
2009-09-29 15:28 UTC, Michael Yang
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Yang 2009-09-29 15:21:31 UTC
FreeBSD doesn't come with /usr/include alloca.h which affects ctypes compilation

Reproducible: Always

Steps to Reproduce:
1. emerge =dev-lang/python-2.6.2-r2
Actual Results:  
_ctypes.c:129:20: error: alloca.h: No such file or directory

Expected Results:  
success
Comment 1 Michael Yang 2009-09-29 15:21:54 UTC
Created attachment 205602 [details, diff]
ebuild patch for python-2.6.2-r2
Comment 2 Michael Yang 2009-09-29 15:28:06 UTC
Created attachment 205604 [details, diff]
ctypes patch for FreeBSD without alloca.h

put into files directory
Comment 3 Fabian Groffen gentoo-dev 2009-09-29 15:57:17 UTC
do I understand the patch correctly that they just disabled the guards for some messed up reason?
Comment 4 Fabian Groffen gentoo-dev 2009-09-29 15:58:40 UTC
hehe, this is introduced by the IRIX patch, so we need to beat someone with a stick here
Comment 5 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-09-29 16:00:50 UTC
(In reply to comment #4)
> hehe, this is introduced by the IRIX patch, so we need to beat someone with a
> stick here
> 

patch fixing another patch, yay!
Comment 6 Fabian Groffen gentoo-dev 2009-09-29 16:11:04 UTC
I just committed a fix to the irix patch which makes configure check for alloca.h such that the guards can be enabled and it should also work fine on FreeBSD.  Can't check that theory though.
Comment 7 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-09-30 14:39:25 UTC
reopen if it doesn't work (based on last comment)