First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 245797
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Peter <kocur666@tlen.pl>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
scorched3d-41.3-r2.ebuild updated ebuild which uses the openal-config shipped within scorched3d sources text/plain Arttu Valo 2008-11-07 15:18 0000 1.74 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 245797 depends on: Show dependency tree
Bug 245797 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-11-06 09:57 0000
checking for OpenAL support... checking for openal-config... no                 
*** The openal-config script installed by OpenAL could not be found             
*** Make sure openal-config is in your path, or set the OPENAL_CONFIG           
*** environment variable to the full path to openal-config.                     
configure: error: *** Can't find the openal library. Try:
http://www.openal.org/   

Reproducible: Always

Steps to Reproduce:
1.emerge =media-libs/openal-1.5.304
2.emerge scorched3d

------- Comment #1 From Ben de Groot 2008-11-07 00:07:25 0000 -------
Looks like scorched3d needs to depend on ~openal-0.0.8, or be patched to work
with the new version.

------- Comment #2 From Arttu Valo 2008-11-07 15:12:44 0000 -------
scorched3d seems to ship with its own copies of openal-config among its
sources. The shipped one seems to work well in finding both openal 0.0.8 and
1.5.304 on amd64 (well, how complicated can it be to print out "-lopenal"? ;)
).

I'll attach a slightly changed ebuild below.

------- Comment #3 From Arttu Valo 2008-11-07 15:18:49 0000 -------
Created an attachment (id=171000) [details]
updated ebuild which uses the openal-config shipped within scorched3d sources

Updated ebuild configured to use one of the openal-config scripts shipped among
scorched3d's own sources. Worked on an amd64 box, tried with both both openal
0.0.8 and 1.5.304.

------- Comment #4 From Peter 2008-11-07 23:42:17 0000 -------
ok:] now it works thank you very much:]

------- Comment #5 From Mr. Bones. 2008-11-07 23:50:21 0000 -------
We close them on this end.

------- Comment #6 From Sonny Lander 2008-11-10 21:13:29 0000 -------
checking for OpenAL compilation... *** Compiled but failed to link using the
OpenAL library.
*** LIBS =  -lopenal   -lalut
*** Check the OpenAL library is on the LD_LIBRARY_PATH
configure: error: *** Check the OpenAL library is correctly installed.

------- Comment #7 From Sonny Lander 2008-11-10 21:15:17 0000 -------
Portage 2.2_rc13 (default-linux/x86/2007.0/desktop, gcc-4.3.2, glibc-2.6.1-r0,
2.6.27-gentoo-r1 i686)
=================================================================
System uname:
Linux-2.6.27-gentoo-r1-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4600+-with-glibc2.0
Timestamp of tree: Mon, 10 Nov 2008 14:32:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -msse3 -pipe -fomit-frame-pointer -w"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/
/etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/
/etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild
/etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -msse3 -pipe -fomit-frame-pointer -w"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg ccache distlocks parallel-fetch preserve-libs protect-owned
sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
LDFLAGS=""
LINGUAS="en_US en"
MAKEOPTS="-j6 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles
--exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/je_fro
/usr/portage/local/layman/vmware /usr/portage/local/layman/x11
/usr/portage/local/layman/zen-overlay /usr/portage/local/layman/mpd
/usr/portage/local/overlay /usr/portage/local/portage-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac acl acpi aim alsa amr animgif ao apache2 asf
async audiofile autoipd avahi bash-completion berkdb binary-drivers bind-mysql
branding bzip2 cairo cdinstall cdr cgi clamav clamd cli clock-screen colordiff
cpudetection cracklib crypt ctype curl custom-cflags custom-cpuopts dbus dbx
device-mapper disk-partition divx djbfft dmi dpmod dri dvd dvdnav dvdr dvdread
eds emboss encode evo exif expat extraengine extrafilters fam fame fat fbcon
ffmpeg firefox flac fortran ftp fuse gaim gcj gd gdbm gif gimp glitz gnome
gnome-keyring gnomedb gnutls gphoto2 gpm graphviz gs gstreamer gtk gtkhtml hal
hddtemp hfs howl howl-compat iconv icq id3 imagemagick ipv6 isdnlog jabber jack
java javascript jfs jpeg jpeg2k kerberos lame ldap libdsk libnotify lm_sensors
mad mdnsresponder mdnsresponder-compat midi mikmod mjpeg mmx mmxext mng mods
mono mouse mozdevelop mozilla mp2 mp3 mp4 mpd mpeg mplayer msn mudflap musepack
mysql mysqli nautilus ncurses networkmanager nls nocd nptl nptlonly nsplugin
ntfs nuv offensive ogg openal opengl openmp openstreetmap oscar pam pango pcre
pda pdf perl php png postproc pppd python qmax qt3support query-browser
quicktime rar rdesktop readline realmedia reflection reiserfs rogue rrdcgi
samba sdl sdl-image sdl-sound sdlaudio sensord session shorten shout simplexml
slang slp smp sndfile sound speex spell spl sse sse2 ssl startup-notification
subtitles svg swat syslog tcl tcpd textures tga theora threads thunderbird tiff
tk truetype type1 unicode unzip usb userlocales vcd vdr videos vorbis wifi
win32codecs winbind wma wmf wmp x264 x86 xanim xatrix xcomposite xfs xine xml
xorg xpm xsl xulrunner xv xvid yahoo zip zlib" ALSA_CARDS="hda-intel ca0106"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file
hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug
rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic
authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm
authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache
dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache
filter headers include info log_config logio mem_cache mime mime_magic
negotiation rewrite setenvif speling status unique_id userdir usertrack
vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" LINGUAS="en_US en" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

-----------------------------------------------------------------------------

cronos necro # emerge -pvt1 openal

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild   R   ] media-libs/openal-0.0.8-r2  USE="alsa mp3 sdl vorbis -arts
-debug -esd" 0 kB

------- Comment #8 From Arttu Valo 2008-11-12 15:43:56 0000 -------
If comment #6 refers to the suggested fixed ebuild then I cannot get the same
linking problem to appear, not on x86 and not on amd64. Before anyone comments
on the arch: no, this is not x86-specific like currently marked. I hit the same
on amd64 and thought I figured out a fix. Also, I'd bet on the script file
being gone from >=openal-1.5.304 on ppc/ppc64 as well. :)

Another way to fix this crossed my mind. Add pkgconfig to dependencies and use
it. I think it looked like possibly a drop-in replacement for the
openal-script, so maybe a couple-line patch to the autotools configuration
files could do it with pkg-config. I'll try to have time to look into it later
this week.

------- Comment #9 From Sonny Lander 2008-11-12 17:14:11 0000 -------
The ebuild is fine, call mine a stupid user error...

Thanks for the ebuild :)

Sorry for the confusion.

------- Comment #10 From Marco Leogrande 2008-12-15 19:05:23 0000 -------
I humbly suggest that the updated ebuild is immediately uploaded into the
Portage tree.
media-libs/openal-1.5.304 just hit stable on x86 and, since it changes the
library ABI, it triggers the recompilation of scorched3d, making the build of
this game fail.

------- Comment #11 From Tristan Heaven 2008-12-15 20:15:42 0000 -------
Fixed, thanks.

First Last Prev Next    No search results available      Search page      Enter new bug