Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 420635 - media-libs/vigra-1.8.0 patch for building with gcc-4.7 and USE=python
Summary: media-libs/vigra-1.8.0 patch for building with gcc-4.7 and USE=python
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.7
  Show dependency tree
 
Reported: 2012-06-11 07:12 UTC by Tiziano Müller (RETIRED)
Modified: 2012-08-24 22:06 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
1.8.0-gcc4.7.patch (0001-Fix-building-with-gcc-4.7.patch,951 bytes, patch)
2012-06-11 07:12 UTC, Tiziano Müller (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tiziano Müller (RETIRED) gentoo-dev 2012-06-11 07:12:01 UTC
Created attachment 314949 [details, diff]
1.8.0-gcc4.7.patch

[...]
/var/tmp/paludis/media-libs-vigra-1.8.0/work/vigra-1.8.0/include/vigra/numpy_array.hxx:1077:9: error: 'checkInnerStride' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
/var/tmp/paludis/media-libs-vigra-1.8.0/work/vigra-1.8.0/include/vigra/numpy_array.hxx:1077:9: note: declarations in dependent base 'vigra::MultiArrayView<2u, float, vigra::StridedArrayTag>' are not found by unqualified lookup
/var/tmp/paludis/media-libs-vigra-1.8.0/work/vigra-1.8.0/include/vigra/numpy_array.hxx:1077:9: note: use 'this->checkInnerStride' instead
make[2]: Leaving directory `/var/tmp/paludis/media-libs-vigra-1.8.0/work/vigra-1.8.0'
make[2]: *** [vigranumpy/src/core/CMakeFiles/vigranumpy_filters.dir/convolution.cxx.o] Error 1
make[1]: *** [vigranumpy/src/core/CMakeFiles/vigranumpy_filters.dir/all] Error 2
make[2]: Leaving directory `/var/tmp/paludis/media-libs-vigra-1.8.0/work/vigra-1.8.0'
make[2]: *** [vigranumpy/src/core/CMakeFiles/vigranumpy_analysis.dir/edgedetection.cxx.o] Error 1
make[1]: *** [vigranumpy/src/core/CMakeFiles/vigranumpy_analysis.dir/all] Error 2
Comment 1 Yixun Lan archtester gentoo-dev 2012-06-14 10:10:18 UTC
confirmed, this patch works for me~, so will it go into portage?

any problem, it have problem with USE="doc" enable, should go to another thread
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2012-08-24 22:06:14 UTC
Patch added, thanks!