From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#73255: 30.0.91; on NetBSD-10 configure script run halts Date: Sun, 15 Sep 2024 10:14:10 +0300 Message-ID: <86ed5le6d9.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5466"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 73255@debbugs.gnu.org To: Van Ly Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 15 09:15:10 2024 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 1spjTP-0001Bh-Qw for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 15 Sep 2024 09:15:08 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1spjTB-0005Jn-Ah; Sun, 15 Sep 2024 03:14:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1spjT9-0005JR-MC for bug-gnu-emacs@gnu.org; Sun, 15 Sep 2024 03:14:51 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1spjT9-0003BO-E1 for bug-gnu-emacs@gnu.org; Sun, 15 Sep 2024 03:14:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=wliT41olTCGWgWrxDTpnpQUw2zuU4jApNU+dMavnaoQ=; b=DlmmMFBtnkzF4xom66pPYpMtJXJx6t13kpulYggJ2cEfJxFrWzUE68RXO546TGXB2bE9ci46RR21ZaVdtW+LpVQHKaN8X4+W1apO/rOC0Kt9GDTvwFIQ+otzrFHOO0H/h9wSt8n/yTsKkmnbNLDNhhQbM+PirSeKwIhgMH32k2PaTXdoYaUxb/Z9FgacZsR90o0HdhuI5hhClRUA+mVp/zRkppqx1vrdG48E8y9SkqbxC1jkaBTpFSfb9H7nGCO9QI+bAmSWkmHPh4RoJd7ryFEcf9K36dYtxZcvq9N/va75y7kQGIFvRnwJiJUsTS1G7LlEo9MqRySfF+hbaW1f2g==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1spjTJ-0008WO-VV for bug-gnu-emacs@gnu.org; Sun, 15 Sep 2024 03:15:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Sep 2024 07:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73255 X-GNU-PR-Package: emacs Original-Received: via spool by 73255-submit@debbugs.gnu.org id=B73255.172638447132678 (code B ref 73255); Sun, 15 Sep 2024 07:15:01 +0000 Original-Received: (at 73255) by debbugs.gnu.org; 15 Sep 2024 07:14:31 +0000 Original-Received: from localhost ([127.0.0.1]:48212 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1spjSp-0008V0-9B for submit@debbugs.gnu.org; Sun, 15 Sep 2024 03:14:31 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:54708) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1spjSn-0008Ug-Jq for 73255@debbugs.gnu.org; Sun, 15 Sep 2024 03:14:30 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1spjSW-00038Z-CC; Sun, 15 Sep 2024 03:14:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=wliT41olTCGWgWrxDTpnpQUw2zuU4jApNU+dMavnaoQ=; b=rpt9Wdwvz0Le qg25pDcQ4cGKVELz/CMPEPTT+4X9aM8W+wHs0kr8b4UO/LtBB84U8AuaU1sizhbgyLuiCYBtFh9eD ZZlIHhKb6KUO8pAA5MLRbbmugsi61MTiJfRBrouRNd2METaXYkur2conV7G7ieM89chjmr5xBLDjn +cjvP76r1d+IZYtdrPab/iBp7zTzoVzNzzisbEN6upaOugfsqqbv/udJn1ObW0LHrvD4fO7bD57Ao 50+tRV786OdKhgddrXKMKhicKPd/QZE13HHdvPUiySC9zodSDe7gDbRO7Sz7c1j9YzZ8Ss9Hq5Nhd DZWGJ8jMKeEdXiJbVMXXzQ==; In-Reply-To: (message from Van Ly on Sun, 15 Sep 2024 06:31:04 +0000) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:291825 Archived-At: > From: Van Ly > Cc: 73255@debbugs.gnu.org > Date: Sun, 15 Sep 2024 06:31:04 +0000 > > Eli Zaretskii writes: > > >> configure: error: The following required libraries were not found: > >> gnutls > > > > That's the reason, right there: the configure script decided it > > couldn't find GnuTLS installed whose version is at least 2.12.2: > > > >> 167 checking for gnutls >= 2.12.2... no > > > > AFAICT, Emacs 29.4 was making the same test, so there's some other > > factor here at work. Did something change wrt GnuTLS between the time > > you built Emacs 29.4 and the time you tried to build 30.0.91? Are you > > sure you have the header files needed for developing programs with > > GnuTLS? > > > > The pkgsrc manager refreshed the quarterly release so that may explain. Probably. But I'd need to see the contents of your gnutls.pc file to know for sure. > As attached, the pkg-content listing shows header files. > > > In any case, please post config.log which was created by running the > > configure script, it should tell the details regarding the failed > > test. > > > > See attached config.log for 29.4 and 30.0.91. The earlier version > config.log locates the cairo package related paths and I was able to > make that work on 30.0.91 Here's the difference: Emacs 29.4: > configure:15995: checking for gnutls >= 2.12.2 > configure:16002: $PKG_CONFIG --exists --print-errors "gnutls >= 2.12.2" > configure:16005: $? = 0 > configure:16019: $PKG_CONFIG --exists --print-errors "gnutls >= 2.12.2" > configure:16022: $? = 0 > configure:16060: result: yes ^^^^^^^^^^^ It succeds. By contrast, Emacs 30: > configure:20577: checking for gnutls >= 2.12.2 > configure:20584: $PKG_CONFIG --exists --print-errors "gnutls >= 2.12.2" > Package gnutls was not found in the pkg-config search path. > Perhaps you should add the directory containing `gnutls.pc' > to the PKG_CONFIG_PATH environment variable > Package 'gnutls' not found > configure:20587: $? = 1 > configure:20601: $PKG_CONFIG --exists --print-errors "gnutls >= 2.12.2" > Package gnutls was not found in the pkg-config search path. > Perhaps you should add the directory containing `gnutls.pc' > to the PKG_CONFIG_PATH environment variable > Package 'gnutls' not found ^^^^^^^^^^^^^^^^^^^^^^^^^^ It fails. The pkg-content listing shows the gnutls.pc file: 59 /usr/pkg/lib/pkgconfig/gnutls.pc But it looks like this file is not in the directory where pkg-config looks. So, as the configure script says, "Perhaps you should add the directory containing `gnutls.pc' to the PKG_CONFIG_PATH environment variable". Or maybe the file is there, but its contents is wrong or corrupted or something. Or maybe you installed a new version of pkg-config, and that looks in different places. In any case, you should make sure that the command $ pkg-config --exists --print-errors "gnutls >= 2.12.2" exits with zero status and no error messages. Bottom line: this seems to be a problem with your system configuration.