Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 630860 - media-libs/opencv-2.4.13 emerge failed with USE="qt5" enabled
Summary: media-libs/opencv-2.4.13 emerge failed with USE="qt5" enabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Amy Liffey
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-13 07:22 UTC by Sergey Torokhov
Modified: 2017-11-20 22:27 UTC (History)
2 users (show)

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


Attachments
emerge --info '=media-libs/opencv-2.4.13::gentoo' (emerge_info_opencv-2.4.13.txt,5.69 KB, text/plain)
2017-09-13 07:28 UTC, Sergey Torokhov
Details
emerge -pqv '=media-libs/opencv-2.4.13::gentoo' (emerge_pqv_opencv-2.4.13.txt,269 bytes, text/plain)
2017-09-13 07:29 UTC, Sergey Torokhov
Details
build.log (build.log,252.84 KB, text/x-log)
2017-09-13 07:30 UTC, Sergey Torokhov
Details
build[libopencv_highgui.].log (build_new.log,252.84 KB, text/x-log)
2017-09-13 07:52 UTC, Sergey Torokhov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Torokhov 2017-09-13 07:22:11 UTC
# USE="-qt4 qt5" emerge -1av opencv
[...]
[ebuild   R    ] media-libs/opencv-2.4.13:0/2.4::gentoo  USE="eigen gtk jpeg opengl openmp png python qt5* tiff (-cuda) -examples -ffmpeg -gstreamer -ieee1394 (-ipp) -java -jpeg2k -libav -opencl -openexr -pch -qt4 -testprograms -threads -v4l (-vtk) -xine" PYTHON_TARGETS="python2_7" 0 KiB
[...]
[ 31%] Linking CXX shared library ../../lib/libopencv_video.so
cd /var/tmp/portage/media-libs/opencv-2.4.13/work/opencv-2.4.13_build/modules/video && /usr/bin/cmake -E cmake_link_script CMakeFiles/opencv_video.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-g++  -fPIC -O2 -pipe   -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-array-bounds -Wno-aggressive-loop-optimizations -fdiagnostics-show-option -Wno-long-long -pthread -ffunction-sections -fopenmp -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname,libopencv_video.so.2.4 -o ../../lib/libopencv_video.so.2.4.13 CMakeFiles/opencv_video.dir/src/bgfg_gaussmix.cpp.o CMakeFiles/opencv_video.dir/src/bgfg_gaussmix2.cpp.o CMakeFiles/opencv_video.dir/src/bgfg_gmg.cpp.o CMakeFiles/opencv_video.dir/src/camshift.cpp.o CMakeFiles/opencv_video.dir/src/kalman.cpp.o CMakeFiles/opencv_video.dir/src/lkpyramid.cpp.o CMakeFiles/opencv_video.dir/src/motempl.cpp.o CMakeFiles/opencv_video.dir/src/optflowgf.cpp.o CMakeFiles/opencv_video.dir/src/simpleflow.cpp.o CMakeFiles/opencv_video.dir/src/tvl1flow.cpp.o CMakeFiles/opencv_video.dir/src/video_init.cpp.o ../../lib/libopencv_imgproc.so.2.4.13 -ldl -lm -lpthread -lrt -lGLU -lGL ../../lib/libopencv_core.so.2.4.13 -ldl -lm -lpthread -lrt 
cd /var/tmp/portage/media-libs/opencv-2.4.13/work/opencv-2.4.13_build/modules/video && /usr/bin/cmake -E cmake_symlink_library ../../lib/libopencv_video.so.2.4.13 ../../lib/libopencv_video.so.2.4 ../../lib/libopencv_video.so
make[2]: Leaving directory '/var/tmp/portage/media-libs/opencv-2.4.13/work/opencv-2.4.13_build'
[ 31%] Built target opencv_video
/usr/lib64/libQt5Gui.so.5.7.1:(*IND*+0x0): multiple definition of `__bss_start'
/usr/lib64/libQt5Gui.so.5.7.1:(*IND*+0x0): multiple definition of `_edata'
/usr/lib64/libQt5Gui.so.5.7.1:(*IND*+0x0): multiple definition of `_end'
/usr/lib64/libQt5Core.so.5.7.1:(*IND*+0x0): multiple definition of `__bss_start'
/usr/lib64/libQt5Core.so.5.7.1:(*IND*+0x0): multiple definition of `__bss_start'
/usr/lib64/libQt5Core.so.5.7.1:(*IND*+0x0): multiple definition of `_edata'
/usr/lib64/libQt5Core.so.5.7.1:(*IND*+0x0): multiple definition of `_edata'
/usr/lib64/libQt5Core.so.5.7.1:(*IND*+0x0): multiple definition of `_end'
/usr/lib64/libQt5Core.so.5.7.1:(*IND*+0x0): multiple definition of `_end'
collect2: error: ld returned 1 exit status
make[2]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/build.make:596: lib/libopencv_highgui.so.2.4.13] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-libs/opencv-2.4.13/work/opencv-2.4.13_build'
make[1]: *** [CMakeFiles/Makefile2:950: modules/highgui/CMakeFiles/opencv_highgui.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/media-libs/opencv-2.4.13/work/opencv-2.4.13_build'
make: *** [Makefile:161: all] Error 2
 * ERROR: media-libs/opencv-2.4.13::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=media-libs/opencv-2.4.13::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/opencv-2.4.13::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/opencv-2.4.13/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/opencv-2.4.13/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/opencv-2.4.13/work/opencv-2.4.13_build'
 * S: '/var/tmp/portage/media-libs/opencv-2.4.13/work/opencv-2.4.13'
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =opencv-2.4.13

>>> Failed to emerge media-libs/opencv-2.4.13, Log file:

>>>  '/var/tmp/portage/media-libs/opencv-2.4.13/temp/build.log'

Reproducible: Always
Comment 1 Sergey Torokhov 2017-09-13 07:28:22 UTC
Created attachment 494296 [details]
emerge --info '=media-libs/opencv-2.4.13::gentoo'
Comment 2 Sergey Torokhov 2017-09-13 07:29:00 UTC
Created attachment 494298 [details]
emerge -pqv '=media-libs/opencv-2.4.13::gentoo'
Comment 3 Sergey Torokhov 2017-09-13 07:30:33 UTC
Created attachment 494300 [details]
build.log
Comment 4 Sergey Torokhov 2017-09-13 07:51:19 UTC
It strange, but usualy (i re-emerge after emerge -av --depclean) I recive such output
(for libopencv_highgui.so but not for libopencv_video.so)

[ 31%] Linking CXX shared library ../../lib/libopencv_highgui.so
cd /var/tmp/portage/media-libs/opencv-2.4.13/work/opencv-2.4.13_build/modules/highgui && /usr/bin/cmake -E cmake_link_script CMakeFiles/opencv_highgui.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-g++  -fPIC -O2 -pipe   -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-array-bounds -Wno-aggressive-loop-optimizations -fdiagnostics-show-option -Wno-long-long -pthread -ffunction-sections -fopenmp -Wno-deprecated-declarations -Wno-clobbered -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname,libopencv_highgui.so.2.4 -o ../../lib/libopencv_highgui.so.2.4.13 CMakeFiles/opencv_highgui.dir/src/cap.cpp.o CMakeFiles/opencv_highgui.dir/src/cap_images.cpp.o CMakeFiles/opencv_highgui.dir/src/loadsave.cpp.o CMakeFiles/opencv_highgui.dir/src/utils.cpp.o CMakeFiles/opencv_highgui.dir/src/window.cpp.o CMakeFiles/opencv_highgui.dir/src/window_QT.cpp.o CMakeFiles/opencv_highgui.dir/qrc_window_QT.cpp.o CMakeFiles/opencv_highgui.dir/src/grfmt_base.cpp.o CMakeFiles/opencv_highgui.dir/src/grfmt_bmp.cpp.o CMakeFiles/opencv_highgui.dir/src/grfmt_exr.cpp.o CMakeFiles/opencv_highgui.dir/src/grfmt_imageio.cpp.o CMakeFiles/opencv_highgui.dir/src/grfmt_jpeg.cpp.o CMakeFiles/opencv_highgui.dir/src/grfmt_jpeg2000.cpp.o CMakeFiles/opencv_highgui.dir/src/grfmt_png.cpp.o CMakeFiles/opencv_highgui.dir/src/grfmt_pxm.cpp.o CMakeFiles/opencv_highgui.dir/src/grfmt_sunras.cpp.o CMakeFiles/opencv_highgui.dir/src/grfmt_tiff.cpp.o CMakeFiles/opencv_highgui.dir/src/bitstrm.cpp.o CMakeFiles/opencv_highgui.dir/opencv_highgui_automoc.cpp.o ../../lib/libopencv_imgproc.so.2.4.13 -ldl -lm -lpthread -lrt -lGLU -lGL -lz -ljpeg -lpng -lz -ltiff /usr/lib64/libQt5Test.so.5.7.1 /usr/lib64/libQt5Concurrent.so.5.7.1 /usr/lib64/libQt5OpenGL.so.5.7.1 ../../lib/libopencv_core.so.2.4.13 -ldl -lm -lpthread -lrt -ljpeg -lpng -ltiff /usr/lib64/libQt5Widgets.so.5.7.1 /usr/lib64/libQt5Gui.so.5.7.1 /usr/lib64/libQt5Core.so.5.7.1 
/usr/lib64/libQt5Gui.so.5.7.1:(*IND*+0x0): multiple definition of `__bss_start'
/usr/lib64/libQt5Gui.so.5.7.1:(*IND*+0x0): multiple definition of `_edata'
/usr/lib64/libQt5Gui.so.5.7.1:(*IND*+0x0): multiple definition of `_end'
/usr/lib64/libQt5Core.so.5.7.1:(*IND*+0x0): multiple definition of `__bss_start'
/usr/lib64/libQt5Core.so.5.7.1:(*IND*+0x0): multiple definition of `__bss_start'
/usr/lib64/libQt5Core.so.5.7.1:(*IND*+0x0): multiple definition of `_edata'
/usr/lib64/libQt5Core.so.5.7.1:(*IND*+0x0): multiple definition of `_edata'
/usr/lib64/libQt5Core.so.5.7.1:(*IND*+0x0): multiple definition of `_end'
/usr/lib64/libQt5Core.so.5.7.1:(*IND*+0x0): multiple definition of `_end'
collect2: error: ld returned 1 exit status
make[2]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/build.make:596: lib/libopencv_highgui.so.2.4.13] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-libs/opencv-2.4.13/work/opencv-2.4.13_build'
make[1]: *** [CMakeFiles/Makefile2:950: modules/highgui/CMakeFiles/opencv_highgui.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/media-libs/opencv-2.4.13/work/opencv-2.4.13_build'
make: *** [Makefile:161: all] Error 2
Comment 5 Sergey Torokhov 2017-09-13 07:52:51 UTC
Created attachment 494304 [details]
build[libopencv_highgui.].log
Comment 6 Amy Liffey gentoo-dev 2017-11-20 18:21:27 UTC
(In reply to Sergey Torokhov from comment #5)
> Created attachment 494304 [details]
> build[libopencv_highgui.].log

Is it still a problem ? I cannot reproduce it.
Comment 7 Andreas Sturmlechner gentoo-dev 2017-11-20 19:21:51 UTC
Possible duplicate of bug 623566
Comment 8 Sergey Torokhov 2017-11-20 21:42:55 UTC
(In reply to Amy Liffey from comment #6)
> (In reply to Sergey Torokhov from comment #5)
> > Created attachment 494304 [details]
> > build[libopencv_highgui.].log
> 
> Is it still a problem ? I cannot reproduce it.

No the bug isn't reproduced now. 

media-libs/opencv
Installed versions:  2.4.13(00:39:20 11/21/17)(eigen gtk jpeg opengl openmp png python qt5 tiff -cuda -examples -ffmpeg -gstreamer -ieee1394 -ipp -java -jpeg2k -libav -opencl -openexr -pch -qt4 -testprograms -threads -v4l -vtk -xine ELIBC="-FreeBSD" PYTHON_TARGETS="python2_7")


Thanks. Could the issue be closed?
Comment 9 Amy Liffey gentoo-dev 2017-11-20 22:27:14 UTC
(In reply to Sergey Torokhov from comment #8)
> (In reply to Amy Liffey from comment #6)
> > (In reply to Sergey Torokhov from comment #5)
> > > Created attachment 494304 [details]
> > > build[libopencv_highgui.].log
> > 
> > Is it still a problem ? I cannot reproduce it.
> 
> No the bug isn't reproduced now. 
> 
> media-libs/opencv
> Installed versions:  2.4.13(00:39:20 11/21/17)(eigen gtk jpeg opengl openmp
> png python qt5 tiff -cuda -examples -ffmpeg -gstreamer -ieee1394 -ipp -java
> -jpeg2k -libav -opencl -openexr -pch -qt4 -testprograms -threads -v4l -vtk
> -xine ELIBC="-FreeBSD" PYTHON_TARGETS="python2_7")
> 
> 
> Thanks. Could the issue be closed?

Of course thank you :)