[Python-modules-team] Bug#633710: swiginac: FTBFS: swiginac_wrap.cpp:6138: error: 'asdict' is not a member of 'swig::traits_from<std::map<GiNaC::ex, GiNaC::ex, GiNaC::ex_is_less, std::allocator<std::pair<const GiNaC::ex, GiNaC::ex> > > >'

Nobuhiro Iwamatsu iwamatsu at nigauri.org
Wed Jul 13 03:16:33 UTC 2011


Source: swiginac
Version: 1.5.1.1-1
Severity: serious

Hi,

swiginac FTBFS on latest unstable. I confirmed in amd64/cowbuilder.

-----
swig -python -c++ -o swiginac_wrap.cpp swiginac.i
matrix.i:48: Warning 314: 'lambda' is a python keyword, renaming to '_lambda'
matrix.i:48: Warning 314: 'lambda' is a python keyword, renaming to '_lambda'
matrix.i:89: Warning 314: 'lambda' is a python keyword, renaming to '_lambda'
matrix.i:89: Warning 314: 'lambda' is a python keyword, renaming to '_lambda'
archive.i:59: Warning 503: Can't wrap 'operator <<' unless renamed to
a valid identifier.
archive.i:60: Warning 503: Can't wrap 'operator >>' unless renamed to
a valid identifier.
archive.i:97: Warning 314: 'is' is a python keyword, renaming to '_is'
archive.i:97: Warning 314: 'is' is a python keyword, renaming to '_is'
creating build
creating build/temp.linux-x86_64-2.6
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
-Wstrict-prototypes -g -O2 -g -O2 -Wall -fPIC -I/usr/include/python2.6
-c swiginac_wrap.cpp -o build/temp.linux-x86_64-2.6/swiginac_wrap.o
cc1plus: warning: command line option '-Wstrict-prototypes' is valid
for Ada/C/ObjC but not for C++ [enabled by default]
swiginac_wrap.cpp: In function 'PyObject*
std_map_Sl_GiNaC_ex_Sc_GiNaC_ex_Sc_GiNaC_ex_is_less_Sg__asdict(std::map<GiNaC::ex,
GiNaC::ex, GiNaC::ex_is_less>*)':
swiginac_wrap.cpp:6138:14: error: 'asdict' is not a member of
'swig::traits_from<std::map<GiNaC::ex, GiNaC::ex, GiNaC::ex_is_less>
>'
swiginac_wrap.cpp:6139:5: warning: control reaches end of non-void
function [-Wreturn-type]
error: command 'gcc' failed with exit status 1
make: *** [debian/python-module-stampdir/python-swiginac] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
-----

Could you check your package?

Best regards,
 Nobuhiro
-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: swiginac_1.5.1.1-1_amd64.build.gz
Type: application/x-gzip
Size: 4729 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20110713/d8229e0e/attachment-0001.bin>


More information about the Python-modules-team mailing list