Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 884303 - dev-ruby/ruby-augeas-0.5.0-r5 fails to compile (CLANG-STRICTER-SYSTEM): _augeas.c:531:5: error: incompatible function pointer types passing VALUE (VALUE, VALUE, VALUE) (aka unsigned long (unsigned long, unsigned long, unsigned long)) to parameter of type
Summary: dev-ruby/ruby-augeas-0.5.0-r5 fails to compile (CLANG-STRICTER-SYSTEM): _auge...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard: fixed in 0.5.0-r6
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-12-04 14:15 UTC by Agostino Sarubbo
Modified: 2024-10-29 17:19 UTC (History)
2 users (show)

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


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

Issue: dev-ruby/ruby-augeas-0.5.0-r4 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-04 14:15:51 UTC
Created attachment 839809 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-12-28 15:56:51 UTC
gcc14_tinderbox has reproduced this issue with version 0.5.0-r5 - Updating summary.
Comment 3 Larry the Git Cow gentoo-dev 2024-08-21 05:47:36 UTC
The bug has been closed via the following commit(s):

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

commit b5e308a175dc5b9f0986d14aac5c6ab13009fa5c
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2024-08-21 05:47:00 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2024-08-21 05:47:28 +0000

    dev-ruby/ruby-augeas: fix compilation with gcc14
    
    Closes: https://bugs.gentoo.org/884303
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 .../files/ruby-augeas-0.5.0-gcc14.patch            | 27 ++++++++++++++++++++++
 dev-ruby/ruby-augeas/ruby-augeas-0.5.0-r6.ebuild   | 26 +++++++++++++++++++++
 2 files changed, 53 insertions(+)
Comment 4 Larry the Git Cow gentoo-dev 2024-10-29 17:19:38 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ca005182b3a4900863dc252c4f5a4bd3c8cd326

commit 4ca005182b3a4900863dc252c4f5a4bd3c8cd326
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2024-10-29 17:19:11 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2024-10-29 17:19:27 +0000

    dev-ruby/ruby-augeas: drop 0.5.0-r5, 0.5.0-r6
    
    Bug: https://bugs.gentoo.org/884303
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 dev-ruby/ruby-augeas/Manifest                      |  1 -
 .../files/ruby-augeas-0.5.0-gcc14.patch            | 27 ----------------------
 dev-ruby/ruby-augeas/ruby-augeas-0.5.0-r5.ebuild   | 25 --------------------
 dev-ruby/ruby-augeas/ruby-augeas-0.5.0-r6.ebuild   | 26 ---------------------
 4 files changed, 79 deletions(-)