← Back to team overview

hugin-devs team mailing list archive

[Bug 999833] Re: build error with gcc 4.7 on s390

 

Thomas' seems to be correct. Updating to swig 2.0.6 fixed the issue.
Thank you!

** Changed in: hugin
       Status: New => Invalid

-- 
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:
  Invalid

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