Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 898856 - sys-process/procenv-0.51 fails to compile (MUSL-CLANG-SYSTEM): util.c:142:13: error: call to undeclared function makedev; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Summary: sys-process/procenv-0.51 fails to compile (MUSL-CLANG-SYSTEM): util.c:142:13:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-03-02 09:58 UTC by Agostino Sarubbo
Modified: 2023-07-15 06:27 UTC (History)
0 users

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


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

Issue: sys-process/procenv-0.51 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 09:58:08 UTC
Created attachment 855730 [details]
build.log

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


./configure: line 6103: https://github.com/jamesodhunt/procenv: No such file or directory
util.c:142:13: error: call to undeclared function 'makedev'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Comment 3 Larry the Git Cow gentoo-dev 2023-07-15 06:27:43 UTC
The bug has been closed via the following commit(s):

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

commit c2d834070ccb4ddc64f8e7af5e4bc092a384920c
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2023-06-06 17:01:43 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2023-07-15 06:24:18 +0000

    sys-process/procenv: Fix call to undeclared function makedev
    
    Closes: https://bugs.gentoo.org/898856
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/31318
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 .../files/procenv-0.51-musl-sysmacros.patch        | 53 ++++++++++++++++++++++
 sys-process/procenv/procenv-0.51-r1.ebuild         | 29 ++++++++++++
 2 files changed, 82 insertions(+)