Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 905913 - x11-libs/libpciaccess-0.17: fails to compile on musl 1.2.4 (call to undeclared function 'pread64/pwrite64')
Summary: x11-libs/libpciaccess-0.17: fails to compile on musl 1.2.4 (call to undeclare...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: musl-1.2.4
  Show dependency tree
 
Reported: 2023-05-08 04:10 UTC by Violet Purcell
Modified: 2023-05-09 12:46 UTC (History)
0 users

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


Attachments
build.log (build.log,20.96 KB, text/x-log)
2023-05-08 04:10 UTC, Violet Purcell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Violet Purcell 2023-05-08 04:10:01 UTC
Created attachment 861289 [details]
build.log

Caused by musl 1.2.4 LFS64 shim removal.

Reproducible: Always

Steps to Reproduce:
1. Setup llvm/musl with a 23.0 profile
2. emerge -av sys-libs/musl
3. emerge -av x11-libs/libpciaccess
Comment 1 Larry the Git Cow gentoo-dev 2023-05-09 12:46:16 UTC
The bug has been closed via the following commit(s):

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

commit bb9b11b116b5029003c55716d733a4bc9886ad66
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-05-09 12:45:53 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-09 12:46:05 +0000

    x11-libs/libpciaccess: fix build w/ musl-1.2.4
    
    In theory these fixes can be okay without a revbump but it's best to be careful.
    
    Closes: https://bugs.gentoo.org/905913
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/libpciaccess-0.17-musl-lfs.patch         | 40 ++++++++++++++++++++++
 x11-libs/libpciaccess/libpciaccess-0.17-r1.ebuild  | 33 ++++++++++++++++++
 2 files changed, 73 insertions(+)