Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 829293 - sys-libs/liburing: needs GNU_SOURCE for musl (was: sys-cluster/glusterfs-10.0 - configure: error: Install liburing library and headers or use --disable-linux-io_uring)
Summary: sys-libs/liburing: needs GNU_SOURCE for musl (was: sys-cluster/glusterfs-10.0...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL: https://github.com/axboe/liburing/pul...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2021-12-15 19:33 UTC by Toralf Förster
Modified: 2022-03-14 15:56 UTC (History)
6 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.43 KB, text/plain)
2021-12-15 19:33 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,68.81 KB, text/plain)
2021-12-15 19:33 UTC, Toralf Förster
Details
environment (environment,116.96 KB, text/plain)
2021-12-15 19:33 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,19.98 KB, application/x-bzip)
2021-12-15 19:33 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,13.29 KB, application/x-bzip)
2021-12-15 19:33 UTC, Toralf Förster
Details
sys-cluster:glusterfs-10.0:20211215-192109.log (sys-cluster:glusterfs-10.0:20211215-192109.log,11.75 KB, text/plain)
2021-12-15 19:33 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,33.52 KB, application/x-bzip)
2021-12-15 19:33 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-12-15 19:33:40 UTC
checking if posix_spawn returns properly on failure... yes
checking for READLINE... yes
checking for io_setup in -laio... yes
checking for liburing.h... no
configure: error: Install liburing library and headers or use --disable-linux-io_uring

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-cluster/glusterfs-10.0/work/glusterfs-10.0/config.log
 * ERROR: sys-cluster/glusterfs-10.0::gentoo failed (configure phase):

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-j4-20211215-000030

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.0 *
clang version 13.0.0
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.9
Available Rust versions:
  [1]   rust-1.57.0 *
The following VMs are available for generation-2:
Available Java Virtual Machines:
  (none found)

php cli:

  HEAD of ::gentoo
commit c9e73f8513e6f144bf4022ef6a9f21316951472a
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Dec 15 19:06:42 2021 +0000

    2021-12-15 19:06:41 UTC

emerge -qpvO sys-cluster/glusterfs
[ebuild  N    ] sys-cluster/glusterfs-10.0  USE="fuse georeplication (libtirpc) xml -debug -emacs -ipv6 -rsyslog -static-libs -tcmalloc -test" PYTHON_SINGLE_TARGET="python3_9 -python3_8 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2021-12-15 19:33:41 UTC
Created attachment 759234 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-15 19:33:42 UTC
Created attachment 759235 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-12-15 19:33:44 UTC
Created attachment 759236 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-12-15 19:33:45 UTC
Created attachment 759237 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-12-15 19:33:46 UTC
Created attachment 759238 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-12-15 19:33:47 UTC
Created attachment 759239 [details]
sys-cluster:glusterfs-10.0:20211215-192109.log
Comment 7 Toralf Förster gentoo-dev 2021-12-15 19:33:48 UTC
Created attachment 759240 [details]
temp.tar.bz2
Comment 8 Jaco Kroon 2022-03-14 12:27:04 UTC
Was just looking to see if there are any bugs blocking stabling of glusterfs 10.1 - found this, can you please confirm if glusterfs 10.1 fixes this?
Comment 9 Toralf Förster gentoo-dev 2022-03-14 13:37:32 UTC
still fails under musl:

$ cat /home/tinderbox/img/17.0_musl-j4-20220306-010006/var/tmp/tb/issues/20220308-185737-sys-cluster_glusterfs-10.1-r1/issue 
checking if posix_spawn returns properly on failure... yes
checking for READLINE... yes
checking for io_setup in -laio... yes
checking for liburing.h... no
configure: error: Install liburing library and headers or use --disable-linux-io_uring

!!! Please attach the following file when seeking support:
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-14 14:14:55 UTC
configure:17701: checking for liburing.h
configure:17701: x86_64-gentoo-linux-musl-gcc -c -pipe -march=native -fno-diagnostics-color -O2  conftest.c >&5
In file included from conftest.c:105:
/usr/include/liburing.h:162:39: error: unknown type name 'cpu_set_t'
  162 |                                 const cpu_set_t *mask);
      |                                       ^~~~~~~~~
configure:17701: $? = 1
configure: failed program was:
[...]

on it
Comment 11 Larry the Git Cow gentoo-dev 2022-03-14 15:56:57 UTC
The bug has been closed via the following commit(s):

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

commit 698d55e8b06ab74f0fd034aacc933d9a52284839
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-03-14 15:24:07 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-03-14 15:56:28 +0000

    sys-libs/liburing: backport upstream musl patch
    
    Needs a revbump as it affects installed header.
    
    Closes: https://bugs.gentoo.org/829293
    Signed-off-by: Sam James <sam@gentoo.org>

 .../liburing-2.1-gnu_source-musl-cpuset.patch      | 42 +++++++++++++
 sys-libs/liburing/liburing-2.1-r2.ebuild           | 69 ++++++++++++++++++++++
 2 files changed, 111 insertions(+)