Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713212 - dev-util/google-perftools-2.7-r1 : src/malloc_hook_mmap_linux.h: error: _off64_t has not been declared
Summary: dev-util/google-perftools-2.7-r1 : src/malloc_hook_mmap_linux.h: error: _off6...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-18 13:54 UTC by Toralf Förster
Modified: 2020-08-21 06:13 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.08 KB, text/plain)
2020-03-18 13:54 UTC, Toralf Förster
Details
dev-util:google-perftools-2.7-r1:20200318-135058.log (dev-util:google-perftools-2.7-r1:20200318-135058.log,40.82 KB, text/plain)
2020-03-18 13:54 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,81.83 KB, text/plain)
2020-03-18 13:54 UTC, Toralf Förster
Details
environment (environment,120.95 KB, text/plain)
2020-03-18 13:54 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.91 KB, application/x-bzip)
2020-03-18 13:54 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,13.96 KB, application/x-bzip)
2020-03-18 13:54 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,35.45 KB, application/x-bzip)
2020-03-18 13:54 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-03-18 13:54:16 UTC
libtool: compile:  x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -fno-builtin-malloc -fno-builtin-free -fno-builtin-realloc -fno-builtin-calloc -fno-builtin-cfree -fno-builtin-memalign -fno-builtin-posix_memalign -fno-builtin-valloc -fno-builtin-pvalloc -Wno-unused-result -fsized-deallocation -faligned-new -DNO_FRAME_POINTER -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -fno-strict-aliasing -fno-omit-frame-pointer -c src/malloc_hook.cc  -fPIC -DPIC -o src/.libs/libtcmalloc_minimal_internal_la-malloc_hook.o
In file included from src/malloc_hook.cc:686:
src/malloc_hook_mmap_linux.h:63:39: error: __off64_t has not been declared
   63 |                               int fd, __off64_t offset) __THROW {
      |                                       ^~~~~~~~~
src/malloc_hook_mmap_linux.h:145:24: error: __off64_t has not been declared

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200316-165821

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.1 *

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 18 Mar 2020 12:39:08 +0000
emerge -qpvO dev-util/google-perftools
[ebuild  N    ] dev-util/google-perftools-2.7-r1  USE="debug -largepages -minimal -optimisememory -static-libs -test"
Comment 1 Toralf Förster gentoo-dev 2020-03-18 13:54:19 UTC
Created attachment 621694 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-18 13:54:22 UTC
Created attachment 621696 [details]
dev-util:google-perftools-2.7-r1:20200318-135058.log
Comment 3 Toralf Förster gentoo-dev 2020-03-18 13:54:24 UTC
Created attachment 621698 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-18 13:54:27 UTC
Created attachment 621700 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-18 13:54:30 UTC
Created attachment 621702 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-18 13:54:33 UTC
Created attachment 621704 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-18 13:54:35 UTC
Created attachment 621706 [details]
temp.tbz2
Comment 9 Georgy Yakovlev archtester gentoo-dev 2020-08-21 03:19:59 UTC
2.8 is in the tree and has this patch applied
Comment 10 Larry the Git Cow gentoo-dev 2020-08-21 06:13:23 UTC
The bug has been closed via the following commit(s):

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

commit 8467d2868f2c0042f35c68ea0246dd7b664dcd06
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2020-08-21 06:12:26 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2020-08-21 06:12:26 +0000

    dev-util/google-perftools: fix tests on musl
    
    Closes: https://bugs.gentoo.org/713212
    Package-Manager: Portage-3.0.4, Repoman-3.0.1
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 dev-util/google-perftools/google-perftools-2.7-r1.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)