Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 871567 - games-strategy/wesnoth: fails to build with clang-15/llvm-15
Summary: games-strategy/wesnoth: fails to build with clang-15/llvm-15
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: systemwide-libcxx clang-16-porting
  Show dependency tree
 
Reported: 2022-09-18 19:10 UTC by asdfg
Modified: 2022-11-24 08:47 UTC (History)
1 user (show)

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


Attachments
Build log (build2.txt,409.36 KB, text/plain)
2022-09-18 19:10 UTC, asdfg
Details
My ebuild. Almost identical to official ebuild. (file_871567.txt,2.27 KB, text/plain)
2022-09-18 19:36 UTC, asdfg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description asdfg 2022-09-18 19:10:19 UTC
Created attachment 812374 [details]
Build log

Portage 3.0.36 (python 3.10.7-final-0, default/linux/amd64/17.0/musl/hardened, [unavailable], musl-1.2.3-r3, 5.19.6-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.19.6-gentoo-x86_64-AMD_Ryzen_7_3700X_8-Core_Processor-with-libc
KiB Mem:    32799736 total,  16451140 free
KiB Swap:    8374268 total,   8374268 free
Timestamp of repository gentoo: Sun, 18 Sep 2022 16:31:50 +0000
Head commit of repository gentoo: be85075224304466cbf91e8e2aa61a2222f00911

Head commit of repository clang-musl: 345ce723c511475f6daf319be51b8545d9a8507a

Timestamp of repository guru: Sat, 17 Sep 2022 12:01:56 +0000
Head commit of repository guru: 47ad165ee0560c7ddc3c88f969744e20647d15c4

Timestamp of repository musl: Mon, 12 Sep 2022 19:25:25 +0000
Head commit of repository musl: e6dd47112d070c323e0d399bb67845c4d3ae2bac

Head commit of repository librewolf: 964d58b3bc9fba0174051ae1c4c42023528fd38a

sh bash 5.1_p16-r2
ld LLD 15.0.0 (compatible with GNU linkers)
app-misc/pax-utils:       1.3.5::gentoo
app-shells/bash:          5.1_p16-r2::gentoo
dev-lang/perl:            5.36.0::gentoo
dev-lang/python:          3.10.7::gentoo
dev-lang/rust:            1.63.0::clang-musl
dev-util/cmake:           3.24.2::gentoo
dev-util/meson:           0.63.2-r1::gentoo
sys-apps/baselayout:      2.8-r3::gentoo
sys-apps/openrc:          0.45.2::gentoo
sys-apps/sandbox:         2.29::gentoo
sys-devel/autoconf:       2.13-r2::gentoo, 2.71-r2::gentoo
sys-devel/automake:       1.16.5::gentoo
sys-devel/clang:          15.0.0-r1::gentoo
sys-devel/libtool:        2.4.7::gentoo
sys-devel/lld:            15.0.0::gentoo
sys-devel/llvm:           15.0.0::clang-musl
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.19::gentoo (virtual/os-headers)
sys-libs/musl:            1.2.3-r3::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo
    priority: -1000
    sync-git-verify-commit-signature: true

clang-musl
    location: /var/db/repos/clang-musl
    sync-type: git
    sync-uri: https://github.com/clang-musl-overlay/clang-musl-overlay.git
    masters: gentoo

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

local
    location: /var/db/repos/local
    masters: gentoo

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

librewolf
    location: /var/db/repos/librewolf
    sync-type: git
    sync-uri: https://gitlab.com/librewolf-community/browser/gentoo.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
AR="llvm-ar"
CBUILD="x86_64-gentoo-linux-musl"
CC="clang-15"
CFLAGS="-march=native -O3 -pipe -mllvm -polly -flto=thin"
CHOST="x86_64-gentoo-linux-musl"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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"
CPP="x86_64-gentoo-linux-musl-clang-cpp"
CXX="clang++-15"
CXXFLAGS="-march=native -O3 -pipe -mllvm -polly -flto=thin"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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"
FCFLAGS="-march=native -O3 -pipe -mllvm -polly"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O3 -pipe -mllvm -polly"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK="charset.alias /usr/share/locale/locale.alias"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O2 -Wl,--as-needed"
MAKEOPTS="-j7"
NM="llvm-nm"
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="/tmp"
RANLIB="llvm-ranlib"
RUSTFLAGS="-C opt-level=3 -C codegen-units=8 -C target-cpu=native -C llvm-args=--polly"
SHELL="/bin/bash"
USE="aac acl aes alsa amd64 apparmor avx avx2 bash-completion bzip2 cdda clang compiler-rt cpu-flags-x86-rdrand crypt custom-cflags default-compiler-rt default-libcxx default-lld dvd elogind f16c ffmpeg flac fma3 fontconfig fontforge gdk-pixbuf gegl gif gstreamer gtk3 haptic hardened headless-awt iconv ipv6 jpeg jpeg2k jpg kerberos libass libcxx libcxxabi libglvnd libtirpc lld llvm-libunwind lm-sensors lto mmx mmxext mp3 mpeg ncurses nftables nls nptl ogg opengl openmp opus pam pango pclmul pcre pgo pie pipewire pipewire-alsa png polly popcnt pulseaudio rdrand readline screencast seccomp sha split-usr sse sse2 sse3 sse4_1 sse4_2 sse4a ssl ssp ssse3 svg system-zlib theora threads truetype udev unicode vaapi vcd vdpau verify-sig vorbis vpx vtv vulkan wayland x264 x265 xattr xtpax zink zlib" ABI_X86="64" ADA_TARGET="gnat_2020" 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="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="musl" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en de eo pt-BR de-DE" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="X86" LUA_SINGLE_TARGET="lua5-3 luajit" LUA_TARGETS="lua5-3 luajit" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby31" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, ARFLAGS, AS, ASFLAGS, CCLD, CONFIG_SHELL, CPPFLAGS, CTARGET, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-09-18 19:17:09 UTC
[32m * [39;49;00mPackage:    games-strategy/wesnoth-1.16.3:0
[32m * [39;49;00mRepository: local

Why your own repo?

Anyway, yeah, this is libc++ w/ LLVM 15.
Comment 2 asdfg 2022-09-18 19:36:10 UTC
Created attachment 812380 [details]
My ebuild. Almost identical to official ebuild.
Comment 3 asdfg 2022-09-18 19:37:50 UTC
Comment on attachment 812380 [details]
My ebuild. Almost identical to official ebuild.

Only change is that I removed the X requirement for libsdl2 as dep. It builds just fine without that USE flag enabled for libsdl2.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-09-18 19:39:29 UTC
(In reply to asdfg from comment #3)
> Comment on attachment 812380 [details]
> My ebuild. Almost identical to official ebuild.
> 
> Only change is that I removed the X requirement for libsdl2 as dep. It
> builds just fine without that USE flag enabled for libsdl2.

Oh, alright.