From unknown Sat Aug 16 15:57:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#72929: [Norbert Koch] Error building emacs after 73277a4097b Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: viteno@netic.de, bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 Sep 2024 14:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72929 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 72929@debbugs.gnu.org Cc: Norbert Koch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: Norbert Koch Received: via spool by submit@debbugs.gnu.org id=B.17252020048142 (code B ref -1); Sun, 01 Sep 2024 14:47:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Sep 2024 14:46:44 +0000 Received: from localhost ([127.0.0.1]:36091 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sklqm-00027G-4E for submit@debbugs.gnu.org; Sun, 01 Sep 2024 10:46:44 -0400 Received: from lists.gnu.org ([209.51.188.17]:41752) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sklqj-000277-K1 for submit@debbugs.gnu.org; Sun, 01 Sep 2024 10:46:42 -0400 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 1sklpl-0005OF-Ox for bug-gnu-emacs@gnu.org; Sun, 01 Sep 2024 10:45:41 -0400 Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sklpk-0006oq-4m for bug-gnu-emacs@gnu.org; Sun, 01 Sep 2024 10:45:41 -0400 Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-2ef27bfd15bso34615961fa.2 for ; Sun, 01 Sep 2024 07:45:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725201936; x=1725806736; darn=gnu.org; h=content-transfer-encoding:to:subject:message-id:date:mime-version :references:from:from:to:cc:subject:date:message-id:reply-to; bh=l/hNF2k3IRnThpMECiL0Iz9EfLuou8cVzl91+9eJ3hU=; b=aLP3Dgn7A2RB46sgWc2n7Sj5hdcUkqt86VBvF3v0tCCp13Hzb7/kR2jRn2FTtel9HV /U4EJcfz6gE3PvjrazNc3xEddR5Ig2/1WOEgiULhIouqFGaGaFAH2/iA5Dr9cuYm2cjd fmgMuTphM2KuyaGdAG7Whv/K/SVRg38DXLCagPJ3BKqjvzugypl33qhoAH0ABzYfTYBF MTOE8NVoFEfFuw+GIdK7BS853zH/LBKW0HXB31LeVtsTv3jW/HcI8+nnYSnNLSH7zmvx b8nJRRfy0jqqdcOnTfjStoZoiU9puTi+tVZVhoUdJe+XNhRNDCH2OJskUQHVKM7qXWU+ 2zeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725201936; x=1725806736; h=content-transfer-encoding:to:subject:message-id:date:mime-version :references:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=l/hNF2k3IRnThpMECiL0Iz9EfLuou8cVzl91+9eJ3hU=; b=CJylH1i3JpZYQpgL9d6LyCyUNMmSJ1r/fXHAjK42B2v9b91xj28+dlwGHBOAZvvVqg ztyUC4vMsUz8VkbMaubQKLw6hTMqb4ixDj8CkmN8m1BOk+2+ZbVDz9iy5RrMjQOyTEre n2sU6PUfJULSo+JCrdUgNFEk8+SHwJdy79TT297RTVATgAKQJNTuOQJA/AZnqXf7ve88 AFU6Mu2hJQwLP4tD8dpYTCSzm/ifMbAvZ3DdZ25tQjmFfRzOJs7uNDm2QRfBEETWQTui LjI4geJgh1NeoUR6SWqTCWxJLY65sj44Brkv5xwpm0Crgw0E9weshBdNe1ZkF2yTmPt9 CirA== X-Gm-Message-State: AOJu0YyulLjzFjRasCmgJtXAl0BBbiLlgBPdbWx2Cm4chXQLJw8Pmrdi Zc8+HKRewjgzTEf8YH/qSQbma6JkH/8TAIiGwi8MgxwROEYN97Gq6zFEDY1jc6eN6AvvvRKNkhZ ohVYcE23olFClskytM883+du8vuTQNXt6 X-Google-Smtp-Source: AGHT+IF/H+I/jXuzHvbxN5EGpSyR9APSgpXwbgjPpQbkK/P5tnw8PKOiAWtjOrtSgFKDz7sQFWdGi7Ag3ptKCIsSa2s= X-Received: by 2002:a2e:d02:0:b0:2f4:4d58:9edf with SMTP id 38308e7fff4ca-2f6106d4e40mr67155081fa.20.1725201936252; Sun, 01 Sep 2024 07:45:36 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 1 Sep 2024 07:45:35 -0700 From: Stefan Kangas References: <877cbvmpfl.fsf@netic.de> MIME-Version: 1.0 Date: Sun, 1 Sep 2024 07:45:35 -0700 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::236; envelope-from=stefankangas@gmail.com; helo=mail-lj1-x236.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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 =E2=80=98xpm_str_to_int=E2=80=99: image.c:6254:17: error: implicit declaration of function =E2=80=98strtol=E2= =80=99; did you mean =E2=80=98strtok=E2=80=99? [-Wimplicit-function-declaration] 6254 | long result =3D strtol (*buf, &p, 10); | ^~~~~~ | strtok image.c:6254:17: warning: nested extern declaration of =E2=80=98strtol=E2= =80=99 [-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 =E2=80=98strtol= =E2=80=99; have =E2=80=98long int(const char * restrict, char ** restrict, int)=E2= =80=99 177 | extern long int strtol (const char *__restrict __nptr, | ^~~~~~ image.c:6254:17: note: previous implicit declaration of =E2=80=98strtol=E2= =80=99 with type =E2=80=98int()=E2=80=99 6254 | long result =3D strtol (*buf, &p, 10); | ^~~~~~ --8<---------------cut here---------------end--------------->8--- Regards, Norbert --=20 -------------------- End of forwarded message -------------------- From unknown Sat Aug 16 15:57:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#72929: [Norbert Koch] Error building emacs after 73277a4097b Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 Sep 2024 15:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72929 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas Cc: 72929@debbugs.gnu.org, viteno@netic.de Received: via spool by 72929-submit@debbugs.gnu.org id=B72929.172520507214919 (code B ref 72929); Sun, 01 Sep 2024 15:38:01 +0000 Received: (at 72929) by debbugs.gnu.org; 1 Sep 2024 15:37:52 +0000 Received: from localhost ([127.0.0.1]:37117 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1skmeF-0003sZ-Q8 for submit@debbugs.gnu.org; Sun, 01 Sep 2024 11:37:52 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48062) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1skmeE-0003sI-6P for 72929@debbugs.gnu.org; Sun, 01 Sep 2024 11:37:50 -0400 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 1skmdA-0006Yl-4J; Sun, 01 Sep 2024 11:36:44 -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=SA5dZfgmCcPpddQFPCMtcGEH2Pr/9n0jog/p6voJr8Q=; b=UP1Qkyzvlo9M jo6onwquBwzlrM301sd3lrHf8dzsurgz60J/EmYrbh4fxo33YPmwZYB0liRuyG2BCwCkVnVH4hK1C 9dVraxB0q5FlBSsfmvNEDl7bjKlZ6nLb8yxz2+jDNGBPGCRHnoobdalGwWMRivy7Vz55xU5krwtUT HJ3yADGwQyjeVfktpY+vBcyaJd3hNYLyUB1Po0bYqa/AVhNXTRCVzYotT3z6IVm+MRd2AmrtbIFyT Fq8KF6eIAMU1r6DCnD+/W1rooQs1/6vXX7ig8JAn46nnUaboH7KbDEMAgxChLL4Qzj1iB36a1kY1E tw7WmfjKZdEHopFA/+IjPQ==; Date: Sun, 01 Sep 2024 18:36:41 +0300 Message-Id: <86h6az9yie.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Stefan Kangas on Sun, 1 Sep 2024 07:45:35 -0700) References: <877cbvmpfl.fsf@netic.de> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: Norbert Koch > From: Stefan Kangas > Date: Sun, 1 Sep 2024 07:45:35 -0700 > > Thanks for reporting this. > > Forwarding the below to the bug tracker in case anyone sees a quick fix. I think image.c needs to include to avoid this. From unknown Sat Aug 16 15:57:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#72929: [Norbert Koch] Error building emacs after 73277a4097b Resent-From: Pip Cet Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 Sep 2024 15:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72929 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas Cc: 72929@debbugs.gnu.org, Norbert Koch Received: via spool by 72929-submit@debbugs.gnu.org id=B72929.172520524715309 (code B ref 72929); Sun, 01 Sep 2024 15:41:01 +0000 Received: (at 72929) by debbugs.gnu.org; 1 Sep 2024 15:40:47 +0000 Received: from localhost ([127.0.0.1]:37143 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1skmh5-0003yr-Ch for submit@debbugs.gnu.org; Sun, 01 Sep 2024 11:40:47 -0400 Received: from mail-4316.protonmail.ch ([185.70.43.16]:52391) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1skmh3-0003yV-5X for 72929@debbugs.gnu.org; Sun, 01 Sep 2024 11:40:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1725205179; x=1725464379; bh=hxsiffbubVR2Bsa0E6n5OFkb0yYbSloaZaW7uIKVshY=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=N3JyDPXfRDpLlQfoDJXNrxkrhXkmOT1pGxpNY5WquBlWh81pg1vzTLqmcV4qMFd8M WalEpgKrzVb951L5T1cQH2FziN0IQbd7JF6Vg6mAnDVNEX0/xdGzWzZhWwO3UderQL xy6hdzbGirSiU5hd7yQmDaA104Mlx6ywCfNdKYYc2JHrYM5v64ay1Dag0jE8kZqMD0 sl6/6w1eAY5kka//URauc+uK6BA9J+qI4QJkBaCf02++NpDzSGTLIo1s2Tu5kZe0Cl ioscqcLZYFEuFI3sq3O4AM9I6Opal6UGcizNpduaE0zZ+SPThQyKw9eqYjuaEmPbDK feHaSnj69Pi5Q== Date: Sun, 01 Sep 2024 15:39:36 +0000 From: Pip Cet Message-ID: <87cyln4c3u.fsf@protonmail.com> In-Reply-To: References: <877cbvmpfl.fsf@netic.de> Feedback-ID: 112775352:user:proton X-Pm-Message-ID: 76a72dd066fe5b1591e6a574797d08686c1ae1f9 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) "Stefan Kangas" writes: > 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. I can reproduce this with --with-x-toolkit=3Dno. An explicit #include seems to be all that's required, so I've boldly pushed it. Pip From unknown Sat Aug 16 15:57:43 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Stefan Kangas Subject: bug#72929: closed (Re: bug#72929: [Norbert Koch] Error building emacs after 73277a4097b) Message-ID: References: X-Gnu-PR-Message: they-closed 72929 X-Gnu-PR-Package: emacs Reply-To: 72929@debbugs.gnu.org Date: Sun, 01 Sep 2024 17:27:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1725211622-28862-1" This is a multi-part message in MIME format... ------------=_1725211622-28862-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #72929: [Norbert Koch] Error building emacs after 73277a4097b which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 72929@debbugs.gnu.org. --=20 72929: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D72929 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1725211622-28862-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 72929-done) by debbugs.gnu.org; 1 Sep 2024 17:26:52 +0000 Received: from localhost ([127.0.0.1]:38132 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1skoLj-0007V5-RB for submit@debbugs.gnu.org; Sun, 01 Sep 2024 13:26:52 -0400 Received: from mail-wr1-f41.google.com ([209.85.221.41]:55551) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1skoLi-0007Us-5z for 72929-done@debbugs.gnu.org; Sun, 01 Sep 2024 13:26:50 -0400 Received: by mail-wr1-f41.google.com with SMTP id ffacd0b85a97d-374ca65cafdso114281f8f.2 for <72929-done@debbugs.gnu.org>; Sun, 01 Sep 2024 10:25:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725211485; x=1725816285; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=4qe8heW+FvslU5EYNGBbb+z4dhMHjvNWywYUnPoXdHo=; b=SFTtNH53fNUQr1dkerHjyOrXASMptzqU208GMF+X4fpfGJSFNChh/EDLbkE7kEmUmZ 3tsGCJKKp7kyZ3k5DP2iCIzIiwTBOozw8AyFHrXjnMm8G5xM9Wz/cJhlnPVzix7+0hh6 MAtQ91tKu3EV01DA/N4km5x6GGkixbXR9DsgMEOk+Zi0dGWsI7IzluqFNKMr4oz+UeOg kc+wsiGX/Nwx7wMFiLPiU/FFMY/MoTv4nHGHXZmNYpNl4r2HdtWUckTntoIQzekmK4u4 dVUz9tjDue8tWx7M9H0wXxOHtq1KG+SMcLKpid9zXzyPlLLRe4GSXP90k0coyOobB1vS FFWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725211485; x=1725816285; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=4qe8heW+FvslU5EYNGBbb+z4dhMHjvNWywYUnPoXdHo=; b=Nk+OHjFTw72N6QzCwdxRBDRKFZHz2j5Kmj4oOK3mSx+3v++ryDeuZSQanPy+4JMrNZ zygKrYn37FtiDnYMMktWts5LDohxYM6a7dcPSEZYPFd4FJc2aJskQXDJlTfxC4QEMmvw 6Hvv9d0tWN5ckAwgmlSKQgbUr8c4B+TqQLFljJWSrBp53sF5wmicKYo/z/5mwOsVJ7hx 5x8xl+7DfXCXYeJWfamxsicfK4HYs1Ovx2YAOLc7LcICpK0SibQQCYHymif3iHRvPn3B nGDo8y0LbiJafpP50RRJKgKCFTXVTlevmrMa829xf/y5CVSEXSque3CbMFF76Ay6ATZ1 8kQg== X-Gm-Message-State: AOJu0YzpsQWQnIfSzc0dTOHQ2RGFWbUsU9Tmge3k0d8+nmqZ5wY7yBqN TNyu807aw3pWWfbDGQGJH+aqFhCynThhJxQtXgutTMUolZ7sAEpThPwQ7ZGGaDWPhNFHBlcij+d 6c5N8qA+x6T6n+2iDE89BU/gcRYI= X-Google-Smtp-Source: AGHT+IFJQFCUKm05FeAePKna7b24dfsnVmzwBbANWd4ML/4z4aB1OXiq67+lr8DPSAh94V2XxMqRXFzl5hPnik5AzCQ= X-Received: by 2002:adf:e243:0:b0:374:c457:e427 with SMTP id ffacd0b85a97d-374c457e561mr1635215f8f.5.1725211484330; Sun, 01 Sep 2024 10:24:44 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 1 Sep 2024 10:24:43 -0700 From: Stefan Kangas In-Reply-To: <87v7zfl6kd.fsf@netic.de> References: <877cbvmpfl.fsf@netic.de> <87cyln4c3u.fsf@protonmail.com> <87v7zfl6kd.fsf@netic.de> MIME-Version: 1.0 Date: Sun, 1 Sep 2024 10:24:43 -0700 Message-ID: Subject: Re: bug#72929: [Norbert Koch] Error building emacs after 73277a4097b To: Norbert Koch , Pip Cet Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 72929-done Cc: 72929-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Norbert Koch writes: > Thanks, this does the trick for me as well. Thanks, closing. ------------=_1725211622-28862-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 1 Sep 2024 14:46:44 +0000 Received: from localhost ([127.0.0.1]:36091 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sklqm-00027G-4E for submit@debbugs.gnu.org; Sun, 01 Sep 2024 10:46:44 -0400 Received: from lists.gnu.org ([209.51.188.17]:41752) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sklqj-000277-K1 for submit@debbugs.gnu.org; Sun, 01 Sep 2024 10:46:42 -0400 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 1sklpl-0005OF-Ox for bug-gnu-emacs@gnu.org; Sun, 01 Sep 2024 10:45:41 -0400 Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sklpk-0006oq-4m for bug-gnu-emacs@gnu.org; Sun, 01 Sep 2024 10:45:41 -0400 Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-2ef27bfd15bso34615961fa.2 for ; Sun, 01 Sep 2024 07:45:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725201936; x=1725806736; darn=gnu.org; h=content-transfer-encoding:to:subject:message-id:date:mime-version :references:from:from:to:cc:subject:date:message-id:reply-to; bh=l/hNF2k3IRnThpMECiL0Iz9EfLuou8cVzl91+9eJ3hU=; b=aLP3Dgn7A2RB46sgWc2n7Sj5hdcUkqt86VBvF3v0tCCp13Hzb7/kR2jRn2FTtel9HV /U4EJcfz6gE3PvjrazNc3xEddR5Ig2/1WOEgiULhIouqFGaGaFAH2/iA5Dr9cuYm2cjd fmgMuTphM2KuyaGdAG7Whv/K/SVRg38DXLCagPJ3BKqjvzugypl33qhoAH0ABzYfTYBF MTOE8NVoFEfFuw+GIdK7BS853zH/LBKW0HXB31LeVtsTv3jW/HcI8+nnYSnNLSH7zmvx b8nJRRfy0jqqdcOnTfjStoZoiU9puTi+tVZVhoUdJe+XNhRNDCH2OJskUQHVKM7qXWU+ 2zeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725201936; x=1725806736; h=content-transfer-encoding:to:subject:message-id:date:mime-version :references:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=l/hNF2k3IRnThpMECiL0Iz9EfLuou8cVzl91+9eJ3hU=; b=CJylH1i3JpZYQpgL9d6LyCyUNMmSJ1r/fXHAjK42B2v9b91xj28+dlwGHBOAZvvVqg ztyUC4vMsUz8VkbMaubQKLw6hTMqb4ixDj8CkmN8m1BOk+2+ZbVDz9iy5RrMjQOyTEre n2sU6PUfJULSo+JCrdUgNFEk8+SHwJdy79TT297RTVATgAKQJNTuOQJA/AZnqXf7ve88 AFU6Mu2hJQwLP4tD8dpYTCSzm/ifMbAvZ3DdZ25tQjmFfRzOJs7uNDm2QRfBEETWQTui LjI4geJgh1NeoUR6SWqTCWxJLY65sj44Brkv5xwpm0Crgw0E9weshBdNe1ZkF2yTmPt9 CirA== X-Gm-Message-State: AOJu0YyulLjzFjRasCmgJtXAl0BBbiLlgBPdbWx2Cm4chXQLJw8Pmrdi Zc8+HKRewjgzTEf8YH/qSQbma6JkH/8TAIiGwi8MgxwROEYN97Gq6zFEDY1jc6eN6AvvvRKNkhZ ohVYcE23olFClskytM883+du8vuTQNXt6 X-Google-Smtp-Source: AGHT+IF/H+I/jXuzHvbxN5EGpSyR9APSgpXwbgjPpQbkK/P5tnw8PKOiAWtjOrtSgFKDz7sQFWdGi7Ag3ptKCIsSa2s= X-Received: by 2002:a2e:d02:0:b0:2f4:4d58:9edf with SMTP id 38308e7fff4ca-2f6106d4e40mr67155081fa.20.1725201936252; Sun, 01 Sep 2024 07:45:36 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 1 Sep 2024 07:45:35 -0700 From: Stefan Kangas References: <877cbvmpfl.fsf@netic.de> X-Debbugs-CC: Norbert Koch MIME-Version: 1.0 Date: Sun, 1 Sep 2024 07:45:35 -0700 Message-ID: Subject: [Norbert Koch] Error building emacs after 73277a4097b To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::236; envelope-from=stefankangas@gmail.com; helo=mail-lj1-x236.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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 =E2=80=98xpm_str_to_int=E2=80=99: image.c:6254:17: error: implicit declaration of function =E2=80=98strtol=E2= =80=99; did you mean =E2=80=98strtok=E2=80=99? [-Wimplicit-function-declaration] 6254 | long result =3D strtol (*buf, &p, 10); | ^~~~~~ | strtok image.c:6254:17: warning: nested extern declaration of =E2=80=98strtol=E2= =80=99 [-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 =E2=80=98strtol= =E2=80=99; have =E2=80=98long int(const char * restrict, char ** restrict, int)=E2= =80=99 177 | extern long int strtol (const char *__restrict __nptr, | ^~~~~~ image.c:6254:17: note: previous implicit declaration of =E2=80=98strtol=E2= =80=99 with type =E2=80=98int()=E2=80=99 6254 | long result =3D strtol (*buf, &p, 10); | ^~~~~~ --8<---------------cut here---------------end--------------->8--- Regards, Norbert --=20 -------------------- End of forwarded message -------------------- ------------=_1725211622-28862-1-- From unknown Sat Aug 16 15:57:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#72929: [Norbert Koch] Error building emacs after 73277a4097b Resent-From: Norbert Koch Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 Sep 2024 21:48:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72929 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas Cc: 72929@debbugs.gnu.org Received: via spool by 72929-submit@debbugs.gnu.org id=B72929.172522723031614 (code B ref 72929); Sun, 01 Sep 2024 21:48:06 +0000 Received: (at 72929) by debbugs.gnu.org; 1 Sep 2024 21:47:10 +0000 Received: from localhost ([127.0.0.1]:40856 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sksPd-0008Dh-C4 for submit@debbugs.gnu.org; Sun, 01 Sep 2024 17:47:10 -0400 Received: from mail.netic.de ([212.9.160.11]:60644) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1skm0P-0002RQ-Dj for 72929@debbugs.gnu.org; Sun, 01 Sep 2024 10:56:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=netic.de; s=key1; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: Date:References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: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=5Q41wSFhHheCnFsmEq+ppsDLaPcwwkIOc9nrJXwDCDY=; b=NOa2vemhJsXmAua5qB3Ih6LHUs /JwidPk05kzmtKMZp7Vu8qkhs7PdsX56lUl5Fejr9Syvkoy7l8e6BJsbXBCWRUrTiLlk2Yy1o8FAo 2KMKTkPeyrd1SDsr1tlEC3X28HkgFW9JrdKs2ksVS14AlQkCKedUdfGEqSkLj58FIeO+/1seRpbHt Syv88aXsup/TYphPFE35/crs280Ox7Yn9ldLaoBP9yqhy7yGLLHVr+RtBErJEWiGzIGhCghONeJtx 4oN6NpYTUDp7H2qp1PMNUDuU84ksRW04LCDqmFfjGQ5JXNJZ1rlxlFLGQm+oV9FnxuAcH336PvhAF s8Fuxf3Q==; Received: from [88.130.219.36] (helo=dest-ltnok-02.ascon-systems.de) by mail.netic.de with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sklzL-0006x5-4i; Sun, 01 Sep 2024 16:55:35 +0200 From: Norbert Koch In-Reply-To: (Stefan Kangas's message of "Sun, 1 Sep 2024 07:45:35 -0700") References: <877cbvmpfl.fsf@netic.de> X-Face: 5*nyF1\39:,h6Sk1<}(t1O5x!y5y6@XzBRq5LAYj;Xzb*Ak,]@$HL@>: c&#dUFU=U8O(+/6T0k{j{1~uS@GVk4zurEEb.~MoSbG2pM4z!~/<@.tcd `uD`fNR+TM\@++x@!/Bq)24"xD_kGn,jqwVQa|R'|FFxgWa+$0x]p>KE9E /Xk0$%a*2*K]"zOtbk9v0sNgwb2H"IOaEjCVolb5&yW`o#w2}!w!M{Dn&{K0t Date: Sun, 01 Sep 2024 16:55:34 +0200 Message-ID: <87zforl8yh.fsf@netic.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Mailman-Approved-At: Sun, 01 Sep 2024 17:47:03 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Stefan Kangas writes: Hello Stefan, > 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`? Yes, I see the same problem with a make bootstrap. Here's the build information In GNU Emacs 31.0.50 (build 8, x86_64-pc-linux-gnu, X toolkit, cairo version 1.18.0, Xaw scroll bars) of 2024-09-01 built on dest-ltnok-02 Repository revision: 59e0b82776ade72680e7c369f6089eab4a74dc4a Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101013 System Description: Debian GNU/Linux trixie/sid Configured using: 'configure --prefix=3D/home/nok/local' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM LUCID ZLIB Important settings: value of $LC_ALL: en_US.utf8 value of $LANG: en_US.utf8 locale-coding-system: utf-8-unix Major mode: Message Minor modes in effect: gnus-message-citation-mode: t footnote-mode: t flyspell-mode: t rcirc-track-minor-mode: t gnus-desktop-notify-mode: t global-origami-mode: t origami-mode: t global-company-mode: t company-mode: t fortune-cookie-mode: t electric-pair-mode: t display-battery-mode: t desktop-save-mode: t global-tree-sitter-mode: t flycheck-posframe-mode: t yas-global-mode: t yas-minor-mode: t global-git-commit-mode: t mml-mode: t magit-auto-revert-mode: t server-mode: t marginalia-mode: t vertico-prescient-mode: t which-key-mode: t global-flycheck-mode: t flycheck-mode: t override-global-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t minibuffer-regexp-mode: t column-number-mode: t line-number-mode: t auto-fill-function: #[128 \304\300\301.#\207 [yas--auto-fill message-do-a= uto-fill :around nil apply] 5 advice] transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t abbrev-mode: t Load-path shadows: /home/nok/.emacs.d/elpa/transient-20240831.2233/transient hides /home/nok/l= ocal/share/emacs/31.0.50/lisp/transient /home/nok/.emacs.d/elpa/bind-key-20230203.2004/bind-key hides /home/nok/loc= al/share/emacs/31.0.50/lisp/bind-key /home/nok/.emacs.d/elpa/which-key-20240620.2145/which-key hides /home/nok/l= ocal/share/emacs/31.0.50/lisp/which-key /home/nok/.emacs.d/elpa/dictionary-20201001.1727/dictionary hides /home/nok= /local/share/emacs/31.0.50/lisp/net/dictionary /home/nok/.emacs.d/elpa/flim-20240221.1353/sasl hides /home/nok/local/share= /emacs/31.0.50/lisp/net/sasl Features: (shadow tramp-cache time-stamp tramp-sh shortdoc help-fns radix-tree emacsbug url-http url-gw url-auth gnus-gravatar gravatar dns url-cache smiley mm-archive gnus-async gnus-bcklg gnus-ml disp-table view sh-script smie treesit executable ffap tramp trampver tramp-integration files-x tramp-message tramp-compat tramp-loaddefs mailalias smtpmail textsec uni-scripts idna-mapping ucs-normalize uni-confusable textsec-check qp sort gnus-cite footnote fortune mail-extr goto-addr bug-reference magit-extras face-remap gnus-demon gnus-topic nndraft nnmh nnml utf-7 epa-file network-stream nsm nnfolder nnnil gnus-agent gnus-srvr gnus-score score-mode nnvirtual nntp gnus-cache nok-gnus ebdb-message ebdb-gnus gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum ebdb-mua ebdb-com ebdb-format ebdb eieio-opt speedbar ezimage dframe eieio-base timezone eww url-queue thingatpt shr pixel-fill kinsoku url-file svg dom mm-url mule-util jka-compr vc-dir ewoc vc display-line-numbers diary-lib diary-loaddefs cal-menu calendar cal-loaddefs k8s-mode vc-git vc-dispatcher ansible-doc flyspell ispell yaml-mode company-oddmuse company-keywords company-etags etags fileloop generator company-gtags company-dabbrev-code company-dabbrev company-files company-clang company-capf company-cmake company-semantic company-template company-bbdb rcirc gnus-desktop-notify alert log4e notifications gntp gnus-group gnus-undo gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source utf7 nnoo parse-time iso8601 gnus-spec gnus-int gnus-range gnus-win gnus nnheader range wid-edit origami origami-parsers cl company fortune-cookie elec-pair battery dbus xml desktop frameset cus-load tree-sitter-langs tree-sitter-langs-build tar-mode arc-mode archive-mode pp tree-sitter-hl tree-sitter tree-sitter-load tree-sitter-cli tsc tsc-dyn tsc-dyn-get dired-aux tsc-obsolete xterm-color flycheck-posframe posframe java-snippets yasnippet-snippets yasnippet kubed counsel xdg xref project compile magit-submodule magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log which-func imenu magit-diff smerge-mode diff diff-mode track-changes git-commit log-edit message sendmail yank-media puny rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util text-property-search 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 pcvs-util add-log magit-core magit-autorevert autorevert filenotify magit-margin magit-transient magit-process with-editor comp comp-cstr warnings comp-run comp-common shell pcomplete comint ansi-osc server magit-mode transient edmacro kmacro benchmark magit-git magit-base magit-section format-spec cursor-sensor crm dash rainbow-delimiters swiper ivy delsel ring ivy-faces ivy-overlay colir color use-package-bind-key marginalia vertico-prescient vertico prescient char-fold compat which-key flycheck ansi-color find-func bind-key easy-mmode s exec-path-from-shell use-package-ensure use-package-core modus-vivendi-theme modus-themes 0blayout-autoloads ace-window-autoloads all-the-icons-ivy-autoloads all-the-icons-autoloads auctex-autoloads tex-site auto-complete-autoloads avy-autoloads awk-ts-mode-autoloads awk-yasnippets-autoloads bind-key-autoloads blamer-autoloads async-autoloads boxquote-autoloads chemtable-autoloads company-statistics-autoloads company-autoloads consult-gh-autoloads consult-autoloads counsel-at-point-autoloads counsel-spotify-autoloads counsel-tramp-autoloads counsel-autoloads debian-el-autoloads debian-el dired dired-loaddefs dictcc-autoloads dockerfile-mode-autoloads ebdb-autoloads cl-extra help-mode eglot-java-autoloads exec-path-from-shell-autoloads flycheck-color-mode-line-autoloads flycheck-posframe-autoloads flycheck-yamllint-autoloads flycheck-autoloads git-modes-autoloads hydra-autoloads ivy-explorer-autoloads ivy-pass-autoloads jenkins-autoloads jenkinsfile-mode-autoloads groovy-mode-autoloads just-mode-autoloads justl-autoloads inheritenv-autoloads k8s-mode-autoloads kubed-autoloads kubernetes-autoloads list-unicode-display-autoloads magit-lfs-autoloads magit-patch-changelog-autoloads magit-autoloads pcase magit-popup-autoloads magit-section-autoloads marginalia-autoloads markdown-mode-autoloads multi-vterm-autoloads org-alert-autoloads alert-autoloads log4e-autoloads password-store-menu-autoloads password-store-autoloads playerctl-autoloads poly-ansible-autoloads ansible-autoloads f-autoloads polymode-autoloads popup-autoloads posframe-autoloads pulseaudio-control-autoloads rg-autoloads s-autoloads semi-autoloads flim-autoloads oauth2-autoloads apel-autoloads slime-autoloads macrostep-autoloads sr-speedbar-autoloads stumpwm-mode-autoloads swiper-autoloads ivy-autoloads systemd-autoloads rx terraform-doc-autoloads promise-autoloads request-autoloads terraform-mode-autoloads hcl-mode-autoloads tmux-mode-autoloads transient-autoloads tree-sitter-langs-autoloads tree-sitter-autoloads tsc-autoloads unicode-fonts-autoloads ucs-utils-autoloads list-utils-autoloads pcache-autoloads vcard-autoloads vertico-prescient-autoloads vertico-autoloads prescient-autoloads vterm-autoloads w3m-load w3m-autoloads wgrep-autoloads which-key-autoloads with-editor-autoloads info dash-autoloads xterm-color-autoloads yaml-mode-autoloads yasnippet-snippets-autoloads yasnippet-autoloads package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs icons password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd touch-screen 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 dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo x-toolkit xinput2 x multi-tty move-toolbar make-network-process native-compile emacs) Memory information: ((conses 16 805575 118877) (symbols 48 42328 10) (strings 32 182739 13460) (string-bytes 1 5641825) (vectors 16 104015) (vector-slots 8 1695707 73923) (floats 8 755 468) (intervals 56 3224 2251) (buffers 992 58)) > From: Norbert Koch > Subject: Error building emacs after 73277a4097b > To: Stefan Kangas > Date: Sun, 01 Sep 2024 16:14:22 +0200 (33 minutes, 18 seconds ago) > > Hello Stefan, > > sorry to disturb you, but I get an error when building emacs on my > Debian sid: > > image.c: In function =E2=80=98xpm_str_to_int=E2=80=99: > image.c:6254:17: error: implicit declaration of function =E2=80=98strtol= =E2=80=99; did > you mean =E2=80=98strtok=E2=80=99? [-Wimplicit-function-declaration] > 6254 | long result =3D strtol (*buf, &p, 10); > | ^~~~~~ > | strtok > image.c:6254:17: warning: nested extern declaration of =E2=80=98strtol=E2= =80=99 > [-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 =E2=80=98strto= l=E2=80=99; > have =E2=80=98long int(const char * restrict, char ** restrict, int)=E2= =80=99 > 177 | extern long int strtol (const char *__restrict __nptr, > | ^~~~~~ > image.c:6254:17: note: previous implicit declaration of =E2=80=98strtol= =E2=80=99 with > type =E2=80=98int()=E2=80=99 > 6254 | long result =3D strtol (*buf, &p, 10); > | ^~~~~~ > > > Regards, > Norbert --=20 From unknown Sat Aug 16 15:57:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#72929: [Norbert Koch] Error building emacs after 73277a4097b Resent-From: Norbert Koch Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 Sep 2024 21:48:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72929 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Pip Cet Cc: 72929@debbugs.gnu.org, Stefan Kangas Received: via spool by 72929-submit@debbugs.gnu.org id=B72929.172522723131621 (code B ref 72929); Sun, 01 Sep 2024 21:48:07 +0000 Received: (at 72929) by debbugs.gnu.org; 1 Sep 2024 21:47:11 +0000 Received: from localhost ([127.0.0.1]:40858 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sksPe-0008Dr-PM for submit@debbugs.gnu.org; Sun, 01 Sep 2024 17:47:11 -0400 Received: from mail.netic.de ([212.9.160.11]:36752) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1skmoO-0004ID-Ga for 72929@debbugs.gnu.org; Sun, 01 Sep 2024 11:48:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=netic.de; s=key1; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To: 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=qNH9a4W4wWQXOvnilGN8IRbJkWMA/4yTt1I8UwwxKCc=; b=OzpuDIA24sCC2BzgGBXsfrjLpd Qd00JAnyWODEBlZmq/VUS6x9ZqEd8LxtZS+dFDwmyXJSScqU76U87BwMhfsI4Al/eR2kcZJVGzeuY 2AiuPzZF9gmuddKu0pD/7aHPyR6BiNdBKVmdRsEurSoau08CzoD+XbICjKalVl/2tjYFdNQ9NygEB TIdqvxtI3WSQ0dcZJJffUt7FP7rg3b8d8+1pcNMoJDauOX501aykqYNGcvyt0tz/xHIIfEK1n9ZHy XNCqUC89J0/QDNjyFTatCuH8hz1RUsOVsCm8UJhMFsQrd0D9hQ0ij1FTxPrHPj5ixhAQ52LrTLI4i xmaRcVog==; Received: from [88.130.219.36] (helo=dest-ltnok-02.ascon-systems.de) by mail.netic.de with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1skmnK-0008Qb-Nu; Sun, 01 Sep 2024 17:47:14 +0200 From: Norbert Koch In-Reply-To: <87cyln4c3u.fsf@protonmail.com> (Pip Cet's message of "Sun, 01 Sep 2024 15:39:36 +0000") References: <877cbvmpfl.fsf@netic.de> <87cyln4c3u.fsf@protonmail.com> X-Face: 5*nyF1\39:,h6Sk1<}(t1O5x!y5y6@XzBRq5LAYj;Xzb*Ak,]@$HL@>: c&#dUFU=U8O(+/6T0k{j{1~uS@GVk4zurEEb.~MoSbG2pM4z!~/<@.tcd `uD`fNR+TM\@++x@!/Bq)24"xD_kGn,jqwVQa|R'|FFxgWa+$0x]p>KE9E /Xk0$%a*2*K]"zOtbk9v0sNgwb2H"IOaEjCVolb5&yW`o#w2}!w!M{Dn&{K0t Date: Sun, 01 Sep 2024 17:47:14 +0200 Message-ID: <87v7zfl6kd.fsf@netic.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Mailman-Approved-At: Sun, 01 Sep 2024 17:47:03 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Pip Cet writes: > "Stefan Kangas" writes: > >> 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. > > I can reproduce this with --with-x-toolkit=no. An explicit > > #include > > seems to be all that's required, so I've boldly pushed it. Thanks, this does the trick for me as well. Regards, Norbert --