Bug 122437 - emerge tvtime-0.9.15 fails
Bug#: 122437 Product:  Gentoo Linux Version: unspecified Platform: AMD64
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: obz@gentoo.org Reported By: tommstein@myway.com
Component: Applications
URL: 
Summary: emerge tvtime-0.9.15 fails
Keywords:  
Status Whiteboard: 
Opened: 2006-02-11 01:37 0000
Description:   Opened: 2006-02-11 01:37 0000
As the summary says, trying to emerge tvtime-0.9.15 fails. The following is the
last stuff that I get with MAKEOPTS="-j1":

if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..   
`/usr/bin/freetype-config --cflags`  -Wall -pedantic -I.
-DDATADIR="\"/usr/share/tvtime\"" -DCONFDIR="\"/etc/tvtime\""
-DFIFODIR="\"/tmp\"" -D_LARGEFILE64_SOURCE -DLOCALEDIR="\"/usr/share/locale\""
-I../plugins  -I/usr/include/libxml2   -march=opteron  -pipe -O3
-fomit-frame-pointer -std=gnu99 -MT tvtime-tvtimeosd.o -MD -MP -MF
".deps/tvtime-tvtimeosd.Tpo" \
  -c -o tvtime-tvtimeosd.o `test -f 'tvtimeosd.c' || echo './'`tvtimeosd.c; \
then mv -f ".deps/tvtime-tvtimeosd.Tpo" ".deps/tvtime-tvtimeosd.Po"; \
else rm -f ".deps/tvtime-tvtimeosd.Tpo"; exit 1; \
fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..   
`/usr/bin/freetype-config --cflags`  -Wall -pedantic -I.
-DDATADIR="\"/usr/share/tvtime\"" -DCONFDIR="\"/etc/tvtime\""
-DFIFODIR="\"/tmp\"" -D_LARGEFILE64_SOURCE -DLOCALEDIR="\"/usr/share/locale\""
-I../plugins  -I/usr/include/libxml2   -march=opteron  -pipe -O3
-fomit-frame-pointer -std=gnu99 -MT tvtime-input.o -MD -MP -MF
".deps/tvtime-input.Tpo" \
  -c -o tvtime-input.o `test -f 'input.c' || echo './'`input.c; \
then mv -f ".deps/tvtime-input.Tpo" ".deps/tvtime-input.Po"; \
else rm -f ".deps/tvtime-input.Tpo"; exit 1; \
fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..   
`/usr/bin/freetype-config --cflags`  -Wall -pedantic -I.
-DDATADIR="\"/usr/share/tvtime\"" -DCONFDIR="\"/etc/tvtime\""
-DFIFODIR="\"/tmp\"" -D_LARGEFILE64_SOURCE -DLOCALEDIR="\"/usr/share/locale\""
-I../plugins  -I/usr/include/libxml2   -march=opteron  -pipe -O3
-fomit-frame-pointer -std=gnu99 -MT tvtime-cpu_accel.o -MD -MP -MF
".deps/tvtime-cpu_accel.Tpo" \
  -c -o tvtime-cpu_accel.o `test -f 'cpu_accel.c' || echo './'`cpu_accel.c; \
