Bug 170388 - Some applications link to libartsc without arts USE flag
|
Bug#:
170388
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: minor
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: kde@gentoo.org
|
Reported By: sheldonh@starjuice.net
|
|
Component: KDE
|
|
|
URL:
|
|
Summary: Some applications link to libartsc without arts USE flag
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2007-03-11 11:28 0000
|
The following applications link against libartsc if it is installed, even when
they are built without the arts USE flag.
This means that they are destabilised by uninstalling arts, even though the
operator expressly requested that they not use arts.
Reproducible: Always
Steps to Reproduce:
1. emerge --oneshot arts
2. USE=-arts emerge --oneshot \
=kde-base/kdemultimedia-kioslaves-3.5.6 \
=kde-base/kscd-3.5.6 \
=media-plugins/kipi-plugins-0.1.3 \
=kde-base/kaudiocreator-3.5.6
3. emerge --unmerge arts
4. revdep-rebuild -i -pv
Actual Results:
revdep-rebuild shows the following applications must be rebuilt because the
link against at least libartsc:
=kde-base/kdemultimedia-kioslaves-3.5.6
=kde-base/kscd-3.5.6
=media-plugins/kipi-plugins-0.1.3
=kde-base/kaudiocreator-3.5.6
Expected Results:
revdep-rebuild should not find broken linkage in these packages, because they
should not have linked against any arts libraries.
Portage 2.1.2.2 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r0,
2.6.20-gentoo i686)
=================================================================
System uname: 2.6.20-gentoo i686 Intel(R) Pentium(R) M processor 2.13GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 10 Mar 2007 19:00:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r4
dev-lang/python: 2.3.6, 2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.4-r6
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
sys-devel/gcc-config: 1.3.15
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.20-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -mtune=pentium-m -pipe"
CHOST="i686-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 /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium-m -mtune=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox
sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en_ZA en_GB en_US en"
MAKEOPTS="-j2"
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 /usr/portage/local/layman/xeffects"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acpi akode alsa ao apache2 berkdb bitmap-fonts bzip2 caps cddb cli
cracklib crypt css cups dbus dlloader dri dv dvd dvdr encode exif expat ffmpeg
flac fortran gd gdbm gif glut gpm gtk hal iconv imagemagick imlib ipv6 isdnlog
jack java jikes jpeg jpeg2k kde kdeenablefinal kerberos ldap libg++ mad
mailwrapper midi mmx mng mp3 mpeg mysql ncurses newspr nls nptl nptlonly
nsplugin ogg openexr opengl pam pcre pdf perl pertty pic png postgres ppds pppd
python qt3 qt3support qt4 quicktime readline reflection ruby samba sdl session
skey spell spl sqlite sqlite3 sse sse2 ssl svg tcltk tcpd threads tiff tk
truetype truetype-fonts type1-fonts unicode usb userlocales vorbis wifi
win32codecs x264 x86 xcomposite xml xorg xv xvid zlib" ALSA_CARDS="ali5451
als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370
ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident
usb-audio via82xx via82xx-modem ymfpci" 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad
cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_ZA
en_GB en_US en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
You are right. If you are able to come up with some patches for the ebuilds to
fix the issue that will go a long way in helping us solve this.
Created an attachment (id=113741) [details]
kdemultimedia-kioslaves patch to fix the arts dependency
This patch changes the configure.in.in so that it doesn't link to arts libs
when the user chooses not to use arts.
I've tested the above patches and I was able to build these packages with no
support for arts, with USE="-arts" even when arts was installed on the system.
However, I don't have a system with arts here to test if this still works with
USE="arts". I'm convinced it does, but I would appreciate some testing.
Thanks Jorge and Sheldon, this should be fixed in CVS now.