commit: 783b64edab6636c33c71debdf0dd96ad5ba600d2 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun Jun 15 00:28:23 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Jun 15 00:31:41 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=783b64ed
dev-util/lttng-ust: add 2.13.9 Tests seem to fail with my -O3 -march=znver2 ... with GCC and the linked bug from toralf is also w/ Clang. Try filter-flags for now. Bug: https://bugs.gentoo.org/913682 Closes: https://bugs.gentoo.org/880357 Closes: https://bugs.gentoo.org/955245 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-util/lttng-ust/Manifest | 1 + dev-util/lttng-ust/lttng-ust-2.13.9.ebuild | 57 ++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/dev-util/lttng-ust/Manifest b/dev-util/lttng-ust/Manifest index a398c767a940..e4bc7629098b 100644 --- a/dev-util/lttng-ust/Manifest +++ b/dev-util/lttng-ust/Manifest @@ -2,3 +2,4 @@ DIST lttng-ust-2.12.10.tar.bz2 801458 BLAKE2B f9dd2242e0979334c3bfaf5146af1b4732 DIST lttng-ust-2.12.9.tar.bz2 800795 BLAKE2B 467500f7fd0f473a5cd7af6c23e8f0f83516d57ad573f92c48354bbe1ea1d2fea08bd20d7675e7698adf2284a5069fd23d3a929bc11df0ba157a99091b543777 SHA512 5edaa6c015bccd710e7bfea136398e8bc784946c22933a011f4b31b9c13fa772c4f03d0c42543bf0d08a810922498ff1fa56d4bccd9c5b8c4b14925c849c6c9b DIST lttng-ust-2.13.6.tar.bz2 1351915 BLAKE2B c350a7302e38035ef7c6727ea942907ec606c88862ae875bed0a7c833f233b4159405bcb7a41549dccf3d79491151066d593c52d9f06b95b61c345ccbace62f5 SHA512 15458f8dd0ad6fa96a9cf7569ffabadfddcaa70b822b69b39d4d7dfba3701c9489706b06f12f9d7e376147299fb3cfc6fe1213d46d510bdb7b3dc834271da55f DIST lttng-ust-2.13.8.tar.bz2 1358168 BLAKE2B f4f623c9c1a37395312270803c7e845ba76d6075c10cc6bdcfdd6f35d0cb6db9c303a9fb8c33a50e201c84fd772ed60611bfce9e962e27c4d5820b6ef0ac2d66 SHA512 f61f7e1633051a4d515ba28d4945b96a84eab8a8143ef698bbb6857cbaad1acbe238041e43f04d9818bac43f59023be3f3c2154ecf75f180d8233c9d7f65c555 +DIST lttng-ust-2.13.9.tar.bz2 1359608 BLAKE2B 2137a2cffa12d98b347f2afe249f9b50fcb0b74c2352d101a8ce076975da407d9a3451da3e559ae43d094c4c39fd3647e4cc8b6fdb19dc8f1a3abbc53ea5b36a SHA512 d2bf449e0d283ee80937aa1691c48ce1cc8beb4996a4ef79078bcc2c4584bc650746ef72e927679cd6e6e54546aced40943070d46008ac9c944b6c16e2347670 diff --git a/dev-util/lttng-ust/lttng-ust-2.13.9.ebuild b/dev-util/lttng-ust/lttng-ust-2.13.9.ebuild new file mode 100644 index 000000000000..c8ed348b9813 --- /dev/null +++ b/dev-util/lttng-ust/lttng-ust-2.13.9.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Please bump the following packages together: +# dev-util/lttng-modules +# dev-util/lttng-tools +# dev-util/lttng-ust + +inherit flag-o-matic + +MY_P="${P/_rc/-rc}" +MY_SLOT="$(ver_cut 1-2)" + +DESCRIPTION="Linux Trace Toolkit - UST library" +HOMEPAGE="https://lttng.org" +SRC_URI="https://lttng.org/files/${PN}/${MY_P}.tar.bz2" +S="${WORKDIR}"/${MY_P} + +LICENSE="GPL-2" +SLOT="0/${MY_SLOT}" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="examples numa test" +RESTRICT="!test? ( test )" + +DEPEND=" + >=dev-libs/userspace-rcu-0.12:= + numa? ( sys-process/numactl ) +" +RDEPEND="${DEPEND}" +BDEPEND=" + virtual/pkgconfig + test? ( dev-lang/perl ) +" + +QA_CONFIG_IMPL_DECL_SKIP=( + pthread_get_name_np # different from pthread_getname_*, not on linux + pthread_set_name_np # different from pthread_setname_*, not on linux +) + +src_configure() { + # bug #880357 + strip-flags + + local myeconfargs=( + $(use_enable examples) + $(use_enable numa) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + find "${ED}" -type f -name '*.la' -delete || die +}
