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

Bug 260086

Summary: games-sports/vdrift-20070323 build fails because of openal-config
Product: Gentoo Linux Reporter: Renan Rangel <rvr777>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Renan Rangel 2009-02-24 00:37:34 UTC
When I try to compile games-sports/vdrift-20070323, the output includes "/bin/sh: openal-config: command not found", followed by many errors.

Reproducible: Always

Steps to Reproduce:
1. emerge media-libs/openal
2. emerge games-sports/vdrift

Actual Results:  
# emerge vdrift
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) games-sports/vdrift-20070323
 * vdrift-2007-03-23-src.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                    [ ok ]
 * vdrift-2007-03-23-data-full.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                              [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                [ ok ]
 * checking auxfile checksums ;-) ...                                                                                               [ ok ]
 * checking miscfile checksums ;-) ...                                                                                              [ ok ]
>>> Unpacking source...
>>> Unpacking vdrift-2007-03-23-src.tar.bz2 to /var/tmp/portage/games-sports/vdrift-20070323/work
>>> Unpacking vdrift-2007-03-23-data-full.tar.bz2 to /var/tmp/portage/games-sports/vdrift-20070323/work/build
 * Applying vdrift-20070323-gcc42.patch ...                                                                                          [ ok ]
>>> Source unpacked in /var/tmp/portage/games-sports/vdrift-20070323/work
>>> Compiling source in /var/tmp/portage/games-sports/vdrift-20070323/work/build/vdrift-2007-03-23-src ...
scons: Reading SConscript files ...
Checking for C library openal... yes
Checking for C++ header file GL/gl.h... yes
Checking for C++ header file GL/glu.h... yes
Checking for C++ header file SDL/SDL.h... yes
Checking for C++ header file SDL/SDL_image.h... yes
Checking for C++ header file SDL/SDL_net.h... yes
Checking for C++ header file SDL/SDL_rotozoom.h... yes
Checking for C++ header file AL/al.h... yes
Checking for C++ header file AL/alc.h... yes
Checking for C++ header file AL/alut.h... yes
Checking for C header file libintl.h... yes

scons: warning: The env.Copy() method is deprecated; use the env.Clone() method instead.
File "/var/tmp/portage/games-sports/vdrift-20070323/work/build/vdrift-2007-03-23-src/po/SConscript", line 167, in <module>
/bin/sh: openal-config: command not found
OSError: 'openal-config --cflags --libs' exited 127:
  File "/var/tmp/portage/games-sports/vdrift-20070323/work/build/vdrift-2007-03-23-src/SConstruct", line 370:
    SConscript('src/SConscript', build_dir='build', duplicate = 0)
  File "//usr/lib64/scons-1.0.0/SCons/Script/SConscript.py", line 596:
    return apply(method, args, kw)
  File "//usr/lib64/scons-1.0.0/SCons/Script/SConscript.py", line 533:
    return apply(_SConscript, [self.fs,] + files, subst_kw)
  File "//usr/lib64/scons-1.0.0/SCons/Script/SConscript.py", line 256:
    exec _file_ in call_stack[-1].globals
  File "/var/tmp/portage/games-sports/vdrift-20070323/work/build/vdrift-2007-03-23-src/src/SConscript", line 75:
    local_env.ParseConfig('openal-config --cflags --libs')
  File "//usr/lib64/scons-1.0.0/SCons/Environment.py", line 1371:
    return function(self, self.backtick(command))
  File "//usr/lib64/scons-1.0.0/SCons/Environment.py", line 549:
    raise OSError("'%s' exited %d" % (command, status))



I don't know if this is should be fixed in vdrift or openal ebuild. The versions 1.5.304 and 1.6.372 don't come with the "openal-config" script, but 0.0.8-r2 does.

Even then, if I emerge media-libs/openal-0.0.8-r2 and then games-sports/vdrift-20070323, it builds successfully, but won't run:

$ vdrift 
vdrift: error while loading shared libraries: libopenal.so.1: cannot open shared object file: No such file or directory

Making a symlink from /usr/lib/libopenal.so.0.0.0 to /usr/lib/libopenal.so.1 solves the problem, but it's a dirt hack.
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2009-02-24 00:41:29 UTC
Use vdrift-20080805.ebuild.  Reopen if it fails there.