too long lines were shrinked: [44/777] cd /var/tmp/portage/net-irc/znc-1.8.2-r2/work/znc-1.8.2_build/modules/modperl && /usr/bin/swig -perl -c++ -shadow -external-runtime swigperlrun.h [45/777] cd /var/tmp/portage/net-irc/znc-1.8.2-r2/work/znc-1.8.2_build/modules/modperl && /usr/bin/swig -perl -c++ -shadow -I/var/tmp/portage/net-irc/znc-1.8.2-r2/work/znc-1.8.2_build/include -I/var/tmp/portage/net-irc/znc-1.8.2-r2/work/znc-1.8.2/include -I/var/tmp/portage/net-irc/znc-1.8.2-r2/work/ FAILED: modules/modperl/modperl_biglib.cpp modules/modperl/ZNC.pm /var/tmp/portage/net-irc/znc-1.8.2-r2/work/znc-1.8.2_build/modules/modperl/modperl_biglib.cpp /var/tmp/portage/net-irc/znc-1.8.2-r2/work/znc-1.8.2_build/modules/modperl/ZNC.pm cd /var/tmp/portage/net-irc/znc-1.8.2-r2/work/znc-1.8.2_build/modules/modperl && /usr/bin/swig -perl -c++ -shadow -I/var/tmp/portage/net-irc/znc-1.8.2-r2/work/znc-1.8.2_build/include -I/var/tmp/portage/net-irc/znc-1.8.2-r2/work/znc-1.8.2/include -I/var/tmp/portage/net-irc/znc-1.8.2-r2/work/znc-1.8.2 /var/tmp/portage/net-irc/znc-1.8.2-r2/work/znc-1.8.2/include/znc/Modules.h:60: Error: Macro 'ZNC_EXPORT_LIB_EXPORT' redefined, :1: Error: previous definition of 'ZNC_EXPORT_LIB_EXPORT'. [46/777] /usr/lib/llvm/15/bin/clang++ -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_LOCALE_DYN_LINK -DBOOST_LOCALE_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -Dznc_EXPORTS -I/var/tmp/portage/net-irc/znc-1.8.2-r2/work/znc-1.8.2/include -I/var/tmp/portage/net-irc/znc-1.8.2-r2/work/zn ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no_multilib_systemd-j4-20221028-160004 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12 * clang/llvm (if any): clang version 15.0.3 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin Configuration file: /etc/clang/clang.cfg /usr/lib/llvm/15 15.0.3 Python 3.10.8 Available Ruby profiles: [1] ruby27 (with Rubygems) [2] ruby31 (with Rubygems) * Available Rust versions: [1] rust-bin-1.64.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17] *) Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm [2] openjdk-bin-17 The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): GNU Make 4.3 HEAD of ::gentoo commit e52422124f6874f9a36ffae4d25284e8485d004f Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Oct 28 20:02:03 2022 +0000 2022-10-28 20:02:03 UTC emerge -qpvO net-irc/znc [ebuild N ] net-irc/znc-1.8.2-r2 USE="icu ipv6 nls perl ssl zlib -python -sasl -tcl -test" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9 -python3_11"
Created attachment 825753 [details] emerge-info.txt
Created attachment 825755 [details] emerge-history.txt
Created attachment 825757 [details] environment
Created attachment 825759 [details] etc.portage.tar.bz2
Created attachment 825761 [details] logs.tar.bz2
Created attachment 825763 [details] net-irc:znc-1.8.2-r2:20221028-204520.log
Created attachment 825765 [details] temp.tar.bz2
CCing upstream, Alexey, are you aware of this?
Never saw such error, but I now reproduced it with dev-lang/swig-4.1.0
https://github.com/znc/znc/commit/fecdd9895894b3afe903021b0843a422eb4d3308 fixes it
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a5aad2bf2e54dab53a598fa151baaa8dd1b1f0c commit 9a5aad2bf2e54dab53a598fa151baaa8dd1b1f0c Author: Louis Sautier <sbraz@gentoo.org> AuthorDate: 2022-11-05 17:15:58 +0000 Commit: Louis Sautier <sbraz@gentoo.org> CommitDate: 2022-11-05 18:35:20 +0000 net-irc/znc: fix build with SWIG 4.1.0 and USE=perl/python Also always enable IPv6 as it doesn't require additional dependencies (pkgcheck warned of "UseFlagWithoutDeps"). Closes: https://bugs.gentoo.org/878587 Signed-off-by: Louis Sautier <sbraz@gentoo.org> net-irc/znc/files/znc-1.8.2-fix-swig.patch | 43 ++++++++++++++++++++++++++++++ net-irc/znc/znc-1.8.2-r2.ebuild | 9 ++++--- 2 files changed, 48 insertions(+), 4 deletions(-)