Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/devmanual:master commit in: ebuild-writing/common-mistakes/
Date: Tue, 30 Mar 2021 18:15:55
Message-Id: 1617128097.05a0ec105e50d6f67a02020bac969474ec6a3ef3.ulm@gentoo
1 commit: 05a0ec105e50d6f67a02020bac969474ec6a3ef3
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 29 23:06:16 2021 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 30 18:14:57 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=05a0ec10
7
8 ebuild-writing/common-mistakes: adjust XML style for build systems list
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
12
13 ebuild-writing/common-mistakes/text.xml | 35 +++++++++++++++++++--------------
14 1 file changed, 20 insertions(+), 15 deletions(-)
15
16 diff --git a/ebuild-writing/common-mistakes/text.xml b/ebuild-writing/common-mistakes/text.xml
17 index 05380bf..7b47c2c 100644
18 --- a/ebuild-writing/common-mistakes/text.xml
19 +++ b/ebuild-writing/common-mistakes/text.xml
20 @@ -83,21 +83,26 @@ There are several ways to fix non-verbose build logs depending on the build syst
21 </p>
22
23 <ul>
24 - <li>For <c>cmake</c>-based build systems, it should be sufficient that
25 - the ebuild calls cmake_src_compile which picks up the cmake.eclass
26 - variable 'CMAKE_VERBOSE=1' by default. If you call emake directly for
27 - whatever reason, you can do 'emake VERBOSE=1' (note that
28 - cmake_src_compile takes arguments as well which are passed to make).</li>
29 -
30 - <li>For <c>autotools</c> based build systems you can pass
31 - '--disable-silent-rules' to econf, or use EAPI 5 where that argument is
32 - passed automatically. 'emake V=1' should also work.</li>
33 -
34 - <li>For custom Makefiles, you often have to write a patch. Try to get
35 - upstream to include an option like 'V=1' to enable full verbosity.</li>
36 -
37 - <li>Note that when building Go manually outside of the eclass, you
38 - will need GOFLAGS="-x".</li>
39 + <li>
40 + For <c>cmake</c>-based build systems, it should be sufficient that the
41 + ebuild calls cmake_src_compile which picks up the cmake.eclass variable
42 + <c>CMAKE_VERBOSE=1</c> by default. If you call emake directly for whatever
43 + reason, you can do <c>emake VERBOSE=1</c> (note that 'cmake_src_compile'
44 + takes arguments as well which are passed to make).
45 + </li>
46 + <li>
47 + For <c>autotools</c> based build systems you can pass
48 + '--disable-silent-rules' to econf, or use EAPI 5 where that argument is
49 + passed automatically. <c>emake V=1</c> should also work.
50 + </li>
51 + <li>
52 + For custom Makefiles, you often have to write a patch. Try to get
53 + upstream to include an option like 'V=1' to enable full verbosity.
54 + </li>
55 + <li>
56 + Note that when building Go manually outside of the eclass, you
57 + will need GOFLAGS="-x".
58 + </li>
59 </ul>
60
61 <note>In case you encounter an affected package which uses a build system not