Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115734 - JDKs and JREs with -alsa should not install libjsoundalsa.so
Summary: JDKs and JREs with -alsa should not install libjsoundalsa.so
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-15 22:36 UTC by Andre Hinrichs
Modified: 2006-01-16 10:47 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 Andre Hinrichs 2005-12-15 22:36:40 UTC
On my system I've no alsa because it doesn't work properly.
So I set -alsa to the USE flags.
Everything is fine except sun-jdk which installs an alsa library which causes
revdep-rebuild to run into it every time because it requires libasound.so.2

Would be very nice if the ebuild could just delete this library after the
install. I just did this without any problems yet.
Even revdep-rebuild is quite now...


Reproducible: Always
Steps to Reproduce:




Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2,
2.6.12.5 i686)
=================================================================
System uname: 2.6.12.5 i686 Intel(R) Pentium(R) M processor 1.86GHz
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium3 -mfpmath=sse -mmmx -msse -maccumulate-outgoing-args
-fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -mfpmath=sse -mmmx -msse
-maccumulate-outgoing-args -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/
ftp://pandemonium.tiscali.de/pub/gentoo/
http://gd.tuwien.ac.at/opsys/linux/gentoo/
ftp://gd.tuwien.ac.at/opsys/linux/gentoo/"
LINGUAS="de en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X X509 a52 aac accessibility acl apache2 arts artswrappersuid audiofile
avi berkdb big-tables bitmap-fonts browserplugin bzip2 cdparanoia cdr chroot
cpudetection crypt cups curl dts dv dvd dvdread eds emacs emboss encode examples
exif expat fam fame ffmpeg flac flash font-server foomaticdb fortran gd gdbm gif
gimp glut gmp gnutls gpm gs gstreamer gtk gtk2 guile guionly hpn idn ieee1394
imagemagick imap imlib jack java javascript jbig jpeg junit kde kdeenablefinal
latex lcms ldap leim libg++ libwww live lua lzo mad mailwrapper matroska mhash
mikmod ming mjpeg mmx mng motif mozdevelop mozilla moznocompose moznoirc
moznomail mozsvg mp3 mpeg mysql nas ncurses network nls nsplugin objc ogg
oggvorbis openal openexr opengl oss pam pcmcia pcre pdflib perl php png
portaudio povray ppds profile python qt quicktime readline real recode rle rtc
ruby samba sasl scanner sdl sftplogging slp sndfile spell sse ssl subversion svg
svga tcltk tcpd tetex theora threads tidy tiff truetype truetype-fonts
type1-fonts udev unicode usb utf8 v4l2 vorbis win32codecs wmf xanim xml xml2
xmms xv xvid yv12 zlib linguas_de linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Josh Nichols (RETIRED) gentoo-dev 2006-01-15 17:58:35 UTC
We could add a helper function to java.eclass for removing libjsoundalsa.so. This would let us do something during compile/install like:

use !alsa && java_remove-alsa
Comment 2 Josh Nichols (RETIRED) gentoo-dev 2006-01-15 20:38:20 UTC
I've revbumped sun-jdk 1.4.2.10 and 1.5.0.06 to not install libjsoundalsa.so with USE=-alsa.
Comment 3 Andre Hinrichs 2006-01-16 01:06:24 UTC
Yep! Works on my system!
Thank you very much.
Comment 4 Josh Nichols (RETIRED) gentoo-dev 2006-01-16 10:47:52 UTC
All JDKs and JREs with IUSE=alsa should now be fixed. Thanks for reporting!