Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/strace/
Date: Mon, 29 Aug 2022 22:38:48
Message-Id: 1661812704.8538cf87ad5782d028faca00ddc0ce13073e3bdc.sam@gentoo
1 commit: 8538cf87ad5782d028faca00ddc0ce13073e3bdc
2 Author: Petr Vaněk <arkamar <AT> atlas <DOT> cz>
3 AuthorDate: Fri Aug 26 12:50:46 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 29 22:38:24 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8538cf87
7
8 dev-util/strace: fix live ebuild
9
10 It is necessary to call ./bootstrap script before eautoreconf, otherwise
11 automake fails complaining about missing files or directories. The live
12 ebuild is broken since commit a6b222b1be5b, where eautoreconf started to
13 be used even for non-live ebuilds, but it was wrongly placed.
14
15 Additionally, edo function is used for ./bootstrap call.
16
17 Fixes: a6b222b1be5b ("dev-util/strace: Fix building with USE="static".")
18 Signed-off-by: Petr Vaněk <arkamar <AT> atlas.cz>
19 Closes: https://github.com/gentoo/gentoo/pull/27038
20 Signed-off-by: Sam James <sam <AT> gentoo.org>
21
22 dev-util/strace/strace-9999.ebuild | 9 ++++-----
23 1 file changed, 4 insertions(+), 5 deletions(-)
24
25 diff --git a/dev-util/strace/strace-9999.ebuild b/dev-util/strace/strace-9999.ebuild
26 index edcd42346ba7..49ada010927a 100644
27 --- a/dev-util/strace/strace-9999.ebuild
28 +++ b/dev-util/strace/strace-9999.ebuild
29 @@ -3,7 +3,7 @@
30
31 EAPI=8
32
33 -inherit autotools flag-o-matic toolchain-funcs
34 +inherit autotools edo flag-o-matic toolchain-funcs
35
36 if [[ ${PV} == 9999 ]] ; then
37 EGIT_REPO_URI="https://github.com/strace/strace.git"
38 @@ -45,16 +45,15 @@ PATCHES=(
39 src_prepare() {
40 default
41
42 - eautoreconf
43 -
44 if [[ ! -e configure ]] ; then
45 # git generation
46 sed /autoreconf/d -i bootstrap || die
47 - ./bootstrap || die
48 - eautoreconf
49 + edo ./bootstrap
50 [[ ! -e CREDITS ]] && cp CREDITS{.in,}
51 fi
52
53 + eautoreconf
54 +
55 # Stub out the -k test since it's known to be flaky. bug #545812
56 sed -i '1iexit 77' tests*/strace-k.test || die
57 }