Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 691462 - [qt overlay] kde-plasma/kwin w/ >=dev-qt/designer-5.13.1: error: /usr/lib/libQt5Widgets.so: No such file or directory
Summary: [qt overlay] kde-plasma/kwin w/ >=dev-qt/designer-5.13.1: error: /usr/lib/lib...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: no-symlink-lib 689016
  Show dependency tree
 
Reported: 2019-08-04 20:32 UTC by jospezial
Modified: 2019-09-23 18:36 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log.bz2,30.12 KB, application/x-bzip)
2019-08-05 17:50 UTC, jospezial
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jospezial 2019-08-04 20:32:57 UTC
The configure writes wrong libdir pathes into these 2 parts of kwin-9999_build/build.ninja:

#############################################
# Link the shared module bin/kcm_kwin4_genericscripted.so

build bin/kcm_kwin4_genericscripted.so: CXX_MODULE_LIBRARY_LINKER__kcm_kwin4_genericscripted scripting/CMakeFiles/kcm_kwin4_genericscripted.dir/kcm_kwin4_genericscripted_autogen/mocs_compilation.cpp.o scripting/CMakeFiles/kcm_kwin4_genericscripted.dir/genericscriptedconfig.cpp.o scripting/CMakeFiles/kcm_kwin4_genericscripted.dir/kwineffects_interface.cpp.o | /usr/lib64/libQt5UiTools.a /usr/lib/libGL.so || scripting/kcm_kwin4_genericscripted_autogen
  LANGUAGE_COMPILE_FLAGS = -march=native -O2 -pipe -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-color=always
  LINK_FLAGS = -Wl,--no-undefined -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed   /usr/lib/libQt5Widgets.so /usr/lib/libQt5Gui.so /usr/lib/libQt5Core.so /usr/lib/libQt5Widgets.so /usr/lib/libQt5Gui.so /usr/lib/libQt5Core.so
  LINK_LIBRARIES = /usr/lib64/libKF5ConfigWidgets.so.5.61.0 /usr/lib64/libKF5Service.so.5.61.0 /usr/lib64/libQt5UiTools.a /usr/lib64/libKF5Codecs.so.5.61.0 /usr/lib64/libKF5WidgetsAddons.so.5.61.0 /usr/lib64/libKF5ConfigGui.so.5.61.0 /usr/lib64/libKF5Auth.so.5.61.0 /usr/lib64/libKF5AuthCore.so.5.61.0 /usr/lib64/libKF5I18n.so.5.61.0 /usr/lib64/libKF5ConfigCore.so.5.61.0 /usr/lib64/libQt5DBus.so.5.13.1 /usr/lib64/libKF5CoreAddons.so.5.61.0 /usr/lib64/libQt5Xml.so.5.13.1 /usr/lib64/libQt5Widgets.so.5.13.1 /usr/lib64/libQt5Gui.so.5.13.1 /usr/lib64/libQt5Core.so.5.13.1 -lpthread -lGL
  OBJECT_DIR = scripting/CMakeFiles/kcm_kwin4_genericscripted.dir
  POST_BUILD = :
  PRE_LINK = :
  TARGET_COMPILE_PDB = scripting/CMakeFiles/kcm_kwin4_genericscripted.dir/
  TARGET_FILE = bin/kcm_kwin4_genericscripted.so
  TARGET_PDB = bin/kcm_kwin4_genericscripted.pdb



#############################################
# Link the shared module bin/org.kde.kdecoration2/kwin5_aurorae.so

