Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90185 - Mythtv 0.18 doesn't build on AMD64
Summary: Mythtv 0.18 doesn't build on AMD64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-04-23 17:47 UTC by Mark Duckworth
Modified: 2005-05-09 18:37 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 Mark Duckworth 2005-04-23 17:47:54 UTC
Mythtv fails to compile (libavcodec) on amd64 with multilib.  Here is the details.

make[2]: Entering directory `/var/tmp/portage/mythtv-0.18/work/mythtv-0.18/libs/libavcodec'
x86_64-pc-linux-gnu-gcc -c -pipe -march=k8 -w -march=athlon64 -O2 -pipe -fomit-frame-pointer -frename-registers -fno-pie -D_REENTRANT -DPIC -fPIC  -DUSING_IVTV -DUSING_XRANDR -DUSING_OPENGL_VSYNC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I.. -I../.. -I/usr/qt/3/include -o utils.o utils.c
In file included from avcodec.h:14,
                 from utils.c:27:
common.h:104: error: conflicting types for 'int64_t'
/usr/include/gentoo-multilib/amd64/sys/types.h:194: error: previous declaration of 'int64_t' was here
make[2]: *** [utils.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/mythtv-0.18/work/mythtv-0.18/libs/libavcodec'
make[1]: *** [sub-libavcodec] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/mythtv-0.18/work/mythtv-0.18/libs'
make: *** [sub-libs] Error 2

!!! ERROR: media-tv/mythtv-0.18 failed.
!!! Function myth_src_compile, Line 80, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.



Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3-20050110,
glibc-2.3.5-r0, 2.6.11-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.11
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Mar  7 2005, 19:23:31)]
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.9.5, 1.7.9-r1, 1.5, 1.6.3, 1.4_p6, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -frename-registers
-fPIC"CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -frename-registers -fPIC"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox strict"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi adns alsa amd64 arts berkdb bitmap-fonts bonobo cdr crypt cups
curl dga dv dvd dvdread encode esd fam fame fbcon flac font-server fortran gdbm
gif gnome gpm gstreamer gtk gtk2 gtkhtml guile icu imagemagick imlib ipv6 jack
java jp2 jpeg jpg junit lame ldap libwww lirc lzw lzw-tiff mad mikmod mjpeg
motif mozilla mp3 mpeg mysql ncurses nls odbc ogg oggvorbis opengl oss pam perl
png print python qt readline samba sasl sdl slang splash ssl svg tcltk tcpd
tetex theora tiff truetype truetype-fonts type1-fonts usb userlocales vorbis
xinerama xml xml2 xmms xpm xrandr xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Herbie Hopkins (RETIRED) gentoo-dev 2005-05-09 18:37:03 UTC
Should be fixed in CVS, reopen if you still have problems.