Stefan Kangas <stefankangas@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Stefan Kangas <stefankangas@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 76556) by debbugs.gnu.org; 25 Feb 2025 17:12:01 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 25 12:12:01 2025 Received: from localhost ([127.0.0.1]:48221 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tmyTQ-0004uj-NM for submit <at> debbugs.gnu.org; Tue, 25 Feb 2025 12:12:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51506) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tmyTN-0004uS-ED for 76556 <at> debbugs.gnu.org; Tue, 25 Feb 2025 12:11:57 -0500 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 <eliz@HIDDEN>) id 1tmyTH-0003P9-Vb; Tue, 25 Feb 2025 12:11:51 -0500 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=j+5eAxrff7N4b4EdLTBC5u5mpTSUTZZkmsP/1qPmMdM=; b=cEfht+uS0gDN 99VmomOW0LTJU0BRdcGdiv4KrWRzqjEiiOyDcnZE9SOMd/REtVnb/CXJG0KLmeVzxmaBp1x1aW2PZ AAplRSGxDDq9hPiSPmIxq5g35oxnM2pl1L+b5RbSdjxOWHxJSkgv+unYHDYDXf7ZghdPH6saHR8xZ bBhtnHQxFtTDmGz+WYWLumsu8GOAi/8Rgu8eHe/LVGbZ+D6oiYgSdncxRrT6knPgqLg3pH70p8JR6 thgmTMn/wqTPMaQDTGSaZ9qPs6vXMHoWuNyABt9umZkktVuQkY6J6qqKvbmJgdVWaYatv57nw4H1l Inm0aBszTZhk5C6TbphlRw==; Date: Tue, 25 Feb 2025 19:11:49 +0200 Message-Id: <86tt8ivtii.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Philipp <p.stephani2@HIDDEN> In-Reply-To: <m2h64i5a47.fsf@HIDDEN> (message from Philipp on Tue, 25 Feb 2025 16:15:20 +0100) Subject: Re: bug#76556: 30.1; configure doesn't find libgmp on macOS References: <m2h64i5a47.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 76556 Cc: 76556 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Philipp <p.stephani2@HIDDEN> > Date: Tue, 25 Feb 2025 16:15:20 +0100 > > > When running configure on macOS with libgmp installed via Homebrew: > > [...] > checking for gmp.h... no > checking for gmp/gmp.h... no > [...] > Does Emacs use the GMP library? no > [...] > > I've installed libgmp via Homebrew. I think to fix this, the configure > script should either use pkg-config: > > $ pkg-config --cflags --libs gmp > -I/opt/homebrew/Cellar/gmp/6.3.0/include -L/opt/homebrew/Cellar/gmp/6.3.0/lib -lgmp > > or add /opt/homebrew/include to the include path, and /opt/homebrew/lib > to the library path. Using pkg-config seems like the cleaner option. We could use pkg-config for that, but we must have the falback to the current code, because some versions of GMP don't install pkg-config files. E.g., on my development system I have no gmp.pc in the pkg-config directory. Patches welcome.
bug-gnu-emacs@HIDDEN
:bug#76556
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 25 Feb 2025 15:15:47 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 25 10:15:47 2025 Received: from localhost ([127.0.0.1]:47962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tmwew-0004mO-TV for submit <at> debbugs.gnu.org; Tue, 25 Feb 2025 10:15:47 -0500 Received: from lists.gnu.org ([2001:470:142::17]:44512) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <p.stephani2@HIDDEN>) id 1tmweu-0004lu-H7 for submit <at> debbugs.gnu.org; Tue, 25 Feb 2025 10:15:45 -0500 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 <p.stephani2@HIDDEN>) id 1tmwef-0004QL-00 for bug-gnu-emacs@HIDDEN; Tue, 25 Feb 2025 10:15:30 -0500 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <p.stephani2@HIDDEN>) id 1tmwed-00053U-4a for bug-gnu-emacs@HIDDEN; Tue, 25 Feb 2025 10:15:28 -0500 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-43992f474d1so6690385e9.0 for <bug-gnu-emacs@HIDDEN>; Tue, 25 Feb 2025 07:15:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740496523; x=1741101323; darn=gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=gNJDuRTY8NCcyMjY8rnzTlBya2yje2osGeloz757eK4=; b=M4rlNCLRtp7SfOVxPRDQIz6I9TQH3iI5Y7AgWrdlt+bmj4uh/IWeOmEJ7MNcZ/xFBV DTTMtpdQKJfmS0Zt64eHdAui4wqiXslSqBFRzU6YnmNwBs8P1ee9aWJYFp7sK00M3p/9 MUhp5W0A8VKd+QUp6Y687IdNup3HpfgEsQSwqpcmKjakfABsvV1qnPuUd4gqw9SzmBxy Q1/bejbKjVlu1erVaeBnqgwaxJt0Q/J3PBX8UyKj7lwRS+Ynx1tIyDBmzZ2ffORLp5js gxyWppwuixcYVVgXrk+DYtv4dUYgn5sCSkxv+vE04gKE+gUBmoxhGkFQRttkOiGEG9QE +GBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740496523; x=1741101323; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=gNJDuRTY8NCcyMjY8rnzTlBya2yje2osGeloz757eK4=; b=IRJh2iOwdpCD6mJi3NsL3yYSR/nF1QBf2tT34nIy+Uc3zGIwELW/AA9/x8ZuCnV7pu fSsHmlPpimzsj3/qfoH5owUJcYGMNHUt/LZBce9fLXsCGJc2gMa7tk7yalXElM7ziqFg ZKbPvuOtmu0g1x7wu+DCmipPcUdJeFY1k8doaanQ8LUBj8gMkNmOuX/ewJVocvOZQbSo ow8oHcQwXPHRnW2+GJPod1hcfabmBbThzg+1gCUumH/mQu6HH7sMA1WfgkrJyZAm1uk7 owtD/pz+haEUqWmnDfzmvcgkQSr0nNlHI/FT0pWZ4Hls0cR1vj9uKOaBC2ZFfnPxGc3e hgZw== X-Gm-Message-State: AOJu0Yys3/orMU9Ljl4cU9k0QbG6MTVkDBzavq0VgRlzuhIc2v5bzSyK bskncGPQpql73FCyzcNXwBaKlOIM86mry7+XtQktE0wJETW3R18NruEMow== X-Gm-Gg: ASbGnctWKjthf1Pc9pcdvL/ix//qi9Lm5eU7iIo86xwHtrTU/TjWrljJqx1XrbWJO2e bceSXh5yUT70W6bsMw0QRHKFOBmPKZLzw4FDu/bwC3VKL/q4CF1V4zR+/4mGHleVAzlsF05DgBu Fm8zsyvNmXkghtnUNvR98xaalKaduZ42o3HpLemCDDJjYiSNmQvHmohs4L5A126zDz7qDgcnFe0 kKar66WXL8UPyD8kk4SKr1j4NZjSF1zq1KgvoCat6YLg/XjoKJrXGoSZrHmiGutX1JG0zZF70gn M7CN17KX3g4NHjyxc/INSwjZk60mlrozLJt7USD2nAqxK38NgDG4jiCAMh3sFIGXLUeNQbt+z5g = X-Google-Smtp-Source: AGHT+IHUftZk+5F90XOBfOLd0S0Vj7dtzR5bu5LHj8RvHQTsjSHD3aefDkMK+kg3bXj5L7wVaDs2Tw== X-Received: by 2002:a05:600c:1d25:b0:439:930a:5899 with SMTP id 5b1f17b1804b1-439ae22991cmr65413725e9.7.1740496522889; Tue, 25 Feb 2025 07:15:22 -0800 (PST) Received: from Philipps-MacBook-Pro.fritz.box ([2001:a61:3a5d:f801:a9d8:55fa:e6d8:4777]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43ab1533104sm30284645e9.5.2025.02.25.07.15.21 for <bug-gnu-emacs@HIDDEN> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Feb 2025 07:15:21 -0800 (PST) From: Philipp <p.stephani2@HIDDEN> To: bug-gnu-emacs@HIDDEN Subject: 30.1; configure doesn't find libgmp on macOS X-Debbugs-Cc: Date: Tue, 25 Feb 2025 16:15:20 +0100 Message-ID: <m2h64i5a47.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=p.stephani2@HIDDEN; helo=mail-wm1-x331.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: When running configure on macOS with libgmp installed via Homebrew: [...] checking for gmp.h... no checking for gmp/gmp.h... no [...] Does Emacs use the GMP library? no [...] I've installed libgmp via Homebrew. I think to fix this, the configure script should either use pkg-config: Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (p.stephani2[at]gmail.com) 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (p.stephani2[at]gmail.com) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org] X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.2 (/) When running configure on macOS with libgmp installed via Homebrew: [...] checking for gmp.h... no checking for gmp/gmp.h... no [...] Does Emacs use the GMP library? no [...] I've installed libgmp via Homebrew. I think to fix this, the configure script should either use pkg-config: $ pkg-config --cflags --libs gmp -I/opt/homebrew/Cellar/gmp/6.3.0/include -L/opt/homebrew/Cellar/gmp/6.3.0/lib -lgmp or add /opt/homebrew/include to the include path, and /opt/homebrew/lib to the library path. Using pkg-config seems like the cleaner option. In GNU Emacs 30.1 (build 2, aarch64-apple-darwin24.3.0, NS appkit-2575.40 Version 15.3.1 (Build 24D70)) of 2025-02-25 Repository revision: 8ac894e2246f25d2a2a97d866b10e6e0b0fede5a Repository branch: HEAD Windowing system distributor 'Apple', version 10.3.2575 System Description: macOS 15.3.1 Configured using: 'configure --with-modules --with-xml2 --without-pop --with-mailutils 'CFLAGS=-g -O3' LDFLAGS=-O3' Configured features: ACL GNUTLS LCMS2 LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER PNG SQLITE3 THREADS TOOLKIT_SCROLL_BARS TREE_SITTER WEBP ZLIB Important settings: value of $LANG: de_DE.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t minibuffer-regexp-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug phst skeleton pcase ffap thingatpt url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util url-parse auth-source cl-seq eieio eieio-core cl-macs icons json map byte-opt gv bytecomp byte-compile url-vars rx message sendmail mailcap yank-media dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader gnutls puny elp dbus xml compile text-property-search comint subr-x ansi-osc ansi-color ring cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads kqueue cocoa ns lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 72646 16697) (symbols 48 8487 0) (strings 32 21420 2264) (string-bytes 1 567060) (vectors 16 15172) (vector-slots 8 153568 7669) (floats 8 31 5) (intervals 56 241 0) (buffers 992 10))
Philipp <p.stephani2@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#76556
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.