Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 703406 - kde-frameworks/kguiaddons-5.65.0 fails for sys-devel/clang if clang not present
Summary: kde-frameworks/kguiaddons-5.65.0 fails for sys-devel/clang if clang not present
Status: RESOLVED DUPLICATE of bug 703306
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-20 10:45 UTC by Guy
Modified: 2019-12-21 09:25 UTC (History)
3 users (show)

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


Attachments
emerge -puNDv @world output (kguiaddons.txt,57.58 KB, text/plain)
2019-12-20 10:58 UTC, Guy
Details
Full build log (build.log,8.30 KB, text/plain)
2019-12-20 20:24 UTC, Thomas Masper
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Guy 2019-12-20 10:45:45 UTC
Prior versions of kde-frameworks/kguiaddons apparently did not require clang or I now have new dependencies for some other reason. I'm performing 'emerge @world'

# equery d sys-devel/clang
 * These packages depend on sys-devel/clang:
dev-lang/ruby-2.6.5 (jit ? sys-devel/clang)
media-video/ffmpeg-4.2.1 (cuda ? >=sys-devel/clang-7[llvm_targets_NVPTX])
net-libs/webkit-gtk-2.24.4 (>=sys-devel/clang-3.3)
sys-devel/clang-common-9.0.1_rc3 (sys-devel/clang)




-- Found X11: /usr/include   
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found PkgConfig: x86_64-pc-linux-gnu-pkg-config (found version "1.6.3") 
-- Found XCB_XCB: /usr/lib64/libxcb.so (found version "1.13.1") 
-- Found XCB: /usr/lib64/libxcb.so (found version "1.13.1") found components: XCB 
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Installing in the same prefix as Python3, adopting their path scheme.
-- Installing in the same prefix as Python2, adopting their path scheme.
-- Could not find libclang version 5.0 or greater.
-- The following OPTIONAL packages have been found:

 * X11
 * PkgConfig
 * XCB, X protocol C-language Binding, <https://xcb.freedesktop.org/>
 * Qt5X11Extras (required version >= 5.11.0)

-- The following REQUIRED packages have been found:

 * ECM (required version >= 5.65.0), Extra CMake Modules., <https://projects.kde.org/projects/kdesupport/extra-cmake-modules>
 * Qt5Gui (required version >= 5.11.0)

-- The following features have been disabled:

 * QCH, API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)

-- The following OPTIONAL packages have not been found:

 * PythonModuleGeneration

-- <<< Gentoo configuration >>>
Build type      Gentoo
Install path    /usr
Compiler flags:
C               -march=native -O2 -pipe -fno-common -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wmissing-format-attribute -Wwrite-strings -Werror=implicit-function-declaration
C++             -march=native -O2 -pipe -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 -pedantic -Wzero-as-null-pointer-constant
Linker flags:
Executable      -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed
Module          -Wl,--no-undefined -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed
Shared          -Wl,--no-undefined -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed

-- Configuring incomplete, errors occurred!



Portage 2.3.82 (python 3.6.10-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-9.2.0, glibc-2.30-r3, 5.3.15-gentoo x86_64)
=================================================================
System uname: Linux-5.3.15-gentoo-x86_64-AMD_A10-7890K_Radeon_R7,_12_Compute_Cores_4C+8G-with-gentoo-2.6
KiB Mem:    15307368 total,   1752884 free
KiB Swap:   16777212 total,  16776444 free
Timestamp of repository gentoo: Fri, 20 Dec 2019 08:00:01 +0000
Head commit of repository gentoo: 17548e714e76725916dccc1a497087de24731abc
sh bash 5.0_p11
ld GNU ld (Gentoo 2.32 p2) 2.32.0
distcc 3.3.3 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          5.0_p11::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17::gentoo, 3.5.9::gentoo, 3.6.10::gentoo, 3.7.5-r1::gentoo
dev-util/cmake:           3.16.1::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.16.1-r2::gentoo
sys-devel/binutils:       2.32-r1::gentoo, 2.33.1::gentoo
sys-devel/gcc:            9.2.0-r2::gentoo
sys-devel/gcc-config:     2.1::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: --timeout=15
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 PUEL AdobeFlash-10.3 AdobeFlash-11.x Oracle-BCLA-JavaSE"
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="--quiet-build --with-bdeps=y --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="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg 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="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en-US"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=15"
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="10bit X a52 aac aalib accessibility acl acpi activities aio alsa amd64 amr ao apache2 audiofile automount avahi berkdb bluray bonjour boost branding bzip2 cairo cdda cdio cdr chm cjk cli consolekit cracklib crypt css cups curl curlwrappers cxx dbus declarative dga dia directfb dri dts dv dvd dvdr dynamic emboss encode exif expat fam fat fbcon ffmpeg fftw flac flash fontconfig foomaticdb fortran ftp fuse gcj gd gdbm gif gimp glib gnutls gpac gphoto2 gpm graphviz gs gstreamer gtk hddtemp hdri iconv icu id3tag imagemagick imlib inotify ipfilter ipv6 irc java javascript jbig jpeg jpeg2k kde kerberos kipi kwallet lame lcms ldap libnotify libtirpc libvisual lm_sensors lzo mad midi mikmod mjpeg mmap mmx mmxext mng modules mp3 mp4 mpeg mpi multilib multiuser musepack mysql nas ncurses network nls nptl nsplugin ntfs odbc offensive ogg openexr opengl openmp oscar pam pango pcre pdf perl phonon plasma plugins png policykit postscript ppds python q32 qml qt5 quicktime rar raw rdesktop readline recode regex rle rss ruby samba sasl scanner schroedinger sdk sdl seccomp sensord session sftp sndfile snmp sox speex spell split-usr sse sse2 ssl startup-notification subversion svg syslog taglib tcl tcpd theora threads tidy tiff timidity tk toolbar tools transcode truetype udev udisks unicode upower usb utils vaapi vala vcd vdpau vdr vorbis wavpack webkit widgets winbind wmf wxwidgets x264 xattr xcb xcomposite xft xine xinerama xml xorg xosd xpm xscreensaver xv xvid xvmc yahoo zeroconf zip zlib" ABI_X86="32 64" ADA_TARGET="gnat_2018" ALSA_CARDS="hda-intel" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif slotmem_shm so speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LLVM_TARGETS="AMDGPU X86" 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_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" RUBY_TARGETS="ruby24 ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="radeon radeonsi"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Guy 2019-12-20 10:58:34 UTC
Created attachment 600188 [details]
emerge -puNDv @world output

