Summary: | media-libs/opencv-2.3.1a-r1 - ../lib64/crt1.o: In function `_start': (.text+0x20): undefined reference to `main' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | thomasg <thomas> |
Component: | Current packages | Assignee: | Andreas K. Hüttel <dilfridge> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kde |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
emerge--info_opencv.txt emerge--info_opencv.txt verbose build.log |
Description
thomasg
2012-02-02 16:34:20 UTC
Created attachment 300763 [details]
build.log
Build log of failed build.
Created attachment 300765 [details]
emerge--info_opencv.txt
emerge --info
emerge -pqv '=media-libs/opencv-2.3.1a-r1' [ebuild N ] media-libs/opencv-2.3.1a-r1 USE="ffmpeg gstreamer gtk jpeg jpeg2k opengl png python qt4 sse sse2 tiff xine -cuda -doc -eigen -examples -ieee1394 -ipp -openexr -sse3 -ssse3 -v4l" Created attachment 300767 [details]
emerge--info_opencv.txt
emerge --info
archtester opencv # ebuild opencv-2.3.1a-r1.ebuild clean install stopped at 19% archtester opencv # grep "precomp\.hpp" /mnt/gen2/TmpDir/portage/media-libs/opencv-2.3.1a-r1/temp/build.log [ 9%] Generating precomp.hpp [ 9%] Generating precomp.hpp.gch/opencv_highgui_Release.gch [ 9%] Generating precomp.hpp [ 9%] Generating precomp.hpp.gch/opencv_core_Release.gch [ 9%] [ 9%] Generating precomp.hpp [ 9%] [ 9%] Generating precomp.hpp ---------------------------------------------------- [ 14%] Generating test_precomp.hpp [ 14%] Generating test_precomp.hpp.gch/opencv_test_video_Release.gch [ 15%] Generating precomp.hpp [ 15%] Generating precomp.hpp.gch/opencv_gpu_Release.gch [ 15%] Generating test_precomp.hpp [ 16%] Generating test_precomp.hpp.gch/opencv_test_gpu_Release.gch continued to build. archtester opencv # eix opencv [I] media-libs/opencv ------------------------------------------------- Installed versions: 2.3.1a-r1(19:08:55 07/02/12)(gtk jpeg opengl png qt4 sse sse2 tiff -cuda -doc -eigen -examples -ffmpeg -gstreamer -ieee1394 -ipp -jpeg2 could not replicate Could you please try again with "CMAKE_VERBOSE=1 emerge ..." and then attach the resulting log?! Created attachment 301673 [details]
verbose build.log
Thanks for the hint, attached is the verbose buildlog.
cd /var/tmp/portage/media-libs/opencv-2.3.1a-r1/work/opencv-2.3.1a_build/modules/imgproc && /usr/bin/x86_64-pc-linux-gnu-g++ -O3 -DNDEBUG -msse -msse2 -DNDEBUG -fPIC -I"/usr/lib64/python2.7/site-packages/numpy/core/include" -I"/var/tmp/portage/media-libs/opencv-2.3.1a-r1/work/OpenCV-2.3.1/." -I"/var/tmp/portage/media-libs/opencv-2.3.1a-r1/work/opencv-2.3.1a_build" -I"/var/tmp/portage/media-libs/opencv-2.3.1a-r1/work/OpenCV-2.3.1/include" -I"/var/tmp/portage/media-libs/opencv-2.3.1a-r1/work/OpenCV-2.3.1/include/opencv" -I"/var/tmp/portage/media-libs/opencv-2.3.1a-r1/work/OpenCV-2.3.1/modules/imgproc/include" -I"/var/tmp/portage/media-libs/opencv-2.3.1a-r1/work/OpenCV-2.3.1/modules/imgproc/src" -I"/var/tmp/portage/media-libs/opencv-2.3.1a-r1/work/opencv-2.3.1a_build/modules/imgproc" -I"/var/tmp/portage/media-libs/opencv-2.3.1a-r1/work/OpenCV-2.3.1/modules/imgproc/../core/include" -DPYTHON_USE_NUMPY=1 -DHAVE_QT -DHAVE_QT_OPENGL -DHAVE_CVCONFIG_H -DCVAPI_EXPORTS -DPYTHON_USE_NUMPY=1 -DHAVE_QT -DHAVE_QT_OPENGL -DHAVE_CVCONFIG_H -O0 -pipe -march=amdfam10 -g -Wl,-O1 -Wl,--as-needed -Wall -Wno-long-long -pthread -ffunction-sections -x c++-header -o /var/tmp/portage/media-libs/opencv-2.3.1a-r1/work/opencv-2.3.1a_build/modules/imgproc/precomp.hpp.gch/opencv_imgproc_Release.gch /var/tmp/portage/media-libs/opencv-2.3.1a-r1/work/opencv-2.3.1a_build/modules/imgproc/precomp.hpp OK I'm not really an expert concerning precompiled header files, but it's kind of odd that linker flags are passed in that command... Could you please attach your make.conf ?! (In reply to comment #9) > Could you please attach your make.conf ?! Hi Andreas, before posting the make.conf, I tried a build again - and now it works... OpenCV had a bump to -r2 which builds fine, but even the formerly problematic -r1 builds now. Unfortunately in the mean time there have been several important changes on my system, so I can't really reproduce it. 1) Kernel Upgrade to 3.3.1 2) automake to 1.11.3 3) portage -> multilib-portage 4) general system update (nothing to the build toolchain besides 2 though) The rest of the build toolchain has not changed, so it might, or might not be any of the mentioned software changes. Unfortunately I don't have the non-working state of the system as a backup, so I don't think I will be able to reproduce this one properly. Fortunately though, it works now :) Thanks for your help and sorry for the effort, but as far as I'm concerned, this is RESOLVED now, so I'm setting this bug to FIXED, as nobody else seems to have had this problem. |