Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 203128 - media-video/vdr2jpeg-0.0.10 compilation error in ffm.cpp: constant is too large
Summary: media-video/vdr2jpeg-0.0.10 compilation error in ffm.cpp: constant is too large
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Joerg Bornkessel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-23 10:36 UTC by Martin Gramatke
Modified: 2007-12-23 22:00 UTC (History)
1 user (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 Martin Gramatke 2007-12-23 10:36:59 UTC
During xxv emerge i ran into trouble with the vdr2jpeg package. It seems to be ralted to my ffmpeg installation:

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

And here comes the vdr2jpeg emerge:

>>> Emerging (7 of 8) media-video/vdr2jpeg-0.0.10 to /
 * vdr2jpeg-0.0.10.tgz RMD160 SHA1 SHA256 size ;-) ...                    [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking vdr2jpeg-0.0.10.tgz ;-) ...                                   [ ok ]
>>> Unpacking source...
>>> Unpacking vdr2jpeg-0.0.10.tgz to /var/tmp/portage/media-video/vdr2jpeg-0.0.10/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/media-video/vdr2jpeg-0.0.10/work/vdr2jpeg-0.0.10 ...
g++ -march=athlon64 -O3 -pipe -fPIC -Wall -Woverloaded-virtual -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE  vdr2jpeg.cpp
g++ -march=athlon64 -O3 -pipe -fPIC -Wall -Woverloaded-virtual -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE  ffm.cpp
distcc[32154] ERROR: compile /var/tmp/ccache/ffm.tmp.lab2.32149.ii on localhost failed
ffm.cpp:474: error: integer constant is too large for ‘long’ type
ffm.cpp:512: error: integer constant is too large for ‘long’ type
ffm.cpp:668: error: integer constant is too large for ‘long’ type
ffm.cpp:778: error: integer constant is too large for ‘long’ type
ffm.cpp:781: error: integer constant is too large for ‘long’ type
ffm.cpp:785: error: integer constant is too large for ‘long’ type
ffm.cpp:841: error: integer constant is too large for ‘long’ type
ffm.cpp:1126: error: integer constant is too large for ‘long’ type
ffm.cpp:1129: error: integer constant is too large for ‘long’ type
ffm.cpp:1227: error: integer constant is too large for ‘long’ type
ffm.cpp:1227: error: integer constant is too large for ‘long’ type
ffm.cpp:1444: error: integer constant is too large for ‘long’ type
ffm.cpp:191: warning: ‘ImgReSampleContext’ is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2231)
ffm.cpp: In function ‘void do_video_out(AVFormatContext*, AVOutputStream*, AVInputStream*, AVFrame*, int*)’:
ffm.cpp:344: warning: ‘img_convert’ is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2399)
ffm.cpp:346: warning: ‘img_convert’ is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2399)
ffm.cpp:362: warning: ‘img_resample’ is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2253)
ffm.cpp:362: warning: ‘img_resample’ is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2253)
ffm.cpp:382: warning: ‘img_convert’ is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2399)
ffm.cpp:384: warning: ‘img_convert’ is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2399)
ffm.cpp:447: warning: ‘img_convert’ is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2399)
ffm.cpp:449: warning: ‘img_convert’ is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2399)
ffm.cpp:474: error: ‘INT64_C’ was not declared in this scope
ffm.cpp:512: error: ‘INT64_C’ was not declared in this scope
ffm.cpp: In function ‘int output_packet(AVInputStream*, int, AVOutputStream**, int, const AVPacket*)’:
ffm.cpp:668: error: ‘INT64_C’ was not declared in this scope
ffm.cpp:778: error: ‘INT64_C’ was not declared in this scope
ffm.cpp:785: error: ‘INT64_C’ was not declared in this scope
ffm.cpp:841: error: ‘INT64_C’ was not declared in this scope
ffm.cpp: In function ‘bool av_encode(AVFormatContext**, int, AVFormatContext**, int)’:
ffm.cpp:901: warning: comparison between signed and unsigned integer expressions
ffm.cpp:936: warning: comparison between signed and unsigned integer expressions
ffm.cpp:1022: warning: ‘img_resample_full_init’ is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2247)
ffm.cpp:1025: warning: ‘img_resample_full_init’ is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2247)
ffm.cpp:1126: error: ‘INT64_C’ was not declared in this scope
ffm.cpp:1129: error: ‘INT64_C’ was not declared in this scope
ffm.cpp:1227: error: ‘INT64_C’ was not declared in this scope
ffm.cpp:1320: warning: ‘img_resample_close’ is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2258)
ffm.cpp:1320: warning: ‘img_resample_close’ is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2258)
ffm.cpp: In function ‘bool opt_input_file(const char*)’:
ffm.cpp:1444: error: ‘INT64_C’ was not declared in this scope
ffm.cpp:1448: warning: comparison between signed and unsigned integer expressions
ffm.cpp: In function ‘bool check_video_inputs(int*)’:
ffm.cpp:1519: warning: comparison between signed and unsigned integer expressions
ffm.cpp: In function ‘void ffm_deinitalize()’:
ffm.cpp:1856: warning: ‘av_free_static’ is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2844)
ffm.cpp:1856: warning: ‘av_free_static’ is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2844)
ffm.cpp: In function ‘bool decode(const char*, const char*, int, int)’:
ffm.cpp:1914: warning: comparison between signed and unsigned integer expressions
make: *** [ffm.o] Error 1
 *
 * ERROR: media-video/vdr2jpeg-0.0.10 failed.
 * Call stack:
 *                ebuild.sh, line 1701:  Called dyn_compile
 *                ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *                ebuild.sh, line   44:  Called src_compile
 *   vdr2jpeg-0.0.10.ebuild, line   30:  Called die
 * The specific snippet of code:
 *      emake || die "emake failed"
 *  The die message:
 *   emake 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:vdr2jpeg-0.0.10:20071223-101253.log'.


