GNU bug report logs - #75485
error: too many arguments to function 'cproc' & AM_PROG_MKDIR_P

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guile; Reported by: Jeffrey Cliff <jeffrey.cliff@HIDDEN>; dated Sat, 11 Jan 2025 05:17:02 UTC; Maintainer for guile is bug-guile@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 11 Jan 2025 05:16:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 11 00:16:34 2025
Received: from localhost ([127.0.0.1]:40911 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tWTrN-0005Lw-NC
	for submit <at> debbugs.gnu.org; Sat, 11 Jan 2025 00:16:34 -0500
Received: from lists.gnu.org ([2001:470:142::17]:58994)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <jeffrey.cliff@HIDDEN>)
 id 1tWTrK-0005Ld-T8
 for submit <at> debbugs.gnu.org; Sat, 11 Jan 2025 00:16:32 -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 <jeffrey.cliff@HIDDEN>)
 id 1tWTrC-0007fd-GV
 for bug-guile@HIDDEN; Sat, 11 Jan 2025 00:16:23 -0500
Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <jeffrey.cliff@HIDDEN>)
 id 1tWTrA-0004pQ-Kf
 for bug-guile@HIDDEN; Sat, 11 Jan 2025 00:16:22 -0500
Received: by mail-ed1-x534.google.com with SMTP id
 4fb4d7f45d1cf-5d8c1950da7so4585716a12.3
 for <bug-guile@HIDDEN>; Fri, 10 Jan 2025 21:16:17 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1736572576; x=1737177376; darn=gnu.org;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=seaSHG+/Af4EN6XpVgXJm3ARTdXBuPw1OqmdYmgIuy4=;
 b=DZdb64BD/bDjo2eCQYKKUHL44dOKe5/Fap38SeGBOtm2y34lpjQ5L8YCfSqcjdW3bE
 y8nmOGIxNVTxrCvsRe4DLTmd3J6DsrnU2KA6hdK7OXtQioTvVxZ3fASoTaUu7A/oAtzN
 7/3O03dzAtZjdk8ZbBWqi7r1RdiXQw5Qq0ZtTTIQLlYv3D7628Kvrp3ju3nI0iM/CQ1q
 zH9MefngGT6xEVmul2nknM5M4C/8ySkuSPk9mMDS3ByIAtvEg7h6HFAyGGEQinz1Hl7W
 91uEVqpows0GS4QxZN2PXy6Yn0zsy/cBM737OMLHnClpIbbdCZki0477LWywgm44pvM/
 UJbg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1736572576; x=1737177376;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=seaSHG+/Af4EN6XpVgXJm3ARTdXBuPw1OqmdYmgIuy4=;
 b=ut1y0xMufvJrBzPhpwU3Nh3p9NpHBDyqcK1RV83F97lvYcUoFK/9AtONV9g9+Dz38u
 jpiVvOwwKC4lOLNGsSBoPLDEaerhKjdtfy+aKufNYgWVXNPG6uGLVSvnRBk8cPhtqse7
 tcmOKKhFGwIugbmVr7QKOi4MW0iVe3Gq7hwgpglwFTUwo0assrZ3QmjORur9VoAHClEb
 qhVmsotezCWxkd/H7O0xJbKudqkoIxjPQKM/sNc+gxLr/9fWtw7WQyzONL8ugBit+V5x
 4E26yX7gPKoOeA5m/9w0CNZI111WUPbYipcdilZbGfVm7gpFAkhDClWOZjZPYXMiwYO0
 bKhQ==
X-Gm-Message-State: AOJu0YyHclya7zYNvt6kEmYj2Ws+LIbAkbEX6wpdJjvYE36HypD7xfhS
 y4BuxDizk8uVz9E9FyWASmNzLqM8WF50uutPoHjhjnyvF24RZuvS4D3K9ehBXabAXJVXjJ+Zr/d
 dg6BY1DiVmhTFTqEz/ERM0vU/wFlMdJN4
X-Gm-Gg: ASbGncu2EnhCbWYizMoTvXfa2fzAOrIyu+kS0kwwGJRWKi+qlR27gddWWZvzsh3hA8E
 ohOKNkHc5Q0MyqYeZzplzk77qi5VJL7Fo9B9cZvQ5Y15Wz8MIYJCqnmpdHJG/Ik34NrSIJp9S
X-Google-Smtp-Source: AGHT+IGWyokRCwEV8dw7nBj+FgZ65zbBeWKaVSq187vjixd4y2beEb5EGJxS1Eqobbm2KC9/FJ2h4GQ9QRFS6ggGkRQ=
X-Received: by 2002:a05:6402:3588:b0:5d0:8498:8bed with SMTP id
 4fb4d7f45d1cf-5d972e13374mr12495325a12.15.1736572575529; Fri, 10 Jan 2025
 21:16:15 -0800 (PST)
