Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 473924

Summary: dev-libs/libdnet-1.12 with system python3 - ./dnet.c:6526:22: error: ‘Py_TPFLAGS_CHECKTYPES’ undeclared here (not in a function)
Product: Gentoo Linux Reporter: Willard Dawson <wfdawson>
Component: [OLD] LibraryAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 471420    
Attachments: emerge --info
build log
emerge -pqv
build environment

Description Willard Dawson 2013-06-20 11:21:57 UTC
Created attachment 351460 [details]
emerge --info

Cascading error:

./dnet.c:9206:34: error: ‘PyInstanceObject’ undeclared (first use in this function)
./dnet.c:9206:34: note: each undeclared identifier is reported only once for each function it appears in
./dnet.c:9206:51: error: expected expression before ‘)’ token
./dnet.c: In function ‘__Pyx_EndUnpack’:
./dnet.c:9271:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
./dnet.c: In function ‘__Pyx_InternStrings’:
Comment 1 Willard Dawson 2013-06-20 11:31:04 UTC
Created attachment 351462 [details]
build log
Comment 2 Willard Dawson 2013-06-20 11:31:35 UTC
Created attachment 351464 [details]
emerge -pqv
Comment 3 Willard Dawson 2013-06-20 11:32:10 UTC
Created attachment 351466 [details]
build environment
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2013-06-20 15:22:23 UTC
It still seems to want to use python3:

./dnet.c:9338:5: error: too few arguments to function ‘PyCode_New’
/usr/include/python3.2/code.h:73:28: note: declared here
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2013-06-20 15:46:31 UTC
Fixed without a revision bump. Please test, and reopen this bug report if this same issue is not entirely fixed.
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2013-06-21 16:40:45 UTC
There is more going on here. I am working on an ebuild patch to fix all kinds of issues. Please hold.
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2013-06-22 13:29:04 UTC
Should be fixed now.