Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 883207 - app-text/wv-1.2.9-r3 fails to compile (CLANG-STRICTER-SYSTEM): wvConfig.c:3617:19: error: incompatible function pointer types assigning to startElementSAXFunc (aka void ()(void , const unsigned char , const unsigned char )) from void (void , const char ,
Summary: app-text/wv-1.2.9-r3 fails to compile (CLANG-STRICTER-SYSTEM): wvConfig.c:361...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard: fixed in 1.2.9-r4
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-11-26 17:55 UTC by Agostino Sarubbo
Modified: 2024-10-29 16:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,136.35 KB, text/plain)
2022-11-26 17:55 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-11-26 17:55:27 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-text/wv-1.2.9-r3 fails to compile (CLANG-STRICTER-SYSTEM).
Discovered on: amd64 (internal ref: clang-stricter_tinderbox)

NOTE:
(CLANG-STRICTER-SYSTEM) in the summary means that the bug was found on a machine that runs clang with stricter mode

This machine uses clang with CFLAGS/CXXFLAGS=-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types

See also:
https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240
https://wiki.gentoo.org/wiki/Modern_C_porting
Comment 1 Agostino Sarubbo gentoo-dev 2022-11-26 17:55:29 UTC
Created attachment 837281 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2024-06-08 09:38:13 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6607bbc3810bc50e801efe8cf9d13cd33ec4916d

commit 6607bbc3810bc50e801efe8cf9d13cd33ec4916d
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2024-02-20 18:36:01 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2024-06-08 09:37:56 +0000

    app-text/wv: Fix incompatible function pointer types assigning
    
    Closes: https://bugs.gentoo.org/883207
    Closes: https://bugs.gentoo.org/921570
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/35446
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 app-text/wv/files/wv-1.2.9-gcc14-build-fix.patch | 22 ++++++++
 app-text/wv/wv-1.2.9-r4.ebuild                   | 68 ++++++++++++++++++++++++
 2 files changed, 90 insertions(+)