GNU bug report logs - #72929
[Norbert Koch] Error building emacs after 73277a4097b

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefankangas <at> gmail.com>

Date: Sun, 1 Sep 2024 14:47:02 UTC

Severity: normal

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#72929: closed ([Norbert Koch] Error building emacs after
 73277a4097b)
Date: Sun, 01 Sep 2024 17:27:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 1 Sep 2024 10:24:43 -0700
with message-id <CADwFkmku2PbEP717z=j=KBKrfyw8JJcyaZ3MjhEsoupRe+U2-w <at> mail.gmail.com>
and subject line Re: bug#72929: [Norbert Koch] Error building emacs after 73277a4097b
has caused the debbugs.gnu.org bug report #72929,
regarding [Norbert Koch] Error building emacs after 73277a4097b
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
72929: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=72929
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Stefan Kangas <stefankangas <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [Norbert Koch] Error building emacs after 73277a4097b
Date: Sun, 1 Sep 2024 07:45:35 -0700
Hi Norbert,

Thanks for reporting this.

Forwarding the below to the bug tracker in case anyone sees a quick fix.
I'll be AFK in the next couple of hours or so.

FWIW, I can't reproduce the below on macOS 15 or Ubuntu 22.04 LTS.

Did you try `make bootstrap`?  Could you include your build details as
per `M-x report-emacs-bug`?

-------------------- Start of forwarded message --------------------
From: Norbert Koch
To: Stefan Kangas
Subject: Error building emacs after 73277a4097b
Date: Sun, 01 Sep 2024 16:14:22 +0200

Hello Stefan,

sorry to disturb you, but I get an error when building emacs on my
Debian sid:

--8<---------------cut here---------------start------------->8---
image.c: In function ‘xpm_str_to_int’:
image.c:6254:17: error: implicit declaration of function ‘strtol’; did
you mean ‘strtok’? [-Wimplicit-function-declaration]
 6254 |   long result = strtol (*buf, &p, 10);
      |                 ^~~~~~
      |                 strtok
image.c:6254:17: warning: nested extern declaration of ‘strtol’
[-Wnested-externs]
In file included from ../lib/stdlib.h:49,
                 from /usr/include/glib-2.0/glib/gutils.h:426,
                 from /usr/include/glib-2.0/glib/gthread.h:36,
                 from /usr/include/glib-2.0/glib/gasyncqueue.h:34,
                 from /usr/include/glib-2.0/glib.h:34,
                 from /usr/include/glib-2.0/gobject/gbinding.h:30,
                 from /usr/include/glib-2.0/glib-object.h:24,
                 from /usr/include/librsvg-2.0/librsvg/rsvg.h:30,
                 from image.c:11649:
/usr/include/stdlib.h: At top level:
/usr/include/stdlib.h:177:17: error: conflicting types for ‘strtol’;
have ‘long int(const char * restrict,  char ** restrict,  int)’
  177 | extern long int strtol (const char *__restrict __nptr,
      |                 ^~~~~~
image.c:6254:17: note: previous implicit declaration of ‘strtol’ with
type ‘int()’
 6254 |   long result = strtol (*buf, &p, 10);
      |                 ^~~~~~
--8<---------------cut here---------------end--------------->8---


Regards,
Norbert
-- 
-------------------- End of forwarded message --------------------


[Message part 3 (message/rfc822, inline)]
From: Stefan Kangas <stefankangas <at> gmail.com>
To: Norbert Koch <viteno <at> netic.de>, Pip Cet <pipcet <at> protonmail.com>
Cc: 72929-done <at> debbugs.gnu.org
Subject: Re: bug#72929: [Norbert Koch] Error building emacs after 73277a4097b
Date: Sun, 1 Sep 2024 10:24:43 -0700
Norbert Koch <viteno <at> netic.de> writes:

> Thanks, this does the trick for me as well.

Thanks, closing.


This bug report was last modified 262 days ago.

Previous Next


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