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 87D6E139083 for ; Sat, 8 Jul 2017 11:59:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DBB34E0BB3; Sat, 8 Jul 2017 11:59:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BAD16E0BB3 for ; Sat, 8 Jul 2017 11:59:58 +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 F23113419EE for ; Sat, 8 Jul 2017 11:59:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6EB7E2FA for ; Sat, 8 Jul 2017 11:59:56 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1499515192.0dc53bf2e8d10a09a892b5427009412ced1d65b0.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/ghc/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/ghc/ghc-8.0.2.ebuild X-VCS-Directories: dev-lang/ghc/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 0dc53bf2e8d10a09a892b5427009412ced1d65b0 X-VCS-Branch: master Date: Sat, 8 Jul 2017 11:59:56 +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: 6e29beda-e965-46ff-852a-dcf2b8af64cc X-Archives-Hash: db126f6c81e2a512d82babf263077161 commit: 0dc53bf2e8d10a09a892b5427009412ced1d65b0 Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Jul 8 11:59:44 2017 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Jul 8 11:59:52 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dc53bf2 dev-lang/ghc: add check for disk space requirement, bug #611866 Reported-by: Mike Limansky Bug: https://bugs.gentoo.org/611866 Package-Manager: Portage-2.3.6, Repoman-2.3.2 dev-lang/ghc/ghc-8.0.2.ebuild | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/dev-lang/ghc/ghc-8.0.2.ebuild b/dev-lang/ghc/ghc-8.0.2.ebuild index 61c62ccf6fa..4ba077cf90b 100644 --- a/dev-lang/ghc/ghc-8.0.2.ebuild +++ b/dev-lang/ghc/ghc-8.0.2.ebuild @@ -16,7 +16,7 @@ fi inherit autotools bash-completion-r1 eutils flag-o-matic ghc-package inherit multilib pax-utils toolchain-funcs versionator prefix - +inherit check-reqs DESCRIPTION="The Glasgow Haskell Compiler" HOMEPAGE="http://www.haskell.org/ghc/" @@ -327,7 +327,21 @@ relocate_ghc() { rm "$gp_back" } +pkg_pretend() { + # These are pessimistic values (slightly bigger than worst-case) + # Worst case is UNREG USE=profile ia64. See bug #611866 for some + # numbers on various arches. + CHECKREQS_DISK_BUILD=8G + CHECKREQS_DISK_USR=2G + # USE=binary roughly takes + use binary && CHECKREQS_DISK_BUILD=4G + + check-reqs_pkg_pretend +} + pkg_setup() { + check-reqs_pkg_setup + # quiet portage about prebuilt binaries use binary && QA_PREBUILT="*"