Created attachment 861242 [details, diff] Patch to fix compilation with gcc:13 gcc:13 complains about two missing includes when compiling the litehtml plugins of mail-client/claws-mail-4.1.1-r2[litehtml]. The attached patch fixes the problem.
Can you send it upstream?
It is already fixed upstream, no new release though: https://git.claws-mail.org/?p=claws.git;a=commit;h=a9a16a253ed3865a51db5e306539d3494087dafd
Great, thanks. I did not have enough time to check upstream yet, but now I can skip that...
I have a litehtml related problem building: - mail-client/claws-mail-4.1.1-r2:0 with: - sys-devel/gcc-13.1.1_p20230527 Portage 3.0.49 (python 3.11.4-final-0, default/linux/amd64/17.1/systemd, gcc-13, glibc-2.37-r3, 6.4.1-gentoo-x86_64 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-6.4.1-gentoo-x86_64-x86_64-Intel-R-_Celeron-R-_CPU_1037U_@_1.80GHz-with-glibc2.37 KiB Mem: 8034408 total, 4062880 free KiB Swap: 20971516 total, 20971516 free Timestamp of repository gentoo: Tue, 04 Jul 2023 03:02:02 +0000 Head commit of repository gentoo: 526cef9158e1a942c2e18ba974674b6c970e83fb sh bash 5.2_p15-r6 ld GNU ld (Gentoo 2.40 p5) 2.40.0 ccache version 4.8.2 [disabled] app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.2_p15-r6::gentoo dev-java/java-config: 2.3.1-r1::gentoo dev-lang/perl: 5.38.0::gentoo dev-lang/python: 3.10.12::gentoo, 3.11.4::gentoo, 3.12.0_beta3::gentoo dev-lang/rust-bin: 1.69.0-r1::gentoo dev-util/ccache: 4.8.2::gentoo dev-util/cmake: 3.26.4-r1::gentoo dev-util/meson: 1.1.1::gentoo sys-apps/baselayout: 2.13-r1::gentoo sys-apps/sandbox: 2.34::gentoo sys-apps/systemd: 253.5::gentoo sys-devel/autoconf: 2.71-r6::gentoo sys-devel/automake: 1.16.5-r1::gentoo sys-devel/binutils: 2.40-r5::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 16.0.6::gentoo sys-devel/gcc: 13.1.1_p20230527::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/libtool: 2.4.7-r1::gentoo sys-devel/lld: 16.0.6::gentoo sys-devel/llvm: 16.0.6::gentoo sys-devel/make: 4.4.1-r1::gentoo sys-kernel/linux-headers: 6.4::gentoo (virtual/os-headers) sys-libs/glibc: 2.37-r3::gentoo sys-libs/libselinux: 3.5::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo.git priority: -1000 volatile: True localrepo location: /usr/local/portage masters: gentoo priority: 0 volatile: True ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=native -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /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="-O2 -march=native -pipe" DISTDIR="/usr/portage/distfiles" 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 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://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LEX="flex" LINGUAS="de en" MAKEOPTS="-j5" PKGDIR="/usr/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 aalib acl acpi alsa amd64 apache2 artworkextra avahi avi battery branding bzip2 cdr cli crypt dbus dhxpcd divx dlz dri dssi dvd dvdnav dvdr dvdread encode external-fuse fbcondecor ffmpeg firefox flac fortran ftp gadu gd gdbm gif gles gles2 gnome gstreamer gtk hal iconv ieee1394 introspection jack jpeg kerberos lame libcaca libnotify libtirpc live mad matroska mjpeg mmx mmx2 mng mp3 mpeg mplayer multilib ncurses networkmanager nls nptl nptlonly nss ntfsprogs ogg opengl openmp osc oss pam pcmcia pcre png ppds ppp pulseaudio qt qt3 quicktime readline real realmedia sdl seccomp slang sound spell split-usr sqlite sse sse2 ssl svg systemd test-rust theora threads threadsafe tiff trayicon truetype type1 udev unicode usb vcd vorbis wayland wext wifi win32codecs wmp xanim xattr xinerama xml xv xvid zlib" ABI_X86="64" 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" APACHE2_MPMS="worker" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="acpi aperfmperf apic arat arch_perfmon bts clflush cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts epb ept erms est flexpriority fpu fsgsbase fxsr ht lahf_lm lm mca mce mmx mmxext monitor msr mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm pebs pge pln pni popcnt pse pse36 pts rdtscp rep_good sep smep ss sse sse2 sse3 sse4_1 sse4_2 ssse3 syscall tm tm2 tpr_shadow tsc tsc_deadline_timer vme vmx vnmi vpid x2apic xsave xsaveopt xtopology xtpr" 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" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="picolcd" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="intel vesa fbdev i915 i965" 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, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS ================================================================= Package Settings ================================================================= mail-client/claws-mail-4.1.1-r2::gentoo was built with the following: USE="archive calendar dbus gdata gnutls imap libcanberra libnotify litehtml networkmanager nls notification oauth pgp spell svg userland_GNU -bogofilter -clamav -debug -doc -ldap -nntp -pdf -perl -rss -session -sieve -smime -spam-report -spamassassin -startup-notification -valgrind -webkit -xface" ABI_X86="(64)"
Created attachment 865127 [details] emerge --info claws-mail emerge --info '=mail-client/claws-mail-4.1.1-r2::gentoo'
Created attachment 865128 [details] emerge -pqv claws-mail emerge -pqv '=mail-client/claws-mail-4.1.1-r2::gentoo'
Created attachment 865129 [details] emerge build.log claws-mail Compressed via: - tar cvfz claws-mail_build.log.tgz /var/tmp/portage/mail-client/claws-mail-4.1.1-r2/temp/build.log
Sorry for the delay, and thanks for the report, patch and link! Applying the patch to 4.1.1-r2
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92eccfef050524124fad4d344739d2a8b2ae834e commit 92eccfef050524124fad4d344739d2a8b2ae834e Author: Bernard Cafarelli <voyageur@gentoo.org> AuthorDate: 2023-07-04 17:17:37 +0000 Commit: Bernard Cafarelli <voyageur@gentoo.org> CommitDate: 2023-07-04 17:20:59 +0000 mail-client/claws-mail: fix litehtml plugin compilation with gcc13 Closes: https://bugs.gentoo.org/905839 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org> mail-client/claws-mail/claws-mail-4.1.1-r2.ebuild | 1 + .../files/claws-mail-4.1.1-litehtml_gcc13.patch | 37 ++++++++++++++++++++++ 2 files changed, 38 insertions(+)