Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928742 - dev-dotnet/dotnet-sdk-8.0.102 musl build failure off64_t and friends
Summary: dev-dotnet/dotnet-sdk-8.0.102 musl build failure off64_t and friends
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-06 16:05 UTC by ktoupt
Modified: 2024-04-07 16:20 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,911.01 KB, text/x-log)
2024-04-06 16:05 UTC, ktoupt
Details
emerge --info (info.txt,7.53 KB, text/plain)
2024-04-06 16:06 UTC, ktoupt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ktoupt 2024-04-06 16:05:59 UTC
Created attachment 889600 [details]
build.log

[ebuild   R   ] dev-dotnet/dotnet-sdk-8.0.102

Build failure about off64_t, pread64(), and lseek64() not being defined.

On musl, these are just defines, unlike glibc, which is a different type
and functions than the regular off_t, pread(), and lseek(). They are
visible in musl with _LARGEFILE64_SOURCE defined, but in glibc it is
__USE_LARGEFILE64.

Since they are just defines, I just change them and remove 64 in the
source and it seems to have worked. They appear in two places:
- src/runtime/src/coreclr/debug/createdump/crashinfounix.cpp:519
- src/runtime/src/coreclr/debug/createdump/crashinfo.cpp:806
Comment 1 ktoupt 2024-04-06 16:06:30 UTC
Created attachment 889601 [details]
emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2024-04-07 16:20:13 UTC
The bug has been closed via the following commit(s):

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

commit 6d9a22f367d01196e3ac470d87766c26b0780560
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2024-04-07 14:29:24 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2024-04-07 16:20:05 +0000

    dev-dotnet/dotnet-sdk: also apply runtime-64.patch to 102
    
    Closes: https://bugs.gentoo.org/928742
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.102.ebuild | 3 +++
 1 file changed, 3 insertions(+)