From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1EqfNu-0007mO-4W for garchives@archives.gentoo.org; Sun, 25 Dec 2005 23:34:38 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jBPNXvWJ015258; Sun, 25 Dec 2005 23:33:57 GMT Received: from gw02.mail.saunalahti.fi (gw02.mail.saunalahti.fi [195.197.172.116]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jBPNWAqE016269 for ; Sun, 25 Dec 2005 23:32:10 GMT Received: from [192.168.150.87] (YYYMMMCCII.dsl.saunalahti.fi [85.76.10.103]) by gw02.mail.saunalahti.fi (Postfix) with ESMTP id 089F2DFC64; Mon, 26 Dec 2005 01:32:07 +0200 (EET) Message-ID: <43AF2BF5.4060905@gentoo.org> Date: Mon, 26 Dec 2005 01:32:05 +0200 From: =?UTF-8?Q?Petteri_R=C3=A4ty?= User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051206) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org CC: gentoo-portage@dev.gentoo.org Subject: [gentoo-dev] making dodoc and dohtml die when they fail and stricter is on X-Enigmail-Version: 0.92.0.0 OpenPGP: url=http://users.tkk.fi/~praty/public.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig27A76780AC4F6DE5C267F43E" X-Archives-Salt: 7a8b7a45-6ba3-42ef-827a-8d2576165862 X-Archives-Hash: ad3e61804d0d3a494d8bf5cd57043225 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig27A76780AC4F6DE5C267F43E Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: quoted-printable Moving this to gentoo-dev then. -------- Original Message -------- Subject: Re: [gentoo-portage-dev] making dodoc and dohtml die when they fail and stricter is on Date: Sun, 25 Dec 2005 15:14:46 -0800 From: Brian Harring Reply-To: gentoo-portage-dev@lists.gentoo.org To: gentoo-portage-dev@lists.gentoo.org References: <43AF230C.5080904@gentoo.org> On Mon, Dec 26, 2005 at 12:54:04AM +0200, Petteri R=C3=A4ty wrote: > Currently there are quite a few ebuilds in the tree that execute dodoc > or dohtml for files that do not exist. I think it would be nice to have= > ebuilds die if this is the case. To not break current ebuilds this woul= d > only happen with FEATURES=3D"stricter". This is what I currently do in = my > bashrc. Obviously when integreted to portage one can use helper > functions like hasq which are not available in bashrc. >=20 >=20 > if [[ "${FEATURES/stricter}" !=3D "${FEATURES}" ]]; then >=20 > _makefail() { > bin=3D"/usr/lib/portage/bin/${1}" > shift 1 > "${bin}" "${@}" || die "${bin} ${@} failed" > } >=20 > dodoc() { _makefail ${FUNCNAME} "${@}"; } > dohtml() { _makefail ${FUNCNAME} "${@}"; } Seems like more of a -dev discussion imo, since they're the ones affected by it (for us it's just an api change). ~harring --------------enig27A76780AC4F6DE5C267F43E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDryv3cxLzpIGCsLQRAjnXAJ0UNvHVwtNiorDotbMBKrtPAqucJACfcIVN dCuIlaDLWve4PD6UirxF0Ro= =87aJ -----END PGP SIGNATURE----- --------------enig27A76780AC4F6DE5C267F43E-- -- gentoo-dev@gentoo.org mailing list