Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 712660 - dev-util/rt-tests-1.8 : src/.../pi_stress.c: error: #error Cant run this test without PI Mutex support
Summary: dev-util/rt-tests-1.8 : src/.../pi_stress.c: error: #error Cant run this test...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-03-15 09:34 UTC by Toralf Förster
Modified: 2020-04-05 07:18 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.52 KB, text/plain)
2020-03-15 09:34 UTC, Toralf Förster
Details
dev-util:rt-tests-1.8:20200315-080803.log (dev-util:rt-tests-1.8:20200315-080803.log,2.52 KB, text/plain)
2020-03-15 09:34 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,118.60 KB, text/plain)
2020-03-15 09:34 UTC, Toralf Förster
Details
environment (environment,85.44 KB, text/plain)
2020-03-15 09:34 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.34 KB, application/x-bzip)
2020-03-15 09:34 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,19.86 KB, application/x-bzip)
2020-03-15 09:34 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 2020-03-15 09:34:08 UTC
>>> Compiling source in /var/tmp/portage/dev-util/rt-tests-1.8/work/rt-tests-1.8 ...
make -j1 
src/pi_tests/pi_stress.c:73:2: error: #error Cant run this test without PI Mutex support
   73 | #error Cant run this test without PI Mutex support
      |  ^~~~~
gcc -D VERSION=1.8 -c src/cyclictest/cyclictest.c -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -O2 -g -DNUMA -D_GNU_SOURCE -Isrc/include -o bld/cyclictest.o

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200311-204810

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.2.0 *
 [2] x86_64-gentoo-linux-musl-9.3.0
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.41.1
  [2]   rust-1.41.1 *
The following VMs are available for generation-2:

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sun, 15 Mar 2020 05:08:46 +0000
emerge -qpvO dev-util/rt-tests
[ebuild  N    ] dev-util/rt-tests-1.8  PYTHON_SINGLE_TARGET="python3_6 -python3_7 -python3_8"
Comment 1 Toralf Förster gentoo-dev 2020-03-15 09:34:11 UTC
Created attachment 619592 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-15 09:34:14 UTC
Created attachment 619594 [details]
dev-util:rt-tests-1.8:20200315-080803.log
Comment 3 Toralf Förster gentoo-dev 2020-03-15 09:34:17 UTC
Created attachment 619596 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-15 09:34:20 UTC
Created attachment 619598 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-15 09:34:23 UTC
Created attachment 619600 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-15 09:34:25 UTC
Created attachment 619602 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-16 16:12:48 UTC
The first attempt to tinderbox a musl image failed at all.

I'll mass close therefore all filed bug reports of the last days related to this tinderbox image.

Please feel free to re-open if you think that the bug is real in musl and not fixed by the musl overlay.
Comment 8 Kurt Kanzenbach 2020-04-03 16:13:23 UTC
Reproduced. musl doesn't support priority inheritance mutexes and some signal stuff. I'll work on a patch disabling pi_stress and the posix timer support in cyclictest for the musl build. Thanks!
Comment 9 Larry the Git Cow gentoo-dev 2020-04-05 07:18:10 UTC
The bug has been closed via the following commit(s):

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

commit 296279d90b51625180552080d449a99a4e7518ef
Author:     Kurt Kanzenbach <kurt@kmk-computers.de>
AuthorDate: 2020-04-04 09:07:57 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-04-05 07:17:55 +0000

    dev-util/rt-tests: Fix musl build
    
    A few changes have to be made for rt-tests to run on a musl enabled system.
    
    Closes: https://bugs.gentoo.org/712660
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
    Closes: https://github.com/gentoo/gentoo/pull/15223
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 dev-util/rt-tests/files/rt-tests-1.8-musl.patch | 380 ++++++++++++++++++++++++
 dev-util/rt-tests/rt-tests-1.8.ebuild           |   7 +-
 2 files changed, 386 insertions(+), 1 deletion(-)