!!! existing preserved libs: >>> package: dev-libs/libaio-0.3.110 * - /lib32/libaio.so.1 * - /lib32/libaio.so.1.0.1 * used by /usr/lib64/oracle/11.2.0.3/client/lib32/libclntsh.so.11.1 (dev-db/oracle-instantclient-basic-11.2.0.3) Use emerge @preserved-rebuild to rebuild packages using these libraries Reproducible: Didn't try Steps to Reproduce: Not sure how to reproduce, installed oracle-instantclient a while ago... 1. emerge =dev-db/oracle-instantclient-basic-11.2.0.3 2. do some updates, get complaints about oracle-instantclient-basic using preserved libs 3. emerge @preserved-rebuild # does not change anything Actual Results: emerge complains about preserved libs: ... * GNU info directory index is up-to-date. !!! existing preserved libs: >>> package: dev-libs/libaio-0.3.110 * - /lib32/libaio.so.1 * - /lib32/libaio.so.1.0.1 * used by /usr/lib64/oracle/11.2.0.3/client/lib32/libclntsh.so.11.1 (dev-db/oracle-instantclient-basic-11.2.0.3) Use emerge @preserved-rebuild to rebuild packages using these libraries Expected Results: ? Maybe because libaio has had its "multilib" USE flag dropped in 0.3.110? Do I have to use ABI_X86="64 32" or USE="abi_x86_32 abi_x86_64" for libaio? Stabilization of oracle-instantclient-basic-11.2.0.4 might be a solution to this. lapmdb-hpl ~ #>> emerge --info =dev-db/oracle-instantclient-basic-11.2.0.3 Portage 2.2.8-r2 (default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.8.3, glibc-2.19-r1, 3.17.3-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.17.3-gentoo-x86_64-Intel-R-_Core-TM-_i5-2430M_CPU_@_2.40GHz-with-gentoo-2.2 KiB Mem: 6052004 total, 1816464 free KiB Swap: 10485756 total, 10236768 free Timestamp of tree: Sat, 15 Nov 2014 19:45:01 +0000 ld GNU ld (Gentoo 2.24 p1.4) 2.24 app-shells/bash: 4.2_p53 dev-java/java-config: 2.2.0 dev-lang/perl: 5.18.2-r2 dev-lang/python: 2.7.7, 3.3.5-r1, 3.4.1 dev-util/cmake: 2.8.12.2-r1 dev-util/pkgconfig: 0.28-r1 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.12.4 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6-r1, 1.13.4 sys-devel/binutils: 2.24-r3 sys-devel/gcc: 4.8.3 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.2-r1 sys-devel/make: 4.0-r1 sys-kernel/linux-headers: 3.16 (virtual/os-headers) sys-libs/glibc: 2.19-r1 Repositories: gentoo java local ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=core2 -O2 -pipe" 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 userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS=" http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http://www.ibiblio.org/pub/Linux/distributions/gentoo http://distfiles.gentoo.org" LANG="de_DE.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-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="/var/lib/layman/java /usr/local/portage" SYNC="rsync://mirror.wheel.sk/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 avx berkdb bluetooth branding bzip2 cairo cdda cddb cdinstall cdparanoia cdr cgi cli colord cracklib crypt css cups cxx dbus dedicated dga dri dts dvd dvdr eds emboss encode evo exif fam fastcgi firefox flac fortran gdbm gif glamor glut gnome gnome-keyring gnome-online-accounts gnutls gpm gsm gstreamer gtk gzip hddtemp iconv idn introspection ipv6 java java6 javascript jpeg jpeg2k kerberos lame lash lcms ldap libnotify libsecret lm_sensors mad matroska mbox mikmod mime mmap mms mmx mng mod modules mp3 mp4 mpeg mplayer multilib musepack nautilus ncurses nls nptl nsplugin ogg openal openexr opengl openmp pam pango pcre pdf perl php png policykit posix ppds pulseaudio qt3support qt4 quicktime raw rdesktop readline recode samba sasl savedconfig sdl session sharedmem simplexml smp socialweb sound spell sse sse2 ssl startup-notification subversion svg symlink syslog systemd sysvipc tcl tcmalloc tcpd theora tiff tokenizer truetype udev udisks unicode upower usb vcd videos vim-syntax vnc vorbis wavpack wayland wifi win32codecs wmf wxwidgets x264 xcb xcomposite xml xosd xsl xulrunner xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" 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 ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en fr" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 pypy1_9 jython2_5" QEMU_SOFTMMU_TARGETS="arm" QEMU_USER_TARGETS="arm armeb" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel radeon" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ================================================================= Package Settings ================================================================= dev-db/oracle-instantclient-basic-11.2.0.3 was built with the following: USE="multilib" ABI_X86="64" lapmdb-hpl ~ #>>
Although not marked stable yet, dev-db/oracle-instantclient-basic-11.2.0.4 should not have this problem any more. Could you try this please? $ ACCEPT_KEYWORDS='~amd64' emerge -av1 oracle-instantclient-basic
lapmdb-hpl ~ #>> ACCEPT_KEYWORDS='~amd64' emerge -av1 oracle-instantclient-basic These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild Rf ] dev-db/oracle-instantclient-basic-11.2.0.3 USE="multilib" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB Fetch Restriction: 1 package WARNING: One or more updates have been skipped due to a dependency conflict: dev-db/oracle-instantclient-basic:0 (dev-db/oracle-instantclient-basic-11.2.0.4::gentoo, ebuild scheduled for merge) conflicts with ~dev-db/oracle-instantclient-basic-11.2.0.3 required by (dev-db/oracle-instantclient-sqlplus-11.2.0.3-r1::gentoo, installed) Would you like to merge these packages? [Yes/No] no Quitting. lapmdb-hpl ~ #>> vi /etc/portage/package.keywords lapmdb-hpl ~ #>> grep -B1 oracle /etc/portage/package.keywords # for trying update 11.2.0.3 (preserves libaio.so.1.0.1) =dev-db/oracle-instantclient-basic-11.2.0.4 ~amd64 lapmdb-hpl ~ #>> emerge -av @preserved-rebuild These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild Rf ] dev-db/oracle-instantclient-basic-11.2.0.3 USE="multilib" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB Fetch Restriction: 1 package WARNING: One or more updates have been skipped due to a dependency conflict: dev-db/oracle-instantclient-basic:0 (dev-db/oracle-instantclient-basic-11.2.0.4::gentoo, ebuild scheduled for merge) conflicts with ~dev-db/oracle-instantclient-basic-11.2.0.3 required by (dev-db/oracle-instantclient-sqlplus-11.2.0.3-r1::gentoo, installed) Would you like to merge these packages? [Yes/No] no Quitting. lapmdb-hpl ~ #>> emerge -C oracle-instantclient-basic * This action can remove important packages! In order to be safer, use * `emerge -pv --depclean <atom>` to check for reverse dependencies before * removing packages. dev-db/oracle-instantclient-basic selected: 11.2.0.3 protected: none omitted: none All selected packages: dev-db/oracle-instantclient-basic-11.2.0.3 >>> 'Selected' packages are slated for removal. >>> 'Protected' and 'omitted' packages will not be removed. >>> Waiting 5 seconds before starting... >>> (Control-C to abort)... >>> Unmerging in: 5 4 3 2 1 >>> Unmerging (1 of 1) dev-db/oracle-instantclient-basic-11.2.0.3... >>> needed obj /usr/lib64/oracle/11.2.0.3/client/lib64/libclntsh.so.11.1 <<< !needed sym /lib32/libaio.so.1 <<< !needed obj /lib32/libaio.so.1.0.1 * * Directory symlink(s) may need protection: * * /usr/lib64/oracle/11.2.0.3/client/lib * * Searching all installed packages for files installed via above symlink(s)... * * The above directory symlink(s) are all safe to remove. Removing them now... * <<< !needed obj /usr/lib64/oracle/11.2.0.3/client/lib64/libclntsh.so.11.1 * Messages for package dev-db/oracle-instantclient-basic-11.2.0.3: * * Directory symlink(s) may need protection: * * /usr/lib64/oracle/11.2.0.3/client/lib * * Searching all installed packages for files installed via above symlink(s)... * * The above directory symlink(s) are all safe to remove. Removing them now... * * GNU info directory index is up-to-date. lapmdb-hpl ~ #>> emerge -av1 oracle-instantclient-basic These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N F ~] dev-db/oracle-instantclient-basic-11.2.0.4 ABI_X86="(64) -32 (-x32)" 59,910 kB Total: 1 package (1 new), Size of downloads: 59,910 kB Fetch Restriction: 1 package (1 unsatisfied) Fetch instructions for dev-db/oracle-instantclient-basic-11.2.0.4: * Please go to * http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html * and download * Instant Client for Linux x86-64 * Basic: (still absent) instantclient-basic-linux.x64-11.2.0.4.0.zip * SDK: (still absent) instantclient-sdk-linux.x64-11.2.0.4.0.zip * After downloading these files (for *all* shown architectures), put them in: * /usr/portage/distfiles/ Would you like to merge these packages? [Yes/No] >>> Verifying ebuild manifests >>> Emerging (1 of 1) dev-db/oracle-instantclient-basic-11.2.0.4 * instantclient-basic-linux.x64-11.2.0.4.0.zip SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] * instantclient-sdk-linux.x64-11.2.0.4.0.zip SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking instantclient-basic-linux.x64-11.2.0.4.0.zip to /var/tmp/portage/dev-db/oracle-instantclient-basic-11.2.0.4/work/amd64 error: cannot open zipfile [ /var/tmp/portage/dev-db/oracle-instantclient-basic-11.2.0.4/distdir/instantclient-basic-linux.x64-11.2.0.4.0.zip ] Permission denied unzip: cannot find or open /var/tmp/portage/dev-db/oracle-instantclient-basic-11.2.0.4/distdir/instantclient-basic-linux.x64-11.2.0.4.0.zip, /var/tmp/portage/dev-db/oracle-instantclient-basic-11.2.0.4/distdir/instantclient-basic-linux.x64-11.2.0.4.0.zip.zip or /var/tmp/portage/dev-db/oracle-instantclient-basic-11.2.0.4/distdir/instantclient-basic-linux.x64-11.2.0.4.0.zip.ZIP. * ERROR: dev-db/oracle-instantclient-basic-11.2.0.4::gentoo failed (unpack phase): * failure unpacking instantclient-basic-linux.x64-11.2.0.4.0.zip * * Call stack: * ebuild.sh, line 93: Called src_unpack * environment, line 2622: Called unpack 'instantclient-basic-linux.x64-11.2.0.4.0.zip' * phase-helpers.sh, line 348: Called die * The specific snippet of code: * ( set +x ; while true ; do echo n || break ; done ) | \ * unzip -qo "${srcdir}${x}" || die "$myfail" * * If you need support, post the output of `emerge --info '=dev-db/oracle-instantclient-basic-11.2.0.4::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-db/oracle-instantclient-basic-11.2.0.4::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-db/oracle-instantclient-basic-11.2.0.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-db/oracle-instantclient-basic-11.2.0.4/temp/environment'. * Working directory: '/var/tmp/portage/dev-db/oracle-instantclient-basic-11.2.0.4/work/amd64' * S: '/var/tmp/portage/dev-db/oracle-instantclient-basic-11.2.0.4/work/amd64/instantclient_11_2' >>> Failed to emerge dev-db/oracle-instantclient-basic-11.2.0.4, Log file: >>> '/var/tmp/portage/dev-db/oracle-instantclient-basic-11.2.0.4/temp/build.log' * Messages for package dev-db/oracle-instantclient-basic-11.2.0.4: * Please go to * http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html * and download * Instant Client for Linux x86-64 * Basic: (still absent) instantclient-basic-linux.x64-11.2.0.4.0.zip * SDK: (still absent) instantclient-sdk-linux.x64-11.2.0.4.0.zip * After downloading these files (for *all* shown architectures), put them in: * /usr/portage/distfiles/ * Messages for package dev-db/oracle-instantclient-basic-11.2.0.4: * ERROR: dev-db/oracle-instantclient-basic-11.2.0.4::gentoo failed (unpack phase): * failure unpacking instantclient-basic-linux.x64-11.2.0.4.0.zip * * Call stack: * ebuild.sh, line 93: Called src_unpack * environment, line 2622: Called unpack 'instantclient-basic-linux.x64-11.2.0.4.0.zip' * phase-helpers.sh, line 348: Called die * The specific snippet of code: * ( set +x ; while true ; do echo n || break ; done ) | \ * unzip -qo "${srcdir}${x}" || die "$myfail" * * If you need support, post the output of `emerge --info '=dev-db/oracle-instantclient-basic-11.2.0.4::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-db/oracle-instantclient-basic-11.2.0.4::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-db/oracle-instantclient-basic-11.2.0.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-db/oracle-instantclient-basic-11.2.0.4/temp/environment'. * Working directory: '/var/tmp/portage/dev-db/oracle-instantclient-basic-11.2.0.4/work/amd64' * S: '/var/tmp/portage/dev-db/oracle-instantclient-basic-11.2.0.4/work/amd64/instantclient_11_2' lapmdb-hpl ~ #>> 11.2.0.4 looks untested to me. Please update the ebuild.
Ups! Don't know how those permissions materialized - downloaded with chromium and saved directly to /usr/portage/distfiles/ (mode 0775 and user mdb has groups=portage), normally saved files have umask-022-ed permissions... lapmdb-hpl ~ #>> l /var/tmp/portage/dev-db/oracle-instantclient-basic-11.2.0.4/distdir/ -L insgesamt 59936 drwxr-xr-x 2 root portage 4096 18. Nov 17:37 ./ drwxrwxr-x 6 portage portage 4096 18. Nov 17:37 ../ -rw-r----- 1 mdb mdb 60704657 18. Nov 17:36 instantclient-basic-linux.x64-11.2.0.4.0.zip -rw-r----- 1 mdb mdb 643089 18. Nov 17:37 instantclient-sdk-linux.x64-11.2.0.4.0.zip lapmdb-hpl ~ #>> chmod o+r /var/tmp/portage/dev-db/oracle-instantclient-basic-11.2.0.4/distdir/instantclient-* lapmdb-hpl ~ #>> emerge -av1 oracle-instantclient-basic These are the packages that would be merged, in order: Calculating dependencies | ... done! [ebuild N f ~] dev-db/oracle-instantclient-basic-11.2.0.4 ABI_X86="(64) -32 (-x32)" 0 kB Total: 1 package (1 new), Size of downloads: 0 kB Fetch Restriction: 1 package Would you like to merge these packages? [Yes/No] >>> Verifying ebuild manifests >>> Emerging (1 of 1) dev-db/oracle-instantclient-basic-11.2.0.4 ... lapmdb-hpl ~ #>>
(In reply to Michael Haubenwallner from comment #1) > Although not marked stable yet, dev-db/oracle-instantclient-basic-11.2.0.4 > should not have this problem any more. > > Could you try this please? > > $ ACCEPT_KEYWORDS='~amd64' emerge -av1 oracle-instantclient-basic The mentioned preserved libs have been removed from the system by portage upon merging dev-db/oracle-instantclient-basic-11.2.0.4. Thanks! Kind regards, Mark Dominik Bürkle
Ok, thank! *** This bug has been marked as a duplicate of bug 524924 ***