Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 887423 - x11-libs/librfm-5.3.16.3-r1 fails to compile (CLANG-STRICTER-SYSTEM): settings-module.i:377:36: error: parameter i was not declared, defaults to int; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int]
Summary: x11-libs/librfm-5.3.16.3-r1 fails to compile (CLANG-STRICTER-SYSTEM): setting...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard: removed
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-12-20 12:46 UTC by Agostino Sarubbo
Modified: 2024-10-29 18:45 UTC (History)
0 users

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


Attachments
build.log (build.log,217.84 KB, text/plain)
2022-12-20 12:46 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-12-20 12:46:51 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: x11-libs/librfm-5.3.16.3-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-12-20 12:46:53 UTC
Created attachment 844113 [details]
build.log

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


/usr/include/pango-1.0/pango/pango-version-macros.h../../modules/settings-module.i::687377::4916::  note: warning: expanded from macro 'PANGO_DEPRECATED_IN_1_44'a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
checking for GNU Ghostscript... ./configure: line 21387: gs: command not found
../../modules/settings-module.i:377:36: error: parameter 'i' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int]
Comment 3 Larry the Git Cow gentoo-dev 2023-02-20 20:52:18 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=677e18223af9cc75dc8997c66cc53eb7d75bfb38

commit 677e18223af9cc75dc8997c66cc53eb7d75bfb38
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2023-02-20 20:51:35 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2023-02-20 20:51:35 +0000

    x11-libs/librfm: update EAPI 6 -> 8
    
    Closes: https://bugs.gentoo.org/887423
    Closes: https://bugs.gentoo.org/892129
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../librfm/files/librfm-5.3.16.3-C99-decls.patch   | 42 ++++++++++++++++++++++
 .../librfm/files/librfm-5.3.16.3-autotools.patch   | 10 ++++++
 ....3.16.3-r1.ebuild => librfm-5.3.16.3-r2.ebuild} | 24 +++++++------
 3 files changed, 65 insertions(+), 11 deletions(-)