Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110392 - games-rpg/eternal-lands-1.1.2 fails to build because of bad openal install
Summary: games-rpg/eternal-lands-1.1.2 fails to build because of bad openal install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-24 18:00 UTC by Karol Krizka
Modified: 2005-10-29 12:11 UTC (History)
0 users

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 Karol Krizka 2005-10-24 18:00:47 UTC
I am just updating eternal-lands from portage and they fail to build at the 
first compilation with a lot of errors like this: 
global.h:39:22: AL/alut.h: No such file or directory 
 
I looked around a bit and I notices that the alut stuff is not part of the 
standart linux installation, but has to be installed. Could this be please 
fixed in the ebuild? 

Reproducible: Always
Steps to Reproduce:
1.emerge eternal-lands 
2. 
3. 
 
Actual Results:  
>>> Source unpacked. 
gcc -march=athlon64 -mtune=athlon64 -O2 -pipe -fforce-addr -falign-functions=4 
-fprefetch-loop-arrays -fomit-frame-pointer  
-DDATA_DIR=\"/usr/share/games/eternal-lands/\" -DX86_64 -DLINUX -DELC 
-DPNG_SCREENSHOT -I/usr/include/SDL -D_REENTRANT -I/usr/include/libxml2 -MM  
2d_objects.c  3d_objects.c  actor_scripts.c  actors.c  alphamap.c  asc.c  
books.c  buddy.c  bags.c  cache.c  cal.c  chat.c  colors.c  console.c  
consolewin.c  cursors.c  dialogues.c  draw_scene.c  elconfig.c  elmemory.c  
elwindows.c  encyclopedia.c  errors.c  events.c  framebuffer.c  filter.c  
font.c  frustum.c  gamewin.c  gl_init.c  hud.c  help.c  highlight.c  ignore.c  
init.c  interface.c  items.c  keys.c  knowledge.c  lights.c  loginwin.c  
loading_win.c  main.c  manufacture.c  map_io.c  mapwin.c  md2loader.c  md5.c  
misc.c  multiplayer.c  new_actors.c  new_character.c  normals.c  notepad.c  
openingwin.c  particles.c  paste.c  pathfinder.c  pm_log.c  questlog.c  
queue.c  reflection.c  rules.c  skills.c  sector.c  shader.c  shadows.c  
sort.c  sound.c  spells.c  stats.c  storage.c  symbol_table.c  tabs.c  
terrain.c  text.c  textures.c  tile_map.c  timers.c  translate.c  trade.c  
weather.c  widgets.c  books/fontdef.c  books/parser.c  books/symbols.c  
books/typesetter.c >.depend 
In file included from 2d_objects.c:7: 
global.h:39:22: AL/alut.h: No such file or directory 
In file included from 3d_objects.c:7: 
global.h:39:22: AL/alut.h: No such file or directory 
 

Expected Results:  
eternal-lands shouuld have emerged 

