Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 882207

Summary: app-editors/bluefish-2.2.12-r1 fails to compile (CLANG-STRICTER-SYSTEM): 49: error: incompatible function pointer types passing void (void , void , xmlChar ) (aka void (void , void , unsigned char )) to parameter of type xmlHashScanner (aka void ()(void
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/28589
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-11-20 15:16:36 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-editors/bluefish-2.2.12-r1 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-20 15:16:39 UTC
Created attachment 834657 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-11-20 15:16:42 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


/bin/bash: line 1: svnversion: command not found
checking for svn tree or exported source tree... ./configure: line 16954: svnversion: command not found
configure: WARNING: 'jing' was not found. It is better then 'xmllint' for validating RELAX NG.
49: error: incompatible function pointer types passing 'void (void *, void *, xmlChar *)' (aka 'void (void *, void *, unsigned char *)') to parameter of type 'xmlHashScanner' (aka 'void (*)(void *, void *, const unsigned char *)') [-Werror,-Wincompatible-function-pointer-types]
Comment 3 Larry the Git Cow gentoo-dev 2022-12-07 21:29:30 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56427a5412c65d71a3440415a11125ed20d58844

commit 56427a5412c65d71a3440415a11125ed20d58844
Author:     Pascal Jäger <pascal.jaeger@leimstift.de>
AuthorDate: 2022-12-07 15:03:27 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-07 21:29:22 +0000

    app-editors/bluefish: revbump, fix build for clang16
    
    Closes: https://bugs.gentoo.org/882207
    
    Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
    Closes: https://github.com/gentoo/gentoo/pull/28589
    Signed-off-by: Sam James <sam@gentoo.org>

 app-editors/bluefish/bluefish-2.2.12-r2.ebuild     | 98 ++++++++++++++++++++++
 .../bluefish-2.2.9-fix-incompatible-pointer.patch  | 20 +++++
 2 files changed, 118 insertions(+)