Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65779 - faad2 fails to compile when xmms is present in use-flags.
Summary: faad2 fails to compile when xmms is present in use-flags.
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: foser (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-29 01:38 UTC by Tor Håkon Haugen
Modified: 2005-04-24 10:12 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 Tor Håkon Haugen 2004-09-29 01:38:09 UTC
This may be related to the #55524 bug.

Error message:

 gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include/xmms -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -Wall -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DHAVE_GLIB_H=1 -I../../../include -I../../../common/mp4v2 -O3 -march=pentium4 -fomit-frame-pointer -MT libmp4_la-mp4_utils.lo -MD -MP -MF .deps/libmp4_la-mp4_utils.Tpo -c mp4_utils.c  -fPIC -DPIC -o .libs/libmp4_la-mp4_utils.o
mp4_utils.c: In function `getMP4info':
mp4_utils.c:122: warning: implicit declaration of function `g_print'
mp4_utils.c:114: warning: unused variable `trackDuration'
libmp4.c:40: error: syntax error before "mp4_ip"
libmp4.c:40: warning: type defaults to `int' in declaration of `mp4_ip'
libmp4.c:43: warning: excess elements in scalar initializer
libmp4.c:43: warning: (near initialization for `mp4_ip')
libmp4.c:44: warning: excess elements in scalar initializer
libmp4.c:44: warning: (near initialization for `mp4_ip')
libmp4.c:45: warning: excess elements in scalar initializer
libmp4.c:45: warning: (near initialization for `mp4_ip')
libmp4.c:46: warning: excess elements in scalar initializer
libmp4.c:46: warning: (near initialization for `mp4_ip')
libmp4.c:47: warning: excess elements in scalar initializer
libmp4.c:47: warning: (near initialization for `mp4_ip')
libmp4.c:48: warning: excess elements in scalar initializer
libmp4.c:48: warning: (near initialization for `mp4_ip')
libmp4.c:49: warning: excess elements in scalar initializer
libmp4.c:49: warning: (near initialization for `mp4_ip')
libmp4.c:50: warning: excess elements in scalar initializer
libmp4.c:50: warning: (near initialization for `mp4_ip')
libmp4.c:51: warning: excess elements in scalar initializer
libmp4.c:51: warning: (near initialization for `mp4_ip')
libmp4.c:52: warning: excess elements in scalar initializer
libmp4.c:52: warning: (near initialization for `mp4_ip')
libmp4.c:53: warning: excess elements in scalar initializer
libmp4.c:53: warning: (near initialization for `mp4_ip')
libmp4.c:54: warning: excess elements in scalar initializer
libmp4.c:54: warning: (near initialization for `mp4_ip')
libmp4.c:55: warning: excess elements in scalar initializer
libmp4.c:55: warning: (near initialization for `mp4_ip')
libmp4.c:56: warning: excess elements in scalar initializer
libmp4.c:56: warning: (near initialization for `mp4_ip')
libmp4.c:57: warning: excess elements in scalar initializer
libmp4.c:57: warning: (near initialization for `mp4_ip')
libmp4.c:58: warning: excess elements in scalar initializer
libmp4.c:58: warning: (near initialization for `mp4_ip')
libmp4.c:59: warning: excess elements in scalar initializer
libmp4.c:59: warning: (near initialization for `mp4_ip')
libmp4.c:60: warning: excess elements in scalar initializer
libmp4.c:60: warning: (near initialization for `mp4_ip')
libmp4.c:61: warning: excess elements in scalar initializer
libmp4.c:61: warning: (near initialization for `mp4_ip')
libmp4.c:62: warning: excess elements in scalar initializer
libmp4.c:62: warning: (near initialization for `mp4_ip')
libmp4.c:63: warning: excess elements in scalar initializer
libmp4.c:63: warning: (near initialization for `mp4_ip')
libmp4.c:64: warning: excess elements in scalar initializer
libmp4.c:64: warning: (near initialization for `mp4_ip')
libmp4.c:65: warning: excess elements in scalar initializer
libmp4.c:65: warning: (near initialization for `mp4_ip')
libmp4.c:66: warning: data definition has no type or storage class
libmp4.c:82: error: syntax error before '*' token
libmp4.c:83: warning: return type defaults to `int'
libmp4.c: In function `mp4_stop':
libmp4.c:108: error: request for member `output' in something not a structure or union
libmp4.c: In function `mp4_about':
libmp4.c:137: warning: implicit declaration of function `xmms_show_message'
libmp4.c:142: warning: assignment makes pointer from integer without a cast
libmp4.c: In function `mp4_pause':
libmp4.c:150: error: request for member `output' in something not a structure or union
libmp4.c: In function `mp4_seek':
libmp4.c:157: warning: implicit declaration of function `xmms_usleep'
libmp4.c: In function `mp4_getTime':
libmp4.c:165: error: request for member `output' in something not a structure or union
libmp4.c: In function `mp4Decode':
libmp4.c:250: error: request for member `output' in something not a structure or union
libmp4.c:250: error: `FMT_S16_NE' undeclared (first use in this function)
libmp4.c:250: error: (Each undeclared identifier is reported only once
libmp4.c:250: error: for each function it appears in.)
libmp4.c:251: error: request for member `output' in something not a structure or union
libmp4.c:252: error: request for member `set_info' in something not a structure or union
libmp4.c:253: warning: int format, gulong arg (arg 3)
libmp4.c:266: error: request for member `output' in something not a structure or union
libmp4.c:272: error: request for member `output' in something not a structure or union
libmp4.c:287: error: request for member `output' in something not a structure or union
libmp4.c:288: error: request for member `output' in something not a structure or union
libmp4.c:300: error: request for member `output' in something not a structure or union
libmp4.c:311: error: request for member `output' in something not a structure or union
libmp4.c:314: error: request for member `add_vis_pcm' in something not a structure or union
libmp4.c:314: error: request for member `output' in something not a structure or union
libmp4.c:319: error: request for member `output' in something not a structure or union
libmp4.c:321: error: request for member `output' in something not a structure or union
libmp4.c:324: error: request for member `output' in something not a structure or union
libmp4.c:212: warning: unused variable `avgBitrate'
libmp4.c:348: warning: char format, void arg (arg 2)
libmp4.c:393: warning: implicit declaration of function `xmms_get_gentitle_format'
libmp4.c:393: warning: passing arg 1 of `xmms_get_titlestring' makes pointer from integer without a cast
libmp4.c:407: error: request for member `output' in something not a structure or union
libmp4.c:412: error: request for member `output' in something not a structure or union
libmp4.c:426: error: request for member `set_info' in something not a structure or union
libmp4.c:428: error: request for member `output' in something not a structure or union
libmp4.c:477: error: request for member `output' in something not a structure or union
libmp4.c:480: error: request for member `add_vis_pcm' in something not a structure or union
libmp4.c:480: error: request for member `output' in something not a structure or union
libmp4.c:481: error: `FMT_S16_LE' undeclared (first use in this function)
libmp4.c:483: error: request for member `output' in something not a structure or union
libmp4.c:485: error: request for member `output' in something not a structure or union
libmp4.c:488: error: request for member `output' in something not a structure or union
libmp4.c:489: error: request for member `output' in something not a structure or union
make[4]: *** [libmp4_la-libmp4.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
 gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include/xmms -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -Wall -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DHAVE_GLIB_H=1 -I../../../include -I../../../common/mp4v2 -O3 -march=pentium4 -fomit-frame-pointer -MT libmp4_la-mp4_utils.lo -MD -MP -MF .deps/libmp4_la-mp4_utils.Tpo -c mp4_utils.c -o libmp4_la-mp4_utils.o >/dev/null 2>&1
make[4]: Leaving directory `/var/tmp/portage/faad2-2.0-r3/work/faad2/plugins/xmms/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/faad2-2.0-r3/work/faad2/plugins/xmms'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/faad2-2.0-r3/work/faad2/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/faad2-2.0-r3/work/faad2'
make: *** [all] Error 2

!!! ERROR: media-libs/faad2-2.0-r3 failed.
!!! Function src_compile, Line 65, Exitcode 2
!!! (no error message)


I'll try and re-emerge xmms.
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2005-01-03 03:46:15 UTC
Are youu sure this is only happening with USE=xmms... this doesn't look like one of the plugin files...
Comment 2 Tor Håkon Haugen 2005-01-03 11:36:20 UTC
Yes... if I set USE="xmms", faad2 will fail with the previous output. I have not  yet testet using "debug" as a use-flag, but I assume that only apply after the program is compiled.
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2005-01-03 17:41:14 UTC
but USE=-xmms works?
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2005-01-05 01:08:23 UTC
bumping back to sound@
Comment 5 Jan Brinkmann (RETIRED) gentoo-dev 2005-03-08 12:02:39 UTC
any news about this one?
Comment 6 Tor Håkon Haugen 2005-03-08 13:27:19 UTC
Still fails.
Don't anyone else get this error?

USE="xmms" emerge faad2

The line should produce this error. I have tested on two seperate machines, same thing. As long as I don't compile it with xmms-support, or whatever it is, it's going fine. (It's a one-time compile, since the same version has been in portage for months)

I get the same error with faad2-2.0-r4 also.
Comment 7 Jan Brinkmann (RETIRED) gentoo-dev 2005-04-23 01:47:18 UTC
<maintainer>
  <email>foser@gentoo.org</email>
  <description>Temporary maintainership until a proper herd is found</description>
</maintainer>
Comment 8 foser (RETIRED) gentoo-dev 2005-04-23 04:15:29 UTC
you haven't provided your 'emerge info' like you always should do.

Is your glib-1/gtk-1 install still in pristine state ?
Comment 9 Tor Håkon Haugen 2005-04-23 14:24:20 UTC
# emerge info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) M processor 1400MHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 14 2005, 21:51:53)]
dev-lang/python:     2.3.4-r1
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.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4"
CHOST="i686-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/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="-O3 -march=pentium4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.gentoo.no"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm avi berkdb bitmap-fonts cdr crypt curl divx4linux emboss encode esd fam flac foomaticdb fortran gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 imagemagick imlib java jpeg junit libg++ libwww live mad mikmod mmx motif mozilla mp3 mpeg ncurses network nls offensive ogg oggvorbis opengl oss pam pcmcia pdflib perl png python quicktime readline real rtc samba sdl slang spell sqlite sse ssl svga tcltk tcpd truetype truetype-fonts type1-fonts vorbis xml2 xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

There you go...
I've stopped using xmms all together, so I don't use xmms in my use-flags anymore either. Bug resolved from my side... sorry ;)
Comment 10 foser (RETIRED) gentoo-dev 2005-04-24 10:12:42 UTC
I think this is a local issue anyway.