Summary: | www-client/elinks-0.16.1.1-r2 - ../.../general.c: error: implicit declaration of function add_to_ecmascript_string_list [-Wimplicit-function-declarati | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Felix Janda <felix.janda> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | flexx, kripton, leonchik1976, marcin.deranek |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=937007 | ||
Whiteboard: | fixed in 0.16.1.1-r3 | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 870412 | ||
Attachments: |
emerge-info.txt
emerge-history.txt.xz environment etc.clang.tar.xz etc.portage.tar.xz logs.tar.xz qlist-info.txt.xz temp.tar.xz www-client:elinks-0.16.1.1-r2:20231206-022817.log Patch addressing the issue |
Description
Toralf Förster
![]() Created attachment 877923 [details]
emerge-info.txt
Created attachment 877924 [details]
emerge-history.txt.xz
Created attachment 877925 [details]
environment
Created attachment 877926 [details]
etc.clang.tar.xz
Created attachment 877927 [details]
etc.portage.tar.xz
Created attachment 877928 [details]
logs.tar.xz
Created attachment 877929 [details]
qlist-info.txt.xz
Created attachment 877930 [details]
temp.tar.xz
Created attachment 877931 [details]
www-client:elinks-0.16.1.1-r2:20231206-022817.log
Created attachment 895204 [details, diff]
Patch addressing the issue
Confirmed, I get this error with a re-emerge of www-client/elinks-0.16.1.1-r2 or-r3. First, the build failed for the -r3 update, then after masking -r3 it also happened when trying an emerge -1va for -r2. I get the same error: ../elinks-0.16.1.1/src/document/html/parser/general.c: In function ‘html_script’: ../elinks-0.16.1.1/src/document/html/parser/general.c:319:17: error: implicit declaration of function ‘add_to_ecmascript_string_list’ [-Wimplicit-function-declaration] 319 | add_to_ecmascript_string_list(&html_context->part->document->onload_snippets, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I have www-client/elinks-0.16.1.1-r2 installed, so it must have built before: Installed versions: 0.16.1.1-r2^t(21:29:49 05/08/24)(X brotli bzip2 ftp gpm javascript mouse nls perl ssl unicode xml zlib zstd -bittorrent -debug -finger -gnutls -gopher -guile -idn -lua -lzma -nntp -samba -test -tre LUA_SINGLE_TARGET="lua5-1 -lua5-3 -lua5-4 -luajit") It would have been built with gcc-13.2.1_p20240503 for that installation: 2024-05-07T04:07:47 >>> sys-devel/gcc-13.2.1_p20240503 Since then I updated to gcc-14.1.1, and I guess that's causing the issue: 2024-05-08T21:48:45 >>> sys-devel/gcc-13.2.1_p20240503 2024-05-20T12:45:16 >>> sys-devel/gcc-14.1.1_p20240518 2024-05-28T03:42:42 <<< sys-devel/gcc-13.2.1_p20240503 2024-06-19T06:28:52 >>> sys-devel/gcc-14.1.1_p20240615 2024-06-23T06:00:25 >>> sys-devel/gcc-14.1.1_p20240622 The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6a2b34886febe729db3200202a0b31578f7638b commit c6a2b34886febe729db3200202a0b31578f7638b Author: Conrad Kostecki <conikost@gentoo.org> AuthorDate: 2024-07-16 21:26:17 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2024-07-16 21:26:17 +0000 www-client/elinks: fix implicit declaration ecmascript Closes: https://bugs.gentoo.org/919372 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> www-client/elinks/elinks-0.16.1.1-r2.ebuild | 1 + 1 file changed, 1 insertion(+) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d9fa2ef2f89fb72275dab73204ad2404b22d666 commit 2d9fa2ef2f89fb72275dab73204ad2404b22d666 Author: Conrad Kostecki <conikost@gentoo.org> AuthorDate: 2024-07-16 21:24:55 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2024-07-16 21:24:55 +0000 www-client/elinks: fix python3.12 support Closes: https://bugs.gentoo.org/929876 Bug: https://bugs.gentoo.org/919372 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> www-client/elinks/elinks-0.16.1.1-r3.ebuild | 2 ++ ...-0.16.1.1-ecmascript-implicit-declaration.patch | 36 ++++++++++++++++++++++ .../elinks/files/elinks-0.16.1.1-python-3.12.patch | 26 ++++++++++++++++ 3 files changed, 64 insertions(+) |