From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10755 invoked from network); 12 Nov 2004 16:38:59 +0000 Received: from smtp.gentoo.org (156.56.111.197) by lists.gentoo.org with AES256-SHA encrypted SMTP; 12 Nov 2004 16:38:59 +0000 Received: from lists.gentoo.org ([156.56.111.196] helo=parrot.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.41) id 1CSeRv-0006Jy-I9 for arch-gentoo-dev@lists.gentoo.org; Fri, 12 Nov 2004 16:38:59 +0000 Received: (qmail 2872 invoked by uid 89); 12 Nov 2004 16:38:59 +0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 9929 invoked from network); 12 Nov 2004 16:38:58 +0000 Message-ID: <4194E712.7090306@gentoo.org> Date: Fri, 12 Nov 2004 08:38:42 -0800 From: Tuan Van User-Agent: Mozilla Thunderbird 0.9 (X11/20041109) X-Accept-Language: en-us, en MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org References: <20041111234522.40d8f48d@snowdrop.home> <419451F6.1010202@gentoo.org> <20041112070757.GA21178@tiger.gg3.net> In-Reply-To: <20041112070757.GA21178@tiger.gg3.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [gentoo-dev] einfo / ewarn banners and die messages X-Archives-Salt: f752dc56-04b7-410b-93ff-67120671d2d6 X-Archives-Hash: f01e9c6b170dfce667fe8dd3a5a4faf8 Georgi Georgiev wrote: >maillog: 11/11/2004-22:02:30(-0800): Tuan Van types > > >>And there are ebuilds that do*, in*, new* without die. The ebuild will >>emerged successfully with the missing file(s). >>Oh, who is glark? >> >> > >Shouldn't do*, in*, new* die on a failure? > > > I guess you didn't watch close enough while emerging ;) There are several times, I saw something such "can not stat foo: no such file or directory". Sure, with dodoc or dohtml, missing a COPYING, README don't do any harm but missing a startup script, a configure file when you do something as: insinto /etc/foo newins ${FILESDIR}/bar.conf bar when bar.conf doesn't exist (say you forgot to commit it). The ebuild will merged without a configure file without anyone notice right away. Now, go emerge samba-3.0.8 to see for yourself (just something I saw recently that I can remember). It will finishes even though there isn't a libnss_wins.so in source when you build it without winbind USE flag. doexe ${S}/source/nsswitch/libnss_wins.so If we have "doexe ${S}/source/nsswitch/libnss_wins.so || die "doexe libnss_wins.so failed", we could have caught that very early. -- gentoo-dev@gentoo.org mailing list