From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Newsgroups: gmane.lisp.guile.bugs Subject: bug#72407: Guile 3.0.10 fails to run tests Date: Sun, 01 Sep 2024 16:34:59 +0200 Message-ID: <87a5gre92k.fsf@gnu.org> References: <41d95e00-eb09-2663-ce23-69ba096a2071@gmail.com> 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="21547"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 72407@debbugs.gnu.org To: Tommi =?UTF-8?Q?H=C3=B6yn=C3=A4l=C3=A4nmaa?= Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Sun Sep 01 16:36:21 2024 Return-path: Envelope-to: guile-bugs@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 1sklgi-0005St-9Y for guile-bugs@m.gmane-mx.org; Sun, 01 Sep 2024 16:36:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sklgS-0004gg-6V; Sun, 01 Sep 2024 10:36: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 1sklgQ-0004gG-OP for bug-guile@gnu.org; Sun, 01 Sep 2024 10:36:02 -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 1sklgQ-0005CO-BW for bug-guile@gnu.org; Sun, 01 Sep 2024 10:36:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=LgKODX0QajKaY5fBNQukAhwO+aPmbo97BX1/BzQBIpk=; b=ZcsUbD6dm7nVDS1lZZ5ys2VyiLT7THkNSyw9mnIMAOzWu03llGl0RN6Nn56GAa/N3UL+EZhcn8n0RT/gcnThQiJAGH4rRxt6SJEAUXfZP2PG+gWvROXcXISqsSAQtN5hWK5ZtI9LGFILLlkFzAiBgXM//MFYUxsbiVEp1LTbnxh5OaCUMiQFGX8CrEeFimf3fbpoACA6312qjfeTj9xkcVVQzpFwZQnGat8FoAFT+C1L4A7AWoW1nsIwiCsCGxsDR5oNh9YQyZtdvmbh8zSbPqbG1691A/81i1b4LpIeYOv1WJhJZWHHPEkc6n8qz8amtYBXyE30yBCtzGuEik3xgg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sklhN-0001mp-Re for bug-guile@gnu.org; Sun, 01 Sep 2024 10:37:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Sun, 01 Sep 2024 14:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72407 X-GNU-PR-Package: guile Original-Received: via spool by 72407-submit@debbugs.gnu.org id=B72407.17252013736786 (code B ref 72407); Sun, 01 Sep 2024 14:37:01 +0000 Original-Received: (at 72407) by debbugs.gnu.org; 1 Sep 2024 14:36:13 +0000 Original-Received: from localhost ([127.0.0.1]:35949 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sklga-0001lO-K1 for submit@debbugs.gnu.org; Sun, 01 Sep 2024 10:36:13 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39132) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sklgY-0001l8-UL for 72407@debbugs.gnu.org; Sun, 01 Sep 2024 10:36:11 -0400 Original-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 1sklfV-00050m-Qn; Sun, 01 Sep 2024 10:35:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=LgKODX0QajKaY5fBNQukAhwO+aPmbo97BX1/BzQBIpk=; b=X3enu1TU8N5bS/iTAx+c 4kNifX4w1ppTIgyBjeiVqEVdMelU1LdT8OCu1gi06lnPtPx/6dLUukF8kTmQxOPdN93lg4Leu46W6 teEKfXYrmDK68bWKrOu+P9LmckElUXAox9aikBGOQdYVP7ZFg7iKaIU0pvNWJjK36K07uczqKQrwQ /WNXLCIgDOnmwg45seqpQY0ZZchDd9mi6Y2nGXQXOUzYWjicQM5QpcYU2lWPPxESbWBrbRqYNldz2 7FgKzZ0rC2niAAOe1D5jjTL0ToKkWLVaohLWJt2/IEaNq+/DF3SxgaLniP/bDLUYCkDg3/A3Ob6VS SeuqGz2pVjn6HA==; In-Reply-To: <41d95e00-eb09-2663-ce23-69ba096a2071@gmail.com> ("Tommi =?UTF-8?Q?H=C3=B6yn=C3=A4l=C3=A4nmaa?="'s message of "Thu, 1 Aug 2024 07:56:57 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.bugs:10959 Archived-At: Hi, Tommi H=C3=B6yn=C3=A4l=C3=A4nmaa skribis: > Running tests for package theme-d > (http://deb.debian.org/debian/pool/main/t/theme-d/theme-d_5.1.2.orig.tar.= xz) > fails with guile 3.0.10 but works with 3.0.8. See also > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1074756. The =E2=80=98theme-d=E2=80=99 build log therein shows this: > In language/tree-il/peval.scm: > 1558:45 6 (loop _ _ _ value) > In srfi/srfi-1.scm: > 586:29 5 (map1 (# # # #) (call (to= plevel _i_get-pair-class-general) (primcall li=E2=80=A6>)) > 586:29 4 (map1 (# # #) (call (toplevel _i_get-pair-cl= ass-general) (primcall list (call (toplevel _i=E2=80=A6>)) > 586:29 3 (map1 (# #) (call (toplevel _i_get-pair-class-general) (primcal= l list (call (toplevel _i_make-procedure-type)=E2=80=A6>)) > 586:17 2 (map1 (#) (call (toplevel _i= _get-pair-class-general) (primcall list (call (toplevel _i_make-procedure-t= ype) (toplevel _b_) (lexical &&&%result~2389 _u_2_3_&&&%result~2389) = (const #t) (const #f) (const #f) (const #f) (co=E2=80=A6>)) > In language/tree-il/peval.scm: > 1816:33 1 (loop _ _ _ _) > In ice-9/boot-9.scm: > 1676:22 0 (raise-exception _ #:continuable? _) >=20 > ice-9/boot-9.scm:1676:22: In procedure raise-exception: > Throw to key `match-error' with args `("match" "no matching pattern" ())'. > Final compilation of the program failed. > ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=3D0 > ;;; or pass the --no-auto-compile argument to disable. > ;;; compiling /<>/test-suite/../theme-d/translator/theme-d-l= ink.scm > ;;; compiled /<>/debian/.debhelper/generated/_source/home/.c= ache/guile/ccache/3.0-LE-8-4.7/<>/theme-d/translator/theme-d-l= ink.scm.go > make[4]: *** [Makefile:858: package-tests/test1.go] Error 1 > rm package-tests/test1.tcp > make[4]: Leaving directory '/<>/test-suite' Looks like a compiler bug. I tried to reproduce it but building from fails much earlier for me: --8<---------------cut here---------------start------------->8--- make[1]: Entering directory '/tmp/theme-d-5.1.2/libthemedsupport' /bin/sh ../libtool --tag=3DCC --mode=3Dcompile gcc -DPACKAGE_NAME=3D\"Th= eme-D\" -DPACKAGE_TARNAME=3D\"theme-d\" -DPACKAGE_VERSION=3D\"5.1.2\" -DPAC= KAGE_STRING=3D\"Theme-D\ 5.1.2\" -DPACKAGE_BUGREPORT=3D\"tommi.hoynalanmaa\= at\ iki.fi\" -DPACKAGE_URL=3D\"http://www.iki.fi/tohoyn/theme-d/\" -DPACKA= GE=3D\"theme-d\" -DVERSION=3D\"5.1.2\" -DHAVE_STDIO_H=3D1 -DHAVE_STDLIB_H= =3D1 -DHAVE_STRING_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_S= TRINGS_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_SYS_TYPES_H=3D1 -DHAVE_UNISTD_H= =3D1 -DSTDC_HEADERS=3D1 -DHAVE_DLFCN_H=3D1 -DLT_OBJDIR=3D\".libs/\" -I. -I= /gnu/store/rg8yrfvfdnp5n2m2vb5ranhdy653aj4y-guile-3.0.99-git/include/guile/= 3.0 -DSTANDARD_MATH=3D1 -DPOSIX_MATH=3D1 -g -O2 -MT libthemedsupport_la-t= heme_d_support.lo -MD -MP -MF .deps/libthemedsupport_la-theme_d_support.Tpo= -c -o libthemedsupport_la-theme_d_support.lo `test -f 'theme_d_support.c' = || echo './'`theme_d_support.c libtool: compile: gcc -DPACKAGE_NAME=3D\"Theme-D\" -DPACKAGE_TARNAME=3D\"t= heme-d\" -DPACKAGE_VERSION=3D\"5.1.2\" "-DPACKAGE_STRING=3D\"Theme-D 5.1.2\= "" "-DPACKAGE_BUGREPORT=3D\"tommi.hoynalanmaa at iki.fi\"" -DPACKAGE_URL=3D= \"http://www.iki.fi/tohoyn/theme-d/\" -DPACKAGE=3D\"theme-d\" -DVERSION=3D\= "5.1.2\" -DHAVE_STDIO_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE_= INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_SYS_STAT_H= =3D1 -DHAVE_SYS_TYPES_H=3D1 -DHAVE_UNISTD_H=3D1 -DSTDC_HEADERS=3D1 -DHAVE_D= LFCN_H=3D1 -DLT_OBJDIR=3D\".libs/\" -I. -I/gnu/store/rg8yrfvfdnp5n2m2vb5ran= hdy653aj4y-guile-3.0.99-git/include/guile/3.0 -DSTANDARD_MATH=3D1 -DPOSIX_M= ATH=3D1 -g -O2 -MT libthemedsupport_la-theme_d_support.lo -MD -MP -MF .deps= /libthemedsupport_la-theme_d_support.Tpo -c theme_d_support.c -fPIC -DPIC = -o .libs/libthemedsupport_la-theme_d_support.o theme_d_support.c: In function 'finalize_bignum': theme_d_support.c:46:3: warning: implicit declaration of function 'mpz_clea= r' [-Wimplicit-function-declaration] 46 | mpz_clear (SCM_I_BIG_MPZ (bignum)); | ^~~~~~~~~ theme_d_support.c:46:14: warning: implicit declaration of function 'SCM_I_B= IG_MPZ'; did you mean 'SCM_I_NINUMP'? [-Wimplicit-function-declaration] 46 | mpz_clear (SCM_I_BIG_MPZ (bignum)); | ^~~~~~~~~~~~~ | SCM_I_NINUMP theme_d_support.c: In function 'make_bignum': theme_d_support.c:56:52: error: 'mpz_t' undeclared (first use in this funct= ion) 56 | p =3D scm_gc_malloc (sizeof (scm_t_bits) + sizeof (mpz_t), | ^~~~~ theme_d_support.c:56:52: note: each undeclared identifier is reported only = once for each function it appears in theme_d_support.c:63:3: warning: 'scm_install_gmp_memory_functions' is depr= ecated [-Wdeprecated-declarations] 63 | if (!scm_install_gmp_memory_functions) | ^~ In file included from /gnu/store/rg8yrfvfdnp5n2m2vb5ranhdy653aj4y-guile-3.0= .99-git/include/guile/3.0/libguile.h:128, from theme_d_support.c:2: /gnu/store/rg8yrfvfdnp5n2m2vb5ranhdy653aj4y-guile-3.0.99-git/include/guile/= 3.0/libguile/deprecated.h:164:20: note: declared here 164 | SCM_DEPRECATED int scm_install_gmp_memory_functions; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ theme_d_support.c: In function '_scm_i_normbig': theme_d_support.c:74:7: warning: implicit declaration of function 'mpz_fits= _slong_p' [-Wimplicit-function-declaration] 74 | if (mpz_fits_slong_p (SCM_I_BIG_MPZ (b))) | ^~~~~~~~~~~~~~~~ theme_d_support.c:76:24: warning: implicit declaration of function 'mpz_get= _si' [-Wimplicit-function-declaration] 76 | scm_t_inum val =3D mpz_get_si (SCM_I_BIG_MPZ (b)); | ^~~~~~~~~~ theme_d_support.c: In function '_scm_i_dbl2big': theme_d_support.c:88:3: warning: implicit declaration of function 'mpz_init= _set_d'; did you mean 'scm_init_net_db'? [-Wimplicit-function-declaration] 88 | mpz_init_set_d (SCM_I_BIG_MPZ (z), d); | ^~~~~~~~~~~~~~ | scm_init_net_db make[1]: *** [Makefile:482: libthemedsupport_la-theme_d_support.lo] Error 1 --8<---------------cut here---------------end--------------->8--- This is with Guile =E2=80=98main=E2=80=99 (commit d0790d766bedf08fb65231eff53f6c8044eb94f1), but nothing has changed in this respect since 3.0.10. Are you applying additional patches? Ludo=E2=80=99.