Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 898922 - x11-plugins/wmDownload-0.1.2a-r3 fails to compile (MUSL-CLANG-SYSTEM): wmDownload.c:208:14: error: call to undeclared function strtouq; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Summary: x11-plugins/wmDownload-0.1.2a-r3 fails to compile (MUSL-CLANG-SYSTEM): wmDown...
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: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-03-02 14:50 UTC by Agostino Sarubbo
Modified: 2023-05-25 07:17 UTC (History)
0 users

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


Attachments
build.log (build.log,49.40 KB, text/plain)
2023-03-02 14:50 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-02 14:50:36 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: x11-plugins/wmDownload-0.1.2a-r3 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-02 14:50:38 UTC
Created attachment 855800 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2023-05-25 07:17:43 UTC
The bug has been closed via the following commit(s):

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

commit 87c55164677082145e716a0df4a54d816ff1f0af
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2023-05-14 09:25:25 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2023-05-25 07:17:38 +0000

    x11-plugins/wmDownload: Fix error: call to undeclared function strtouq
    
    Dont use strtouq while builing on non-glibc systems
    
    Closes: https://bugs.gentoo.org/898922
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/31032
    Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>

 .../wmDownload/files/wmDownload-strtouq-musl.patch | 24 ++++++++++++++
 x11-plugins/wmDownload/wmDownload-0.1.2a-r4.ebuild | 37 ++++++++++++++++++++++
 2 files changed, 61 insertions(+)