Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906188 - dev-util/google-perftools-2.10-r1 fails to compile (MUSL-SYSTEM): malloc_hook_mmap_linux.h:63:39: error: off64_t has not been declared
Summary: dev-util/google-perftools-2.10-r1 fails to compile (MUSL-SYSTEM): malloc_hook...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
: 907084 907095 (view as bug list)
Depends on:
Reported: 2023-05-12 06:37 UTC by Agostino Sarubbo
Modified: 2024-03-22 00:03 UTC (History)
5 users (show)

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

build.log (build.log,78.60 KB, text/plain)
2023-05-12 06:37 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-05-12 06:37:32 UTC

Issue: dev-util/google-perftools-2.10-r1 fails to compile (MUSL-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

(MUSL-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc but this bug MAY or MAY NOT BE related to musl.
Comment 1 Agostino Sarubbo gentoo-dev 2023-05-12 06:37:34 UTC
Created attachment 861561 [details]

build log and emerge --info
Comment 2 Pacho Ramos gentoo-dev 2023-05-26 10:10:45 UTC
*** Bug 907084 has been marked as a duplicate of this bug. ***
Comment 3 Pacho Ramos gentoo-dev 2023-05-26 10:10:50 UTC
*** Bug 907095 has been marked as a duplicate of this bug. ***
Comment 4 Agostino Sarubbo gentoo-dev 2024-01-19 08:23:22 UTC
tinderbox_musl has reproduced this issue with version 2.10-r1 - Updating summary.
Comment 5 Willy 2024-03-21 19:39:02 UTC
Adding append-lfs-flags to the ebuild fixes the problem on Musl.
Comment 6 Bernard Cafarelli gentoo-dev 2024-03-22 00:03:47 UTC
So something like "use elibc_musl && append-lfs-flags" should do the trick? (only adding the flags for musl)