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

Bug 463388

Summary: media-libs/opencv-2.4.3 - ../../lib/libopencv_objdetect.so.2.4.3: undefined reference to `tbb::internal::allocate_child_proxy::allocate(unsigned int) const'
Product: Gentoo Linux Reporter: Luke-Jr <luke-jr+gentoobugs>
Component: [OLD] LibraryAssignee: Andreas K. Hüttel <dilfridge>
Status: RESOLVED DUPLICATE    
Severity: major CC: kde
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build.log

Description Luke-Jr 2013-03-26 17:48:25 UTC
My system has been trying to upgrade to media-libs/opencv-2.4.3 for some time now, and the build always fails every time. I do not see any errors in build.log, so I have no idea why it's failing.
Comment 1 Luke-Jr 2013-03-26 17:48:42 UTC
Created attachment 343330 [details]
emerge --info
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-03-26 19:08:19 UTC
Please attach the entire build log to this bug report.
Comment 3 Luke-Jr 2013-03-26 19:15:24 UTC
Created attachment 343336 [details]
build.log

Oops, I had originally, but apparently my browser doesn't warn me about files it can't read :(
Comment 4 Rafał Mużyło 2013-03-27 02:52:03 UTC
There's something odd here, i.e.:
../../lib/libopencv_objdetect.so.2.4.3: undefined reference to `tbb::internal::concurrent_vector_base_v3::internal_push_back(unsigned int, unsigned int&)'
but 
/usr/bin/i686-pc-linux-gnu-g++  -fPIC -ggdb -O0 -march=i686    -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -fdiagnostics-show-option -Wno-long-long -pthread -mfpmath=387 -ffunction-sections  -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname,libopencv_objdetect.so.2.4 -o ../../lib/libopencv_objdetect.so.2.4.3 CMakeFiles/opencv_objdetect.dir/src/resizeimg.cpp.o CMakeFiles/opencv_objdetect.dir/src/latentsvmdetector.cpp.o CMakeFiles/opencv_objdetect.dir/src/routine.cpp.o CMakeFiles/opencv_objdetect.dir/src/matching.cpp.o CMakeFiles/opencv_objdetect.dir/src/fft.cpp.o CMakeFiles/opencv_objdetect.dir/src/hog.cpp.o CMakeFiles/opencv_objdetect.dir/src/latentsvm.cpp.o CMakeFiles/opencv_objdetect.dir/src/lsvmtbbversion.cpp.o CMakeFiles/opencv_objdetect.dir/src/distancetransform.cpp.o CMakeFiles/opencv_objdetect.dir/src/linemod.cpp.o CMakeFiles/opencv_objdetect.dir/src/cascadedetect.cpp.o CMakeFiles/opencv_objdetect.dir/src/haar.cpp.o CMakeFiles/opencv_objdetect.dir/src/datamatrix.cpp.o CMakeFiles/opencv_objdetect.dir/src/lsvmparser.cpp.o CMakeFiles/opencv_objdetect.dir/src/objdetect_init.cpp.o CMakeFiles/opencv_objdetect.dir/src/precomp.cpp.o CMakeFiles/opencv_objdetect.dir/src/featurepyramid.cpp.o ../../lib/libopencv_core.so.2.4.3 ../../lib/libopencv_imgproc.so.2.4.3 ../../lib/libopencv_highgui.so.2.4.3 -ldl -lm -lpthread -lrt -lGLU -lGL -lSM -lICE -lX11 -lXext -ltbb ../../lib/libopencv_imgproc.so.2.4.3 ../../lib/libopencv_core.so.2.4.3 -lz -ldl -lm -lpthread -lrt -lGLU -lGL -lSM -lICE -lX11 -lXext -ltbb 

so it looks linked correctly.
Perhaps it's '-O0' ?
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2013-03-29 13:32:49 UTC

*** This bug has been marked as a duplicate of bug 462130 ***