From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#72929: [Norbert Koch] Error building emacs after 73277a4097b Date: Sun, 1 Sep 2024 07:45:35 -0700 Message-ID: References: <877cbvmpfl.fsf@netic.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15508"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Norbert Koch To: 72929@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 01 16:46:23 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 1sklqQ-0003tZ-BF for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 01 Sep 2024 16:46:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sklq8-0005PG-Ti; Sun, 01 Sep 2024 10:46:04 -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 1sklq7-0005P6-UG for bug-gnu-emacs@gnu.org; Sun, 01 Sep 2024 10:46:03 -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 1sklq7-0006rD-LX for bug-gnu-emacs@gnu.org; Sun, 01 Sep 2024 10:46:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:MIME-Version:References:From:To:Subject; bh=l/hNF2k3IRnThpMECiL0Iz9EfLuou8cVzl91+9eJ3hU=; b=DacDqqeoWcPQZhIZIJXUNRmK/37Ti/09/jJLgjHtHTsFS2MnU2TMtPlDlt2cqycw7T15eTyT5aH/5p+yrPl0PvD/dXklpOXaJXmWhqlUfkrTGLTOfr/AxwTCFk4w5w0c1Pv4bu7eWgeQxWG4BIKuXIEqPaIT86yHfSp4q+CUAeAl77N/kYbzCjeySS77blNQJmalk8jWIc1b+XyFFxwWcklEHP2Dc+jUtkN8MtXsAmReGyaTTgTNLYhLAAKIx7FUFLwT5hP8TQuEQUhLERBM0AMoh0nHGES1Xi7jnSxWyrpwCCpatfwbuBSUfASp1ryYgCN11U44UeFRCBWBrBXe5g==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sklr4-00027w-9u; Sun, 01 Sep 2024 10:47:02 -0400 X-Loop: help-debbugs@gnu.org 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-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: Norbert Koch Original-Received: via spool by submit@debbugs.gnu.org id=B.17252020048142 (code B ref -1); Sun, 01 Sep 2024 14:47:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Sep 2024 14:46:44 +0000 Original-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 Original-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 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 1sklpl-0005OF-Ox for bug-gnu-emacs@gnu.org; Sun, 01 Sep 2024 10:45:41 -0400 Original-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 Original-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) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 1 Sep 2024 07:45:35 -0700 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-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:291057 Archived-At: 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 --------------------