Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sys-devel/clang-18.1.8 fail compile with PYTHON 3.12
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Siarhei
n00b
n00b


Joined: 10 Jan 2016
Posts: 73
Location: Minsk

PostPosted: Wed Oct 30, 2024 6:07 pm    Post subject: sys-devel/clang-18.1.8 fail compile with PYTHON 3.12 Reply with quote

Hello! After switching to python 3.12 doesn't compile sys-devel/clang-18.1.8 with PYTHON_SINGLE_TARGET="python3_12.
How can I rebuild this package or get rid of it from my system?

Part of /var/tmp/portage/sys-devel/clang-18.1.8/temp/build.log:
Code:
-- Installing: /var/tmp/portage/sys-devel/clang-18.1.8/image/usr/lib/llvm/18/lib64/cmake/clang/AddClang.cmake
[71/72] cd /var/tmp/portage/sys-devel/clang-18.1.8/work/x/y/clang-abi_x86_64.amd64/utils/hmaptool && /usr/bin/cmake -DCMAKE_INSTALL_COMPONENT="hmaptool" -P /var/tmp/portage/sys-devel/clang-18.1.8/work/x/y/clang-abi_x86_64.amd64/cmake_install.cmake
-- Install configuration: "RelWithDebInfo"
-- Installing: /var/tmp/portage/sys-devel/clang-18.1.8/image/usr/lib/llvm/18/bin/hmaptool
 * Header files have changed between ABIs.
 * --- /var/tmp/portage/sys-devel/clang-18.1.8/temp/.multilib_header_cksum   2024-10-30 18:03:45.778468296 +0300
 * +++ /var/tmp/portage/sys-devel/clang-18.1.8/temp/.multilib_header_cksum.new   2024-10-30 18:03:49.442468136 +0300
 * @@ -158,7 +158,6 @@
 *  106221825 1448 /var/tmp/portage/sys-devel/clang-18.1.8/image/usr/include/clang/Lex/ScratchBuffer.h
 *  77013727 14519 /var/tmp/portage/sys-devel/clang-18.1.8/image/usr/include/clang/Analysis/FlowSensitive/DataflowAnalysis.h
 *  313716534 145511 /var/tmp/portage/sys-devel/clang-18.1.8/image/usr/include/clangrt/18/include/lasxintrin.h
 * -701755980 1459 /var/tmp/portage/sys-devel/clang-18.1.8/image/usr/include/clang/Tooling/NodeIntrospection.inc
 *  4058938529 1461 /var/tmp/portage/sys-devel/clang-18.1.8/image/usr/include/clang/Analysis/FlowSensitive/Models/ChromiumCheckModel.h
 *  1420238889 14676 /var/tmp/portage/sys-devel/clang-18.1.8/image/usr/include/clang/Basic/AttrList.inc
 *  788485834 14702 /var/tmp/portage/sys-devel/clang-18.1.8/image/usr/include/clang/CrossTU/CrossTranslationUnit.h
 * @@ -402,6 +401,7 @@
 *  1118710313 2418 /var/tmp/portage/sys-devel/clang-18.1.8/image/usr/include/clang/Analysis/FlowSensitive/WatchedLiteralsSolver.h
 *  274456772 2427 /var/tmp/portage/sys-devel/clang-18.1.8/image/usr/include/clang/Frontend/LogDiagnosticPrinter.h
 *  200764891 2448 /var/tmp/portage/sys-devel/clang-18.1.8/image/usr/include/clang/Frontend/ChainedDiagnosticConsumer.h
 * +2133485188 245112 /var/tmp/portage/sys-devel/clang-18.1.8/image/usr/include/clang/Tooling/NodeIntrospection.inc
 *  15340660 2453 /var/tmp/portage/sys-devel/clang-18.1.8/image/usr/include/clang/AST/OptionalDiagnostic.h
 *  4203566048 246944 /var/tmp/portage/sys-devel/clang-18.1.8/image/usr/include/clang/AST/StmtOpenMP.h
 *  4149403701 2478 /var/tmp/portage/sys-devel/clang-18.1.8/image/usr/include/clang/Sema/EnterExpressionEvaluationContext.h
 * ERROR: sys-devel/clang-18.1.8::gentoo failed (install phase):
 *   Header checksum mismatch, aborting.
 *
 * Call stack:


