Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136659 - media-video/kino-0.9.0 does not build with quicktime.
Summary: media-video/kino-0.9.0 does not build with quicktime.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Denis Dupeyron (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-13 07:44 UTC by Kjell Claesson
Modified: 2006-06-14 10:49 UTC (History)
2 users (show)

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 Kjell Claesson 2006-06-13 07:44:58 UTC
My emerge --info. (Not needed but so you don't flame me)
emerge --info
Portage 2.1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 Intel(R) Celeron(TM) CPU                1400MHz
Gentoo Base System version 1.12.1
dev-lang/python:     2.2.3-r6, 2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O2 -pipe -mmmx -msse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=pentium3 -O2 -pipe -mmmx -msse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ "
LANG="sv_SE.UTF-8"
LC_ALL="sv_SE.UTF-8"
LINGUAS="sv"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/home/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X aac aalib acl alsa apache2 arts asf audiofile berkdb bitmap-fonts blender-game bonobo bzip2 cairo cdr cdrom cli crypt css cups curl dbus directfb dri dv dvd dvdr dvdread eds emboss encode esd exif fam fbcon ffmpeg flac flash font-server foomaticdb fortran gd gdbm gif gimp gimpprint glitz gmp gnome gpm graphviz gstreamer gtk gtk2 gtkhtml guile hal ieee1394 imlib innodb input_devices_keyboard input_devices_mouse ipv6 isdnlog java joystick jpeg kde kerberos lcms ldap ldapsam libcaca libg++ libwww linguas_sv live lm_sensors mad mbrola mhash mikmod ming mjpeg mmx mng motif mozilla mp3 mpeg mpeg2 mplayer mpm-worker mysql mysqli ncurses nls nptl nptlonly nsplugin nvidia ogg openal opengl oss pam pcre pdf pdflib perl php png povray ppds pppd python qt quicktime readline reflection reiserfs samba sasl scanner sdl session slang speex spell spl sse ssl subversion svg svga sysfs tcltk tcpd tetex threads tidy tiff timidity transcode truetype truetype-fonts type1 type1-fonts udev unicode usb userlocales v4l v4l2 vcd vcdimager video_cards_none video_cards_nvidia vorbis win32codecs wmf xine xinerama xml xmms xorg xv xvid zlib elibc_glibc kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Changes have been made to the config of kino
8<----------------------
NOTE: some build configure options have changed slightly:
Use --enable-quicktime instead of --with-quicktime.
Use --enable-hotplug-script-dir instead of --with-....
Use --enable-hotplug-usermap-dir instead of --with-....
8<-------------------------

Changing the ebuild like this make it support quicktime.
-----------
src_compile() {
        econf \
                --disable-dependency-tracking \
                --disable-debug \
                $(use_enable quicktime) \
                $(use_with ffmpeg avcodec) || die "configure failed"
        emake || die "make failed"
}
--------------

changed only use_with quicktime to use_enable quicktime.
Other things may need to be changed.

Regards
Kjell
Comment 1 Denis Dupeyron (RETIRED) gentoo-dev 2006-06-13 14:42:04 UTC
(In reply to comment #0)
> My emerge --info. (Not needed but so you don't flame me)

I don't flame, but I bite... ;o)

This is now fixed. Many thanks to you and your sharp eyes.

Denis.
Comment 2 Kjell Claesson 2006-06-14 06:27:31 UTC
Sorry but it segfaulted now.
The 'use_enable ffmpeg avcodec' should be 'use_with ffmpeg avcodec'.
ffmpeg is used if you set --with-avcodec flag.

from './config --help' of kino
  --with-dv1394           Use dv1394 instead of libiec61883 for DV I/O.
  --with-avcodec          Use FFMPEG libavcodec for DV video coding instead of

The thing i was refering to is that the hotplug script path config
has changed also.
Comment 3 Denis Dupeyron (RETIRED) gentoo-dev 2006-06-14 10:49:07 UTC
(In reply to comment #2)
> Sorry but it segfaulted now.
> The 'use_enable ffmpeg avcodec' should be 'use_with ffmpeg avcodec'.
> ffmpeg is used if you set --with-avcodec flag.

The segfault you experience is due to libdv (see bug #121871). And the reason you are seeing it now is indeed because of me wrongly changing $(use_with ffmpeg avcodec) to $(use_enable ffmpeg avcodec) in src_compile(). The configure script doesn't understand the option, and thus uses libdv as a DV back-end instead of ffmpeg.

What happened is that I had the segfault last night too, and thought it was coming from ffmpeg. I ended up recompiling ffmpeg quite a few times (not an easy feat on my old machine) and hacking into the kino ebuild to try various things. When I reconstructed the ebuild to commit it, I made the mistake above.

So, thanks again for your cooperation.
Denis.