Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 862995 Details for
Bug 907606
dev-python/pypy3-exe-7.3.11: compilation failure on Musl 1.2.4 due to LFS64 removal
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
0001-LFS64.patch (text/plain), 2.31 KB, created by
Violet Purcell
on 2023-06-01 08:15:08 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Violet Purcell
Created:
2023-06-01 08:15:08 UTC
Size:
2.31 KB
patch
obsolete
>From e298e59f7df1258aa4970892e3cef545a5cd613b Mon Sep 17 00:00:00 2001 >From: Violet Purcell <vimproved@inventati.org> >Date: Thu, 1 Jun 2023 04:03:38 -0400 >Subject: [PATCH] Remove LFS64 interfaces > >--- > rpython/rlib/rposix_stat.py | 13 +++++-------- > 1 file changed, 5 insertions(+), 8 deletions(-) > >diff --git a/rpython/rlib/rposix_stat.py b/rpython/rlib/rposix_stat.py >index 71f5483..5bf5ea1 100644 >--- a/rpython/rlib/rposix_stat.py >+++ b/rpython/rlib/rposix_stat.py >@@ -411,10 +411,7 @@ if sys.platform.startswith('win'): > _name_struct_stat = '_stati64' > INCLUDES = ['sys/types.h', 'sys/stat.h', 'sys/statvfs.h'] > else: >- if _LINUX: >- _name_struct_stat = 'stat64' >- else: >- _name_struct_stat = 'stat' >+ _name_struct_stat = 'stat' > INCLUDES = ['sys/types.h', 'sys/stat.h', 'sys/statvfs.h', 'unistd.h'] > > compilation_info = ExternalCompilationInfo( >@@ -564,17 +561,17 @@ def build_statvfs_result(st): > # Implement and register os.stat() & variants > > if not _WIN32: >- c_fstat = rffi.llexternal('fstat64' if _LINUX else 'fstat', >+ c_fstat = rffi.llexternal('fstat', > [rffi.INT, STAT_STRUCT], rffi.INT, > compilation_info=compilation_info, > save_err=rffi.RFFI_SAVE_ERRNO, > macro=True) >- c_stat = rffi.llexternal('stat64' if _LINUX else 'stat', >+ c_stat = rffi.llexternal('stat', > [rffi.CCHARP, STAT_STRUCT], rffi.INT, > compilation_info=compilation_info, > save_err=rffi.RFFI_SAVE_ERRNO, > macro=True) >- c_lstat = rffi.llexternal('lstat64' if _LINUX else 'lstat', >+ c_lstat = rffi.llexternal('lstat', > [rffi.CCHARP, STAT_STRUCT], rffi.INT, > compilation_info=compilation_info, > save_err=rffi.RFFI_SAVE_ERRNO, >@@ -676,7 +673,7 @@ def lstat3(path): > > if rposix.HAVE_FSTATAT: > from rpython.rlib.rposix import AT_FDCWD, AT_SYMLINK_NOFOLLOW >- c_fstatat = rffi.llexternal('fstatat64' if _LINUX else 'fstatat', >+ c_fstatat = rffi.llexternal('fstatat', > [rffi.INT, rffi.CCHARP, STAT_STRUCT, rffi.INT], rffi.INT, > compilation_info=compilation_info, > save_err=rffi.RFFI_SAVE_ERRNO, macro=True) >-- >2.40.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 907606
: 862995 |
862996