Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 821301 - sys-fs/btrfs-progs-5.14.2: musl build failed (/usr/include/linux/sysinfo.h:8:8: error: redefinition of 'struct sysinfo')
Summary: sys-fs/btrfs-progs-5.14.2: musl build failed (/usr/include/linux/sysinfo.h:8:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-02 10:59 UTC by HougeLangley
Modified: 2021-11-04 08:59 UTC (History)
2 users (show)

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


Attachments
emerge --info (emerge --info,6.29 KB, text/plain)
2021-11-02 11:01 UTC, HougeLangley
Details
Build Log (build-log,116.38 KB, text/plain)
2021-11-02 11:03 UTC, HougeLangley
Details

Note You need to log in before you can comment on or make changes to this bug.
Description HougeLangley 2021-11-02 10:59:33 UTC
I used x86_64-gentoo-linux-musl-gcc build btrfs-progs failed.

Reproducible: Always

Steps to Reproduce:
emerge -av sys-fs/btrfs-progs
Comment 1 HougeLangley 2021-11-02 11:01:29 UTC
Created attachment 748023 [details]
emerge --info
Comment 2 HougeLangley 2021-11-02 11:02:12 UTC
archiso / # emerge -pqv '=sys-fs/btrfs-progs-5.14.2::gentoo'
[ebuild  N    ] sys-fs/btrfs-progs-5.14.2  USE="convert zstd -doc -python -reiserfs -static -static-libs" PYTHON_SINGLE_TARGET="python3_9 -python3_8"
Comment 3 HougeLangley 2021-11-02 11:03:43 UTC
Created attachment 748026 [details]
Build Log
Comment 4 Jory A. Pratt gentoo-dev 2021-11-02 22:02:45 UTC
(In reply to HougeLangley from comment #2)
> archiso / # emerge -pqv '=sys-fs/btrfs-progs-5.14.2::gentoo'
> [ebuild  N    ] sys-fs/btrfs-progs-5.14.2  USE="convert zstd -doc -python
> -reiserfs -static -static-libs" PYTHON_SINGLE_TARGET="python3_9 -python3_8"

Using ::gentoo headers is not supported. If you can produce with the headers that are in the musl overlay then I will spend the time to fix it.
Comment 5 HougeLangley 2021-11-03 11:00:46 UTC
(In reply to Jory A. Pratt from comment #4)
> (In reply to HougeLangley from comment #2)
> > archiso / # emerge -pqv '=sys-fs/btrfs-progs-5.14.2::gentoo'
> > [ebuild  N    ] sys-fs/btrfs-progs-5.14.2  USE="convert zstd -doc -python
> > -reiserfs -static -static-libs" PYTHON_SINGLE_TARGET="python3_9 -python3_8"
> 
> Using ::gentoo headers is not supported. If you can produce with the headers
> that are in the musl overlay then I will spend the time to fix it.

Thanks for your reply. I will try it :P
Comment 6 HougeLangley 2021-11-04 08:59:25 UTC
(In reply to Jory A. Pratt from comment #4)
> (In reply to HougeLangley from comment #2)
> > archiso / # emerge -pqv '=sys-fs/btrfs-progs-5.14.2::gentoo'
> > [ebuild  N    ] sys-fs/btrfs-progs-5.14.2  USE="convert zstd -doc -python
> > -reiserfs -static -static-libs" PYTHON_SINGLE_TARGET="python3_9 -python3_8"
> 
> Using ::gentoo headers is not supported. If you can produce with the headers
> that are in the musl overlay then I will spend the time to fix it.

I have been install linux-headers::musl, btrfs-progs build success. Thanks.