emerge --info '=sys-devel/clang-18.1.8::gentoo'
Code:
Portage 3.0.65 (python 3.12.7-final-0, default/linux/amd64/23.0/split-usr/desktop/plasma, gcc-13, glibc-2.39-r6, 6.11.5-gentoo-r1-x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.11.5-gentoo-r1-x86_64-x86_64-Intel-R-_Core-TM-_i9-9900K_CPU_@_3.60GHz-with-glibc2.39
KiB Mem:    32824412 total,   5570992 free
KiB Swap:   59747324 total,  58214140 free
Timestamp of repository gentoo: Sun, 27 Oct 2024 23:33:26 +0000
Head commit of repository gentoo: cebf099aa96cec7b42ceecbb171b3bdb0502594a

Timestamp of repository guru: Mon, 28 Oct 2024 02:48:24 +0000
Head commit of repository guru: f574cf792ea4c84bffabf5b3218ffce92c9a539d

Timestamp of repository kde: Mon, 21 Oct 2024 22:03:21 +0000
Head commit of repository kde: ea317e317d42b93379008da0763dc3d49d1a2ccc

Timestamp of repository nest: Fri, 18 Oct 2024 18:03:42 +0000
Head commit of repository nest: c970d6027fe0e0b948d7cf9c6ea5906d38e74780

Timestamp of repository steam-overlay: Tue, 08 Oct 2024 15:50:59 +0000
Head commit of repository steam-overlay: 1dc5a0d57c688eacd472d714a0621b6c277a9385

Timestamp of repository tastytea: Tue, 22 Oct 2024 07:04:38 +0000
Head commit of repository tastytea: 2c136a107e0fbbc2e190ac340dc132ae1a2c6269

sh bash 5.2_p37
ld GNU ld (Gentoo 2.42 p6) 2.42.0
distcc 3.4 x86_64-pc-linux-gnu [disabled]
ccache version 4.10.2 [enabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.30.5::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.5.2::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.10.15_p1::gentoo, 3.12.7_p1::gentoo, 3.13.0::gentoo
dev-lang/rust-bin:         1.81.0::gentoo
dev-util/ccache:           4.10.2-r1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/openrc:           0.54.2::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-devel/binutils:        2.42-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/clang:           18.1.8::gentoo
sys-devel/gcc:             13.3.1_p20240614::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/llvm:            18.1.8-r1::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r6::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

kde
    location: /var/db/repos/kde
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/kde.git
    masters: gentoo
    volatile: False

local
    location: /etc/portage/local
    masters: gentoo
    priority: 0
    volatile: True

nest
    location: /var/db/repos/nest
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/nest.git
    masters: gentoo
    volatile: False

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: False

tastytea
    location: /var/db/repos/tastytea
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/tastytea.git
    masters: guru gentoo
    volatile: False

Installed sets: @system
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CC="gcc"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/easy-rsa /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"
CXX="g++"
CXXFLAGS="-march=native -O2 -pipe -mstackrealign"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --with-bdeps=y --quiet-build=n --autounmask n"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS=" http://mirror.datacenter.by/pub/gentoo-distfiles/ http://mirror.yandex.ru/gentoo-distfiles/ http://distfiles.gentoo.org/"
LANG="ru_RU.UTF-8"
LC_ALL="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="ru ru_RU"
MAKEOPTS="-j16"
PKGDIR="/var/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"
SHELL="/bin/bash"
USE="X a52 aac acl acpi activities alsa amd64 bash-completion bluetooth bluray branding bzip2 cairo caps cdda cdr cet colord console crypt cups dbus declarative dri dts dvd dvdr elogind encode exif fbcon ffmpeg flac fontconfig gdbm gif gpm gtk gui hal iconv icu id3tag imagemagick jpeg kde kf6compat kipi kwallet lame lcms libnotify libtirpc lm_sensors mad minimal mng mp3 mp4 mpeg multilib musepack ncurses nls nvidia ogg opengl openmp pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio pvr qml qt3support qt5 qt6 quicktime rcc readline samba screencast sdl seccomp slang sndfile sound spell split-usr ssl startup-notification svg tagli test-rust theora threads tiff truetype udev udisks unicode upower usb v4l2 vdpau vorbis vulkan wavpack wayland widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="32 64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio 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="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="pc" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="ru ru-RU" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby26" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

sys-devel/clang-18.1.8::gentoo was built with the following:
USE="extra (pie) static-analyzer xml -debug -doc (-ieee-long-double) -test -verify-sig" ABI_X86="32 (64) (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (LoongArch) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) -ARC -CSKY -DirectX -M68k -SPIRV -Xtensa" PYTHON_SINGLE_TARGET="python3_10 -python3_11 -python3_12 (-python3_13)"


Change MAKEOPTS="-j16" to MAKEOPTS="-j8" did not help me
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1940

PostPosted: Wed Oct 30, 2024 8:32 pm    Post subject: Reply with quote

Can you file a bug at bugs.gentoo.org please with the full build.log and emerge --info?
Back to top
View user's profile Send private message
Siarhei
n00b
n00b


Joined: 10 Jan 2016
Posts: 73
Location: Minsk

PostPosted: Thu Oct 31, 2024 4:02 am    Post subject: Reply with quote

sam_ wrote:
Can you file a bug at bugs.gentoo.org please with the full build.log and emerge --info?

Yes, I will
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum