Package Details: python-pybindgen 0.17.0-3

Git Clone URL: https://aur.archlinux.org/python-pybindgen.git (read-only)
Package Base: python-pybindgen
Description: A tool to generate Python bindings for C/C++ code
Upstream URL: http://pypi.python.org/pypi/PyBindGen
Licenses: LGPL
Conflicts: python-pybindgen-bzr
Provides: python-pybindgen
Submitter: bins
Maintainer: bchretien
Last Packager: bchretien
Votes: 6
Popularity: 0.000000
First Submitted: 2009-01-30 21:07
Last Updated: 2015-10-05 02:22

Latest Comments

alex.forencich commented on 2016-11-08 19:17

Fails to build:

[ 8/10] cxx: build/tests/foomodule.cc -> build/tests/foomodule.cc.4.o
tests/boost/barmodule.cc:500:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/boost/barmodule.cc:756:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:1323:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:1542:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:1724:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:1874:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:3148:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:3337:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:3548:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:3741:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:4127:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:5965:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:6115:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:6259:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:6370:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:6519:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:6787:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:7168:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:7379:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:7591:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:7814:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:8127:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:8381:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:8596:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:9291:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:9840:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:9992:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:10224:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:10796:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:10997:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:11047:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:11249:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:11299:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:11593:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:11739:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:11925:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:12329:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:12463:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:12596:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:12729:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:12954:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:13143:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:13350:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:13543:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:13593:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:13777:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:13827:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:14002:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:14052:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:14239:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:14289:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:14472:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^
tests/foomodule.cc:14522:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]
};
^

bchretien commented on 2014-03-27 10:35

@Lone_Wolf: good points, thanks for the investigation ;-)

Moving to waf gives me:

==> Starting build()...
Error: Cannot unpack waf lib into /usr/lib/waf/.waf-1.7.15-af648a117ce281087d8735a3803e0ebf
Move waf in a writable directory
==> ERROR: A failure occurred in build().

Apparently I'm not the only one with this error (e.g. https://aur.archlinux.org/packages/oregano/), running sudo waf "solves" it.

Lone_Wolf commented on 2014-03-27 09:04

Thanks, bchretien .

a few comments :
pygccxml hasn't been ported to python3, so won't be used and gives build warnings.
gccxml-git does not depend on python, so does work but i don't know if there are advantages of including it without a pygccxml python3 module.

pybindgen had no problem at all using stock waf instead of the upstream supplied version, you should be able to change from ./waf to waf .

bchretien commented on 2014-03-25 21:42

@Lone_Wolf: this package now uses Python3, and I added a python2-pybindgen that uses Python2.

Lone_Wolf commented on 2014-03-25 20:54

0.17 is out, also given the hard depeendcy on python2 i feel this package should be named python2-pybindgen .

bchretien commented on 2013-11-04 20:54

@croxis: here it is http://pastebin.com/tkvDmDZA

croxis commented on 2013-11-04 20:44

Sorry the pastbin expired.

bchretien commented on 2013-10-10 13:25

@croxis: hmmm that is weird, everything seems to work fine for me with Python 2.7. Can you try with this PKGBUILD: http://pastebin.com/GMvcL20G ?

croxis commented on 2013-10-09 23:39

Looks like python2 isn't being used correctly

==> Starting build()...
Waf: The wscript in '/tmp/yaourt-tmp-croxis/aur-python-pybindgen/src/pybindgen-0.16.0' is unreadable
Traceback (most recent call last):
File "/tmp/yaourt-tmp-croxis/aur-python-pybindgen/src/pybindgen-0.16.0/.waf3-1.6.11-30618c54883417962c38f5d395f83584/waflib/Scripting.py", line 87, in waf_entry_point
set_main_module(Context.run_dir+os.sep+Context.WSCRIPT_FILE)
File "/tmp/yaourt-tmp-croxis/aur-python-pybindgen/src/pybindgen-0.16.0/.waf3-1.6.11-30618c54883417962c38f5d395f83584/waflib/Scripting.py", line 110, in set_main_module
Context.g_module=Context.load_module(file_path)
File "/tmp/yaourt-tmp-croxis/aur-python-pybindgen/src/pybindgen-0.16.0/.waf3-1.6.11-30618c54883417962c38f5d395f83584/waflib/extras/compat15.py", line 88, in load_module
ret=rev(path)
File "/tmp/yaourt-tmp-croxis/aur-python-pybindgen/src/pybindgen-0.16.0/.waf3-1.6.11-30618c54883417962c38f5d395f83584/waflib/Context.py", line 266, in load_module
exec(compile(code,path,'exec'),module.__dict__)
File "/tmp/yaourt-tmp-croxis/aur-python-pybindgen/src/pybindgen-0.16.0/wscript", line 317
print "Running benchmarks..."
^
SyntaxError: invalid syntax

bins commented on 2013-04-06 06:54

i don't have any use of this package. feel free to pick it up.

All comments