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

Bug 85036

Summary: swfdec doesn't compile.
Product: Gentoo Linux Reporter: Michael Lang <mwlang>
Component: Current packagesAssignee: AMD64 Project <amd64>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael Lang 2005-03-12 20:51:16 UTC
emerge swfdec fails on amd64 architecture.


Reproducible: Always
Steps to Reproduce:
1.emerge swfdec

Actual Results:  
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/swfdec-0.3.2/work/swfdec-0.3.2'
Making all in libswfdec
make[2]: Entering directory
`/var/tmp/portage/swfdec-0.3.2/work/swfdec-0.3.2/libswfdec'
Making all in jpeg
make[3]: Entering directory
`/var/tmp/portage/swfdec-0.3.2/work/swfdec-0.3.2/libswfdec/jpeg'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/var/tmp/portage/swfdec-0.3.2/work/swfdec-0.3.2/libswfdec/jpeg'
make[3]: Entering directory
`/var/tmp/portage/swfdec-0.3.2/work/swfdec-0.3.2/libswfdec'
if /bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.
-I. -I..    -I../libswfdec -Wall -Werror -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include   -I/usr/include/libart-2.0  
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I./jpeg/
-I/usr/include/liboil-0.2   -fPIC -march=athlon64 -O2 -pipe -MT
libswfdec_0.3_la-swfdec_render.lo -MD -MP -MF
".deps/libswfdec_0.3_la-swfdec_render.Tpo" -c -o
libswfdec_0.3_la-swfdec_render.lo `test -f 'swfdec_render.c' || echo
'./'`swfdec_render.c; \
then mv -f ".deps/libswfdec_0.3_la-swfdec_render.Tpo"
".deps/libswfdec_0.3_la-swfdec_render.Plo"; else rm -f
".deps/libswfdec_0.3_la-swfdec_render.Tpo"; exit 1; fi
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../libswfdec -Wall
-Werror -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/libart-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I./jpeg/ -I/usr/include/liboil-0.2 -fPIC -march=athlon64 -O2 -pipe -MT
libswfdec_0.3_la-swfdec_render.lo -MD -MP -MF
.deps/libswfdec_0.3_la-swfdec_render.Tpo -c swfdec_render.c  -fPIC -DPIC -o
.libs/libswfdec_0.3_la-swfdec_render.o
swfdec_render.c: In function `swfdec_render_iterate':
swfdec_render.c:41: error: structure has no member named `tmpbuflen'
swfdec_render.c: In function `swfdec_render_get_audio':
swfdec_render.c:215: error: structure has no member named `tmpbuflen'
swfdec_render.c:216: error: structure has no member named `tmpbuflen'
swfdec_render.c:219: error: structure has no member named `tmpbuf'
swfdec_render.c:219: error: structure has no member named `tmpbuflen'
swfdec_render.c:220: error: structure has no member named `tmpbuflen'
make[3]: *** [libswfdec_0.3_la-swfdec_render.lo] Error 1
make[3]: Leaving directory
`/var/tmp/portage/swfdec-0.3.2/work/swfdec-0.3.2/libswfdec'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/swfdec-0.3.2/work/swfdec-0.3.2/libswfdec'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/swfdec-0.3.2/work/swfdec-0.3.2'
make: *** [all] Error 2


Expected Results:  
swfdec should compile.

Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3-20050110,
glibc-2.3.4.20050125-r0, 2.6.11-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Mar  5 2005, 22:43:40)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r4
sys-devel/libtool:   1.5.10-r5
virtual/os-headers:  2.6.8.1-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-fPIC -march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/env.d"
CXXFLAGS="-fPIC -march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="amd64 X acpi aim alsa berkdb bitmap-fonts bonobo cdr crypt dba dga
divx4linux dvd dvdr dvdread esd fam font-server fortran gd gif gnome gpm
gstreamer gtk gtkhtml guile icq imlib ipv6 jabber jp2 jpeg lzw lzw-tiff mozilla
mp3 mysql ncurses nls ogg opengl oracle oscar oss pam perl php png postgres
python qt quicktime readline ssl tcpd tiff truetype truetype-fonts type1-fonts
usb userlocales xml xml2 xmms xpm xrandr xv yahoo zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Olivier Crete (RETIRED) gentoo-dev 2005-05-14 15:19:34 UTC
you should not have -fPIC is you CFLAGS
and I can't reproduce you problem.
Comment 2 Simon Stelling (RETIRED) gentoo-dev 2005-06-26 04:06:03 UTC
works fine here with 0.3.5 too