Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 441618 - dev-java/icedtea-bin-7.2.3.3: should not install libsplashscreen.so with USE=-X
Summary: dev-java/icedtea-bin-7.2.3.3: should not install libsplashscreen.so with USE=-X
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-03 20:43 UTC by Marios Andreopoulos
Modified: 2015-09-08 09:34 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 Marios Andreopoulos 2012-11-03 20:43:48 UTC
In icedtea-bin-7.2.3.3 ebuild, x11-libs/libXext is set in X_COMMON_DEP. It is though a generic dependency and isn't affected by the X use flag.

I have -X set in my use flags. I emerged icedtea-bin without problems. For some reason I had libXext installed.

An emerge --depclean decided to remove libXext as unneeded, but portage preserved its libraries as they are used by icedtea-bin.

Now, every time I run emerge, portage asks me to re-emerge icedtea-bin in order to remove preserved-libs.

Reproducible: Always

Steps to Reproduce:
# emerge -1 icedtea-bin
...
...
...
 * Adjusting to prefix /
 *   fontconfig.Gentoo.properties ...                                                                                                                                                                   [ ok ]
 * Adjusting to prefix /
 *   icedtea-bin-7 ...                                                                                                                                                                                  [ ok ]
>>> Completed installing icedtea-bin-7.2.3.3 into /var/tmp/portage/dev-java/icedtea-bin-7.2.3.3/image/

ecompressdir: bzip2 -9 /usr/share/doc

>>> Installing (1 of 1) dev-java/icedtea-bin-7.2.3.3
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.

!!! existing preserved libs:
>>> package: x11-libs/libXext-1.3.1
 *  - /usr/lib64/libXext.so.6
 *  - /usr/lib64/libXext.so.6.4.0
 *      used by /opt/icedtea-bin-7.2.3.3/jre/lib/amd64/libsplashscreen.so (dev-java/icedtea-bin-7.2.3.3)
>>> package: net-libs/gnutls-3.1.3
 *  - /usr/lib64/libgnutls.so.26
 *  - /usr/lib64/libgnutls.so.26.22.4
 *      used by /usr/lib64/libldap-2.4.so.2.8.5 (net-nds/openldap-2.4.33)
 *      used by /usr/lib64/libldap_r-2.4.so.2.8.5 (net-nds/openldap-2.4.33)
 *      used by /usr/lib64/openldap/openldap/back_perl-2.4.so.2.8.5 (net-nds/openldap-2.4.33)
Use emerge @preserved-rebuild to rebuild packages using these libraries





# emerge --info
Portage 2.1.11.31 (hardened/linux/amd64, gcc-4.6.3, glibc-2.16.0, 3.6.1-hardened-AndMarios-MkII x86_64)
=================================================================
System uname: Linux-3.6.1-hardened-AndMarios-MkII-x86_64-Intel-R-_Pentium-R-_CPU_G840_@_2.80GHz-with-gentoo-2.2
Timestamp of tree: Sat, 03 Nov 2012 09:30:01 +0000
ld GNU ld (GNU Binutils) 2.23
app-shells/bash:          4.2_p39
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.9-r1
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.2
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.12.4
sys-devel/binutils:       2.23
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo x-personal
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -mtune=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -mtune=native"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="el gr en_GB en el en_US el_GR"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/bin"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/personal"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="aac aalib acl acpi addressbook alsa amd64 amr apache2 archive avahi avi bash-completion berkdb boost btrfs bzip2 cleartype cli commercial consolekit cracklib crypt cryptsetup cups cxx dbus dirac dlna dri drm ebook exif exiv2 fat ffmpeg flac flash fontconfig foomatic-db freetype ftp fuse gallium gcj gd gdbm geolocation gif git glib glut gmp gnutls gpm gps gpu gstreamer hardened iconv icu id3 id3tag imagemagick imlib ipv6 ithreads java6 jdbc jpeg justify kerberos kpathsea ladspa lame laptop latex lcd lcms ldap libass libnotify libsamplerate lm_sensors logrotate lvm mad matroska mbox mdadm memlimit mhash mime mmx mmxext modules mp3 mp4 mpeg mpeg2 mplayer mtp mudflap multilib mysql ncurses network nfs nls nptl ntfs ogg ogm opencl openmp optimized-qmake pam pax_kernel pcre perl php plotutils plugins png posix ppds pppd private-headers ps pulseaudio python quicktime rdesktop rdp readline recode reiser4 reiserfs remote reports rrdtool rss ruby scanner session shout skins slp smp sms smtp sndfile snmp sockets socks5 sox spell sql sqlite srt sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssse3 stats stream svg swat tcpd theora threads thumbnail tidy tiff tools truetype udev unicode upnp urandom usb v4l v4l2 vhosts vnc vorbis vpx webdav webinterface wifi wma x264 xattr xfs xml xml2 xmp xscreensaver xv xvid xvmc zeroconf zip zlib" ALSA_CARDS="intel8x0 intel8x0m hda-intel usb-audio" 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 cgi cgid 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 proxy proxy_http proxy_balancer" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="el gr en_GB en el en_US el_GR" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="intel v4l vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Jonathan Callen (RETIRED) gentoo-dev 2012-11-04 09:23:18 UTC
Changed summary to show root of the issue. I would think that libspashscreen.so is only useful when X is available, so it might be best to simply not install it with USE=-X.
Comment 2 cyberbat 2013-11-01 09:01:36 UTC
Seems to be the same issue with icedtea version (not binary) both 7 and 6 versions.
Comment 3 James Le Cuirot gentoo-dev 2015-09-08 09:34:38 UTC
Now fixed though the X flag has changed to awt.