Summary: | dev-perl/Tk-804.36.0-r1 - tkGlue.c: error: pregcomp undeclared (first use in this function) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo Perl team <perl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | leonchik1976 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | fixed in 804.36.0-r4 | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 870412 | ||
Attachments: |
emerge-info.txt
dev-perl:Tk-804.36.0-r1:20231218-222658.log emerge-history.txt environment etc.clang.tar.xz etc.portage.tar.xz logs.tar.xz qlist-info.txt temp.tar.xz |
Description
Toralf Förster
![]() 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(-) |