then mv -f ".deps/tvtime-cpu_accel.Tpo" ".deps/tvtime-cpu_accel.Po"; \
else rm -f ".deps/tvtime-cpu_accel.Tpo"; exit 1; \
fi
{standard input}: Assembler messages:
{standard input}:25: Error: suffix or operands invalid for `push'
{standard input}:28: Error: suffix or operands invalid for `pop'
{standard input}:46: Error: suffix or operands invalid for `push'
{standard input}:49: Error: suffix or operands invalid for `pop'
{standard input}:60: Error: suffix or operands invalid for `push'
{standard input}:63: Error: suffix or operands invalid for `pop'
{standard input}:72: Error: suffix or operands invalid for `push'
{standard input}:75: Error: suffix or operands invalid for `pop'
make[2]: *** [tvtime-cpu_accel.o] Error 1
make[2]: Leaving directory
`/var/tmp/portage/tvtime-0.9.15/work/tvtime-0.9.15/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/tvtime-0.9.15/work/tvtime-0.9.15'
make: *** [all] Error 2

!!! ERROR: media-tv/tvtime-0.9.15 failed.
!!! Function src_compile, Line 42, Exitcode 2
!!! compile problem
!!! If you need support, post the topmost build error, NOT this status message.

I normally use MAKEOPTS="-j3" with my dual Opterons, but I changed it to -j1 so
that, if the emerge still failed (which it did), we could see where the error
was happening, seeing as the assembler error messages only say "{standard
input}". The following is the output of emerge --info, with MAKEOPTS still set
to -j1:

Portage 2.0.54 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r2,
2.6.15-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r1 x86_64 AMD Opteron(tm) Processor 246
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=opteron -O3 -pipe"
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/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=opteron -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X Xaw3d a52 aac aalib accessibility acl acpi adns aim alsa apache2
arts audiofile avi bash-completion bcmath berkdb bidi bitmap-fonts bluetooth
bmp bonobo bzip2 bzlib calendar canna cdb cdparanoia cdr chasen cjk crypt
cscope ctype cups curl curlwrappers db2 dba dbase dbm dbx dedicated dga dio
directfb divx4linux doc dv dvb dvd dvdr dvdread eds emacs emacs-w3 emboss
emul-linux-x86 encode esd ethereal evo examples exif expat fam fastcgi fbcon
ffmpeg flac flash flatfile foomaticdb fortran freetds freewnn ftp gb gcj gd
gdbm geoip ggi gif ginac glut gmp gnome gnustep gnutls gphoto2 gpm gps
gstreamer gtk gtk2 gtkhtml guile hal hardened hardenedphp howl hyperwave-api
iconv icq idn imagemagick imap imlib inifile innodb interbase iodbc ipv6 jabber
jack javascript joystick jpeg kde kerberos krb4 ladcca lcms ldap leim libcaca
libg++ libgda libwww lirc lm_sensors lua lzw lzw-tiff m17n-lib mad maildir
mailwrapper matroska mbox mcal mcve memlimit mhash migemo mikmod milter mime
ming mmap mng mnogosearch motif mozilla mp3 mpeg mpi msession msql mssql mule
mysql mysqli nas ncurses neXt netcdf nis nls nocd nptl oci8 odbc offensive ofx
ogg openal opengl oracle oracle7 osc oscar oss ovrimos pam pcntl pcre pda
pdflib perl php plotutils png portaudio posix postgres ppds prelude python qdbm
qt quicktime readline recode ruby samba sapdb sasl scanner sdl session
sharedext sharedmem shorten simplexml skey slang slp smartcard sndfile snmp
soap sockets socks5 source sox speex spell spl sqlite ssl svg symlink sysvipc
szip tcltk tcpd tetex theora threads tidy tiff tokenizer truetype
truetype-fonts type1-fonts udev unicode usb userlocales v4l vcd vhosts videos
vorbis wddx wifi wmf wxwindows xface xine xml xml2 xmlrpc xmms xosd xpm xprint
xsl xv xvid yahoo yaz zeo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

------- Comment #1 From Hopeless 2006-02-16 08:28:02 0000 -------
I recieve the exact same error upon compilation, also on amd64.

I get the same error for every version of tvtime in portage later tha 0.9.12.

------- Comment #2 From Tommy McDaniel 2006-03-12 21:52:24 0000 -------
Might it be safe to assume that no one but Hopeless and I gives a crap about
this bug, and we're waiting for it to address itself?

------- Comment #3 From Brian Jackson (RETIRED) 2006-03-14 07:33:54 0000 -------
That's a fair assessment. Cardoe and I both have mpeg encoder cards (99% sure)
which don't work with tvtime. As far as I'm aware, we are it on the media-tv
alias. Don't know about obz these days.

------- Comment #4 From Diego E. 'Flameeyes' Pettenò 2006-03-14 16:15:37 0000 -------
Actually, I'm on media-tv, too, and I can (and do) use tvtime on amd64, only
thing, I use ~amd64 version of it that builds and works fine.
I would rather say to mark a newer version stable as that seems to have
trouble.
Anyway, CCing amd64 so that the bug has more visibility...

------- Comment #5 From Diego E. 'Flameeyes' Pettenò 2006-03-14 16:36:07 0000 -------
Are you using hardened by any chance?

------- Comment #6 From Diego E. 'Flameeyes' Pettenò 2006-03-14 16:52:04 0000 -------
Yai! Problem found, many thanks to Chris White who helped me nailing it down.

I've updated the pic patch, as on AMD64 there's no problem in using the code
that on x86 is PIC only because there are more registers, now they all should
build fine, sorry for the delay.