Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174874 - x11-libs/wxGTK-2.6.4.0 builds against installed esound, despite esd useflag unset
Summary: x11-libs/wxGTK-2.6.4.0 builds against installed esound, despite esd useflag u...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo wxWidgets project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-17 07:57 UTC by Volker Hemmann
Modified: 2008-06-29 05:00 UTC (History)
2 users (show)

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 Volker Hemmann 2007-04-17 07:57:57 UTC
I had esound installed (I don't even know why) and removed it. A following revdep-rebuild reported this:
broken /usr/lib64/libwx_gtk2_mmedia-2.6.so.0.3.1 (requires  libesd.so.0)
  broken /usr/lib64/libwx_gtk2u_mmedia-2.6.so.0.3.1 (requires  libesd.so.0)
  broken /usr/lib/libwx_gtk2_mmedia-2.6.so.0.3.1 (requires  libesd.so.0)
  broken /usr/lib/libwx_gtk2u_mmedia-2.6.so.0.3.1 (requires  libesd.so.0)

revdep-rebuilt wanted to rebuilt wxGTK-2.6.3.3 which is fine. The problem is, that wxgtk should never have linked against esound stuff in the first place.



Reproducible: Always

Steps to Reproduce:
1. don't have esd in make.conf
2. emerge esound
3. emerge wxgtk

Actual Results:  
wxGTK-2.6.3.3 links against esound libs

Expected Results:  
wxgtk should not even know, that there are esound libs

emerge --info
Portage 2.1.2.3 (default-linux/amd64/2006.1, gcc-4.1.2, glibc-2.5-r1, 2.6.20.7 x86_64)
=================================================================
System uname: 2.6.20.7 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
Gentoo Base System release 1.12.10
Timestamp of tree: Sun, 15 Apr 2007 22:00:08 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.3.6, 2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17.50.0.14
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -fweb -ftracer -fpeel-loops -ftree-vectorize -frename-registers -floop-optimize2 -msse3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -fweb -ftracer -fpeel-loops -ftree-vectorize -frename-registers -floop-optimize2 -msse3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
LC_ALL="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/xeffects /usr/local/portage /usr/local/portage/gentoo-de"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip S3TC X Xaw3d a52 aac acpi addbookmarks aiglx aim aio akode alias alsa altenburgcards amarok amd64 aotuv aqua_theme asf athena audiofile avahi bash-completion berkdb binary-drivers bitmap-fonts bluetooth bzip2 cairo cdda cddb cdinstall cdparanoia cdr cdrom cdsound cegui cg clamav cli cracklib crypt css cups curl depth32 dio divx dnd double-precision dpms dri dts dv dvd dvdr dvdread emerald emul-linux-x86 encode exif expat exscalibar extra-cardsets fame fasttrack ffmpeg fftw filter_default filter_legacy filter_light flac foomaticdb fortran ftp gadu gdbm gif gimp gimpprint glitz glut glx gnokii gnutella gpm gtk gtk2 highlight history iconv icq id3 imagemagick imlib irmc isdnlog jabber java javascript jce joystick jpeg jpeg2k kcal kde kdecards kdeenablefinal kdehiddenvisibility kdepim kdm kexi kipi kqemu lame lcms lesstif libg++ libwww lm_sensors logitech-mouse lzo lzw mad magic maps matroska midi mime mjpeg mmap mng mp3 mp4 mpeg mpeg2 mplayer msn mule musepack ncurses neXt net ngui nls no-old-linux nocd nosendmail nowin nowlistening nptl nptlonly nsplugin nvidia offensive ogg openexr opengl oscar pam paste64 pch pcre pdf perl physfs player png posix ppds pppd python qt3 qt4 quicktime rar readline recode reflection reiserfs remix resolvconf rogue rtc scanner sdl sdl-sound sendfile server session sharedmem smp sms sndfile sockets sounds spell spl sqlite sqlite3 srt sse-filters sse3 ssl startup-notification statistics stats stencil-buffer stroke subp subtitles svg sysfs sysvipc szip tcpd textures tga theora threads tiff timidity tk toolbar tools transcode truetype truetype-fonts type1 type1-fonts unicode unzip usb userlocales v4l v4l2 vcd videos visualization vorbis webdav wmf wxwindows x264 xanim xcomposite xemacs xext xface xine xml xorg xosd xpm xrandr xscreensaver xskatcards xv xvid xvmc yiff yv12 zlib zvbi" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia vesa vga v4l nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

please ignore stupid cflags, since they are unrelated to the problem and if there is a problem, I rebuild the packages with sane flags.

Maybe something like myconf="${myconf} --disable-esd" should be added to the ebuild?
Comment 1 Fabio Rossi 2007-10-03 20:48:35 UTC
I can confirm the issue
Comment 2 Alexis Ballier gentoo-dev 2007-11-13 12:57:55 UTC
<snip>

dnl ------------------------------------------
dnl Checks specific to contrib libs (MMedia)
dnl ------------------------------------------

dnl Check for ESD:
EXTRALIBS_ESD=
AC_CHECK_LIB(esd, esd_close, [
    AC_CHECK_HEADERS([esd.h], [
    EXTRALIBS_ESD="-lesd"
  ])
])
AC_SUBST(EXTRALIBS_ESD)
</snip>

from wxPython-src-2.6.4.0/configure.in

so this needs to be patched and a esd useflag is needed here.
Comment 3 Mart Raudsepp gentoo-dev 2007-12-24 00:29:13 UTC
I think it makes sense to instead just not build this useless (as far as portage is concerned) contrib library, ever. It's gone bye-bye in wx trunk as well.
Comment 4 Ryan Hill (RETIRED) gentoo-dev 2007-12-24 00:52:43 UTC
the less stuff we build from contrib the better as far as i'm concerned.

--- Makefile.in-orig    2007-12-23 18:51:35.000000000 -0600
+++ Makefile.in 2007-12-23 18:51:55.000000000 -0600
@@ -1,6 +1,6 @@
 # $Id: Makefile.in,v 1.17 2004/09/24 15:32:58 VS Exp $

-CONTRIB_SUBDIRS=fl gizmos mmedia ogl plot stc svg deprecated animate #applet
+CONTRIB_SUBDIRS=fl gizmos ogl plot stc svg deprecated animate #applet mmedia

 all:
        @for d in $(CONTRIB_SUBDIRS); do (cd $$d && $(MAKE)); done
Comment 5 Ryan Hill (RETIRED) gentoo-dev 2008-01-06 22:42:32 UTC
Fixed in 2.8.7.1-r1.  Will fix in 2.6 next time it has to be bumped.
Comment 6 Raúl Porcel (RETIRED) gentoo-dev 2008-01-28 15:42:50 UTC
Move stuff to new alias
Comment 7 Ryan Hill (RETIRED) gentoo-dev 2008-06-29 05:00:18 UTC
fixed in 2.6.4.0-r4, thanks.