build bin/org.kde.kdecoration2/kwin5_aurorae.so: CXX_MODULE_LIBRARY_LINKER__kwin5_aurorae plugins/kdecorations/aurorae/src/CMakeFiles/kwin5_aurorae.dir/kwin5_aurorae_autogen/mocs_compilation.cpp.o plugins/kdecorations/aurorae/src/CMakeFiles/kwin5_aurorae.dir/aurorae.cpp.o plugins/kdecorations/aurorae/src/CMakeFiles/kwin5_aurorae.dir/decorationoptions.cpp.o plugins/kdecorations
/aurorae/src/CMakeFiles/kwin5_aurorae.dir/lib/auroraetheme.cpp.o plugins/kdecorations/aurorae/src/CMakeFiles/kwin5_aurorae.dir/lib/themeconfig.cpp.o | /usr/lib64/libQt5UiTools.a /usr/lib/libGL.so || plugins/kdecorations/aurorae/src/kwin5_aurorae_autogen
  LANGUAGE_COMPILE_FLAGS = -march=native -O2 -pipe -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-color=always
  LINK_FLAGS = -Wl,--no-undefined -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed   /usr/lib/libQt5Widgets.so /usr/lib/libQt5Gui.so /usr/lib/libQt5Core.so /usr/lib/libQt5Widgets.so /usr/lib/libQt5Gui.so /usr/lib/libQt5Core.so
  LINK_LIBRARIES = /usr/lib64/libkdecorations2.so.5.16.80 /usr/lib64/libKF5ConfigWidgets.so.5.61.0 /usr/lib64/libKF5Package.so.5.61.0 /usr/lib64/libKF5WindowSystem.so.5.61.0 /usr/lib64/libQt5Quick.so.5.13.1 /usr/lib64/libQt5UiTools.a /usr/lib64/libKF5Codecs.so.5.61.0 /usr/lib64/libKF5WidgetsAddons.so.5.61.0 /usr/lib64/libKF5ConfigGui.so.5.61.0 /usr/lib64/libQt5Xml.so.5.13.1 /usr/lib64/libKF5ConfigCore.so.5.61.0 /usr/lib64/libKF5Auth.so.5.61.0 /usr/lib64/libKF5AuthCore.so.5.61.0 /usr/lib64/libKF5I18n.so.5.61.0 /usr/lib64/libKF5CoreAddons.so.5.61.0 /usr/lib64/libQt5Qml.so.5.13.1 /usr/lib64/libQt5Network.so.5.13.1 /usr/lib64/libQt5Widgets.so.5.13.1 /usr/lib64/libQt5Gui.so.5.13.1 /usr/lib64/libQt5Core.so.5.13.1 -lpthread -lGL
  OBJECT_DIR = plugins/kdecorations/aurorae/src/CMakeFiles/kwin5_aurorae.dir
  POST_BUILD = :
  PRE_LINK = :
  TARGET_COMPILE_PDB = plugins/kdecorations/aurorae/src/CMakeFiles/kwin5_aurorae.dir/
  TARGET_FILE = bin/org.kde.kdecoration2/kwin5_aurorae.so
  TARGET_PDB = bin/org.kde.kdecoration2/kwin5_aurorae.pdb


#############################################

And that causes the following error:

: && /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -march=native -O2 -pipe -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-color=always  -Wl,--no-undefined -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed   /usr/lib/libQt5Widgets.so /usr/lib/libQt5Gui.so /usr/lib/libQt5Core.so /usr/lib/libQt5Widgets.so /usr/lib/libQt5Gui.so /usr/lib/libQt5Core.so -shared  -o bin/kcm_kwin4_genericscripted.so scripting/CMakeFiles/kcm_kwin4_genericscripted.dir/kcm_kwin4_genericscripted_autogen/mocs_compilation.cpp.o scripting/CMakeFiles/kcm_kwin4_genericscripted.dir/genericscriptedconfig.cpp.o scripting/CMakeFiles/kcm_kwin4_genericscripted.dir/kwineffects_interface.cpp.o  /usr/lib64/libKF5ConfigWidgets.so.5.61.0 /usr/lib64/libKF5Service.so.5.61.0 /usr/lib64/libQt5UiTools.a /usr/lib64/libKF5Codecs.so.5.61.0 /usr/lib64/libKF5WidgetsAddons.so.5.61.0 /usr/lib64/libKF5ConfigGui.so.5.61.0 /usr/lib64/libKF5Auth.so.5.61.0 /usr/lib64/libKF5AuthCore.so.5.61.0 /usr/lib64/libKF5I18n.so.5.61.0 /usr/lib64/libKF5ConfigCore.so.5.61.0 /usr/lib64/libQt5DBus.so.5.13.1 /usr/lib64/libKF5CoreAddons.so.5.61.0 /usr/lib64/libQt5Xml.so.5.13.1 /usr/lib64/libQt5Widgets.so.5.13.1 /usr/lib64/libQt5Gui.so.5.13.1 /usr/lib64/libQt5Core.so.5.13.1 -lpthread -lGL && :
x86_64-pc-linux-gnu-g++: error: /usr/lib/libQt5Widgets.so: No such file or directory
x86_64-pc-linux-gnu-g++: error: /usr/lib/libQt5Gui.so: No such file or directory
x86_64-pc-linux-gnu-g++: error: /usr/lib/libQt5Core.so: No such file or directory
x86_64-pc-linux-gnu-g++: error: /usr/lib/libQt5Widgets.so: No such file or directory
x86_64-pc-linux-gnu-g++: error: /usr/lib/libQt5Gui.so: No such file or directory
x86_64-pc-linux-gnu-g++: error: /usr/lib/libQt5Core.so: No such file or directory
ninja: build stopped: subcommand failed.
 * ERROR: kde-plasma/kwin-9999::kde failed (compile phase):
 *   ninja -v -j1 -l0 failed
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_compile
 *   environment, line 3356:  Called kde5_src_compile
 *   environment, line 2763:  Called cmake-utils_src_compile
 *   environment, line 1360:  Called cmake-utils_src_make
 *   environment, line 1541:  Called _cmake_ninja_src_make
 *   environment, line  802:  Called eninja
 *   environment, line 1840:  Called die
 * The specific snippet of code:
 *       "$@" || die "${nonfatal_args[@]}" "${*} failed"
 * 

This is the only ebuild that fails on my system since the conversion to profile 17.1
Comment 1 Andreas Sturmlechner gentoo-dev 2019-08-04 23:02:44 UTC
Missing full build.log, emerge --info.
Comment 2 jospezial 2019-08-05 17:50:48 UTC
Created attachment 585772 [details]
build.log

emerge --info
Portage 2.3.70 (python 3.6.9-final-0, default/linux/amd64/17.1, gcc-9.1.0, glibc-2.30, 5.3.0-rc2 x86_64)
=================================================================
System uname: Linux-5.3.0-rc2-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.6
KiB Mem:     4032152 total,   2145252 free
KiB Swap:   11534328 total,  11534328 free
Timestamp of repository poly-c: Fri, 02 Aug 2019 19:43:00 +0000
Head commit of repository gentoo: 9e1f08ad74b29c54c44e3854d86dc1c6937fcd17

sh bash 5.0_p7
ld GNU ld (Gentoo 2.32 p2) 2.32.0
ccache version 3.7.2 [enabled]
app-shells/bash:          5.0_p7::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.0::gentoo
dev-lang/python:          2.7.16::gentoo, 3.6.9::gentoo, 3.7.4-r1::gentoo
dev-util/ccache:          3.7.2::gentoo
dev-util/cmake:           3.15.1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::poly-c
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            9.1.0-r1::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30::gentoo
Repositories:

poly-c
    location: /var/lib/layman/poly-c
    sync-type: laymansync
    sync-uri: rsync://rsync.gentoofan.org/poly-c
    masters: gentoo
    priority: -1001

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/gentoo.git
    priority: -1000

overlay_jl
    location: /usr/local/portage
    masters: gentoo
    priority: 0

betagarden
    location: /var/lib/layman/betagarden
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/betagarden.git
    masters: gentoo
    priority: 50