Please let me know if you need more information.

Reproducible: Always

Steps to Reproduce:
1. emerge vdr2jpeg
2.
3.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-12-23 10:45:11 UTC
emerge --info please.
Comment 2 Martin Gramatke 2007-12-23 11:13:04 UTC
# emerge --info
Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23.9 i686)
=================================================================
System uname: 2.6.23.9 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Timestamp of tree: Sun, 23 Dec 2007 09:16:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon64 -O3 -pipe"
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/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.intergenia.de http://pandemonium.tiscali.de/pub/gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="de en"
MAKEOPTS="-j5"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/nx /usr/portage/local/layman/eclipse /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac aalib acl acpi alsa apache2 arts audiofile berkdb bfin-elf bitmap-fonts bluetooth bzip2 cairo cdparanoia cjk cli cracklib crypt cscope ctype cups curl cvs dbus dga doc dri dts dv dvb dvd dvdr dvdread encode esd examples exif expat fam ffmpeg flac foomaticdb fortran ftp gd gdbm gif gphoto2 gpm graphviz gstreamer gtk gtk2 hal iconv idn ieee1394 imagemagick imap imlib ipv6 isdnlog java javascript jbig jpeg jpeg2k kde kerberos lcms ldap lesstif libcaca lirc lm_sensors logrotate lua mad maildir matroska memlimit midi mikmod mmx mng mozilla mp3 mpeg mplayer mudflap musepack mysql mysqli ncurses nls nptl nptlonly nsplugin ofx ogg openal openexr opengl openmp pam pcre pdf perl php plotutils png posix pppd python qt3 qt4 quicktime readline reflection samba sasl scanner sdl session simplexml sndfile snmp soap sockets speex spell spl sqlite sse sse2 ssl svg svga tcl tcltk tcpd tetex theora threads tiff tk tokenizer truetype truetype-fonts type1-fonts unicode usb v4l vcd vorbis win32codecs wmf x264 x86 xine xinerama xml xorg xpm xprint xsl xv xvid 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 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" CAMERAS="fuji ptp2" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" LIRC_DEVICES="serial" USERLAND="GNU" VIDEO_CARDS="fbdev nv nvidia vesa vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-12-23 11:49:04 UTC
Reopen...
Comment 4 Joerg Bornkessel gentoo-dev 2007-12-23 20:28:26 UTC
ACCEPT_KEYWORDS="~x86" emerge vdr2jpeg

~arch version compiles without problems with new ffmpeg 
Comment 5 Martin Gramatke 2007-12-23 22:00:38 UTC
yes in deed! many thanks.