commit: 18e53c998d3f3f2c54d91375c82f2cae39340cda Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> AuthorDate: Fri Jan 9 08:02:31 2026 +0000 Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> CommitDate: Fri Jan 9 08:17:22 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18e53c99
sci-physics/bullet: improve USE=test by masking it It is broken such that src_compile itself fails when enabled, due to cmake's charming habit of treating "FooLib" as a dependency, to mean either "the library target aliased as FooLib", or "assume at compile time that -lFooLib works". In this case the latter is triggered due to conditionally disabled subdirs the tests depend on. Yay stringly-typed DSLs. :/ We can go one step further and add a vital REQUIRED_USE. It is neecssary but insufficient; "BussIK does not work out of the box" was always wrong, it is rather built by what `-DBUILD_BULLET2_DEMOS=OFF` in the ebuild is disabling. However, the demos themselves don't seem to compile, so, ¯\_(ツ)_/¯. Bug: https://bugs.gentoo.org/968510 Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org> profiles/base/package.use.mask | 6 ++++++ sci-physics/bullet/bullet-3.21.ebuild | 7 +++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/profiles/base/package.use.mask b/profiles/base/package.use.mask index 0992a97fa25e..272df2095251 100644 --- a/profiles/base/package.use.mask +++ b/profiles/base/package.use.mask @@ -6,6 +6,12 @@ # New entries go on top. +# Eli Schwartz <[email protected]> (2026-01-09) +# tests fail to build during src_compile: +# - needs demos to be built +# - OpenGLExampleBrowser.cpp:928:17: error: ‘simpleApp’ was not declared in this scope +sci-physics/bullet test + # Andreas K. Hüttel <[email protected]> (2026-01-07) # Building glibc with clang is highly experimental and only possible and # tested in few configurations. Enabling the useflag clang allows free diff --git a/sci-physics/bullet/bullet-3.21.ebuild b/sci-physics/bullet/bullet-3.21.ebuild index 964fa6041a4e..91b89639fdce 100644 --- a/sci-physics/bullet/bullet-3.21.ebuild +++ b/sci-physics/bullet/bullet-3.21.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -16,6 +16,7 @@ IUSE="doc double-precision examples extras openmp tbb test +threads" REQUIRED_USE=" openmp? ( threads ) + test? ( extras ) tbb? ( threads ) " @@ -31,7 +32,9 @@ PATCHES=( "${FILESDIR}"/${PN}-2.85-soversion.patch ) DOCS=( AUTHORS.txt LICENSE.txt README.md ) -# Building / linking of third Party library BussIK does not work out of the box +# Building / linking of third Party library BussIK depends on demos being built, +# which in turn fails due to +# OpenGLExampleBrowser.cpp:928:17: error: 'simpleApp' was not declared in this scope RESTRICT="test" S="${WORKDIR}/${PN}3-${PV}"