gamerlay
    location: /var/lib/layman/gamerlay
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/gamerlay.git
    masters: gentoo
    priority: 50

java
    location: /var/lib/layman/java
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/java.git
    masters: gentoo
    priority: 50

kde
    location: /var/lib/layman/kde
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/kde.git
    masters: gentoo
    priority: 50

pg_overlay
    location: /var/lib/layman/pg_overlay
    sync-type: laymansync
    sync-uri: https://github.com/perfect7gentleman/pg_overlay.git
    masters: gentoo
    priority: 50

qt
    location: /var/lib/layman/qt
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/proj/qt.git
    masters: gentoo
    priority: 50

seden
    location: /var/lib/layman/seden
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/user/seden.git
    masters: gentoo
    priority: 50

stefantalpalaru
    location: /var/lib/layman/stefantalpalaru
    sync-type: laymansync
    sync-uri: https://github.com/stefantalpalaru/gentoo-overlay.git
    masters: gentoo
    priority: 50

wine
    location: /var/lib/layman/wine
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/repo/proj/wine.git
    masters: gentoo
    priority: 50

x11
    location: /var/lib/layman/x11
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/x11
    masters: gentoo
    priority: 50

libressl
    location: /var/lib/layman/libressl
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/repo/proj/libressl.git
    masters: gentoo
    priority: 51

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
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"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask-write=y --keep-going --quiet-build=y --verbose-conflicts"
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="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j5"
PKGDIR="/var/cache/binpkgs"
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="3dnowext 64bit X Xaw3d a52 aac aacplus aacs aalib ace acl acpi activefilter admin aes aften alsa ambisonics amd64 ap apm apng archive arping audacious audiofile automount bazaar bdplus berkdb binary-drivers bluetooth bluray boost bzip2 bzr cairo canusb caps ccache cdda cddb cdio cdparanoia cdr cdrdao cdrom cgi charconv chm chroot cjk clang cli client colordiff colorpicker colors compress consolekit corefonts cpio cpufreq_bench cpuload cracklib crypt css cue cups curl curlwrappers cxx d3d9 daemon dav1d dbus dcadec declarative device-mapper dga dhcp dom doom doomsday dos download-subs dri dri3 drm dts dump dv dvb dvd dvdnav eap eap-sim eap-tls ebook emerald emoticon encode enscript epub equalizer evdev exif extensions extras faac faad fam farstream fat fax fbcon fdformat fdk ffmpeg fftw firefox flac fluidsynth fontconfig foomatic foomaticdb fortran freedoom ftp fuse g3dvl gadu gallium gd gdbm gegl geoip gif gimp git glamor gme gnutls gpg gphoto2 gpm graphite gsm gstreamer gtk gtk3 gtkstyle gui gzip haptic hddtemp hdf hdf5 heretic hexen hid highlight history hpcups hpijs http hwdb iconv icq icu id3tag idn imagemagick inotify introspection ipc ipod ipv6 jack java javascript jit jpeg jpeg2k kate kde kdenlive keymap ladspa lame lcms legacy-systray lensfun libaom libass libcanberra libdrm libinput libkms libnotify libressl librtmp libsamplerate libssh2 libtiger libtirpc libv4l libwww lightdm linguas_de linguas_de_DE live llvm-shared-libs lm_sensors logrotate lua lv2 lximage lz4 lzma lzo mad madwifi magic man matroska md5sum meanwhile melt mercurial metalink midi mikmod mime minizip mixer mjpeg mmap mms mmx mng mobi mod modplug mono mount mouse mozilla mp3 mp4 mpeg mpeg2 mplayer mtp multilib multimedia multislot musepack musicbrainz nano-syntax ncat ncurses ndiff network networkmonitor nls nmap-update nokia normalize nowlistening nping nptl ntfs ntfsprogs ntp nvidia nvram obex ocr odbc ogg ogm openal opencl opengl openh264 openmax openmp opus oscar osdmenu otr p2p pam pango panorama parse-clocks pcap pci pcre pcre16 pdf pdfimport pipes plasma plugins pm-utils png policykit postproc postscript powermanagement ppds printsupport privacy projectm pulseaudio pvr python qalculate qml qt5 quicktime r600-llvm-compiler radio rar raw rdesktop readline recording redeyes reiser4 reiserfs remote-access replaygain rtc rtmp rtsp rubberband s3tc sbsms scanner schroedinger screensaver scripttools sdl seccomp secure-delete sensors serial serialport sftp sha512 shorten shout skins slang smi sndfile snowberry sockets sound soundtouch sox speech speex spell split-usr sql sqlite sqlite3 squashfs ssh ssl staging startup-notification statistics statusnotifier stk stream subtitles subversion sudo svc svg swat symlink sync-plugin-portage syslog sysstat system-ffmpeg system-harfbuzz system-icu system-jpeg system-jsoncpp system-libvpx system-opus system-sqlite szip taglib tcpd text texteffect tftp tftpd themes theora threads thumbnail tiff timidity tk tracepath traceroute track-src-odirect translator truetype twolame udev udf udisks unicode update_drivedb upower urlpicpreview usb v4l v4l2 vaapi vala vamp vapigen vdpau vector-icons video videos virtualbox vkd3d vlm vnc vorbis vpx vroot vst vulkan wad wav wavpack webgl webm webp webpresence widgets winbind winpopup wmf worldclock wps wxwidgets x264 x265 xattr xcb xcomposite xfs xine xinerama xinetd xkb xml xmp xorg xosd xpm xrandr xscreensaver xv xvid xvmc yahoo zenmap zip zlib zvbi" 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" CURL_SSL="libressl" ELIBC="glibc" 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" INPUT_DEVICES="evdev keyboard mouse joystick" KERNEL="linux" L10N="de" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6 python3_6 python3_7" RUBY_TARGETS="ruby24 ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="radeon r600 amdgpu radeonsi" 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, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Calculating dependencies... done!
[ebuild   R    ] dev-util/ninja-1.9.0::gentoo  USE="-doc -emacs -test -vim-syntax" 0 KiB
[ebuild   R   *] dev-qt/qtcore-5.13.9999:5/5.13::qt  USE="icu -debug -systemd -test" 0 KiB
[ebuild   R   *] kde-plasma/kwin-9999:5::kde  USE="caps multimedia -debug -gles2 -handbook -test" 0 KiB
Comment 3 Andreas Sturmlechner gentoo-dev 2019-08-17 12:36:34 UTC
I can't reproduce that output on my remaining 17.0 profile system.
Comment 4 Andreas Sturmlechner gentoo-dev 2019-08-17 12:44:58 UTC
Your LINK_FLAGS should contain this and none else:

