tkGlue.c:5262:46: error: macro "pregcomp" passed 3 arguments, but takes just 2 5262 | p->pat = pregcomp(string,string+len,p->flags); | ^ /usr/lib64/perl5/5.38/x86_64-linux/CORE/embed.h:498:10: note: macro "pregcomp" defined here 498 | # define pregcomp(a,b) Perl_pregcomp(aTHX_ a,b) | ^~~~~~~~ tkGlue.c:5262:11: error: pregcomp undeclared (first use in this function); did you mean regcomp_t? 5262 | p->pat = pregcomp(string,string+len,p->flags); | ^~~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-20231215-225005 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10 [2] x86_64-pc-linux-gnu-14 * clang/llvm (if any): clang version 17.0.6 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/17/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/17 17.0.6 Python 3.11.7 Available Ruby profiles: (none found) Available Rust versions: [1] rust-bin-1.74.1 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17] *) Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21] 3) Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-17 [3] openjdk-bin-21 system-vm The Glorious Glasgow Haskell Compilation System, version 9.2.8 php cli (if any): go version go1.21.5 linux/amd64 HEAD of ::gentoo commit 60b859c8114efc0ff8cfa37a0ab225f567ac13f0 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Dec 18 20:32:34 2023 +0000 2023-12-18 20:32:34 UTC emerge -qpvO dev-perl/Tk [ebuild N ] dev-perl/Tk-804.36.0-r1 USE="examples -test"
Created attachment 879892 [details] emerge-info.txt
Created attachment 879893 [details] dev-perl:Tk-804.36.0-r1:20231218-222658.log
Created attachment 879894 [details] emerge-history.txt
Created attachment 879895 [details] environment
Created attachment 879896 [details] etc.clang.tar.xz
Created attachment 879897 [details] etc.portage.tar.xz
Created attachment 879898 [details] logs.tar.xz
Created attachment 879899 [details] qlist-info.txt
Created attachment 879900 [details] temp.tar.xz
x86_64-pc-linux-gnu-gcc -c -I/usr/include/freetype2 -O2 -pipe -fno-strict-aliasing -DNO_PERL_RAND_SEED -fwrapv -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -fno-strict-aliasing -DVERSION=\"804.036\" -DXS_VERSION=\"804.036\" -fPIC "-I/usr/lib64/perl5/5.38/x86_64-linux/CORE" tixGlue.c In file included from /usr/lib64/perl5/5.38/x86_64-linux/CORE/perl.h:4532, from objGlue.c:9: objGlue.c: In function ‘Tcl_GetByteArrayFromObj’: /usr/lib64/perl5/5.38/x86_64-linux/CORE/sv.h:1952:31: error: passing argument 2 of ‘Perl_SvPV_helper’ from incompatible pointer type [-Wincompatible-pointer-types] 1952 | Perl_SvPV_helper(aTHX_ sv, &len, flags, SvPVnormal_type_, \ /usr/lib64/perl5/5.38/x86_64-linux/CORE/sv.h:1972:37: note: in expansion of macro ‘SvPV_flags’ 1972 | #define SvPV(sv, len) SvPV_flags(sv, len, SV_GMAGIC) | ^~~~~~~~~~ objGlue.c:630:29: note: in expansion of macro ‘SvPV’ 630 | return (unsigned char *) SvPV(objPtr, *lengthPtr); | ^~~~ In file included from /usr/lib64/perl5/5.38/x86_64-linux/CORE/perl.h:7814: /usr/lib64/perl5/5.38/x86_64-linux/CORE/sv_inline.h:908:33: note: expected ‘STRLEN * const’ {aka ‘long unsigned int * const’} but argument is of type ‘int *’ 908 | STRLEN * const lp, | ~~~~~~~~~~~~~~~^~
unable to build it also with gcc 13
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af217418e5e0905eb688273cc2548d6b81c07967 commit af217418e5e0905eb688273cc2548d6b81c07967 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-06-14 06:31:58 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-06-14 06:33:16 +0000 dev-perl/Tk: further Modern C fixes Closes: https://bugs.gentoo.org/919179 Closes: https://bugs.gentoo.org/920309 Signed-off-by: Sam James <sam@gentoo.org> dev-perl/Tk/Tk-804.36.0-r4.ebuild | 73 +++++++++++++++++++++++++ dev-perl/Tk/files/Tk-804.036-c99-old_warn.patch | 38 +++++++++++++ dev-perl/Tk/files/Tk-804.036-c99-pregcomp.patch | 20 +++++++ dev-perl/Tk/files/Tk-804.036-c99.patch | 56 +++++++++++++++++++ 4 files changed, 187 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78209db37a5b1d0c5a5b75430055962dbaf0d6e6 commit 78209db37a5b1d0c5a5b75430055962dbaf0d6e6 Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2024-10-31 21:03:52 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2024-10-31 21:04:13 +0000 dev-perl/Tk: drop 804.36.0-r3 Bug: https://bugs.gentoo.org/920309 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> dev-perl/Tk/Tk-804.36.0-r3.ebuild | 70 --------------------------------------- 1 file changed, 70 deletions(-)