Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906362 - dev-build/gn-0.2143 fails to compile (MUSL-SYSTEM): file_posix.cc:35:10: error: fstat64 was not declared in this scope
Summary: dev-build/gn-0.2143 fails to compile (MUSL-SYSTEM): file_posix.cc:35:10: erro...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matt Jolly
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: musl-1.2.4
  Show dependency tree
 
Reported: 2023-05-14 20:51 UTC by Agostino Sarubbo
Modified: 2024-03-10 01:47 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,66.52 KB, text/plain)
2023-05-14 20:51 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-14 20:51:49 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-util/gn-0.2088 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-14 20:51:51 UTC
Created attachment 861705 [details]
build.log

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


FAILED: src/base/files/file_posix.o 
FAILED: src/base/files/file_util_posix.o 
../src/base/files/file_posix.cc:35:10: error: 'fstat64' was not declared in this scope; did you mean 'stat64'?
Comment 3 Agostino Sarubbo gentoo-dev 2024-01-22 08:17:20 UTC
tinderbox_musl has reproduced this issue with version 0.2122 - Updating summary.
Comment 4 Agostino Sarubbo gentoo-dev 2024-02-29 14:14:58 UTC
tinderbox_musl has reproduced this issue with version 0.2143 - Updating summary.
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2024-03-03 00:17:10 UTC
Deferring to maintainer; unfixable with conventional means.
Comment 6 Larry the Git Cow gentoo-dev 2024-03-05 16:53:51 UTC
The bug has been referenced in the following commit(s):

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

commit c22f45820926a28924c74e2bf0c89d8ae416cbf1
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2024-03-05 16:52:52 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2024-03-05 16:52:52 +0000

    dev-build/gn: Apply musl-1.2.4 largefile workaround
    
    Sometimes tenderly applying a sledgehammer to problems is the best solution.
    
    Bug: https://bugs.gentoo.org/906362
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 dev-build/gn/gn-0.2122.ebuild | 4 ++++
 dev-build/gn/gn-0.2143.ebuild | 4 ++++
 dev-build/gn/gn-9999.ebuild   | 4 ++++
 3 files changed, 12 insertions(+)
Comment 7 Matt Jolly gentoo-dev 2024-03-10 01:47:21 UTC
That should have fixed it. Thanks Andreas, I wasn't using a big enough hammer.