Summary: | dev-util/ninja-1.7.2 needs a GetLoadAverage implementation for uclibc-ng | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | René Rhéaume <rene.rheaume> |
Component: | Current packages | Assignee: | Chromium Project <chromium> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 634052 | ||
Bug Blocks: | 570544 | ||
Attachments: | ninja-uclibc.patch |
This is already fixed in >=dev-util/ninja-1.8.0. https://github.com/ninja-build/ninja/commit/76abf78aac8c56606fb52ea874873d790b9044da |
Created attachment 498054 [details, diff] ninja-uclibc.patch dev-util/ninja-1.7.2 does not compile as is on uclibc-ng, because the default GetLoadAverage method expects a a getloadavg function from a libc, but uclibc-ng does not provide it. The following patch implements the method using the sysinfo system call (Linux-specific but uclibc-ng is Linux-specific) Also added a fix to build on older uclibc-ng releases, based on traditional C libraries layout. It should not interfere with the musl-inspired "put everything in libc.so.0 and make symlinks for traditional library names" approach.