Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 190091 - media-tv/mythtv-0.21_pre14278 fails to compile with use ieee1394
Summary: media-tv/mythtv-0.21_pre14278 fails to compile with use ieee1394
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-24 21:01 UTC by Joseph Yasi
Modified: 2007-08-27 15:56 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 Joseph Yasi 2007-08-24 21:01:34 UTC
The 6200ch channel changer program needs -std=gnu99 to compile.  If the C standard is not set, compilation fails with LLONG_MAX and LLONG_MIN not defined.  All mythtv-0.21_preXXXXX currently in portage fail to build with ieee1394 because of this.  -std=gnu99 needs to be added after the ${CFLAGS} on line 193 of mythtv-0.21_pre14278.ebuild.

Reproducible: Always

Steps to Reproduce:
1. Set ieee1394 use flag.
2. emerge =media-tv/mythtv-0.21_pre14278
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2007-08-27 13:15:48 UTC
post your emerge --info out of curiosity.
Comment 2 Joseph Yasi 2007-08-27 14:43:16 UTC
Portage 2.1.3.7 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r5 x86_64 Intel(R) Pentium(R) D CPU 2.80GHz
Gentoo Base System release 1.12.10
Timestamp of tree: Sun, 26 Aug 2007 17:30:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r4
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17.50.0.18
sys-devel/gcc-config: 1.4.0-r1
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -fomit-frame-pointer -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/X11/xkb /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"
CXXFLAGS="-O2 -march=nocona -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://mirror.datapipe.net/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="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/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aiglx aim alsa amd64 apache2 arts asf audiofile bash-completion berkdb bitmap-fonts blas bzip2 cairo calendar cdparanoia cdr cgi clamav cli cracklib crypt cscope ctype cups curl daap db2 dbus dfa dio dri dts dvd dvdr dvdread emboss emul-linux-x86 encode evo exif expat fam ffmpeg fftw firefox flac foomaticdb fortran fortran95 ftp gcj gdbm gif ginac glitz glut gmp gnutls gphoto2 gpm gstreamer gtk gtk2 hal hbci iconv ieee1394 imagemagick imap imlib ipv6 isdnlog jack java javacomm javascript jce joystick jpeg jpeg2k junit kde kdeenablefinal kerberos ladcca lapack lirc live lm_sensors logrotate lzw mad midi mikmod mmap mmx mmxext mng mozilla mozsvg mp3 mp4 mpeg mpi mudflap musicbrainz mysql ncurses nfs nls nptl nptlonly nsplugin nvidia odbc offensive ofx ogg oggvorbis openal opengl openmp oscar oss pam pcre pda pdf perl php plotutils pmu png posix ppds pppd python qhull qt qt3 qt3support qt4 quicktime readline reflection rtsp samba scanner sdl session sharedmem shorten sndfile sockets spell spl sse sse2 ssl startup-notification svg szip tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales utempter vcd videos vim-pager vim-syntax vim-with-x visualization vorbis wmf wxwindows xattr xc xcid xcomposite xine xinerama xml xml2 xorg xpm xprint xscreensaver xsl xv xvmc zeroconf zlib" ALSA_CARDS="emu10k1" 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="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" LIRC_DEVICES="sb0540" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2007-08-27 14:47:11 UTC
Odd. -std=gnu99 is the default in gcc. I don't see anything you've tweaked that would change that. I'll add that flag however.
Comment 4 Joseph Yasi 2007-08-27 15:02:16 UTC
The default is -std=gnu89 in both gcc-4.1.2 and gcc-4.2.1.  http://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/Standards.html
http://gcc.gnu.org/onlinedocs/gcc-4.2.1/gcc/Standards.html

Comment 5 Doug Goldstein (RETIRED) gentoo-dev 2007-08-27 15:56:42 UTC
Fixed in 0.21_p14327