Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 883709 - dev-perl/Unicode-Map8-0.130.0-r2 fails to compile (CLANG-STRICTER-SYSTEM): Map8.xs:358:6: error: call to undeclared function map8_recode8; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
Summary: dev-perl/Unicode-Map8-0.130.0-r2 fails to compile (CLANG-STRICTER-SYSTEM): Ma...
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: 2024-03-12 05:53 UTC (History)
0 users

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


Attachments
build.log (build.log,63.67 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:15 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-perl/Unicode-Map8-0.130.0-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:17 UTC
Created attachment 838391 [details]
build.log

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

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79a66e0737d26f0ee0cce3bf370e16e6abe91ca2

commit 79a66e0737d26f0ee0cce3bf370e16e6abe91ca2
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-03-12 05:47:34 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-12 05:48:13 +0000

    dev-perl/Unicode-Map8: fix modern C issues
    
    This didn't even work on amd64 until now. No comment.
    
    I hereby certify this as One Of The Examples The Modern C Work Is Good.
    
    Closes: https://bugs.gentoo.org/834518
    Closes: https://bugs.gentoo.org/856574
    Closes: https://bugs.gentoo.org/883709
    Signed-off-by: Sam James <sam@gentoo.org>

 .../Unicode-Map8/Unicode-Map8-0.130.0-r3.ebuild    | 22 ++++++++++
 .../files/Unicode-Map8-0.130.0-c99.patch           | 48 ++++++++++++++++++++++
 2 files changed, 70 insertions(+)