Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 887995 - [guru] sci-misc/boinc-wrapper-7.20.2 fails to compile (CLANG-STRICTER-SYSTEM): str_replace.h:42:20: error: strcasestr is missing exception specification noexcept(true)
Summary: [guru] sci-misc/boinc-wrapper-7.20.2 fails to compile (CLANG-STRICTER-SYSTEM)...
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: GURU project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-22 14:57 UTC by Agostino Sarubbo
Modified: 2024-10-11 09:55 UTC (History)
0 users

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


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

Issue: sci-misc/boinc-wrapper-7.20.2 fails to compile (CLANG-STRICTER-SYSTEM).
Discovered on: amd64 (internal ref: guru_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-22 14:57:59 UTC
Created attachment 844739 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2024-10-11 09:55:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4e094406d554b1c8240a662ed0e8afa1f09cd9d1

commit 4e094406d554b1c8240a662ed0e8afa1f09cd9d1
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
AuthorDate: 2024-10-10 21:02:56 +0000
Commit:     Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
CommitDate: 2024-10-10 21:02:56 +0000

    sci-misc/boinc-wrapper: fix cflags
    
    Also don't link C++ stdlib statically and mark implicit decls.
    
    Closes: https://bugs.gentoo.org/887995
    Closes: https://bugs.gentoo.org/904138
    Closes: https://bugs.gentoo.org/922046
    Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>

 ...018-r1.ebuild => boinc-wrapper-26018-r3.ebuild} | 36 ++++++++++++++++------
 .../files/boinc-wrapper-26018-makefile.patch       | 13 ++++++++
 2 files changed, 39 insertions(+), 10 deletions(-)