Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 893642 - media-libs/id3lib-3.8.3-r9 fails to build with clang-15
Summary: media-libs/id3lib-3.8.3-r9 fails to build with clang-15
Status: RESOLVED DUPLICATE of bug 871087
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: 2023-02-08 19:48 UTC by jon R-B
Modified: 2023-02-08 19:52 UTC (History)
0 users

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


Attachments
build.log (build.log,93.73 KB, text/x-log)
2023-02-08 19:48 UTC, jon R-B
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jon R-B 2023-02-08 19:48:17 UTC
latest id3lib ebuild fails to build, all appear to be related to calling/linking to /usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/*

libtool: compile:  clang++ -DHAVE_CONFIG_H -I. -I.. -I../include/id3 -I../include -O3 -pipe -march=x86-64-v3 -mtune=native -flto=thin -Wall -Wno-unused -Wno-inline -Woverloaded-virtual -Wmissing-declarations -c frame.cpp  -fPIC -DPIC -o .libs/frame.o
In file included from frame.cpp:33:
In file included from ../include/id3/readers.h:31:
In file included from ../include/id3/id3lib_streams.h:27:
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/fstream:38:
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/istream:38:
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/ios:39:
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/exception:168:
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/bits/exception_ptr.h:43:
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/bits/move.h:57:
[1m/usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/type_traits:340:12: [0m[0;1;31merror: [0m[1m
      redefinition of '__is_integral_helper<int>'[0m
    struct __is_integral_helper<int>
[0;1;32m           ^~~~~~~~~~~~~~~~~~~~~~~~~
[0m[1m/usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/type_traits:295:12: [0m[0;1;30mnote: [0m
      previous definition is here[0m
    struct __is_integral_helper<bool>
[0;1;32m           ^
[0mIn file included from frame_impl.cpp:32:

Reproducible: Always
Comment 1 jon R-B 2023-02-08 19:48:36 UTC
Created attachment 850242 [details]
build.log
Comment 2 jon R-B 2023-02-08 19:49:14 UTC
emerge --info
Portage 3.0.44 (python 3.10.9-final-0, default/linux/amd64/17.1/desktop, gcc-12, glibc-2.36-r7, 6.1.0-gentoo x86_64)
=================================================================
System uname: Linux-6.1.0-gentoo-x86_64-AMD_Ryzen_5_1600_Six-Core_Processor-with-glibc2.36
KiB Mem:    32829944 total,  15751756 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Wed, 08 Feb 2023 19:17:01 +0000
Head commit of repository gentoo: 4dbe81b1dd1f446e4a8a58132b97ea5d8c49178e

sh bash 5.2_p15-r1
ld GNU ld (Gentoo 2.39 p5) 2.39.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r1::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.0-r2::gentoo
dev-lang/python:           3.10.9-r1::gentoo, 3.11.1-r1::gentoo
dev-lang/rust:             1.67.0::gentoo
dev-util/cmake:            3.25.2::gentoo
dev-util/meson:            1.0.0::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/openrc:           0.46::gentoo
sys-apps/sandbox:          2.30-r1::gentoo
sys-devel/autoconf:        2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.39-r4::gentoo, 2.40::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r1::gentoo
sys-devel/gcc:             12.2.1_p20230121-r1::gentoo
sys-devel/gcc-config:      2.10::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             14.0.6-r1::gentoo, 15.0.7::gentoo
sys-devel/llvm:            14.0.6-r2::gentoo, 15.0.7::gentoo
sys-devel/make:            4.4::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-git-verify-commit-signature: true

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

Installed sets: @steam
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
AR="llvm-ar"
CBUILD="x86_64-pc-linux-gnu"
CC="clang"
CFLAGS="-O3 -pipe -march=x86-64-v3  -mtune=native -flto=thin"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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="clang++"
CXXFLAGS="-O3 -pipe -march=x86-64-v3  -mtune=native -flto=thin"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=5 --load-average=5.0 --with-bdeps y"
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 binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync metadata-transfer multilib-strict 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="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo/ http://www.mirrorservice.org/sites/distfiles.gentoo.org/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="en en_GB uk"
MAKEOPTS="-j8"
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="/var/tmp"
RANLIB="llvm-ranlib"
SHELL="/bin/bash"
USE="X a52 aac acl acpi aiglx alsa amd64 bash-completion binddist branding bzip2 cairo cblas-external cdda cdr clang cleartype cli corefonts crypt dri dts elogind encode eselect-ldso evdev exif ffmpeg flac fortran gcc64 gdbm gegl gif gles1 gles2 gpm graphite gstreamer gtk gui iconv icu imlib introspection ipv6 jpeg lcms libglvnd libnotify libtirpc llvm-libunwind lto mad mng mp3 mp4 mpeg multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss pam pango pcre pdf pgo pipewire png ppds pulseaudio python qt5 readline samba screencast sdl seatd seccomp smbclient sound spell split-usr ssl startup-notification svg test-rust threads tiff truetype type1 udev udisks unicode upower usb vorbis vulkan wayland wxwidgets xattr xcb xft xml xulrunner xv xvid zlib" ABI_X86="64 32" ADA_TARGET="gnat_2021" 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="f16c mmx mmxext popcnt sse sse2 sse3 sse4a ssse avx sse4_2 sse4_1 ssse3" CURL_SSL="gnutls" ELIBC="glibc" 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" GRUB_PLATFORMS="efi-64 efi-32" INPUT_DEVICES="keyboard mouse libinput" KERNEL="linux" L10N="en en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AMDGPU" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" 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="vesa amdgpu radeonsi" 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, CPP, CPPFLAGS, CTARGET, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-08 19:52:41 UTC

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