This is the original test of 'emerge -puNDv @world' ouput prior to actually executing 'emerge -uNDv @world'. I always perform this to know which packages will be updated. 'sys-devel/clang' and friends are not included in this listing.

'clang' is automatically pulled in on my 3 other systems perhaps through 'mesa'

representative 'equery d' example from a different system:

# equery d sys-devel/clang
 * These packages depend on sys-devel/clang:
dev-lang/ruby-2.6.5 (jit ? sys-devel/clang)
media-libs/mesa-19.3.0 (video_cards_r600 ? sys-devel/clang:9[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_riscv_lp64d(-)?,abi_riscv_lp64(-)?,abi_s390_32(-)?,abi_s390_64(-)?,llvm_targets_AMDGPU(-)])
                       (video_cards_r600 ? sys-devel/clang:8[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_riscv_lp64d(-)?,abi_riscv_lp64(-)?,abi_s390_32(-)?,abi_s390_64(-)?,llvm_targets_AMDGPU(-)])
                       (sys-devel/clang[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_riscv_lp64d(-)?,abi_riscv_lp64(-)?,abi_s390_32(-)?,abi_s390_64(-)?,llvm_targets_AMDGPU(-)])
                       (video_cards_radeonsi ? sys-devel/clang:9[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_riscv_lp64d(-)?,abi_riscv_lp64(-)?,abi_s390_32(-)?,abi_s390_64(-)?,llvm_targets_AMDGPU(-)])
                       (video_cards_radeonsi ? sys-devel/clang:8[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_riscv_lp64d(-)?,abi_riscv_lp64(-)?,abi_s390_32(-)?,abi_s390_64(-)?,llvm_targets_AMDGPU(-)])
                       (video_cards_radeon ? sys-devel/clang:9[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_riscv_lp64d(-)?,abi_riscv_lp64(-)?,abi_s390_32(-)?,abi_s390_64(-)?,llvm_targets_AMDGPU(-)])
                       (video_cards_radeon ? sys-devel/clang:8[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_riscv_lp64d(-)?,abi_riscv_lp64(-)?,abi_s390_32(-)?,abi_s390_64(-)?,llvm_targets_AMDGPU(-)])
                       (!video_cards_radeonsi ? sys-devel/clang:9[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_riscv_lp64d(-)?,abi_riscv_lp64(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
                       (!video_cards_radeonsi ? sys-devel/clang:8[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_riscv_lp64d(-)?,abi_riscv_lp64(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
                       (sys-devel/clang[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_riscv_lp64d(-)?,abi_riscv_lp64(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
media-video/ffmpeg-4.2.1 (cuda ? >=sys-devel/clang-7[llvm_targets_NVPTX])
sys-devel/clang-common-9.0.1_rc3 (sys-devel/clang)
sys-libs/compiler-rt-9.0.0-r1 (clang ? sys-devel/clang)
                              (=sys-devel/clang-9.0.0*:9)
sys-libs/compiler-rt-9.0.1_rc3 (clang ? sys-devel/clang)
                               (=sys-devel/clang-9.0.1*:9)
sys-libs/compiler-rt-sanitizers-9.0.0 (clang ? sys-devel/clang)
                                      (=sys-devel/clang-9.0.0*:9)
sys-libs/compiler-rt-sanitizers-9.0.1_rc3 (clang ? sys-devel/clang)
                                          (=sys-devel/clang-9.0.1*:9)
sys-libs/libomp-9.0.1_rc3 (>=sys-devel/clang-6)
Comment 2 Pavel Volkov 2019-12-20 20:01:16 UTC
I also have this configure error even though I have clang installed.

When I apply a temporary fix by creating a symlink:
/usr/lib64/libclang.so -> /usr/lib/llvm/9/lib64/libclang.so.9

I ran into another accident right away:

-- Found /usr/lib64/libclang.so
-- Testing if /usr/bin/python2 can be used to run sip_generator
-- sip_generator self-check for /usr/bin/python2 failed
-- Testing if /usr/bin/python3 can be used to run sip_generator
-- sip_generator self-check for /usr/bin/python3 failed
-- No usable python version found to run sip_generator for the PythonModuleGeneration Module.

I have Pythons 2.7 & 3.7 installed.
Comment 3 Thomas Masper 2019-12-20 20:24:15 UTC
Created attachment 600216 [details]
Full build log
Comment 4 Ognjan Kirilov Iordanov 2019-12-21 06:50:50 UTC
My problem was that not all qt5 packages updated automatically to the new version.

Show the output from eix -C dev-qt -Ic  and update all qt-dev packages manually.

I think that fixes the problem.
Comment 5 Pavel Volkov 2019-12-21 08:05:42 UTC
Great, this worked for me.
Comment 6 Thomas Masper 2019-12-21 09:06:05 UTC
Thanks, updating all qt packages before world update also for me worked.
Comment 7 Andreas Sturmlechner gentoo-dev 2019-12-21 09:25:22 UTC

*** This bug has been marked as a duplicate of bug 703306 ***