LINK_FLAGS = -Wl,--no-undefined -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed
Comment 5 Andreas Sturmlechner gentoo-dev 2019-08-25 14:43:09 UTC
Confirmed by Chiitoo with Qt 5.13.9999 but not what we currently have in tree (5.12.4 is fine).
Comment 6 Chiitoo gentoo-dev 2019-08-26 10:29:36 UTC
The 5.13.0 tag and 5.13.1 branch also seem to be fine here so far, so it would seem like it's something in the 5.13 and 5.14 branches that's doing something weird.

Difficult to say with all the merging going on over there.  :\
Comment 7 Chiitoo gentoo-dev 2019-08-26 18:00:45 UTC
Another thing that probably shouldn't be, is the '/usr/lib/libGL.so'.  For another package, it ends up in 'LINK_LIBRARIES' even, and causes a build failure that way.

I went from 5.14 to 5.12.4 with 'emerge -e', and from there to testing the 5.13.0 and 5.13.1 branches (actually I think I first went for 5.13, after 'emerge -e', and hit the issue again), which did not produce the results of the issue, I went back to 5.13, and using 'revdep-rebuild -p -L libQt5Core.so -L libQt5Gui.so -L libQt5Widget' got a list of things that depend on these, then created a one-liner doing 'emerge -1 kwin && emerge -1 package-depending-on-qt-1 && emerge -1 kwin && package-depending-on-qt-2 && emerge -1 kwin [...]' and didn't hit the issue yet.

