Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 557328 - media-libs/opencv-3.1.0 with ABI=x32 - undefined reference to `tbb::internal::allocate_root_with_context_proxy::allocate(unsigned int) const'
Summary: media-libs/opencv-3.1.0 with ABI=x32 - undefined reference to `tbb::internal:...
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: x32
  Show dependency tree
 
Reported: 2015-08-11 22:33 UTC by Bertrand Jacquin
Modified: 2018-05-25 19:33 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,582.72 KB, text/x-log)
2015-08-11 22:34 UTC, Bertrand Jacquin
Details
emerge --info (info.log,16.72 KB, text/x-log)
2015-08-11 22:35 UTC, Bertrand Jacquin
Details
media-libs:opencv-3.1.0-r1:20160222-061427.log.xz (media-libs:opencv-3.1.0-r1:20160222-061427.log.xz,15.40 KB, application/x-xz)
2016-02-24 05:02 UTC, Jeroen Roovers (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bertrand Jacquin 2015-08-11 22:33:44 UTC
When building media-libs/opencv-3.0.0 on x32 with USE=threads, it fails with the following error:

[100%] Linking CXX executable ../../bin/opencv_traincascade
cd /var/tmp/portage/media-libs/opencv-3.0.0/work/opencv-3.0.0_build/apps/traincascade && /usr/bin/cmake -E cmake_link_script CMakeFiles/opencv_traincascade.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnux32-g++   -march=native -O2 -pipe -fomit-frame-pointer    -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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 -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -mfpmath=sse -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp   -Wl,-O1 -Wl,--as-needed  CMakeFiles/opencv_traincascade.dir/lbpfeatures.cpp.o CMakeFiles/opencv_traincascade.dir/old_ml_tree.cpp.o CMakeFiles/opencv_traincascade.dir/HOGfeatures.cpp.o CMakeFiles/opencv_traincascade.dir/features.cpp.o CMakeFiles/opencv_traincascade.dir/cascadeclassifier.cpp.o CMakeFiles/opencv_traincascade.dir/old_ml_inner_functions.cpp.o CMakeFiles/opencv_traincascade.dir/imagestorage.cpp.o CMakeFiles/opencv_traincascade.dir/old_ml_data.cpp.o CMakeFiles/opencv_traincascade.dir/boost.cpp.o CMakeFiles/opencv_traincascade.dir/traincascade.cpp.o CMakeFiles/opencv_traincascade.dir/old_ml_boost.cpp.o CMakeFiles/opencv_traincascade.dir/haarfeatures.cpp.o  -o ../../bin/opencv_traincascade -rdynamic -ldl -lm -lpthread -lrt -ltbb ../../lib/libopencv_objdetect.so.3.0.0 ../../lib/libopencv_calib3d.so.3.0.0 ../../lib/libopencv_features2d.so.3.0.0 ../../lib/libopencv_highgui.so.3.0.0 ../../lib/libopencv_ml.so.3.0.0 ../../lib/libopencv_videoio.so.3.0.0 ../../lib/libopencv_imgcodecs.so.3.0.0 ../../lib/libopencv_imgproc.so.3.0.0 ../../lib/libopencv_flann.so.3.0.0 ../../lib/libopencv_core.so.3.0.0 ../../lib/libopencv_hal.a -ldl -lm -lpthread -lrt -ltbb 
CMakeFiles/opencv_traincascade.dir/old_ml_tree.cpp.o: In function `CvDTree::find_best_split(CvDTreeNode*)':
old_ml_tree.cpp:(.text._ZN7CvDTree15find_best_splitEP11CvDTreeNode+0x168): undefined reference to `tbb::internal::allocate_root_with_context_proxy::allocate(unsigned int) const'
CMakeFiles/opencv_traincascade.dir/old_ml_tree.cpp.o: In function `tbb::interface7::internal::start_reduce<tbb::blocked_range<int>, cv::DTreeBestSplitFinder, tbb::auto_partitioner const>::execute()':
old_ml_tree.cpp:(.text._ZN3tbb10interface78internal12start_reduceINS_13blocked_rangeIiEEN2cv20DTreeBestSplitFinderEKNS_16auto_partitionerEE7executeEv[_ZN3tbb10interface78internal12start_reduceINS_13blocked_rangeIiEEN2cv20DTreeBestSplitFinderEKNS_16auto_partitionerEE7executeEv]+0x8f): undefined reference to `tbb::internal::allocate_continuation_proxy::allocate(unsigned int) const'
old_ml_tree.cpp:(.text._ZN3tbb10interface78internal12start_reduceINS_13blocked_rangeIiEEN2cv20DTreeBestSplitFinderEKNS_16auto_partitionerEE7executeEv[_ZN3tbb10interface78internal12start_reduceINS_13blocked_rangeIiEEN2cv20DTreeBestSplitFinderEKNS_16auto_partitionerEE7executeEv]+0xac): undefined reference to `tbb::internal::allocate_child_proxy::allocate(unsigned int) const'
old_ml_tree.cpp:(.text._ZN3tbb10interface78internal12start_reduceINS_13blocked_rangeIiEEN2cv20DTreeBestSplitFinderEKNS_16auto_partitionerEE7executeEv[_ZN3tbb10interface78internal12start_reduceINS_13blocked_rangeIiEEN2cv20DTreeBestSplitFinderEKNS_16auto_partitionerEE7executeEv]+0x36b): undefined reference to `tbb::internal::allocate_continuation_proxy::allocate(unsigned int) const'
old_ml_tree.cpp:(.text._ZN3tbb10interface78internal12start_reduceINS_13blocked_rangeIiEEN2cv20DTreeBestSplitFinderEKNS_16auto_partitionerEE7executeEv[_ZN3tbb10interface78internal12start_reduceINS_13blocked_rangeIiEEN2cv20DTreeBestSplitFinderEKNS_16auto_partitionerEE7executeEv]+0x389): undefined reference to `tbb::internal::allocate_child_proxy::allocate(unsigned int) const'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference to `tbb::internal::allocate_additional_child_of_proxy::allocate(unsigned int) const'
../../lib/libopencv_core.so.3.0.0: undefined reference to `tbb::task_scheduler_init::initialize(int, unsigned int)'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference to `tbb::internal::NFS_Allocate(unsigned int, unsigned int, void*)'
collect2: error: ld returned 1 exit status
apps/traincascade/CMakeFiles/opencv_traincascade.dir/build.make:391: recipe for target 'bin/opencv_traincascade' failed
make[2]: *** [bin/opencv_traincascade] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-libs/opencv-3.0.0/work/opencv-3.0.0_build'
CMakeFiles/Makefile2:2772: recipe for target 'apps/traincascade/CMakeFiles/opencv_traincascade.dir/all' failed
make[1]: *** [apps/traincascade/CMakeFiles/opencv_traincascade.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/media-libs/opencv-3.0.0/work/opencv-3.0.0_build'
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: media-libs/opencv-3.0.0::gentoo failed (compile phase):
 *   emake failed

Full log and emerge --info attached

Reproducible: Always
Comment 1 Bertrand Jacquin 2015-08-11 22:34:50 UTC
Created attachment 408820 [details]
build.log
Comment 2 Bertrand Jacquin 2015-08-11 22:35:04 UTC
Created attachment 408822 [details]
emerge --info
Comment 3 Andreas Sturmlechner gentoo-dev 2016-02-03 13:35:31 UTC
Can you try again with opencv-3.1.0?
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2016-02-24 05:02:08 UTC
Created attachment 426390 [details]
media-libs:opencv-3.1.0-r1:20160222-061427.log.xz

Wed 24 Feb 06:01:18 CET 2016
emerge --info =media-libs/opencv-3.1.0-r1
Portage 2.2.26 (python 3.4.3-final-0, default/linux/hppa/13.0, gcc-5.2.0, glibc-2.22-r2, 4.3.0-rc2-JeR parisc64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.3.0-rc2-JeR-parisc64-PA8800_-Mako-with-gentoo-2.2
KiB Mem:     8230532 total,   3145908 free
KiB Swap:    2101676 total,   2094820 free
Timestamp of repository gentoo: Wed, 24 Feb 2016 03:20:02 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
distcc 3.2rc1 hppa2.0-unknown-linux-gnu [enabled]
ccache version 3.1.9 [disabled]
app-shells/bash:          4.3_p42-r1::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.2.5-r6::gentoo, 3.3.5-r2::gentoo, 3.4.3-r1::gentoo, 3.5.0-r1::gentoo
dev-util/ccache:          3.1.9-r4::gentoo
dev-util/cmake:           2.8.12.2-r1::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.19.1::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.9.6-r3::gentoo, 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.22-r1::gentoo, 2.23.1::gentoo, 2.23.2::gentoo, 2.24-r3::gentoo, 2.25.1-r1::gentoo
sys-devel/gcc:            4.6.4::gentoo, 4.7.2-r1::gentoo, 4.7.3-r1::gentoo, 4.8.1-r1::gentoo, 4.8.3::gentoo, 4.8.4::gentoo, 4.8.5::gentoo, 4.9.2::gentoo, 4.9.3::gentoo, 5.2.0::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r2::gentoo
Repositories:

gentoo
    location: /world/gentoo/portage
    sync-type: rsync
    sync-uri: rsync://rsync.nl.gentoo.org/gentoo-portage
    priority: -1000

JeR
    location: /aches/gentoo/local
    masters: gentoo
    priority: -100

ACCEPT_KEYWORDS="hppa"
ACCEPT_LICENSE="*"
CBUILD="hppa2.0-unknown-linux-gnu"
CFLAGS="-mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe -Wno-comment"
CHOST="hppa2.0-unknown-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib/distcc/bin /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/bind /var/www/localhost/htdocs/wordpress/wp-config.php"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe"
DISTDIR="/aches/gentoo/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n --autounmask=n --keep-going"
FCFLAGS=""
FEATURES="assume-digests binpkg-logs buildpkg cgroup compressdebug config-protect-if-modified distcc distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news notitles parallel-fetch preserve-libs protect-owned sfperms splitdebug strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersync xattr"
FFLAGS="-mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe"
GENTOO_MIRRORS="http://de-mirror.org/gentoo/ http://mirror.netcologne.de/gentoo/ http://mirror.leaseweb.com/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--no-keep-memory"
MAKEOPTS="-j3"
PKGDIR="/aches/gentoo/packages/karsten"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="256-color X acl alsa amr anacron apng argyllcms audit bash-completion beautifulsoup3 berkdb bfio bittorrent botan bzip2 cairo canberra cli consolekit coverage cracklib crossdev crypt cups custom-cflags cxx dane dbus declarative dirac directfb distinct-l dlz doc dot dri emacs exceptions exif expat fbcon ffmpeg filecaps firefox firmware foomaticdb fortran frontend-optional g-sorcery gbm gdbm geoip geoloc glep gles1 gles2 gost gpg gpm gsm gstreamer gtk gudev guile hddtemp hppa hwdb iconv idn imlib inotify ipv6 jadetex javascript jingle jit jpeg jpeg2k json kdrive kmod ladspa lasi launch-frontend lensfun libcaca libcanberra libevent libopts libsoxr libusb libwww lua lzma lzo mad mng mod modplug modules mp3 multislot multitarget munge nagios nas natspec ncurses netlink nfs nls nptl objc objc++ objc-gc offensive ofono-headset openexr opengl openmp openrc openvg opus oqgraph osmesa oss pam pcre pcre16 php pic pkcs11 png pnm policykit python qt qt3support qt4 raw readline realtime regression-test rtmp rubytests samba sbc schroedinger sctp session smi snappy socks5 speex spell spidermonkey sqlite ssl svg tcl tcpd test tga theora threads tiff tk tokyocabinet truetype unicode unwind v4l vim-syntax vorbis vpx wayland wcwidth x264 x265 xa xattr xcb xft xhtml xkb xml2 xvfb xvid zlib" ALSA_CARDS="ad1889 usb-audio" APACHE2_MODULES="authz_host dir mime alias unixd" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="nss" DRACUT_MODULES="nfs syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev joystick keyboard mouse acecad aiptek calcomp citron digitaledge dmc dynapro elo2300 elographics fpit hyperpen jamstudio magellan microtouch mutouch palmax penmount spaceorb summa tek4957 tslib ur98 void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en nl he" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="stifb dummy" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7 3.4 3.5"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

[ebuild  N    ] media-libs/opencv-3.1.0-r1  USE="doc eigen ffmpeg gstreamer gtk jpeg jpeg2k openexr opengl openmp png python qt4 threads tiff v4l -contrib (-cuda) -examples -gdal -gphoto2 (-ieee1394) (-ipp) (-java) -libav (-opencl) -pch -qt5 -testprograms (-vaapi) -vtk -webp -xine" PYTHON_SINGLE_TARGET="python2_7 -python3_3 -python3_4 -python3_5" PYTHON_TARGETS="python2_7 python3_3 python3_4 -python3_5"
Comment 5 Larry the Git Cow gentoo-dev 2018-05-25 19:33:52 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87c7f56621506120ca81cb7098b836d922280d7d

commit 87c7f56621506120ca81cb7098b836d922280d7d
Author:     Amy Liffey <amynka@gentoo.org>
AuthorDate: 2018-05-25 19:33:22 +0000
Commit:     Amy Liffey <amynka@gentoo.org>
CommitDate: 2018-05-25 19:33:22 +0000

    media-libs/opencv: drop old 3.1.0
    
    Closes: https://bugs.gentoo.org/557328
    Closes: https://bugs.gentoo.org/600658
    Closes: https://bugs.gentoo.org/607830
    Closes: https://bugs.gentoo.org/611964
    Closes: https://bugs.gentoo.org/639896
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 media-libs/opencv/Manifest               |   2 -
 media-libs/opencv/opencv-3.1.0-r8.ebuild | 328 -------------------------------
 2 files changed, 330 deletions(-)