Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3958 - xine-ui-0.9.10-r1 doesn't build
Summary: xine-ui-0.9.10-r1 doesn't build
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Brandon Low (RETIRED)
Depends on:
Reported: 2002-06-20 20:00 UTC by Nils Ohlmeier
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Nils Ohlmeier 2002-06-20 20:00:36 UTC
It seems that xine-ui is looking for the old alsa-lib version.
alsa-[lib|driver]-0.9.0_rc1 are installed.

The configure prints out this:
checking for AALIB version >= 1.2... no
*** The aalib-config|aainfo program installed by AALIB could not be found
*** If AALIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or use --with-aalib-prefix to set the prefix
*** where AALIB is installed.

And the compile fails with this:
make[3]: Entering directory
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I../../readline
-I../../readline -I../../src -I../../src -I../../src/common -I../../src/common
-I../../src/xitk/xine-toolkit -I../../src/xitk/xine-toolkit -I/usr/include    
-I/usr/include/directfb    -march=i686 -O3 -pipe -fomit-frame-pointer -O3 -pipe
-fomit-frame-pointer -malign-functions=4 -malign-loops=4 -malign-jumps=4
-malign-functions=4 -mwide-multiply -mpreferred-stack-boundary=2
-fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math
-funroll-loops -funroll-all-loops -finline-functions -mcpu=i686 -Wall
-D_FILE_OFFSET_BITS=64   -I/usr/include
-DFONTDIR=\"/usr/share/xine/skins/../fonts/\" -c options.c
In file included from options.c:27:
dfb.h:44: aalib.h: No such file or directory
options.c: In function `do_command_line':
options.c:185: warning: implicit declaration of function `extract_mrls'
make[3]: *** [options.o] Error 1
make[3]: Leaving directory
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xine-ui-0.9.10-r1/work/xine-ui-0.9.10'
make: *** [all-recursive-am] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 51, Exitcode 2
!!! (no error message)

!!! emerge aborting on  /usr/portage/media-video/xine-ui/xine-ui-0.9.10-r1.ebuild .
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-06-21 08:52:54 UTC
Actually, aalib is ASCII Arts lib, not alsa lib.  I will look at the xine-ui's
new ebuild to see if this exists.
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2002-06-21 09:10:33 UTC
0.9.11 has this as an optional dependency (your USE should contain "aalib") and
will emerge the necessary package to satisfy it, should you choose it.
Comment 3 Nils Ohlmeier 2002-06-22 11:31:00 UTC
0.9.11 also fails to compile on my system (with the same error like 0.9.10).
I hvae tracked it down to the following reason: i have directfb in my use and
DirectFB installed. But i don't have aalib installed and not in my USE (and i
dont want it their). But xine-ui fails if it trys to compile directfb support
without installed aalib.
So IMHO the solution should be that if directfb is in USE the aalib have to be
in a hard depend. 
Still a problem case exists if DirectFB is installed and detected by the
configure (but not in USE) but the aalib isn't installed. Maybe the directfb
test in dconfigure can be disalbed it is not in USE.

I will also make an entry to the xine bug tracking, because i think the
configure should fail if it detects directfb but no aalib.
Comment 4 Brandon Low (RETIRED) gentoo-dev 2002-06-23 15:46:23 UTC
Gerk and I were fighting with this today, if directfb is in use then aalib is a 
dependency of xine, for SOME reason that I am in conversation with the xine 
developers about.  the xine-0.9.12-r1 ebuilds that I'm working on will ensure 
that they make aalib a dep if aalib || directfb are in USE
Comment 5 Brandon Low (RETIRED) gentoo-dev 2002-06-24 00:47:04 UTC
until we figure out with the xine folk why this was happening, I am adding 
directfb? ( media-libs/aalib )
to the ebuild I'll keep an eye on them to fix this in the future though.