hugin-devs team mailing list archive
-
hugin-devs team
-
Mailing list archive
-
Message #03549
[Bug 999833] Re: build error with gcc 4.7 on s390
The file hsiPYTHON_wrap.cxx, where the error occur, is generated by
Swig.
In the build log it appears that swig 2.0.5 is used. The changelog for
Swig 2.0.5 mentions
- Python STL container wrappers improvements including addition of
stepped slicing.
which seems to be related to the above mentioned issue.
So downgrade to 2.0.4 or update to 2.0.6
The changelog for Swig 2.0.6 mentions:
SWIG-2.0.6 summary:
- Regression fix for Python STL wrappers on some systems.
If this does not help, the bug should be reported to swig.
See also:
http://sourceforge.net/mailarchive/forum.php?thread_name=33763406.post%40talk.nabble.com&forum_name=swig-user
--
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/999833
Title:
build error with gcc 4.7 on s390
Status in Hugin - Panorama Tools GUI:
New
Bug description:
Hello,
hugin 2011.4.0 does not build with gcc-4.7. There is an easy to fix
error about a missing include (already tracked and patched in
https://bugs.launchpad.net/hugin/+bug/913250) however there is another
issue that I have only seen on s390 yet:
https://buildd.debian.org/status/fetch.php?pkg=hugin&arch=s390&ver=2011.4.0%2Bdfsg-2&stamp=1336510492
Building CXX object src/hugin_script_interface/CMakeFiles/_hsi.dir/hsiPYTHON_wrap.cxx.o
[...]
/build/buildd-hugin_2011.4.0+dfsg-2-s390-X6zIld/hugin-2011.4.0+dfsg/build-dir/src/hugin_script_interface/hsiPYTHON_wrap.cxx: In function 'Sequence* swig::getslice(const Sequence*, Difference, Difference, Py_ssize_t) [with Sequence = std::vector<unsigned int>, Difference = long int, Py_ssize_t = long int]':
/build/buildd-hugin_2011.4.0+dfsg-2-s390-X6zIld/hugin-2011.4.0+dfsg/build-dir/src/hugin_script_interface/hsiPYTHON_wrap.cxx:5248:45: instantiated from here
/build/buildd-hugin_2011.4.0+dfsg-2-s390-X6zIld/hugin-2011.4.0+dfsg/build-dir/src/hugin_script_interface/hsiPYTHON_wrap.cxx:4476:5: error: invalid initialization of reference of type 'ptrdiff_t& {aka int&}' from expression of type 'long int'
Any ideas?
thanks, cu andreas
To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/999833/+subscriptions
References