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 DD9F01382C5 for ; Mon, 15 Mar 2021 20:02:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CC3C7E082B; Mon, 15 Mar 2021 20:02:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 B5DA9E082B for ; Mon, 15 Mar 2021 20:02:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 912A6340E68 for ; Mon, 15 Mar 2021 20:02:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A65265A7 for ; Mon, 15 Mar 2021 20:02:01 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1615837935.235fcd4e9c1f57af368ca9bbe9dd25effc0dc900.whissi@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: worker_modules/ X-VCS-Repository: proj/genkernel X-VCS-Files: worker_modules/gkbuild.sh X-VCS-Directories: worker_modules/ X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: 235fcd4e9c1f57af368ca9bbe9dd25effc0dc900 X-VCS-Branch: master Date: Mon, 15 Mar 2021 20:02:01 +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: e9a163c6-89bf-4e64-9402-cd4ae704d90c X-Archives-Hash: 509fb480973b40ca8b92da5f8480ffe5 commit: 235fcd4e9c1f57af368ca9bbe9dd25effc0dc900 Author: Thomas Deutschmann gentoo org> AuthorDate: Mon Mar 15 19:52:15 2021 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Mon Mar 15 19:52:15 2021 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=235fcd4e gkbuild.sh: gkautoreconf(): add workaround for >autoconf-2.69 Since >autoconf-2.69, autoreconf will check for GTK_DOC_CHECK macro and will call gtkdocize automatically [Link 1] when invoked with "--install" parameter. This is a problem for genkernel because our gkautoreconf is just a rudimentary implementation of Gentoo's eautoreconf: I.e. autotools eclass in Gentoo is not calling autoreconf with "--install" parameter, instead eclass is manually checking all used macros like autoreconf but will only call used tools when available. Because we do not care about docs in gkbuild packages, we can stick to our poor man's implementation of gkautoreconf and replace calls to gtkdocize with true. Link 1: https://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commit;h=dd880a0a6de5602cdd40b770ed6b083b34aa0768 Bug: https://bugs.gentoo.org/775563 Signed-off-by: Thomas Deutschmann gentoo.org> worker_modules/gkbuild.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/worker_modules/gkbuild.sh b/worker_modules/gkbuild.sh index 7284d84..f384cee 100644 --- a/worker_modules/gkbuild.sh +++ b/worker_modules/gkbuild.sh @@ -632,6 +632,10 @@ gkautomake() { # Wrapper for autoreconf. # Will die when command will exit with nonzero exit status. gkautoreconf() { + # >autoconf-2.69 will call gtkdocize when used in macros + # when called with --install parameter. + local -x GTKDOCIZE=true + gkexec "autoreconf --force --install ${*}" }