From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#47159: 28.0.50; gnutls not recognized in build process without pkg-config Date: Thu, 18 Mar 2021 06:52:16 +0100 Message-ID: <87sg4trotr.fsf@gnus.org> References: <8635wwfuit.fsf@protected.rcdrun.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33606"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 47159@debbugs.gnu.org To: Jean Louis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 18 06:53:30 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lMlb8-0008ZK-6f for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 18 Mar 2021 06:53:30 +0100 Original-Received: from localhost ([::1]:39362 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMlb6-0003vX-Mo for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 18 Mar 2021 01:53:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54150) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMlag-0003vG-Ks for bug-gnu-emacs@gnu.org; Thu, 18 Mar 2021 01:53:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33108) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lMlag-0002Iw-7p for bug-gnu-emacs@gnu.org; Thu, 18 Mar 2021 01:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lMlag-0002Xa-66 for bug-gnu-emacs@gnu.org; Thu, 18 Mar 2021 01:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Mar 2021 05:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47159 X-GNU-PR-Package: emacs Original-Received: via spool by 47159-submit@debbugs.gnu.org id=B47159.16160467539725 (code B ref 47159); Thu, 18 Mar 2021 05:53:02 +0000 Original-Received: (at 47159) by debbugs.gnu.org; 18 Mar 2021 05:52:33 +0000 Original-Received: from localhost ([127.0.0.1]:44654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMlaD-0002Wn-Ff for submit@debbugs.gnu.org; Thu, 18 Mar 2021 01:52:33 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:39108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMla8-0002WU-Hl for 47159@debbugs.gnu.org; Thu, 18 Mar 2021 01:52:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=aXIXVu1le0lLW2wvRdJdUwUY+Z38GXdKlvV9AJH06j0=; b=X2bvjw8e9X2LQamtCm1KwiadPa L/pQ7rRa5aDsg2vOmkwh6r3O861U4HxlLRbwaVQGZiB+o8psPWtpraND6r0Z6twtOA+vGc7hol03x dzaQjzGphey9x5jJ4TGLofWMFOk6Hpj+HN7A14acy17GSg4/kg0DxbTg3DueofYLp6v0=; Original-Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lMlZx-0000FQ-IE; Thu, 18 Mar 2021 06:52:22 +0100 X-Now-Playing: XIAO QUAN's _Natural Sciences: Age in Decline_: "Bazoyenza" In-Reply-To: <8635wwfuit.fsf@protected.rcdrun.com> (Jean Louis's message of "Mon, 15 Mar 2021 15:53:14 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:202560 Archived-At: Jean Louis writes: > Emacs' configure was complaining that gnutls cannot be found. But it was > there. > > By chance I was thinkin that build process maybe uses pkg-config, so I > have installed pkg-config as package. The build process then continued > and could find gnutls. I can reproduce this on Debian/bullseye, too. I removed pkg-config and ran ./configure. It says: configure: error: The following required libraries were not found: libtiff gnutls Maybe some development libraries/packages are missing? To build anyway, give: --with-tiff=ifavailable --with-gnutls=ifavailable as options to configure. "sudo apt install pkg-config" and then ./configure --with-tiff=ifavailable allowed me to build Emacs. I can't see any explicit checks for pkg-config in configure.ac. I'm wondering whether this is a packaging error. Most of the other devel packages depend on pkg-config, so it'll be pulled in automatically (which is probably why this hasn't been an issue before). But gnutls-dev does not depend on pkg-config. So I guess we should just add a check for pkg-config in the gnutls check? Any opinions? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no