Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 365495 - media-plugins/frei0r-plugins-1.1.22-r1 fails to emerge with media-libs/opencv-2.2.0-r10
Summary: media-plugins/frei0r-plugins-1.1.22-r1 fails to emerge with media-libs/opencv...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 394585 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-05-01 03:47 UTC by Erik Zeek
Modified: 2011-12-13 19:49 UTC (History)
10 users (show)

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


Attachments
build log (media-plugins:frei0r-plugins-1.1.22-r1:20110501-033804.log,292.23 KB, text/plain)
2011-05-01 03:47 UTC, Erik Zeek
Details
frei0r-plugins-1.1.22-facedetect.patch (frei0r-facedetect-1.1.22.patch,777 bytes, patch)
2011-05-12 07:08 UTC, Nickolay Kolchin-Semyonov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Zeek 2011-05-01 03:47:21 UTC
Created attachment 271707 [details]
build log

frei0r-plugins fails to emerge with the latest opencv.  Too few arguments in "cvHaarDetectObjects".

libtool: link: x86_64-pc-linux-gnu-ar cru .libs/rgbparade.a  rgbparade_la-rgbparade.o
libtool: link: x86_64-pc-linux-gnu-ranlib .libs/rgbparade.a
libtool: link: ( cd ".libs" && rm -f "rgbparade.la" && ln -s "../rgbparade.la" "rgbparade.la" )
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"frei0r-plugins\" -DPACKAGE_TARNAME=\"frei0r-plugins\" -DPACKAGE_VERSION=\"1.1.22\" -DPACKAGE_STRING=\"frei0r-plugins\ 1.1.22\" -DPACKAGE_BUGREPORT=\"richard.spindler@gmail.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"frei0r-plugins\" -DVERSION=\"1.1.22\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE_FLOAT_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_MEMSET=1 -I.  -I../include   -I/usr/include/opencv   -DOPENCV_PREFIX=/usr -O2 -pipe -mtune=native -march=native -O2 -mabm -msse4a  -O2 -pipe -mtune=native -march=native -O2 -mabm -msse4a -MT facedetect_la-facedetect.lo -MD -MP -MF .deps/facedetect_la-facedetect.Tpo -c -o facedetect_la-facedetect.lo `test -f 'filter/facedetect/facedetect.c' || echo './'`filter/facedetect/facedetect.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"frei0r-plugins\" -DPACKAGE_TARNAME=\"frei0r-plugins\" -DPACKAGE_VERSION=\"1.1.22\" "-DPACKAGE_STRING=\"frei0r-plugins 1.1.22\"" -DPACKAGE_BUGREPORT=\"richard.spindler@gmail.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"frei0r-plugins\" -DVERSION=\"1.1.22\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE_FLOAT_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_MEMSET=1 -I. -I../include -I/usr/include/opencv -DOPENCV_PREFIX=/usr -O2 -pipe -mtune=native -march=native -O2 -mabm -msse4a -O2 -pipe -mtune=native -march=native -O2 -mabm -msse4a -MT facedetect_la-facedetect.lo -MD -MP -MF .deps/facedetect_la-facedetect.Tpo -c filter/facedetect/facedetect.c  -fPIC -DPIC -o .libs/facedetect_la-facedetect.o
filter/facedetect/facedetect.c: In function 'detect_and_draw':
filter/facedetect/facedetect.c:231:36: error: too few arguments to function 'cvHaarDetectObjects'
/usr/include/opencv2/objdetect/objdetect.hpp:127:15: note: declared here
make[1]: *** [facedetect_la-facedetect.lo] Error 1
make[1]: Leaving directory `/gentoo/tmp/portage/media-plugins/frei0r-plugins-1.1.22-r1/work/frei0r-plugins-1.1.22/src'
make: *** [all-recursive] Error 1
emake failed


> emerge --info =media-plugins/frei0r-plugins-1.1.22-r1                                                                                                                                                                          
Portage 2.2.0_alpha30 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.2, libc-0-r0, 2.6.38-gentoo-r3 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.38-gentoo-r3-x86_64-AMD_Phenom-tm-_II_X6_1055T_Processor-with-gentoo-2.0.2
Timestamp of tree: Sun, 01 May 2011 02:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.4 [disabled]
app-shells/bash:     4.2_p8-r1
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/ccache:     3.1.4
dev-util/cmake:      2.8.4-r1
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2-r1
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
sys-kernel/linux-headers: 2.6.38
sys-libs/glibc:      2.13-r2
virtual/os-headers:  0
Repositories: gentoo zeekec science sunrise portage-backup kde x11 g-octave
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mtune=native -march=native -O2 -mabm -msse4a"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb /var/spool/torque"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -mtune=native -march=native -O2 -mabm -msse4a"
DISTDIR="/gentoo/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going -j 3"
FEATURES="assume-digests binpkg-logs collision-protect distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe -mtune=native -march=native -O2 -mabm -msse4a"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://gentoo.wetzlmayr.com/ http://gentoo.mirrors.hoobly.com/ http://www.cyberuse.com/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://mirror.usu.edu/mirrors/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--hash-style=gnu"
MAKEOPTS="-j6 --load-average=18"
PKGDIR="/gentoo/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="-i"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/gentoo/tmp"
PORTDIR="/gentoo/portage"
PORTDIR_OVERLAY="/gentoo/local/portage /gentoo/local/layman/science /gentoo/local/layman/sunrise /gentoo/local/layman/portage-backup /gentoo/local/layman/kde /gentoo/local/layman/x11 /var/lib/g-octave"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="16k_voice 256-color 32bit 3dnow 3dnowext 3ds 64bit R X Xaw3d a52 aac aacs aalib abiword accessibility acct ace acl acpi additions addressbook admin aften aim aio airplay akonadi alac alaw alisp all_sfx alltargets alsa amarok amd64 amr amrr analogtv ancient animgif ansi ant antlr ao apache2 apidocs apng applet archive arpack artworkextra aspell aspnet2 assistant astr async asyncns atm attica audacious audio audiofile audit auth authdaemond auto-completion automap automount autotrace avahi bash-completion bazaar bcmath bdf berkdb bineditor binfilter biysk bl blas blender blender-game blksha1 bloodsuckermaps bluetooth bonusscripts boo bookmarks boost bootchart bracketcompletion branding btrfs bugzilla builder bwscheduler bzip2 cairo cal3d calendar canna caps cblas-external ccache cdaudio cdda cddb cdf cdinstall cdparanoia cdr cdrom cdsound cegui celt cgi cgns chaco chardet charmap checkpath chm chroot cilk cipher-aes-128 cipher-aes-192 cipher-aes-256 cipher-blowfish cjk clamav cleartype cli client cln clucene clutter cmake collab colordiff colorpicker compress consolekit context contrast contrib cpio cppunit cracklib cramfs crashreporter cron crypt css ctype cups curl curlwrappers custom-optimization cvs cvsgraph cxx d dap data dbus debug-utils debugger declarative dell demo deprecated designer designer-plugin desktopglobe detex development devhelp device-mapper dga dhcp dia dirac discard-path discouraged disk-partition djvu dmraid dns doc docbook doom doom1 doom2 doomsday dosbox dot downloadorder dri drmaa dtmf dts dv dvb dvd dvdnav dvdr dvi dvipdfm ebook editor eds eigen emacs embedded emboss emf emovix enca encode enscript ethernet examples excel exceptions exif expat expoblending extensions extra extra-algorithms extra-cardsets extra-ciphers extra-phrases extra-tools extrafilters extras faac faad facedetect faillog fakevim fam fame fancy fastcgi fat fax fbcondecor fcgi festival ffmpeg fftw filter finger firefox firefox3 fits flac flatfile flickr fluidsynth fmod fontconfig fontforge fonts foomaticdb force-cgi-redirect fortran fortran95 fortune fpx freetts frei0r ftp fts3 fuse gadu galago games gcdmaster gd gdal gdbm gdu gensplash geoip geolocation geos gif gimp ginac git gkrellm glade glep gles glgd glib glibc-omitfp glitz glut gmail gmath gme gml gmm gmp gmtfull gmthigh gmtsuppl gmttria gnome gnome-print gnuplot gocr goffice google-gadgets gopher gpac gpg gphoto2 gpm gps grace grammar graphics graphicsmagick graphite graphviz grass groupwise gs gsl gsm gstreamer gtk gtkhtml guile h224 h281 h323 handbook hash hbci hddtemp hdf hdf5 hdri hesiod heterogeneous hexen hexenworld hfs high-ints highlight history holidays hotpixels hou howl-compat html http httpd humanities hyphenation i18n ical iconv icoutils icq icu id3 id3tag idb ide idea idn ieee1394 ignore-case image imagemagick imaging imap imlib inifile inkjar inotify iplayer ipv6 ipython irc isag ivr jabber jadetex jai java java6 javacomm javascript jbig jce jimi jit jmf john jpeg jpeg2k kate kde kdecards kdrive kerberos kig-scripting kipi konqueror kontact kpathsea kqemu kvm ladspa lame lapack largefile largeterminal lastfm latex latex3 lcdfilter lcms ldap ldb lensfun libass libburn libcaca libdsk libgda liblockfile libnotify libproxy libsamplerate libsexy libssh2 libtiger libv4l libv4l2 libvirtd libwww lightning lights live llvm lm_sensors lock log log4j log4p logrotate logviewer logwatch lqr lto lua luatex lvm lvm2 lxc lyrics lzma lzo mad mail maildir mailwrapper maps math mathml matplotlib matroska mbrola md5sum mdadm mdnsresponder-compat med melt memmap mercurial metis mgetty mhash mikmod mime mixer mjpeg mmap mmx mmxext mng mod_python modplug modules moonlight mopac7 motif mozdom mozilla mp3 mp3tunes mp4 mpeg mpi mpi_njtree mplayer mpqc mtp mudflap multilib multimedia multiprocess multiuser musepack music musicbrainz mysql na_dd na_dtv na_icons nas nautilus ncurses net netcdf netgen nethack netpbm network network-cron networking new-clx new-login nfs nls nntp nocd nodrm nosource nowin nowlistening npp nptl nptlonly nsplugin nspluginwrapper nss nsscache nssdb ntfs ntlm ntp numa numpy nut nuv objc ocrad octave odbcmanual odk ods offensive ofx ogdi ogg ogm okteta okular omega openal openbabel opencascade opencl openexr opengl openinventor openmp openssl opensslcrypt openstreetmap openxml optimization optimize-cflags optimized-qmake origin osc oscar osdmenu osgapps oss ots pager pam pam_ssh pango paranoidmsg parcheck parse-clocks parted passwdqc patch patented pbm pbs pch pcntl pcre pdf pdfannotextractor perl petsc phonon php phyp physfs pipe plasma player playlist plotutils plugins plutonia pmount png pnm policykit pop posix postfix postproc postscript ppds pppd print private-headers proj projectm psf pstricks pth publishers pvr pylint python q32 q8 qalculate qemu qemu-ifup qhull qimageblitz qml qos qscintilla qt-dbus qt-faststart qt-webkit qt3support qt4 qthelp qtscript quicktime quota quotes qwt radio rar raw rc5 rcs rdesktop readline redeyes regex remix remote remoteosd reports resources reviewboard rfc3779 rle rogue romio root rpc rpm rrdcgi rrdtool rss rtc rtf rtmp rtsp samba sasl sbcl scale0tilt scanfolder scanner schroedinger science scintilla scipy screen script scripting sdk sdl sdl-image search secure-delete semantic-desktop sensord server session sftp sha512 shaders shadow sharedext shine shm shmvideo shorten shout sigsegv sip sipim skins skype slp smbclient smbsharemodes smbtav2 smime smp sms smtp sndfile snmp soap sockets socks socks5 solver songs sou sound soundex sounds soup sox spamassassin sparse speech speex spell sql sqlite sqlite3 srt srtp sse sse2 sse3 sse4a ssh ssl stars startup-notification statistics stats stlport stream subject-rewrite subtitles subversion suexec suid svg swat symlink sysfs syslog system-sqlite systemtap sysvipc szip t1lib taamey taglib taucs tcl tcpd templates tesseract tetgen tex4ht textures tga themedesigner themes theora thesaurus threads threadsafe thumbnail tidy tiff timezone timidity tk tntc tokenizer tomsfastmath toolbar tools track-src-odirect traits transcode translator truetype tts tv tv_check tv_combiner tv_pick_cgi tvtime twolame type3 udev udev-acl udis86 umfpack uml unicode unlock-notify unzip upnp urandom urlpicpreview usb userlocales userpriv utempter utils uudeview uuid v4l v4l2 vamp vboxwebsrv vcd vcdx vde vdr video videos vim vim-pager vim-syntax virt-network virtualbox virtuoso vlm vnc voice vorbis vpx vserver vxml wav wavpack wcs weather web webcam webdav webdav-neon webdav-serf webinterface webkit webp webpresence wide-unicode wifi wikipedia windeco wineappdb wininst winpopup wma wma-fixed wmf wordperfect wpd wpg wv2 wxwidgets x264 xanim xattr xcap xcb xcomposite xerces-c xetex xext xface xfce xforms xforward xft xhtml xine xinerama xinetd xls xml xmlpatterns xmlreader xmlrpc xmlwriter xmp xmpi xorg xosd xplanet xpm xrandr xrender xscreensaver xsettings xsl xslt xtended xterm xterm-color xtom xulrunner xv xvid xvmc yaepg yahoo yv12 zeroconf zip zlib zoran zsh-completion zvbi" ALSA_CARDS="intel8x0 intel8x0m pxa2xx-ac97 hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias cgi cgid" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog apache cpu cpufreq disk entropy fscache hddtemp iptables logfile mbmon network python sensors thermal users uuid write_http" DRACUT_MODULES="btrfs crypt gensplash syslog biosdevname caps" DVB_CARDS="af9005 bcm3510 cx18 cx231xx cx23885 mpc718 nxt200x sp8870 sp887x" 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 ubx" INPUT_DEVICES="keyboard mouse evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 ppc ppc64 x86_64" QEMU_USER_TARGETS="i386 ppc ppc64 ppc64abi32 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon fglrx" 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, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

=================================================================
                        Package Settings
=================================================================

media-plugins/frei0r-plugins-1.1.22-r1 was built with the following:
USE="doc facedetect (multilib) scale0tilt test"
CFLAGS="-O2 -pipe -mtune=amdfam10 -march=amdfam10 -O2 -mabm -msse4a"
CXXFLAGS="-O2 -pipe -mtune=amdfam10 -march=amdfam10 -O2 -mabm -msse4a"
Comment 1 Erik Zeek 2011-05-01 03:52:06 UTC
*** This bug has been confirmed by popular vote. ***
Comment 2 Nickolay Kolchin-Semyonov 2011-05-12 07:08:09 UTC
Created attachment 272919 [details, diff]
frei0r-plugins-1.1.22-facedetect.patch

Fix for cvHaarDetectObjects missing argument.
Comment 3 Andrew Savchenko gentoo-dev 2011-05-17 08:43:44 UTC
(In reply to comment #2)
> Created attachment 272919 [details, diff]
> frei0r-plugins-1.1.22-facedetect.patch
> 
> Fix for cvHaarDetectObjects missing argument.

Thanks, this patch works for me.
Comment 4 waynedpj 2011-05-22 10:59:17 UTC
thanks, works here as well.
Comment 5 nikodll 2011-06-12 21:35:39 UTC
(In reply to comment #2)
> Created attachment 272919 [details, diff]
> frei0r-plugins-1.1.22-facedetect.patch
> 
> Fix for cvHaarDetectObjects missing argument.

Thanks, it does work.
Comment 6 Matt 2011-06-13 18:35:02 UTC
Just wondering when this patch will make it into the tree.  Seeing the broken libs at the end of every merge is starting to get to me.  :-)


M.
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2011-06-13 18:44:01 UTC
(In reply to comment #2)
> Created attachment 272919 [details, diff]
> frei0r-plugins-1.1.22-facedetect.patch
> 
> Fix for cvHaarDetectObjects missing argument.

*frei0r-plugins-1.1.22-r2 (13 Jun 2011)

  13 Jun 2011; Samuli Suominen <ssuominen@gentoo.org>
  +frei0r-plugins-1.1.22-r2.ebuild,
  +files/frei0r-plugins-1.1.22-opencv-2.2.0-api.patch:
  Fix building with OpenCV >= 2.2.0 API wrt #365495 by Nickolay
  Kolchin-Semyonov



(Note that I'm not really satisfied with this, but a version bump of frei0r-plugins should go into tree instead but I don't have the time to look into that right now, so committed this as temporary workaround so people don't get annoyed anymore :-)
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2011-06-13 18:46:17 UTC
Bug 340793 for people who want to follow that progress
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2011-12-13 19:49:31 UTC
*** Bug 394585 has been marked as a duplicate of this bug. ***