Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2151 - ogle isn't compiling
Summary: ogle isn't compiling
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Bruce A. Locke (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-27 08:30 UTC by Luca Barbato
Modified: 2003-02-04 19:42 UTC (History)
2 users (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 Luca Barbato gentoo-dev 2002-04-27 08:30:15 UTC
i686-pc-linux-gnu-gcc -DPACKAGE=\"ogle\" -DVERSION=\"0.8.2\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_BYTESWAP_H=1 -DHAVE_XSHM=1 -DHAVE_XV=1
-DHAVE_CLOCK_GETTIME=1 -DHAVE_MADVISE=1 -DLIBAO_OSS= -DHAVE_XML=1
-DHAVE_XF86VIDMODE=1 -DCONFIG_FILE=\"/usr/share/ogle/oglerc\" -DHAVE_MMX=1  -I.
-I. -I. -I.. -I../include -I/usr/include -I/usr/include/libxml2    -O2
-mcpu=i686 -pipe -I/usr/include/libxml2/libxml -I/usr/include/libxml2 -c `test
-f a52_decoder.c || echo './'`a52_decoder.c
a52_decoder.c: In function `main':
a52_decoder.c:219: `MM_ACCEL_MLIB' undeclared (first use in this function)
a52_decoder.c:219: (Each undeclared identifier is reported only once
a52_decoder.c:219: for each function it appears in.)
a52_decoder.c:223: warning: assignment from incompatible pointer type
a52_decoder.c: In function `a52_decode_data':
a52_decoder.c:678: storage size of `state' isn't known
a52_decoder.c:739: sizeof applied to an incomplete type
a52_decoder.c:739: sizeof applied to an incomplete type
a52_decoder.c:739: sizeof applied to an incomplete type
a52_decoder.c:739: sizeof applied to an incomplete type
a52_decoder.c:739: sizeof applied to an incomplete type
a52_decoder.c:739: sizeof applied to an incomplete type
a52_decoder.c:749: too many arguments to function `a52_block'
make[1]: *** [a52_decoder.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/ogle-0.8.2-r6/work/ogle-0.8.2/ac3'
make: *** [all-recursive] Error 1


Seems that the a52dec library isn't compatible.
Comment 1 Bruce A. Locke (RETIRED) gentoo-dev 2002-04-27 19:08:26 UTC
The upstream maintainer of ac52dec, showing clear signs of brain damage, decided
to make api changes between seemingly similar version numbers 0.7.2 and 0.7.3. 
Not only that but the .so version is 0.0.0 for all versions of ac52dec meaning
you can't have more then one version installed.

Thus this won't be fixed until ogle makes another release as every patch I've
seen to fix ogle results in "static" for audio.  Nothing I can do without heavy
hacking and bundling its own copy of ac52dec, which from my experience with
libtool and ogle's configure script is more painful then you think.

Consider this WONTFIX unless someone wants to donates the time to do the above
(and contributes a patch) or Ogle makes another release (which according to
their mailing list archives should happen before the end of the month)

Sorry...

The temporary workaround is to:

emerge /usr/portage/media-libs/a52dec/a52dec-0.7.2.ebuild
emerge ogle
emerge ogle-gui

and pin the version of a52dec in the world profile by dropping:

~media-libs/a52dec-0.7.2

into /var/cache/edb/world.  Doing this may break other packages.
Comment 2 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2002-04-28 07:20:16 UTC
as you may have noticed, i added a 
=media-libs/a52dec-0.7.2

to ogle

thinking about it, this may have been premature, as it obviously only will work
till the next emerge --update world 

hmm, perhaps portage should pin a package as soon as a dependancy is = or <=
if something depends on a higher version it would be blocked...

regards
Thilo
Comment 3 Bruce A. Locke (RETIRED) gentoo-dev 2002-04-28 14:01:15 UTC
Unfortunatly the newer version of ac52dec is installed because another package
needs it.  The two are incompatible so no matter what some package is getting
the shaft in the deps department.

All I can do for this package is wait until there is an upstream release later
this month or hope someone produces a working patch... the damage has been done
already :(
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2002-06-18 01:56:12 UTC
Luca,

Is this still an issue for you with the recent ogle release?
Comment 5 Luca Barbato gentoo-dev 2002-06-18 14:43:23 UTC
All is ok
at least it seems to me