I'm trying to switch to 17.1 profile and ran unsymlink-lib --analyze --pretend. At the end it gave me this output: One or more files are both in /usr/lib/ and /usr/lib64/, making the conversion impossible. python3.6/site-packages/cv2.cpython-36m-x86_64-linux-gnu.so Please report a bug at https://bugs.gentoo.org/, and do not proceed with the migration until a proper solution is found. The file belongs to media-libs/opencv-3.4.2l and /usr/lib is a symlink to /usr/lib64. Portage 2.3.67 (python 3.6.5-final-0, default/linux/amd64/17.0/systemd, gcc-8.3.0, glibc-2.29-r2, 5.1.7-gentoo-0 x86_64) ================================================================= System uname: Linux-5.1.7-gentoo-0-x86_64-AMD_FX-tm-8350_Eight-Core_Processor-with-gentoo-2.6 KiB Mem: 16322396 total, 6225100 free KiB Swap: 4194300 total, 3853988 free Head commit of repository gentoo-git: eb4beccf5dfb3b96e8a51499778f108ba94cd189 Head commit of repository guru: 556708d30e281f2abcb923ab75ff263ea668c846 Timestamp of repository moltonel: Thu, 06 Jun 2019 10:23:52 +0000 Head commit of repository moltonel: ad4f4558bc19e24b2d64c4bd7c3bf3f4f1419e95 Head commit of repository cg: b31ea88da423c6cb347cda4f66f43ad3b8223df4 Timestamp of repository gamerlay: Sat, 18 May 2019 19:52:14 +0000 Head commit of repository gamerlay: 063be7f481723aff311f895efb60016ecddbb611 Head commit of repository games-overlay: b42da1642d8e2756f8c2ce5b4b6b68119392cf58 Head commit of repository dracwyrm: 00f40eccd20737e9649fef1b980f2e63292d8f34 Timestamp of repository R_Overlay: Fri, 07 Jun 2019 05:23:59 +0000 Head commit of repository R_Overlay: 1e63cb7f4993f8fa3b1891c56b8a7e8171f2e4b8 Timestamp of repository dotnet: Sat, 18 May 2019 19:52:11 +0000 Head commit of repository dotnet: 41566a1b0439f47aef5fd3deca8e468b8cefb09a Head commit of repository niftyled: 214aa7cdd5a2b101e9ee1661a5de49a97a3d8b59 Timestamp of repository octave: Sat, 11 May 2019 17:15:42 +0000 Head commit of repository octave: 5bab9585f5cc42c2f1716ea1dc9ab08317a0b591 Timestamp of repository steam-overlay: Fri, 24 May 2019 22:43:51 +0000 Head commit of repository steam-overlay: d1e03db68b34cb28d87ac5595e7eaaa3c77d3bf6 Timestamp of repository toolchain: Tue, 28 May 2019 23:03:54 +0000 Head commit of repository toolchain: 39beb73d871f8250065333643d79af701d9ec27e Head commit of repository enlightenment-live: 2355270a12f4bea36db7897a1b8d1d727afb4ff6 Head commit of repository enlightenment-niifaq: 9f7aceae7657aca3fac480b6bf32151d0a183b09 Head commit of repository qt: 54b686ce5f1dd579f41eb628c56720898dde0e56 Head commit of repository science: 1a308c8502068943b4556067144c19be9513b7dd Timestamp of repository fem-overlay: Mon, 03 Jun 2019 15:04:39 +0000 Head commit of repository fem-overlay: b8e8a659a4cd06c542be447b749b8d02e751ef1d Timestamp of repository pentoo: Fri, 07 Jun 2019 08:03:49 +0000 Head commit of repository pentoo: ea3eec5b1dd9bd7351a2aac8bd25e846f30bff27 Timestamp of repository gentoo: Fri, 07 Jun 2019 08:24:35 +0000 Head commit of repository gentoo: b696178e641bd4a81026d93d0f6d01c3e7eb2ce4 Head commit of repository waebbl: 172b27d2b7f626e8f039388eca5f53fdb0c50f37 sh bash 4.4_p23-r1 ld GNU gold (Gentoo 2.31.1 p7 2.31.1) 1.16 app-shells/bash: 4.4_p23-r1::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.28.2-r1::gentoo dev-lang/python: 2.7.15::gentoo, 3.6.5::gentoo, 3.7.3::gentoo dev-util/cmake: 3.14.3::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.69-r4::gentoo sys-devel/automake: 1.16.1-r1::gentoo sys-devel/binutils: 2.31.1-r6::gentoo sys-devel/gcc: 8.3.0-r1::gentoo sys-devel/gcc-config: 2.0::gentoo sys-devel/libtool: 2.4.6-r3::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 5.0-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.29-r2::gentoo Repositories: gentoo-git location: /mnt/data/code/github/portage-overlays/gentoo-git sync-type: git sync-uri: git@github.com:waebbl/gentoo.git masters: gentoo priority: -1000 guru location: /mnt/data/code/github/portage-overlays/guru sync-type: git sync-uri: git@git.gentoo.org:repo/proj/guru.git masters: gentoo priority: -1000 moltonel location: /var/db/repos/moltonel sync-type: git sync-uri: https://github.com/gentoo-mirror/moltonel.git masters: gentoo cg location: /mnt/data/code/github/portage-overlays/cg sync-type: git sync-uri: https://github.com/waebbl/cg.git masters: gentoo priority: 30 gamerlay location: /var/db/repos/gamerlay sync-type: git sync-uri: https://github.com/gentoo-mirror/gamerlay.git masters: gentoo priority: 30 games-overlay location: /mnt/data/code/github/portage-overlays/games-overlay sync-type: git sync-uri: git://github.com/waebbl/games-overlay.git masters: gentoo priority: 30 dracwyrm location: /mnt/data/code/github/portage-overlays/dracwyrm-gentoo-ebuilds sync-type: git sync-uri: git://github.com/waebbl/dracwyrm-gentoo-ebuilds.git masters: gentoo priority: 40 R_Overlay location: /mnt/data/code/github/portage-overlays/R_Overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/R_Overlay.git masters: gentoo priority: 50 dotnet location: /var/db/repos/dotnet sync-type: git sync-uri: https://github.com/gentoo-mirror/dotnet.git masters: gentoo priority: 50 niftyled location: /mnt/data/code/github/portage-overlays/niftyledGentoo sync-type: git sync-uri: https://github.com/waebbl/niftyledGentoo.git masters: gentoo priority: 50 octave location: /var/db/repos/octave sync-type: git sync-uri: https://github.com/gentoo-mirror/octave.git masters: gentoo priority: 50 steam-overlay location: /var/db/repos/steam-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/steam-overlay.git masters: gentoo priority: 50 toolchain location: /var/db/repos/toolchain sync-type: git sync-uri: https://github.com/gentoo-mirror/toolchain.git masters: gentoo priority: 50 enlightenment-live location: /mnt/data/code/github/portage-overlays/enlightenment-live sync-type: git sync-uri: git://github.com/waebbl/enlightenment-live.git masters: gentoo priority: 60 enlightenment-niifaq location: /mnt/data/code/github/portage-overlays/enlightenment.overlay sync-type: git sync-uri: git://github.com/waebbl/enlightenment.overlay.git masters: gentoo priority: 60 qt location: /mnt/data/code/github/portage-overlays/qt sync-type: git sync-uri: https://github.com/gentoo-mirror/qt.git masters: gentoo priority: 60 science location: /mnt/data/code/github/portage-overlays/sci sync-type: git sync-uri: git://github.com/waebbl/sci.git masters: gentoo priority: 60 fem-overlay location: /var/db/repos/fem-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/fem-overlay.git masters: gentoo priority: 70 pentoo location: /mnt/data/code/github/portage-overlays/pentoo sync-type: git sync-uri: https://github.com/gentoo-mirror/pentoo.git masters: gentoo priority: 90 gentoo location: /usr/portage sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo.git priority: 99 waebbl location: /mnt/data/code/github/portage-overlays/waebbl sync-type: git sync-uri: https://github.com/waebbl/waebbl-gentoo.git masters: gentoo priority: 100 Installed sets: @3D, @XWindow, @adm-tools, @android, @base, @benchmarking, @desktop, @dev-tools, @doc-tools, @docs, @e, @emacs, @esteam, @fonts, @fun, @games, @gis, @infinity, @kde, @keep, @kernel-dep, @langs, @lxqt-live, @media, @my_latex, @netz, @nifty, @nvidia, @office, @python, @qt, @sci, @sec, @server, @steam, @themes, @vcs, @virt, @xfce, @zip ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=bdver2 -fstack-protector-strong -fstack-check" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/grs/systems.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -march=bdver2 -fstack-protector-strong -fstack-check" DISTDIR="/mnt/data/download/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps n --complete-graph --keep-going" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -march=bdver2 -fstack-protector-strong -fstack-check -fbounds-check" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildsyspkg candy cgroup clean-logs config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms sign split-elog split-log strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=bdver2 -fstack-protector-strong -fstack-check -fbounds-check" GENTOO_MIRRORS="http://ftp.halifax.rwth-aachen.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://mirror.netcologne.de/gentoo/ http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/" INSTALL_MASK="/usr/share/locale -/usr/share/locale/de* -/usr/share/locale/en*" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" MAKEOPTS="-j4" PKGDIR="/mnt/data/download/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 --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X acl alsa amd64 branding bzip2 cli crypt cxx dbus dri egl fortran gdbm gif gnome iconv ipv6 jpeg kde libinput libtirpc multilib ncurses networkmanager nls nptl offensive ogg opengl openmp pam pcre pic png policykit postgres pulseaudio python qt5 readline seccomp ssl svg systemd tcpd theora threads tiff udev unicode vorbis wayland x264 x265 xattr 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" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx f16c fma3 fma4 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" ELIBC="glibc" ENLIGHTENMENT_MODULES="appmenu clock conf conf-applications conf-bindings conf-dialogs conf-display conf-interaction conf-intl conf-menus conf-paths conf-performance conf-randr conf-shelves conf-theme conf-window-manipulation conf-window-remembers connman cpufreq everything fileman fileman-opinfo gadman geolocation ibar ibox lokker mixer msgbus music-control notification packagekit pager pager-plain quickaccess shot start syscon sysinfo systray tasks teamwork temperature tiling time winlist wizard xkbswitch" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc multiboot qemu" INPUT_DEVICES="evdev libinput" KERNEL="linux" L10N="de de-DE en en-GB en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver" LLVM_TARGETS="AArch64 ARM BPF NVPTX" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" NGINX_MODULES_HTTP="access addition auth_basic auth_pam autoindex browser cache_purge charset dav dav_ext echo empty_gif fancyindex fastcgi flv geo geoip2 gunzip gzip headers_more image_filter javascript limit_conn limit_req map memc memcached metrics mp4 naxsi proxy push_stream realip referer rewrite scgi secure_link slowfs_cache split_clients ssi sticky stub_status sub upload_progress userid uwsgi xslt" NGINX_MODULES_STREAM="access geo geoip2 javascript limit_conn map return split_clients" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python3_6 python3_7" QEMU_SOFTMMU_TARGETS="aarch64 arm i386 sparc sparc64 x86_64" QEMU_USER_TARGETS="aarch64 aarch64_be arm armeb i386 sparc sparc32plus sparc64 x86_64" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="dummy fbdev nvidia 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: CC, CPPFLAGS, CTARGET, CXX, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS I'm trying if re-emerging opencv will fix this.
When rebuilding opencv-3.4.2 I noticed that it's actually from my overlay. Rebuilding didn't solve the issue. I then downgraded to opencv-3.4.1-r5 from main tree and rebuild revdeps and now the issue is gone.
Ok, so if I understand correctly the issue is in ebuild in your overlay.
Yes it looks like it's caused by the ebuild from my overlay. With 3.4.1 merging again and the 4.* version on the horizon, I probably drop the version in my overlay.