Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 883711 - dev-perl/XML-LibXML-2.20.700-r2 fails to compile (CLANG-STRICTER-SYSTEM): perl-libxml-mm.c:142:18: error: incompatible function pointer types passing void (void , void , xmlChar ) (aka void (void , void , unsigned char )) to parameter of type xmlHashScan
Summary: dev-perl/XML-LibXML-2.20.700-r2 fails to compile (CLANG-STRICTER-SYSTEM): per...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-11-30 05:35 UTC by Agostino Sarubbo
Modified: 2023-05-12 23:50 UTC (History)
0 users

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


Attachments
build.log (build.log,299.18 KB, text/plain)
2022-11-30 05:35 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-30 05:35:19 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-perl/XML-LibXML-2.20.700-r2 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-30 05:35:21 UTC
Created attachment 838393 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2023-05-12 23:50:50 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23ea36dfba863f53e66a3a9f73aeec9124dd9aa5

commit 23ea36dfba863f53e66a3a9f73aeec9124dd9aa5
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-05-12 23:42:16 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-12 23:42:16 +0000

    dev-perl/XML-LibXML: fix modern C issues
    
    Closes: https://bugs.gentoo.org/883711
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-perl/XML-LibXML/XML-LibXML-2.20.800-r1.ebuild  | 82 ++++++++++++++++++++++
 .../files/XML-LibXML-2.20.800-modern-c.patch       | 45 ++++++++++++
 2 files changed, 127 insertions(+)