GNU bug report logs - #45771
28.0.50; GMP not showing in system-configuration-feature

Previous Next

Package: emacs;

Reported by: Phillip Lord <phillip.lord <at> russet.org.uk>

Date: Sun, 10 Jan 2021 18:09:01 UTC

Severity: normal

Tags: fixed

Found in version 28.0.50

Fixed in version 28.1

Done: Robert Pluim <rpluim <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 45771 in the body.
You can then email your comments to 45771 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#45771; Package emacs. (Sun, 10 Jan 2021 18:09:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Phillip Lord <phillip.lord <at> russet.org.uk>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 10 Jan 2021 18:09:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Phillip Lord <phillip.lord <at> russet.org.uk>
To: bug-gnu-emacs <at> gnu.org
Subject: 28.0.50; GMP not showing in system-configuration-feature
Date: Sun, 10 Jan 2021 18:08:43 +0000


The string "GMP" is not showing in system-configuration-feature on Emacs
master branch, even when libgmp has been configured and is reported to
be in use by configure. Confirmed on builds on both Ubuntu and
Windows. This string does appear on builds from Emacs-27

As a slightly separate issue, this appears to be the only way of showing
that libgmp is available for use.

Phil




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#45771; Package emacs. (Sun, 10 Jan 2021 18:20:02 GMT) Full text and rfc822 format available.

Message #8 received at 45771 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Phillip Lord <phillip.lord <at> russet.org.uk>
Cc: 45771 <at> debbugs.gnu.org
Subject: Re: bug#45771: 28.0.50;
 GMP not showing in system-configuration-feature
Date: Sun, 10 Jan 2021 20:19:13 +0200
> From: Phillip Lord <phillip.lord <at> russet.org.uk>
> Date: Sun, 10 Jan 2021 18:08:43 +0000
> 
> The string "GMP" is not showing in system-configuration-feature on Emacs
> master branch, even when libgmp has been configured and is reported to
> be in use by configure. Confirmed on builds on both Ubuntu and
> Windows.

I think this is because:

  for opt in XAW3D XPM JPEG TIFF GIF PNG RSVG CAIRO IMAGEMAGICK SOUND GPM DBUS \
    GCONF GSETTINGS GLIB NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT \
    LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS X_TOOLKIT OLDXMENU X11 XDBE XIM \
    NS MODULES THREADS XWIDGETS LIBSYSTEMD JSON PDUMPER UNEXEC LCMS2 GMP; do

      case $opt in
	PDUMPER) val=${with_pdumper} ;;
	UNEXEC) val=${with_unexec} ;;
	GLIB) val=${emacs_cv_links_glib} ;;
	NOTIFY|ACL) eval val=\${${opt}_SUMMARY} ;;
	TOOLKIT_SCROLL_BARS|X_TOOLKIT) eval val=\${USE_$opt} ;;
	THREADS) val=${threads_enabled} ;;
	*) eval val=\${HAVE_$opt} ;;
      esac

but we set HAVE_GMP only afterwards:

  if test -z "$GMP_H"; then
    HAVE_GMP=yes
  else
    HAVE_GMP=no
  fi

We need to move the latter before the former.

> As a slightly separate issue, this appears to be the only way of showing
> that libgmp is available for use.

Yes, because if GMP is not available, we have a replacement.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#45771; Package emacs. (Mon, 11 Jan 2021 12:29:01 GMT) Full text and rfc822 format available.

Message #11 received at 45771 <at> debbugs.gnu.org (full text, mbox):

From: Robert Pluim <rpluim <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 45771 <at> debbugs.gnu.org, Phillip Lord <phillip.lord <at> russet.org.uk>
Subject: Re: bug#45771: 28.0.50; GMP not showing in
 system-configuration-feature
Date: Mon, 11 Jan 2021 13:28:31 +0100
tags 45771 fixed
close 45771 28.1
quit

Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Phillip Lord <phillip.lord <at> russet.org.uk>
>> Date: Sun, 10 Jan 2021 18:08:43 +0000
>> 
>> The string "GMP" is not showing in system-configuration-feature on Emacs
>> master branch, even when libgmp has been configured and is reported to
>> be in use by configure. Confirmed on builds on both Ubuntu and
>> Windows.
>
> I think this is because:
>
>   for opt in XAW3D XPM JPEG TIFF GIF PNG RSVG CAIRO IMAGEMAGICK SOUND GPM DBUS \
>     GCONF GSETTINGS GLIB NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT \
>     LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS X_TOOLKIT OLDXMENU X11 XDBE XIM \
>     NS MODULES THREADS XWIDGETS LIBSYSTEMD JSON PDUMPER UNEXEC LCMS2 GMP; do
>
>       case $opt in
> 	PDUMPER) val=${with_pdumper} ;;
> 	UNEXEC) val=${with_unexec} ;;
> 	GLIB) val=${emacs_cv_links_glib} ;;
> 	NOTIFY|ACL) eval val=\${${opt}_SUMMARY} ;;
> 	TOOLKIT_SCROLL_BARS|X_TOOLKIT) eval val=\${USE_$opt} ;;
> 	THREADS) val=${threads_enabled} ;;
> 	*) eval val=\${HAVE_$opt} ;;
>       esac
>
> but we set HAVE_GMP only afterwards:
>
>   if test -z "$GMP_H"; then
>     HAVE_GMP=yes
>   else
>     HAVE_GMP=no
>   fi
>
> We need to move the latter before the former.
>

Done in 62e3750af3

Closing.

Robert




Added tag(s) fixed. Request was from Robert Pluim <rpluim <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 11 Jan 2021 12:29:01 GMT) Full text and rfc822 format available.

bug marked as fixed in version 28.1, send any further explanations to 45771 <at> debbugs.gnu.org and Phillip Lord <phillip.lord <at> russet.org.uk> Request was from Robert Pluim <rpluim <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 11 Jan 2021 12:29:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#45771; Package emacs. (Mon, 11 Jan 2021 15:32:01 GMT) Full text and rfc822 format available.

Message #18 received at 45771 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: 45771 <at> debbugs.gnu.org, phillip.lord <at> russet.org.uk
Subject: Re: bug#45771: 28.0.50; GMP not showing in
 system-configuration-feature
Date: Mon, 11 Jan 2021 17:31:07 +0200
> From: Robert Pluim <rpluim <at> gmail.com>
> Cc: Phillip Lord <phillip.lord <at> russet.org.uk>,  45771 <at> debbugs.gnu.org
> Date: Mon, 11 Jan 2021 13:28:31 +0100
> 
> >   if test -z "$GMP_H"; then
> >     HAVE_GMP=yes
> >   else
> >     HAVE_GMP=no
> >   fi
> >
> > We need to move the latter before the former.
> >
> 
> Done in 62e3750af3

Thanks!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 09 Feb 2021 12:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 75 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.