Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284530 - dev-lang/python-2.6.2-r01.2 is not buildable on 10.6
Summary: dev-lang/python-2.6.2-r01.2 is not buildable on 10.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: AMD64 OS X
: High major (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-10 21:02 UTC by Pavel Volkovitskiy
Modified: 2009-09-14 08:35 UTC (History)
2 users (show)

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


Attachments
ebuild patch (python-2.6.2-r01.2.ebuild.patch,830 bytes, patch)
2009-09-10 21:08 UTC, Pavel Volkovitskiy
Details | Diff
readline fix (python-2.6.2-mac-10.6-readline.patch,498 bytes, patch)
2009-09-10 21:08 UTC, Pavel Volkovitskiy
Details | Diff
build fix (from python svn) (python-2.6.2-mac-10.6-build-fix.patch,26.62 KB, patch)
2009-09-10 21:09 UTC, Pavel Volkovitskiy
Details | Diff
patch update (python-2.6.2-mac-just-prefix.patch,811 bytes, text/plain)
2009-09-10 21:09 UTC, Pavel Volkovitskiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Volkovitskiy 2009-09-10 21:02:30 UTC
i'm trying to build python on snow leopard, but it fails on Nav module

attached patches fixes that and also fixes readline support
(tested on 10.6 only)
Comment 1 Pavel Volkovitskiy 2009-09-10 21:03:01 UTC
x86_64-apple-darwin10-gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -march=nocona -DWITH_NEXT_FRAMEWORK -I. -I/opt/gentoo/var/tmp/portage/dev-lang/python-2.6.2-r01.2/work/Python-2.6.2/./Include -I/opt/gentoo/var/tmp/portage/dev-lang/python-2.6.2-r01.2/work/Python-2.6.2/./Mac/Include -I/opt/gentoo/usr/lib/Python.framework/Versions/2.6/include -I. -IInclude -I./Include -I/opt/gentoo/var/tmp/portage/dev-lang/python-2.6.2-r01.2/work/Python-2.6.2/Include -I/opt/gentoo/var/tmp/portage/dev-lang/python-2.6.2-r01.2/work/Python-2.6.2 -c /opt/gentoo/var/tmp/portage/dev-lang/python-2.6.2-r01.2/work/Python-2.6.2/Mac/Modules/Nav.c -o build/temp.macosx-10.6-i386-2.6/opt/gentoo/var/tmp/portage/dev-lang/python-2.6.2-r01.2/work/Python-2.6.2/Mac/Modules/Nav.o
/opt/gentoo/var/tmp/portage/dev-lang/python-2.6.2-r01.2/work/Python-2.6.2/Mac/Modules/Nav.c:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'my_eventProcUPP'
/opt/gentoo/var/tmp/portage/dev-lang/python-2.6.2-r01.2/work/Python-2.6.2/Mac/Modules/Nav.c:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'my_previewProcUPP'
/opt/gentoo/var/tmp/portage/dev-lang/python-2.6.2-r01.2/work/Python-2.6.2/Mac/Modules/Nav.c:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'my_filterProcUPP'
/opt/gentoo/var/tmp/portage/dev-lang/python-2.6.2-r01.2/work/Python-2.6.2/Mac/Modules/Nav.c:44: error: expected ')' before 'callBackSelector'
/opt/gentoo/var/tmp/portage/dev-lang/python-2.6.2-r01.2/work/Python-2.6.2/Mac/Modules/Nav.c:71: error: expected ')' before 'callBackParms'
/opt/gentoo/var/tmp/portage/dev-lang/python-2.6.2-r01.2/work/Python-2.6.2/Mac/Modules/Nav.c:97: error: expected declaration specifiers or '...' before 'NavCallBackUserData'
/opt/gentoo/var/tmp/portage/dev-lang/python-2.6.2-r01.2/work/Python-2.6.2/Mac/Modules/Nav.c:98: error: expected declaration specifiers or '...' before 'NavFilterModes'
/opt/gentoo/var/tmp/portage/dev-lang/python-2.6.2-r01.2/work/Python-2.6.2/Mac/Modules/Nav.c: In function 'my_filterProc':
/opt/gentoo/var/tmp/portage/dev-lang/python-2.6.2-r01.2/work/Python-2.6.2/Mac/Modules/Nav.c:100: error: 'callbackUD' undeclared (first use in this function)
/opt/gentoo/var/tmp/portage/dev-lang/python-2.6.2-r01.2/work/Python-2.6.2/Mac/Modules/Nav.c:100: error: (Each undeclared identifier is reported only once
/opt/gentoo/var/tmp/portage/dev-lang/python-2.6.2-r01.2/work/Python-2.6.2/Mac/Modules/Nav.c:100: error: for each function it appears in.)
/opt/gentoo/var/tmp/portage/dev-lang/python-2.6.2-r01.2/work/Python-2.6.2/Mac/Modules/Nav.c:111: error: 'NavFileOrFolderInfo' undeclared (first use in this function)
/opt/gentoo/var/tmp/portage/dev-lang/python-2.6.2-r01.2/work/Python-2.6.2/Mac/Modules/Nav.c:111: error: 'filterMode' undeclared (first use in this function)
Comment 2 Pavel Volkovitskiy 2009-09-10 21:08:00 UTC
Created attachment 203720 [details, diff]
ebuild patch
Comment 3 Pavel Volkovitskiy 2009-09-10 21:08:27 UTC
Created attachment 203721 [details, diff]
readline fix
Comment 4 Pavel Volkovitskiy 2009-09-10 21:09:00 UTC
Created attachment 203723 [details, diff]
build fix (from python svn)
Comment 5 Pavel Volkovitskiy 2009-09-10 21:09:23 UTC
Created attachment 203726 [details]
patch update
Comment 6 Fabian Groffen gentoo-dev 2009-09-12 15:21:41 UTC
thanks, a shame I didn't see this one when I created the same patch about an hour ago.
Comment 7 Pavel Volkovitskiy 2009-09-14 07:58:31 UTC
just tried dev-lang/python-2.6.2-r01.3 - still broken then same way on 10.6
Comment 8 Fabian Groffen gentoo-dev 2009-09-14 08:06:01 UTC
ok, I missed the disabling of that one.  It's old Carbon stuff that apparently doesn't work on SL any more, whereas it does in 64-bits mode on Leopard.
Comment 9 Pavel Volkovitskiy 2009-09-14 08:35:56 UTC
works now, thx!