Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 899044 - x11-plugins/wmpinboard-1.0.1 fails to compile (MUSL-CLANG-SYSTEM): memcmp.h:4:12: error: redefinition of memcmp as different kind of symbol
Summary: x11-plugins/wmpinboard-1.0.1 fails to compile (MUSL-CLANG-SYSTEM): memcmp.h:4...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-03 09:12 UTC by Agostino Sarubbo
Modified: 2023-03-14 20:59 UTC (History)
0 users

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


Attachments
build.log (build.log,60.05 KB, text/plain)
2023-03-03 09:12 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 2023-03-03 09:12:39 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: x11-plugins/wmpinboard-1.0.1 fails to compile (MUSL-CLANG-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-CLANG-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc + clang16 but this bug MAY or MAY NOT BE related to musl/clang16.
Comment 1 Agostino Sarubbo gentoo-dev 2023-03-03 09:12:43 UTC
Created attachment 855952 [details]
build.log

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


memcmp.c:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
memcmp.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
memcmp.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
memcmp.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
wmpinboard.c:1579:23: warning: passing arguments to 'check_time' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
wmpinboard.c:1760:23: warning: passing arguments to 'check_time' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
./memcmp.h:4:12: error: redefinition of 'memcmp' as different kind of symbol
Comment 3 Larry the Git Cow gentoo-dev 2023-03-14 20:59:07 UTC
The bug has been closed via the following commit(s):

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

commit 34c7d9e75fcc02ceb56c17f4da622e6d46ba3c6c
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2023-03-14 20:03:12 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2023-03-14 20:58:18 +0000

    x11-plugins/wmpinboard: drop custom memcmp, causing issues with MUSL
    
    Also update EAPI 6 -> 8
    
    Closes: https://bugs.gentoo.org/715458
    Closes: https://bugs.gentoo.org/899044
    Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>

 .../wmpinboard/files/wmpinboard-1.0.1-memcmp.patch | 443 +++++++++++++++++++++
 x11-plugins/wmpinboard/wmpinboard-1.0.1-r1.ebuild  |  28 ++
 2 files changed, 471 insertions(+)