Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 173736

Summary: media-video/ffmpeg-0.4.9_p20070330 fails - /usr/include/ffmpeg/avformat.h:66: error: 'INT64_C' was not declared in this scope
Product: Gentoo Linux Reporter: Alexander Skwar <askwar>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED DUPLICATE    
Severity: normal CC: media-video, ssuominen
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Alexander Skwar 2007-04-08 08:34:18 UTC
I'm trying to install media-video/ffmpegthumbnailer. It fails:

i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"ffmpegthumbnailer\" -DPACKAGE_TARNAME=\"ffmpegthumbnailer\" -DPACKAGE_VERSION=\"1.1\" -DPACKAGE_STRING=\"ffmpegthumbnailer\ 1.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ffmpegthumbnailer\" -DVERSION=\"1.1\" -I.     -O2 -mtune=pentium-m -pipe -fomit-frame-pointer -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cpp
/usr/include/ffmpeg/avformat.h: In function 'void av_init_packet(AVPacket*)':
/usr/include/ffmpeg/avformat.h:66: error: 'INT64_C' was not declared in this scope
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/Gentoo/Portage/build/portage/media-video/ffmpegthumbnailer-1.1/work/ffmpegthumbnailer-1.1/src'
make: *** [all-recursive] Error 1

Build.log will be attached. /usr/include/ffmpeg/avformat.h belongs to ffmpeg.

alexander@blattli ~ $ emerge --info
Portage 2.1.2.3 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.5-r1, 2.6.19-suspend2-r3.neu.001 i686)
=================================================================
System uname: 2.6.19-suspend2-r3.neu.001 i686 Intel(R) Celeron(R) M processor 1.50GHz
Gentoo Base System release 1.12.10
Timestamp of tree: Fri, 06 Apr 2007 22:20:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=pentium-m -pipe -fomit-frame-pointer"
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/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -mtune=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/Gentoo/Portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="ccache collision-protect distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.mirror.solnet.ch http://distfiles.gentoo.org/"
LANG="de_DE.UTF-8"
LINGUAS="de"
PKGDIR="/Gentoo/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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/Gentoo/Portage/build"
PORTDIR="/Gentoo/Portage/tree"
PORTDIR_OVERLAY="/Gentoo/Portage/local-tree/misc"
SYNC="rsync://rsync.ch.gentoo.org/gentoo-portage"
USE="X alsa bash-completion berkdb bitmap-fonts cairo cdr cli cracklib crypt dbus dri dvd dvdr eds emboss encode esd fam firefox fortran gdbm gif gnome gstreamer gtk hal iconv isdnlog jpeg kde kdeenablefinal kdehiddenvisibility libedit libg++ libnotify mad midi mikmod mmx mp3 mpeg ncurses nfs nls nptl nptlonly offensive ogg opengl pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection samba sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts unicode vorbis wifi win32codecs x86 xcb xml xorg xv zlib" ALSA_CARDS="loopback usb-audio via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="fbdev vesa vga via"
Unset:  CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Alexander Skwar 2007-04-08 08:34:55 UTC
Created attachment 115702 [details]
build.log
Comment 2 Alexander Skwar 2007-04-08 08:35:44 UTC
I have ffmpeg installed with these flags:

alexander@blattli ~ $ emerge -vpt ffmpeg

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild   R   ] media-video/ffmpeg-0.4.9_p20070330  USE="X -a52 -aac (-altivec) -amr -debug -doc -dts encode -ieee1394 -imlib mmx -network ogg -oss sdl -test -theora -threads truetype -v4l vorbis -x264 -xvid zlib" 0 kB 

Total: 1 package (1 reinstall), Size of downloads: 0 kB
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-04-08 08:46:48 UTC
media-video/ffmpegthumbnailer-1.1 has Bug 173692 already.
Comment 4 Alexander Skwar 2007-04-08 10:59:25 UTC

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