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 BF0691396D0 for ; Sun, 24 Sep 2017 11:15:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 01F1AE0C5A; Sun, 24 Sep 2017 11:15:20 +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 D4D25E0C5A for ; Sun, 24 Sep 2017 11:15:19 +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 C850433BEAE for ; Sun, 24 Sep 2017 11:15:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 881F683F7 for ; Sun, 24 Sep 2017 11:15:16 +0000 (UTC) From: "Michael Palimaka" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Palimaka" Message-ID: <1506251708.156f05d94939bfc31b0915977aa2400b41046114.kensington@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: eclass/ X-VCS-Repository: proj/kde X-VCS-Files: eclass/cmake-utils.eclass X-VCS-Directories: eclass/ X-VCS-Committer: kensington X-VCS-Committer-Name: Michael Palimaka X-VCS-Revision: 156f05d94939bfc31b0915977aa2400b41046114 X-VCS-Branch: master Date: Sun, 24 Sep 2017 11:15:16 +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-Archives-Salt: 525bcec9-7078-460e-9206-047e584dce90 X-Archives-Hash: a42e1d4b2e9bf418b1fe31878aad7171 commit: 156f05d94939bfc31b0915977aa2400b41046114 Author: David Seifert gentoo org> AuthorDate: Sun Sep 24 09:07:35 2017 +0000 Commit: Michael Palimaka gentoo org> CommitDate: Sun Sep 24 11:15:08 2017 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=156f05d9 cmake-utils.eclass: Add QA check that cmake-utils_src_prepare was run Closes: https://github.com/gentoo/gentoo/pull/4757 eclass/cmake-utils.eclass | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass index dbb12f25f3..c6a52b8d9a 100644 --- a/eclass/cmake-utils.eclass +++ b/eclass/cmake-utils.eclass @@ -441,6 +441,8 @@ cmake-utils_src_prepare() { fi popd > /dev/null || die + + _CMAKE_UTILS_SRC_PREPARE_HAS_RUN=1 } # @VARIABLE: mycmakeargs @@ -465,6 +467,10 @@ cmake-utils_src_prepare() { cmake-utils_src_configure() { debug-print-function ${FUNCNAME} "$@" + if [[ ! ${_CMAKE_UTILS_SRC_PREPARE_HAS_RUN} ]]; then + eqawarn "cmake-utils_src_prepare has not been run, please open a bug on https://bugs.gentoo.org/" + fi + [[ ${EAPI} == 5 ]] && _cmake_cleanup_cmake _cmake_check_build_dir