From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: Should configure fail if pkg-config fails? Date: Tue, 24 Jan 2012 14:49:19 -0800 Organization: UCLA Computer Science Department Message-ID: <4F1F356F.9040501@cs.ucla.edu> References: <4F1F3019.8060808@cs.ucla.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1327445377 4043 80.91.229.12 (24 Jan 2012 22:49:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 24 Jan 2012 22:49:37 +0000 (UTC) Cc: Emacs development discussions To: =?UTF-8?B?Sm9yZGkgR3V0acOpcnJleiBIZXJtb3Nv?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 24 23:49:31 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RppBD-0005eL-Bt for ged-emacs-devel@m.gmane.org; Tue, 24 Jan 2012 23:49:31 +0100 Original-Received: from localhost ([::1]:36552 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RppBD-0007nU-11 for ged-emacs-devel@m.gmane.org; Tue, 24 Jan 2012 17:49:31 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:43871) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RppB7-0007nH-R5 for emacs-devel@gnu.org; Tue, 24 Jan 2012 17:49:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RppB3-0001bT-NG for emacs-devel@gnu.org; Tue, 24 Jan 2012 17:49:25 -0500 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:34023) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RppB3-0001bM-9d for emacs-devel@gnu.org; Tue, 24 Jan 2012 17:49:21 -0500 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 1A135A60018; Tue, 24 Jan 2012 14:49:20 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xRhwU95s1jcA; Tue, 24 Jan 2012 14:49:19 -0800 (PST) Original-Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id AF052A60014; Tue, 24 Jan 2012 14:49:19 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111222 Thunderbird/9.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 131.179.128.62 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:147894 Archived-At: On 01/24/2012 02:42 PM, Jordi Guti=C3=A9rrez Hermoso wrote: > pkg-config produced an error message to stderrr and exited > with nonzero status Which invocation of pkg-config was it, exactly? What arguments were passed to pkg-config? What was the diagnostic message? and the exit status? Those of the sorts of things we'd need to look at, to avoid this problem in the future. 'configure' can't simply exit whenever pkg-config returns a nonzero exit status; sometimes pkg-config is *supposed* to return a nonzero exit status.