Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 242240 - update media-video/coriander to version compatible with media-libs/libdc1394
Summary: update media-video/coriander to version compatible with media-libs/libdc1394
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Stefaan De Roeck (RETIRED)
URL: http://sourceforge.net/project/showno...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-15 18:25 UTC by RT256
Modified: 2008-11-02 00:20 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description RT256 2008-10-15 18:25:40 UTC
Current ebuild, coriander-2.0.0_rc6, contains on outdated version incompatible with latest version of libdc1394 (version 2).  

The sourceforge page mentions that the stable version of coriander-2 was released on Jun 21, 2008.  Current version of the ebuild is based on release candidate 6 and is dated Apr 27, 2008.

Reproducible: Always

Steps to Reproduce:
1.emerge media-video/coriander
2.
3.

Actual Results:  
tail -n50 of the of the coriander emerge log:
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for xgettext... /usr/bin/xgettext
checking for getconf... found
checking for Xv extension... ok
checking for libraw1394... yes
checking for raw1394_new_handle in -lraw1394... yes
checking for libdc1394... yes
checking for dc1394_pio_set in -ldc1394... yes
checking libdc1394-2 headers... outdated
configure: error: libdc1394 is too old.
**************************************************************************
**   Please install the current libdc1394 version 2.0.0-rc8             **
**   Source tarball and SVN at:  http://www.sf.net/projects/libdc1394   **
**************************************************************************

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/portage/media-video/coriander-2.0.0_rc6/work/coriander-2.0.0-rc6/config.log
 * 
 * ERROR: media-video/coriander-2.0.0_rc6 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2048:  Called econf
 *               ebuild.sh, line  519:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *  The die message:
 *   econf failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/media-video:coriander-2.0.0_rc6:20081015-160103.log'.
 * The ebuild environment file is located at '/var/tmp/portage/portage/media-video/coriander-2.0.0_rc6/temp/environment'.

$ equery list libdc1394
[ Searching for package 'libdc1394' in all categories among: ]
 * installed packages
[I--] [ ~] media-libs/libdc1394-2.0.2 (2)


# $ emerge --info
Portage 2.1.4.5 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7SFSROBOT i686)
=================================================================
System uname: 2.6.25-gentoo-r7SFSROBOT i686 Intel(R) Xeon(TM) CPU 2.80GHz
Timestamp of tree: Wed, 15 Oct 2008 13:45:02 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo ftp://lug.mtu.edu/gentoo http://mirror.mcs.anl.gov/pub/gentoo/ ftp://mirror.mcs.anl.gov/pub/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
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/portage"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X acl acpi berkdb blas bzip2 cairo clamav cli cracklib crypt cups dbus dri eds fam fftw firefox fltk fortran ftp gdbm gif gpm gtk gtk2 hal iconv ieee1394 imagemagick imlib ipv6 isdnlog javascript jpeg jpeg2k kerberos krb4 lapack libnotify midi mime mmap mmx motif mpi mudflap ncurses nls nptl nptlonly opengl openmp opera pam pcntl pcre pdf perl plotutils png posix pppd python qt3 qt4 readline reflection samba session sharedmem spl sse sse2 ssl startup-notification svga sysfs tcl tcltk tcpd threads tiff tk truetype type1 unicode usb wmf wxwindows x86 xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia fglrx nv radeon ati mach64"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Stefaan De Roeck (RETIRED) gentoo-dev 2008-10-28 16:32:13 UTC
Fixed. Ebuild now in tree, sorry, I forgot checking this in a long time ago.
Comment 2 RT256 2008-10-29 18:34:06 UTC
(In reply to comment #1)
> Fixed. Ebuild now in tree, sorry, I forgot checking this in a long time ago.
> 

Thanks for updating the ebuild.  Unfortunately it still complains:

configure: error: libdc1394 is too old.
**************************************************************************
**   Please install libdc1394 version 2.0.2 or later                    **
**   Source tarball and SVN at:  http://www.sf.net/projects/libdc1394   **
**************************************************************************
* 
 * ERROR: media-video/coriander-2.0.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2047:  Called econf
 *               ebuild.sh, line  519:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *  The die message:
 *   econf failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/media-video:coriander-2.0.0:20081029-170218.log'.
 * The ebuild environment file is located at '/var/tmp/portage/portage/media-video/coriander-2.0.0/temp/environment'.
 * 

But I have libdc1394-2.0.2 installed:
 ~ $ equery list libdc1394
[ Searching for package 'libdc1394' in all categories among: ]
 * installed packages
[I--] [ ~] media-libs/libdc1394-2.0.2 (2)

Should I open a new bug?
Comment 3 RT256 2008-11-02 00:20:02 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > Fixed. Ebuild now in tree, sorry, I forgot checking this in a long time ago.
> > 
> 
> Thanks for updating the ebuild.  Unfortunately it still complains:
> 
> configure: error: libdc1394 is too old.
> **************************************************************************
> **   Please install libdc1394 version 2.0.2 or later                    **
> **   Source tarball and SVN at:  http://www.sf.net/projects/libdc1394   **
> **************************************************************************
> * 
>  * ERROR: media-video/coriander-2.0.0 failed.
>  * Call stack:
>  *               ebuild.sh, line   49:  Called src_compile
>  *             environment, line 2047:  Called econf
>  *               ebuild.sh, line  519:  Called die
>  * The specific snippet of code:
>  *                      die "econf failed"
>  *  The die message:
>  *   econf failed
>  * 
>  * If you need support, post the topmost build error, and the call stack if
> relevant.
>  * A complete build log is located at
> '/var/log/portage/media-video:coriander-2.0.0:20081029-170218.log'.
>  * The ebuild environment file is located at
> '/var/tmp/portage/portage/media-video/coriander-2.0.0/temp/environment'.
>  * 
> 
> But I have libdc1394-2.0.2 installed:
>  ~ $ equery list libdc1394
> [ Searching for package 'libdc1394' in all categories among: ]
>  * installed packages
> [I--] [ ~] media-libs/libdc1394-2.0.2 (2)
> 
> Should I open a new bug?
> 


Actually, the ebuild is good.  Thank you again, Stefaan, for your good work!  I apologize for not digging deeper into my system to check the root of the problem, prior to re-opening the bug. 

The problem was that I had manually installed a previous version of libdc1394.  After uninstalling it, coriander compiled normally.

Word of caution: I configured my kernel NOT to use the new firewire stack (juju).  Make sure you emerge libdc1394 with -juju otherwise coriander does not work (obviously!).  
Note that when emerging libdc1394 with juju use flag, there is no check for enabling the new firewire stack in the kernel.