Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895060 - dev-libs/pcl-1.12-r1 fails to compile (MUSL-CLANG-SYSTEM): pcl.c:248:7: error: call to undeclared function getpid; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Summary: dev-libs/pcl-1.12-r1 fails to compile (MUSL-CLANG-SYSTEM): pcl.c:248:7: error...
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:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-02-17 08:22 UTC by Agostino Sarubbo
Modified: 2023-12-30 22:07 UTC (History)
0 users

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


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

Issue: dev-libs/pcl-1.12-r1 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-02-17 08:22:11 UTC
Created attachment 851974 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2023-12-30 22:07:39 UTC
The bug has been closed via the following commit(s):

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

commit 1468552f35003324682d5e1d80062363bf1bb78a
Author:     Petr Vaněk <arkamar@gentoo.org>
AuthorDate: 2023-12-30 21:58:57 +0000
Commit:     Petr Vaněk <arkamar@gentoo.org>
CommitDate: 2023-12-30 22:06:54 +0000

    dev-libs/pcl: header files fix for musl
    
    additionally, update EAPI 7 -> 8
    
    Closes: https://bugs.gentoo.org/895060
    Signed-off-by: Petr Vaněk <arkamar@gentoo.org>

 dev-libs/pcl/files/pcl-1.12-musl.patch | 20 ++++++++++++++++++++
 dev-libs/pcl/pcl-1.12-r2.ebuild        | 25 +++++++++++++++++++++++++
 2 files changed, 45 insertions(+)