Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906218 - dev-cpp/abseil-cpp-20230125.2 fails to compile (MUSL-SYSTEM): direct_mmap.h:75:25: error: off64_t has not been declared
Summary: dev-cpp/abseil-cpp-20230125.2 fails to compile (MUSL-SYSTEM): direct_mmap.h:7...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Georgy Yakovlev
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-05-12 17:29 UTC by Agostino Sarubbo
Modified: 2023-07-30 11:43 UTC (History)
0 users

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


Attachments
build.log (build.log,74.57 KB, text/plain)
2023-05-12 17:29 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-05-12 17:29:32 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-cpp/abseil-cpp-20230125.2 fails to compile (MUSL-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(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 17:29:34 UTC
Created attachment 861585 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-05-12 17:29:35 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: absl/base/CMakeFiles/malloc_internal.dir/internal/low_level_alloc.cc.o 
/var/tmp/portage/dev-cpp/abseil-cpp-20230125.2/work/abseil-cpp-20230125.2/absl/base/internal/direct_mmap.h:75:25: error: 'off64_t' has not been declared
Comment 3 Larry the Git Cow gentoo-dev 2023-07-05 00:40:24 UTC
The bug has been closed via the following commit(s):

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

commit 6f43c861641423191d2d5fce9605f8e23a452c84
Author:     orbea <orbea@riseup.net>
AuthorDate: 2023-06-09 19:58:31 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-07-05 00:40:13 +0000

    dev-cpp/abseil-cpp: fix build with musl-1.2.4
    
    Closes: https://bugs.gentoo.org/906218
    Upstream-Issue: https://github.com/abseil/abseil-cpp/issues/1473
    Upstream-Commit: https://github.com/abseil/abseil-cpp/commit/4500c2fada4e952037c59bd65e8be1ba0b29f21e
    Signed-off-by: orbea <orbea@riseup.net>
    Closes: https://github.com/gentoo/gentoo/pull/31367
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-cpp/abseil-cpp/abseil-cpp-20230125.2.ebuild    |  4 ++
 .../files/abseil-cpp-20230125.2-musl-1.2.4.patch   | 49 ++++++++++++++++++++++
 2 files changed, 53 insertions(+)
Comment 4 Larry the Git Cow gentoo-dev 2023-07-30 11:43:07 UTC
The bug has been referenced in the following commit(s):

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

commit 051a757949609fea69f8fe1ded36d1d11f9966cb
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2023-07-29 19:50:45 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-07-30 11:42:55 +0000

    dev-cpp/abseil-cpp: backport fix build with musl-1.2.4 to 20220623
    
    20220623 is needed for bear-3.1.2 and without this patch, bear cannot be
    installed on musl profiles.
    
    Bug: https://bugs.gentoo.org/906218
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/32095
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-cpp/abseil-cpp/abseil-cpp-20220623.1.ebuild | 4 ++++
 1 file changed, 4 insertions(+)