MIME-Version: 1.0
From: Jeffrey Cliff <jeffrey.cliff@HIDDEN>
Date: Fri, 10 Jan 2025 23:16:03 -0600
X-Gm-Features: AbW1kvZOWnkXUue8UveJY_iZq_h9erS0s0cVpivfl_V1MNiC4CJyzItoUr4EfIY
Message-ID: <CAAR2Wu9CNQ556vV4qMv7FppwRaVfz+8Og_KdYhsyz_7DH=CuCw@HIDDEN>
Subject: error: too many arguments to function 'cproc' & AM_PROG_MKDIR_P
To: bug-guile@HIDDEN
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=2a00:1450:4864:20::534;
 envelope-from=jeffrey.cliff@HIDDEN; helo=mail-ed1-x534.google.com
X-Spam_score_int: -19
X-Spam_score: -2.0
X-Spam_bar: --
X-Spam_report: (-2.0 / 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,
 URIBL_SBL_A=0.1 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.7 (+)
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:  while compiling both guile 3.0.10 & commit f6359a471 with
 gcc (GCC) 15.0.0 20241204 (experimental) CFLAGS=" -std=gnu23 -Oz -march=native
 "; CPPFLAGS=" -D_GNU_SOURCE " ; CXXFLAGS=" -std=gnu++23 -Os -march=native
 "; Linux fatima 6.12.5-gnugnm #1 SMP PREEMPT_DY [...] 
 Content analysis details:   (1.7 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 0.1 URIBL_SBL_A Contains URL's A record listed in the Spamhaus SBL
 blocklist [URIs: thephd.dev]
 0.6 URIBL_SBL Contains an URL's NS IP listed in the Spamhaus SBL
 blocklist [URIs: thephd.dev]
 -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]
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (jeffrey.cliff[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)
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.7 (/)

while compiling  both guile 3.0.10 & commit f6359a471 with

gcc (GCC) 15.0.0 20241204 (experimental)
CFLAGS="  -std=gnu23 -Oz -march=native ";
CPPFLAGS=" -D_GNU_SOURCE " ;
CXXFLAGS=" -std=gnu++23 -Os  -march=native ";
Linux fatima 6.12.5-gnugnm #1 SMP PREEMPT_DYNAMIC Wed Dec 18 01:11:56
CST 2024 x86_64 GNU/Linux
amd64

failed on :

  CC       libguile_3.0_la-boolean.lo
array-map.c: In function 'scm_ramapc':
array-map.c:200:38: error: too many arguments to function 'cproc'
  200 |           if (! (SCM_UNBNDP (data) ? cproc (va0, lva) : cproc
(va0, data, lva)))
      |                                      ^~~~~
array-map.c:200:57: error: too many arguments to function 'cproc'
  200 |           if (! (SCM_UNBNDP (data) ? cproc (va0, lva) : cproc
(va0, data, lva)))
      |                                                         ^~~~~
make[3]: *** [Makefile:3080: libguile_3.0_la-array-map.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
backtrace.c: In function 'scm_init_backtrace':
backtrace.c:329:51: error: passing argument 5 of 'scm_c_define_gsubr'
from incompatible pointer type [-Wincompatible-pointer-types]
  329 |   scm_c_define_gsubr ("print-exception", 4, 0, 0, boot_print_exception);
      |                                                   ^~~~~~~~~~~~~~~~~~~~
      |                                                   |
      |                                                   struct
scm_unused_struct * (*)(struct scm_unused_struct *, struct
scm_unused_struct *, struct scm_unused_struct *, struct
scm_unused_struct *)
In file included from backtrace.c:41:
gsubr.h:72:71: note: expected 'scm_t_subr' {aka 'struct
scm_unused_struct * (*)(void)'} but argument is of type 'struct
scm_unused_struct * (*)(struct scm_unused_struct *, struct
scm_unused_struct *, struct scm_unused_struct *, struct
scm_unused_struct *)'
   72 |                                 int req, int opt, int rst,
scm_t_subr fcn);
      |
~~~~~~~~~~~^~~
make[3]: *** [Makefile:3108: libguile_3.0_la-backtrace.lo] Error 1

this is due to a semantic change in c23
https://thephd.dev/c23-is-coming-here-is-what-is-on-the-menu similar
to https://lists.gnu.org/archive/html/bug-texinfo/2024-08/msg00021.html

while troubleshooting this, using autogen on HEAD I get a warning that

configure.ac:776: warning: AM_PROG_MKDIR_P: this macro is deprecated,
and will soon be removed.
configure.ac:776: You should use the Autoconf-provided
'AC_PROG_MKDIR_P' macro instead,
configure.ac:776: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your
Makefile.am files.

jeff cliff
-- 
------------------------------------------------------------------------------------------------
End the campaign to Cancel Richard Stallman - go to stallmansupport.org !
------------------------------------------------------------------------------------------------




Acknowledgement sent to Jeffrey Cliff <jeffrey.cliff@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guile@HIDDEN. Full text available.
Report forwarded to bug-guile@HIDDEN:
bug#75485; Package guile. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 12 Jan 2025 05:45:02 UTC

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