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

Bug 363601

Summary: dev-libs/libdnet with python-3 - python/dnet.c:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
Product: Gentoo Linux Reporter: David Butler <croepha>
Component: New packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 326389    
Attachments: build.log
emerge --info
ebuild patch

Description David Butler 2011-04-14 15:29:23 UTC
Created attachment 269959 [details]
build.log

To reproduce:
$ sudo eselect python set 2
$ sudo eselect python list
Available Python interpreters:
  [1]   python2.6
  [2]   python3.1 *
$ sudo emerge -va1 libdnet

Workaround:
Just use python2...
Comment 1 David Butler 2011-04-14 15:30:10 UTC
Created attachment 269961 [details]
emerge --info
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2011-11-09 08:27:07 UTC
Available Python interpreters:
  [1]   python2.7
  [2]   python3.1 *

nonmulti libdnet # emerge -va1 libdnet

>>> Emerging (1 of 1) dev-libs/libdnet-1.11-r1
>>> Installing (1 of 1) dev-libs/libdnet-1.11-r1
I wonder if 'they' fixed it in version bumps?
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2011-12-23 10:39:44 UTC
Created attachment 296735 [details, diff]
ebuild patch

cancel that; don't know what caused it to work back then.
We can perhaps fix the test suite if you re-activate it.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2012-02-14 22:12:03 UTC
I integrated the changes in Ian Delaney's patch in dev-libs/libdnet-1.11-r2.