From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Rxtne-0000qL-J4 for garchives@archives.gentoo.org; Thu, 16 Feb 2012 05:22:34 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 035F0E0DD7; Thu, 16 Feb 2012 05:22:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id C940EE0DD7 for ; Thu, 16 Feb 2012 05:22:26 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1D3331B4002 for ; Thu, 16 Feb 2012 05:22:26 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id C95E1E5400 for ; Thu, 16 Feb 2012 05:22:24 +0000 (UTC) From: "Kent Fredric" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Kent Fredric" Message-ID: <1329369737.d0dc16c73eb319addfa7190fa9a06fa8283a34bf.kent@gentoo> Subject: [gentoo-commits] proj/perl-overlay:eclass-moretests commit in: eclass/ X-VCS-Repository: proj/perl-overlay X-VCS-Files: eclass/perl-module.eclass X-VCS-Directories: eclass/ X-VCS-Committer: kent X-VCS-Committer-Name: Kent Fredric X-VCS-Revision: d0dc16c73eb319addfa7190fa9a06fa8283a34bf X-VCS-Branch: eclass-moretests Date: Thu, 16 Feb 2012 05:22:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: f2216cea-32c6-4b83-afd7-09bf75e87a24 X-Archives-Hash: 73c7c5ef67733f56ea9c4aaba59080da commit: d0dc16c73eb319addfa7190fa9a06fa8283a34bf Author: Kent Fredric gmail com> AuthorDate: Thu Feb 16 05:22:17 2012 +0000 Commit: Kent Fredric gmail com> CommitDate: Thu Feb 16 05:22:17 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/perl-overlay.= git;a=3Dcommit;h=3Dd0dc16c7 [perl-module.eclass] refactor error message code to show bug report reque= st after the error message by integrating it in the data passed to die() --- eclass/perl-module.eclass | 19 ++++++++++++------- 1 files changed, 12 insertions(+), 7 deletions(-) diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass index bdda699..c40cf69 100644 --- a/eclass/perl-module.eclass +++ b/eclass/perl-module.eclass @@ -133,15 +133,20 @@ perl_nonfatal() { =20 perl_fatal_error() { debug-print-function $FUNCNAME "$@" + local msg; + msg=3D" + +-- Gentoo Perl Team Specific Bug reporting request -- + +Please attach the contents of the following file with your bug report: + + $(perl_diagfile) + +" perl_diagnostics; - eerror "-- Gentoo Perl Team Specific Bug reporting request -- " - eerror "" - eerror "Please attach the contents of the following file with your bug = report:"; - eerror "" - eerror " $(perl_diagfile)" - eerror "" - die "$@" + die "$@ $msg" } + perl-module_src_unpack() { debug-print-function $FUNCNAME "$@" base_src_unpack