This thing... it's un-fricking findable!
Comment 8 Andreas Sturmlechner gentoo-dev 2019-09-07 11:22:14 UTC
reproduced with 5.13.1 release.
Comment 9 Mike Lothian 2019-09-07 15:47:41 UTC
I've just encountered this with kwin-5.16.5 and Qt 5.13.1
Comment 10 Andreas Sturmlechner gentoo-dev 2019-09-11 18:51:43 UTC
line 43 in /usr/lib64/cmake/Qt5UiTools/Qt5UiToolsConfig.cmake contains a hardcoded 'lib' entry for building _qt5_install_libs path.
Comment 11 jospezial 2019-09-11 22:52:42 UTC
(In reply to Andreas Sturmlechner from comment #10)
> line 43 in /usr/lib64/cmake/Qt5UiTools/Qt5UiToolsConfig.cmake contains a
> hardcoded 'lib' entry for building _qt5_install_libs path.

dev-qt/designer-5.15.9999 (/usr/lib64/cmake/Qt5UiTools/Qt5UiToolsConfig.cmake

The file is created when designer is compiled.
I can't find the source file for it in qttools.git
Comment 12 Chiitoo gentoo-dev 2019-09-11 23:09:44 UTC
Yeah, a patch such as this (for qtcore)

--- a/mkspecs/features/qt_common.prf    2019-06-06 15:27:08.937541478 +0300
+++ b/mkspecs/features/qt_common.prf    2019-06-06 15:31:19.906603288 +0300
@@ -32,10 +32,10 @@
     else: \
         rplbase = $$MODULE_BASE_OUTDIR
     host_build {
-        qqt_libdir = \$\$\$\$[QT_HOST_LIBS]
+        qqt_libdir = $$[QT_HOST_LIBS]
         qt_libdir = $$[QT_HOST_LIBS]
     } else {
-        qqt_libdir = \$\$\$\$[QT_INSTALL_LIBS]
+        qqt_libdir = $$[QT_INSTALL_LIBS]
         qt_libdir = $$[QT_INSTALL_LIBS]
     }
     contains(QMAKE_DEFAULT_LIBDIRS, $$qt_libdir) {

helps here, but it's hardly a fix (likely don't need both of those lines changed even, and I don't know what it might break).

I first bumped into similar issues back in April [1] (the comments there are more about this, than the actual bug report), but I thought this wasn't related.  I must have missed something during testing, since this does seem to change the designer-generated file.

1. https://bugreports.qt.io/browse/QTBUG-75357
Comment 13 Manuel Nickschas 2019-09-23 17:45:14 UTC
See also https://bugreports.qt.io/browse/QTBUG-78286. Fixing the path in Qt5UiToolsConfig.cmake fixed the build issues for me.
Comment 14 Larry the Git Cow gentoo-dev 2019-09-23 18:36:31 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/qt.git/commit/?id=afbfb79dbd88738e4299f3a20e1622b886dcd9da

commit afbfb79dbd88738e4299f3a20e1622b886dcd9da
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-09-23 18:27:06 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-09-23 18:27:06 +0000

    dev-qt/qtcore: Fix hardcoded libdir path in some *.cmake configs
    
    Thanks-to: Manuel Nickschas <sputnick@quassel-irc.org>
    Closes: https://bugs.gentoo.org/691462
    Package-Manager: Portage-2.3.76, Repoman-2.3.17
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../qtcore-5.13.1-Qt5BasicConfig-fix-libdir.patch  | 38 ++++++++++++++++++++++
 dev-qt/qtcore/qtcore-5.13.1.ebuild                 |  4 +++
 2 files changed, 42 insertions(+)