Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 420635

Summary: media-libs/vigra-1.8.0 patch for building with gcc-4.7 and USE=python
Product: Gentoo Linux Reporter: Tiziano Müller (RETIRED) <dev-zero>
Component: New packagesAssignee: Printing Team <printing>
Severity: normal CC: dlan, matrix47
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 390247    
Attachments: 1.8.0-gcc4.7.patch

Description Tiziano Müller (RETIRED) gentoo-dev 2012-06-11 07:12:01 UTC
Created attachment 314949 [details, diff]

/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!