Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906379 - dev-libs/criterion-2.4.1 fails to compile (MUSL-SYSTEM): mockfile.c:42:9: error: unknown type name off64_t
Summary: dev-libs/criterion-2.4.1 fails to compile (MUSL-SYSTEM): mockfile.c:42:9: err...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Tomáš Mózes
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: musl-1.2.4
  Show dependency tree
 
Reported: 2023-05-15 08:28 UTC by Agostino Sarubbo
Modified: 2024-04-29 23:30 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,72.24 KB, text/plain)
2023-05-15 08:28 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-15 08:28:44 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-libs/criterion-2.4.1 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-15 08:28:46 UTC
Created attachment 861717 [details]
build.log

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


FAILED: src/libcriterion.so.3.2.0.p/compat_mockfile.c.o 
Library intl found: NO
Run-time dependency nanopb found: NO (tried cmake)
../Criterion-2.4.1/src/compat/mockfile.c:42:9: error: unknown type name 'off64_t'
Comment 3 Larry the Git Cow gentoo-dev 2024-03-07 17:23:41 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=639e9ab54188c10c107feb7fe08b319e6929356e

commit 639e9ab54188c10c107feb7fe08b319e6929356e
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2024-03-07 17:23:02 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2024-03-07 17:23:30 +0000

    dev-libs/criterion: Implement musl-1.2.4 largefile workaround
    
    Bug: https://bugs.gentoo.org/906379
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 dev-libs/criterion/criterion-2.4.1.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)