From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7E34C13835A for ; Tue, 30 Mar 2021 18:15:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C5298E0BC0; Tue, 30 Mar 2021 18:15:52 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AEA94E0BC0 for ; Tue, 30 Mar 2021 18:15:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D2263340CFE for ; Tue, 30 Mar 2021 18:15:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 89EA8636 for ; Tue, 30 Mar 2021 18:15:50 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1617128092.196e48b1418b58a2d32efd21cec47af1b6bd8f1c.ulm@gentoo> Subject: [gentoo-commits] proj/devmanual:master commit in: ebuild-writing/common-mistakes/ X-VCS-Repository: proj/devmanual X-VCS-Files: ebuild-writing/common-mistakes/text.xml X-VCS-Directories: ebuild-writing/common-mistakes/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 196e48b1418b58a2d32efd21cec47af1b6bd8f1c X-VCS-Branch: master Date: Tue, 30 Mar 2021 18:15:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c47fd3ab-e89f-4c7f-83a5-131284a9dde3 X-Archives-Hash: d8ccef15c848b06e02fc0b649128ab1f commit: 196e48b1418b58a2d32efd21cec47af1b6bd8f1c Author: Sam James gentoo org> AuthorDate: Sun Mar 21 02:34:53 2021 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Tue Mar 30 18:14:52 2021 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=196e48b1 ebuild-writing/common-mistakes: convert 'build log not verbose' to list Signed-off-by: Sam James gentoo.org> Signed-off-by: Ulrich Müller gentoo.org> ebuild-writing/common-mistakes/text.xml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/ebuild-writing/common-mistakes/text.xml b/ebuild-writing/common-mistakes/text.xml index c92813f..9ff6608 100644 --- a/ebuild-writing/common-mistakes/text.xml +++ b/ebuild-writing/common-mistakes/text.xml @@ -81,22 +81,22 @@ someone reports a bug for your package, the build log must always be verbose.

There are several ways to fix non-verbose build logs depending on the build system:

-

-For cmake based build systems it should be sufficient that the ebuild calls -cmake-utils_src_compile which picks up the cmake-utils.eclass variable 'CMAKE_VERBOSE=1' -by default. If you call emake directly for whatever reason, you can do 'emake VERBOSE=1' -(note that cmake-utils_src_compile takes arguments as well which are passed to make). -

-

-For autotools based build systems you can pass '--disable-silent-rules' to econf, -or use EAPI 5 where that argument is passed automatically. 'emake V=1' should also work. -

+
    +
  • For cmake based build systems it should be sufficient that + the ebuild calls cmake-utils_src_compile which picks up the cmake-utils.eclass + variable 'CMAKE_VERBOSE=1' by default. If you call emake directly for + whatever reason, you can do 'emake VERBOSE=1' (note that + cmake-utils_src_compile takes arguments as well which are passed to make).
  • + +
  • For autotools based build systems you can pass + '--disable-silent-rules' to econf, or use EAPI 5 where that argument is + passed automatically. 'emake V=1' should also work.
  • + +
  • For custom Makefiles you often have to write a patch. Try to get + upstream to include an option like 'V=1' to enable full verbosity.
  • +
-

-For custom Makefiles you often have to write a patch. Try to get upstream to include an -option like 'V=1' to enable full verbosity. -

In case you encounter an affected package which uses a build system not controllable by Portage or eclasses you should file a bug (preferably with a patch) and make it block the tracker bug #429308. Solutions above ebuild level are