Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 287118 - =media-libs/opencv-1.0.0-r1 fails to compile with =dev-libs/DirectFB-1.4.2
Summary: =media-libs/opencv-1.0.0-r1 fails to compile with =dev-libs/DirectFB-1.4.2
Status: RESOLVED DUPLICATE of bug 283832
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-30 16:37 UTC by Stephan Friedrichs
Modified: 2009-10-01 20:33 UTC (History)
2 users (show)

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


Attachments
Build log (1254328186-install-media-libs_opencv-1.0.0-r1:0::gentoo.out,354.22 KB, text/plain)
2009-09-30 16:39 UTC, Stephan Friedrichs
Details
paludis --info opencv (opencv-info,15.18 KB, text/plain)
2009-09-30 16:39 UTC, Stephan Friedrichs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Friedrichs 2009-09-30 16:37:19 UTC
After the upgrade to DirectFB-1.4.2 and the associated reconcilio (paludis' revdep-rebuild), opencv doesn't compile any more:

> paludis -i1 opencv
[...]
/bin/sh ../../libtool --tag=CXX   --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I../../cxcore/include -I../.. -I../../cv/include -I/usr/include/OpenEXR -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12   -DNDEBUG   -Wall -fno-rtti -pipe -O3 -fomit-frame-pointer -march=nocona -O2 -pipe -MT window_gtk.lo -MD -MP -MF .deps/window_gtk.Tpo -c -o window_gtk.lo window_gtk.cpp  
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I../../cxcore/include -I../.. -I../../cv/include -I/usr/include/OpenEXR -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -DNDEBUG -Wall -fno-rtti -pipe -O3 -fomit-frame-pointer -march=nocona -O2 -pipe -MT cvcap_ffmpeg.lo -MD -MP -MF .deps/cvcap_ffmpeg.Tpo -c cvcap_ffmpeg.cpp  -fPIC -DPIC -o .libs/cvcap_ffmpeg.o
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I../../cxcore/include -I../.. -I../../cv/include -I/usr/include/OpenEXR -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -DNDEBUG -Wall -fno-rtti -pipe -O3 -fomit-frame-pointer -march=nocona -O2 -pipe -MT cvcap_v4l.lo -MD -MP -MF .deps/cvcap_v4l.Tpo -c cvcap_v4l.cpp  -fPIC -DPIC -o .libs/cvcap_v4l.o
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I../../cxcore/include -I../.. -I../../cv/include -I/usr/include/OpenEXR -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -DNDEBUG -Wall -fno-rtti -pipe -O3 -fomit-frame-pointer -march=nocona -O2 -pipe -MT window_gtk.lo -MD -MP -MF .deps/window_gtk.Tpo -c window_gtk.cpp  -fPIC -DPIC -o .libs/window_gtk.o
cvcap_ffmpeg.cpp: In function 'int icvGrabFrameAVI_FFMPEG(CvCaptureAVI_FFMPEG*)':
cvcap_ffmpeg.cpp:200: warning: 'int avcodec_decode_video(AVCodecContext*, AVFrame*, int*, const uint8_t*, int)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3262)
cvcap_ffmpeg.cpp:202: warning: 'int avcodec_decode_video(AVCodecContext*, AVFrame*, int*, const uint8_t*, int)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3262)
cvcap_ffmpeg.cpp: In function 'AVFrame* icv_alloc_picture_FFMPEG(int, int, int, bool)':
cvcap_ffmpeg.cpp:402: error: invalid conversion from 'int' to 'PixelFormat'
cvcap_ffmpeg.cpp:402: error:   initializing argument 1 of 'int avpicture_get_size(PixelFormat, int, int)'
cvcap_ffmpeg.cpp:411: error: invalid conversion from 'int' to 'PixelFormat'
cvcap_ffmpeg.cpp:411: error:   initializing argument 3 of 'int avpicture_fill(AVPicture*, uint8_t*, PixelFormat, int, int)'
cvcap_ffmpeg.cpp: In function 'CvVideoWriter* cvCreateVideoWriter(const char*, int, double, CvSize, int)':
cvcap_ffmpeg.cpp:543: warning: 'AVFormatContext* av_alloc_format_context()' is deprecated (declared at /usr/include/libavformat/avformat.h:807)
cvcap_ffmpeg.cpp:543: warning: 'AVFormatContext* av_alloc_format_context()' is deprecated (declared at /usr/include/libavformat/avformat.h:807)
make[3]: *** [cvcap_ffmpeg.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/cvcap_v4l.Tpo .deps/cvcap_v4l.Plo
window_gtk.cpp: In function 'GtkType cvImageWidget_get_type()':
window_gtk.cpp:404: warning: deprecated conversion from string constant to 'gchar*'
mv -f .deps/window_gtk.Tpo .deps/window_gtk.Plo
make[3]: Leaving directory `/var/tmp/paludis/media-libs-opencv-1.0.0-r1/work/opencv-1.0.0/otherlibs/highgui'
make[2]: Leaving directory `/var/tmp/paludis/media-libs-opencv-1.0.0-r1/work/opencv-1.0.0/otherlibs'
make[1]: Leaving directory `/var/tmp/paludis/media-libs-opencv-1.0.0-r1/work/opencv-1.0.0'
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
/usr/libexec/paludis/utils/emake: emake returned error 2

!!! ERROR in media-libs/opencv-1.0.0-r1::gentoo:
!!! In src_compile at line 4417
!!! Emake failed

!!! Call stack:
!!!    * src_compile (/var/tmp/paludis/media-libs-opencv-1.0.0-r1/temp/loadsaveenv:4417)
!!!    * ebuild_f_compile (/usr/libexec/paludis/1/src_compile.bash:49)
!!!    * ebuild_main (/usr/libexec/paludis/ebuild.bash:598)
!!!    * main (/usr/libexec/paludis/ebuild.bash:626)

diefunc: making ebuild PID 1877 exit with error
die trap: exiting with error.

Install error:
  * In program reconcilio (--continue-on-failure if-satisfied --dl-downgrade error) :
  * When performing the Fix Linkage action:
  * When executing install task:
  * When installing 'media-libs/opencv-1.0.0-r1:0::gentoo' replacing { 'media-libs/opencv-1.0.0-r1:0::installed' }:
  * When running an ebuild command on 'media-libs/opencv-1.0.0-r1:0::gentoo':
  * Install error: Install failed for 'media-libs/opencv-1.0.0-r1:0::gentoo'



Reproducible: Always

Steps to Reproduce:
Comment 1 Stephan Friedrichs 2009-09-30 16:39:04 UTC
Created attachment 205686 [details]
Build log
Comment 2 Stephan Friedrichs 2009-09-30 16:39:54 UTC
Created attachment 205688 [details]
paludis --info opencv
Comment 3 Vasilis Lourdas 2009-10-01 14:38:41 UTC
Same here, although I don't have DirectFB installed.

Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.4.1, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 01 Oct 2009 14:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.5.4-r3, 2.6.2-r1
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
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/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/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 /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://saturnw/~lourdas/ http://files.gentoo.gr http://mirror.leaseweb.com/gentoo/ http://mirror.jamit.de/gentoo/ http://gentoo.mneisen.org/ http://ftp.ntua.gr/pub/linux/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://mirror.cambrium.nl/pub/os/linux/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://de-mirror.org/distro/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/arcon /usr/local/portage/layman/devnull /usr/local/portage/layman/kde-testing /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi additions alsa amd64 apache2 asf bash-completion berkdb branding bzip2 bzlib cairo calendar caps charconv chm cleartype cli consolekit cracklib crypt css ctype cups cupsddk curl custom-optimization dba dbus devfs-compat dmi dri dts dvd dvdr dvdread effects encode exif expat fam fat fbcon ffmpeg fftw filter firefox3 flac flatfile fontconfig foomaticdb ftp gcj gd gdbm gif gimp gimpprint glib glx gmp gnomedb gnutls gocr gphoto2 gpm gtk hal hddtemp howl iconv icu id3tag imagemagick imap imlib innodb inotify isdnlog jabber java java6 javascript jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kipi lcms libsamplerate libwww lm_sensors madwifi maildir mailwrapper maps mhash mime mmx mmxext modules motif mozbranding mozdevelop mozilla mozsvg mp3 mpeg mplayer mpm-worker mudflap multilib multiuser mysql mysqli ncurses newspr nls no-old-linux nodrm nomalloccheck nptl nptlonly ntfs objc odbc offensive ogg opengl openmp pam pcmcia pcntl pcre pdf pdo pear perl php plasma pmu png policykit posix pppd python qt3 qt3support qt4 quicktime rar raw rdesktop readline redeyes reflection reiserfs ruby sasl scanner semantic-desktop server session sha512 sharedext simplexml slang smp sndfile soap sockets speex spell spl spreadsheet sqlite sqlite3 srt sse sse2 sse3 ssl ssse3 startup-notification subtitles subversion svg symlink sysfs syslog tcltk tcpd templates tetex threads tidy tiff tokenizer tordns truetype unicode usb userlocales vda vnc vncviewer vorbis wmf wv wxgtk1 x264 xcomposite xfs xine xml xmlreader xmlrpc xmlwriter xorg xpm xprint xscreensaver xsl xvid xvmc xvnc zip zlib" ALSA_CARDS="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 authn_alias authn_anon 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 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" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" NETBEANS_MODULES="cnd php ide nb webcommon xml gsf harness websvccommon" SANE_BACKENDS="snapscan" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 DaggyStyle 2009-10-01 16:07:43 UTC
same here, but no directfb installed, I think it has to have something with ffmpeg, I'm running the mt version
Comment 5 DaggyStyle 2009-10-01 16:20:24 UTC
well strike that, ffmpeg doesn't change it but it does have a connection to latest libxaw update which forced this guide http://www.gentoo.org/proj/en/desktop/x/x11/libxcb-1.4-upgrade-guide.xml
Comment 6 DaggyStyle 2009-10-01 18:22:07 UTC
correction, is it ffmpeg based, this bug http://bugs.gentoo.org/show_bug.cgi?id=283832 contains a patch that solves it.
Comment 7 Sebastian Luther (few) 2009-10-01 20:33:40 UTC

*** This bug has been marked as a duplicate of bug 283832 ***