Portage 2.0.53_rc6 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r99, 
2.6.13-suspend2-r5 x86_64) 
================================================================= 
System uname: 2.6.13-suspend2-r5 x86_64 AMD Athlon(tm) 64 Processor 3000+ 
Gentoo Base System version 1.12.0_pre9 
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
ccache version 2.4 [enabled] 
dev-lang/python:     2.3.4-r1, 2.4.2 
sys-apps/sandbox:    1.2.13 
sys-devel/autoconf:  2.13, 2.59-r7 
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.20 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="amd64 ~amd64" 
AUTOCLEAN="yes" 
CBUILD="x86_64-pc-linux-gnu" 
CFLAGS="-march=athlon64 -mtune=athlon64 -O2 -pipe -fforce-addr 
-falign-functions=4 -fprefetch-loop-arrays -fomit-frame-pointer" 
CHOST="x86_64-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-march=athlon64 -mtune=athlon64 -O2 -pipe -fforce-addr 
-falign-functions=4 -fprefetch-loop-arrays -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig ccache distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="http://distfiles.gentoo.org 
http://distro.ibiblio.org/pub/linux/distributions/gentoo" 
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="amd64 3ds X Xaw3d a52 aac aalib accessibility acl acpi ada aim allegro 
alsa amuled ao apache2 arts artswrappersuid athena audiofile avalon avi 
backward-compatible bash-completion batch bcmath berkdb berkkdb bidi 
bitmap-fonts bl bmp browserplugin buttons bzip2 bzlib cairo calendar canna 
caps cdb cdda cddb cdio cdparanoia cdparanois cdr cegui cg chasen cjk 
clanJavaScript clanVoice clearcase cli cpdflibcrypt crypt cscope css ctype 
cups curl curlwrappers custom-cflags dba dbase dbm dbus dbx devil dga dio 
directfb directfbdivx4linux djbfft djvu dllloader dlloader dnd doc 
double-precision dpms dts dv dvb dvd dvdr dvdread dxr3 dynagraph editor edl 
eds elf emacs emacs-w3 emboss emul-linux-x86 encode epiphany evo examples exif 
expat ext-doc ext-dvi ext-html ext-koffice ext-kpresenter ext-kspread 
ext-kword ext-lyx ext-man ext-pdf ext-ppt ext-ps ext-rtf ext-tex ext-xls f77 
fam fame fat fbcon fbsplash ffmpeg fftw firefox flac flash flatfile foomaticdb 
fortan fortran fping fpx freetds freetype freewnn ftp fuse gaim gb gcj gd gdbm 
geoip gg ggi gif giff gii ginac glitz glut gmail gmailtimestamps gnokii 
gnomedb gnustep gnutls gphoto2 gpm graphviz guile hal haskell hfs howl httpd 
iconv icq ieee1394 imagemagick imap imlib inifile innodb iodbc ipv6 irc 
ithreads jabber java javamail javascript jbig jce jfs jikes jms jmx jpeg 
jpeg2k junit jython kde lcms ldap leim libcaca libclamav libedit libg++ libgda 
libsamplerate libvisual libwww live lj logitech-mouse lzo lzw lzw-tiff mad 
maildir mailwrapper matroska matrox mbox mcal mcve md5sum mdb memlimit mhash 
migemo mikmod mime ming mjpeg mng motif mozcalendar mozdevelop mozillampg3 
mozsvg mp3 mpeg mpi mplayer mpm-worker msn mule musepack musicbrainz mysql 
mysqli mythtv nas ncurses neXt network nfs nls nntp nowin nptl nptlonly ntfs 
nvidia oav odbc offensive ofx ogg oggvorbis openal openexr opengl openntpd oss 
pam parse-clocks pascal pcmcia pcntl pcre pda pdflib pear perforce perl php 
physfs plotutils png pnp portaudio posix postgres povray ppds python qmail qt 
quicktime rar rdesktop readlibe real reiserfs remote rhino rpm rss rtc ruby 
samba sametime sasl sblive scanner sdk sdl sendfile server session shaper silc 
simplexml slang sms smux sndfile snmp soap sockets sox speex spell spl sql 
sqlite srp ssl stats stream subp subtitles subversion svg symlink synlinkszip 
sysfs sysvipc tcltk tcpd tga theora threads tidy tiff tokenizer tools truetype 
truetype-fonts type1-fonts udev unicode usb userlocales v4l v4l2 vcd videos 
visualization vlm vorbis wddx wifi wmf wxgtk1 wxwindows x11vnc xanim xattr 
xbase xchatdccserver xchattext xface xfs xine xml xml2 xmlrpc xosd xpm xprint 
xsl xv xvid xvmc yahoo yaz yv12 zeo zeroconf zip zlib zvbi userland_GNU 
kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS, MAKEOPTS
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2005-10-24 19:23:24 UTC
Use an earlier version of openal to work around this.
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2005-10-25 11:55:07 UTC
This should be fixed in CVS...
Comment 3 Prakash Punnoor 2005-10-29 10:30:41 UTC
This is *not* fixed. In today's ebuild:

	>media-libs/openal-20020127

This breaks with current openal lib. You need an RDEPEND on alut, as well.
Furthermore you need to link against alut as well. (elc/Makefile.linux,
elc/Makefile add -lalut to LDFLAGS)

And last, but not least it wasn't very wise to define

OPTIONS="OPTIONS=-DDATA_DIR="\\\\\"${GAMES_DATADIR}/${PN}/\\\\\"" "
S_CLIENT="${WORKDIR}/elc"
S_MAPEDITOR="${WORKDIR}/map_editor"

in src_unpack(), as when I added -lauit by hand after it errored out, "ebuild
bla merge" didn't work, as it won't find above vars, because it skips unpacking.
So I needed to midofy the ebuild and thus compile again...

But with my minor mods, it did compile and merge with latest openal + alut. Just
haven't started it yet to check whether it works.
Comment 4 Prakash Punnoor 2005-10-29 10:38:11 UTC
Oh wait, I just found out I hacked around with eternal-lands-1.0.1. Where is
1.1.2 ebuild gone?
Comment 5 Prakash Punnoor 2005-10-29 10:43:52 UTC
Hmm, I just resynced, still no 1.1.2 ebuild. Well I found it at gentoo.org
viewing cvs. So you blocked it. Well, it 1.1.2 behaves like 1.0.1 above comments
still apply, as the ebuild looks the same. So please fix. Or should I open a new
bug?
Comment 6 Mr. Bones. (RETIRED) gentoo-dev 2005-10-29 12:11:28 UTC
you should open a new bug