Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 555782 - media-plugins/frei0r-plugins-1.4 : /var/tmp/portage/media-plugins/frei0r-plugins-1.4/work/frei0r-plugins-1.4/src/filter/facedetect/facedetect.cpp:267:9: error: could not convert ‘{{cvRound((((FaceDetect*)this)->FaceDetect::color[0].f0r_param_color::r * 2.
Summary: media-plugins/frei0r-plugins-1.4 : /var/tmp/portage/media-plugins/frei0r-plug...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 568540 (view as bug list)
Depends on:
Blocks: opencv-3
  Show dependency tree
 
Reported: 2015-07-24 10:41 UTC by Toralf Förster
Modified: 2016-01-31 17:44 UTC (History)
5 users (show)

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


Attachments
emerge log (media-plugins-frei0r-plugins-1.4-20150724-033858.log,27.57 KB, text/plain)
2015-07-24 10:41 UTC, Toralf Förster
Details
package history (media-plugins-frei0r-plugins-1.4-20150724-033858.pks,226.52 KB, text/plain)
2015-07-24 10:41 UTC, Toralf Förster
Details
frei0r-plugins-1.4-opencv.patch (frei0r-plugins-1.4-opencv.patch,3.29 KB, patch)
2015-09-10 01:40 UTC, Alex Barker
Details | Diff
frei0r-plugins-1.4-opencv3.patch (frei0r-plugins-1.4-opencv3.patch,3.63 KB, patch)
2015-12-19 10:45 UTC, PhobosK
Details | Diff
frei0r-plugins-1.3-opencv3.patch (frei0r-plugins-1.3-opencv3.patch,3.59 KB, patch)
2015-12-19 11:24 UTC, PhobosK
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2015-07-24 10:41:16 UTC
Created attachment 407524 [details]
emerge log

^
src/filter/facedetect/CMakeFiles/facedetect.dir/build.make:54: recipe for target 'src/filter/facedetect/CMakeFiles/facedetect.dir/facedetect.cpp.o' failed
make[2]: *** [src/filter/facedetect/CMakeFiles/facedetect.dir/facedetect.cpp.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-plugins/frei0r-plugins-1.4/work/frei0r-plugins-1.4_build'
CMakeFiles/Makefile2:594: recipe for target 'src/filter/facedetect/CMakeFiles/facedetect.dir/all' failed
make[1]: *** [src/filter/facedetect/CMakeFiles/facedetect.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/media-plugins/frei0r-plugins-1.4/work/frei0r-plugins-1.4_build'
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: media-plugins/frei0r-plugins-1.4::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=media-plugins/frei0r-plugins-1.4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-plugins/frei0r-plugins-1.4::gentoo'`.
 * The complete build log is located at '/var/log/portage/media-plugins:frei0r-plugins-1.4:20150724-033858.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-plugins/frei0r-plugins-1.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-plugins/frei0r-plugins-1.4/temp/environment'.
 * Working directory: '/var/tmp/portage/media-plugins/frei0r-plugins-1.4/work/frei0r-plugins-1.4_build'
 * S: '/var/tmp/portage/media-plugins/frei0r-plugins-1.4/work/frei0r-plugins-1.4'

  -----------------------------------------------------------------

  This is an unstable amd64 chroot image (named amd64-gnome-unstable_20150719-194535) at a hardened host acting as a tinderbox.

Portage 2.2.20 (python 2.7.10-final-0, default/linux/amd64/13.0/desktop/gnome, gcc-4.9.3, glibc-2.21-r1, 4.0.8-hardened x86_64)
=================================================================
System uname: Linux-4.0.8-hardened-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16164692 total,   1108592 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Fri, 24 Jul 2015 01:45:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25 p1.2) 2.25
ccache version 3.2.2 [disabled]
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10::gentoo, 3.3.5-r1::gentoo, 3.4.3::gentoo
dev-util/ccache:          3.2.2::gentoo
dev-util/cmake:           3.2.3::gentoo
dev-util/pkgconfig:       0.28-r3::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25-r1::gentoo
sys-devel/gcc:            4.8.4::gentoo, 4.9.3::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

local
    location: /usr/local/portage
    masters: gentoo

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: 9999

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb /var/spool/torque"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-O2 -pipe"
DISTDIR="/var/tmp/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner --tree --quiet-build --accept-properties=-interactive --accept-restrict=-fetch"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo rsync://mirror.netcologne.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gor.bytemark.co.uk/gentoo/ rsync://ftp.snt.utwente.nl/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
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="X a52 aac acl acpi aes-ni alsa amd64 apache2 avx avx2 berkdb bluetooth branding btrfs bzip2 cairo cdda cdr cgi cli colord consolekit corefonts cracklib crypt cups curl cxx dbus designer dnssec dot dri drmkms dts dvd dvdr ecc eds emboss encode evo exif extraengine fam firefox flac fortran fpm gdbm gif glamor gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gudev gui iconv icu inifile introspection ipv6 jadetex jpeg lcms libkms libnotify libsecret logrotate mad mbox minizip mmx mmxext mng modules mp3 mp4 mpeg multilib nautilus ncurses nls nptl ogg opengl openmp pam pango pax_kernel pcre pcre16 pdf plasma policykit postgres ppds pulseaudio qemu qml qt3support qt4 readline sdl session spell spice sqlite sqlite3 sse sse2 sse4 sse4_1 sse4_2 ssl ssse3 startup-notification svg tcl tcpd tiff tracker truetype udev udisks uml unicode upower usb usbredir vorbis wxwidgets x264 xcb xkb xml xslt xv xvfb xvid xvmc zenmap zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" 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" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104 v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Toralf Förster gentoo-dev 2015-07-24 10:41:34 UTC
Created attachment 407526 [details]
package history
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-07-24 14:05:13 UTC
I'd blame opencv update.
Comment 3 Bertrand Jacquin 2015-08-10 23:28:19 UTC
This also happens with USE=-facedetect
Comment 4 Alex Barker 2015-09-10 01:40:05 UTC
Created attachment 411466 [details, diff]
frei0r-plugins-1.4-opencv.patch

Cleaned up patch from Jozef Mlich to address the same issue over at redhat.

https://bugzilla.redhat.com/show_bug.cgi?id=1241066
Comment 5 David Klann 2015-09-11 20:15:00 UTC
The modified red hat patch worked for me as well. Arch ~amd64, USE flags: facedetect scale0tilt.

Thanks!
Comment 6 jorgicio 2015-09-13 20:18:01 UTC
I also confirm that the patch works, so it'd be nice if added to some next release.
Comment 7 Alexis Ballier gentoo-dev 2015-11-05 15:56:00 UTC
commit 296866130232bd0aeed4bc8e5b8dc7efd2db4069
Author: Alexis Ballier <aballier@gentoo.org>
Date:   Thu Nov 5 16:55:30 2015 +0100

    media-plugins/frei0r-plugins: Fix build with opencv3. Patch from from Jozef Mlich ported by Alex Barker. Bug #555782.


thx!
Comment 8 PhobosK 2015-12-19 10:43:41 UTC
This patch is not backwards compatible with previous OpenCV 2 versions.
So it will not work if the user decides to use OpenCV 2.....

Please reopen this issue and use the upstream fix - https://github.com/ddennedy/frei0r/commit/129eeac85fb5a992dfb20c79192848795082ba75 (though it has a bug too, but I did report upstream to fix that - see my note on github on line 264 for the commit)

I will upload the proper patch for =media-plugins/frei0r-plugins-1.4 here for convenience...
Please let someone test with both OpenCV 2 and OpenCV 3 and share results...

I can confirm this works ok with OpenCV 3 (no time to check with OpenCV 2 - you know it is a big, time consuming emerge... :( )

Thanks
Comment 9 PhobosK 2015-12-19 10:45:42 UTC
Created attachment 419752 [details, diff]
frei0r-plugins-1.4-opencv3.patch

This patch adds a backwards compatibility with previous OpenCV 2 versions.
Comment 10 PhobosK 2015-12-19 10:58:05 UTC
Here is a proof that the now version of the patch in portage is wrong: bug #568608
Comment 11 PhobosK 2015-12-19 11:23:13 UTC
Same problem exists with stable =media-plugins/frei0r-plugins-1.3

See bug #568540

I am uploading a patch for it too (but it will require changes to apply it in the frei0r-plugins-1.3.ebuild)
Comment 12 PhobosK 2015-12-19 11:24:13 UTC
Created attachment 419758 [details, diff]
frei0r-plugins-1.3-opencv3.patch

This is a patch for =media-plugins/frei0r-plugins-1.3 and OpenCV 3

See bug #568540
Comment 13 Michael Palimaka (kensington) gentoo-dev 2016-01-31 17:44:53 UTC
*** Bug 568540 has been marked as a duplicate of this bug. ***