bug#72407: Guile 3.0.10 fails to run tests

Tommi Höynälänmaa <[email protected]>
Newsgroups gmane.lisp.guile.bugs
Message-ID <[email protected]>
Hello,

Ludovic Courtès kirjoitti 1.9.2024 klo 17.34:
> Hi,
>
> Tommi Höynälänmaa <[email protected]> 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=1074756.
...
> I tried to reproduce it but building from
> <http://deb.debian.org/debian/pool/main/t/theme-d/theme-d_5.1.2.orig.tar.xz>
> 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=CC   --mode=compile gcc -DPACKAGE_NAME=\"Theme-D\" -DPACKAGE_TARNAME=\"theme-d\" -DPACKAGE_VERSION=\"5.1.2\" -DPACKAGE_STRING=\"Theme-D\ 5.1.2\" -DPACKAGE_BUGREPORT=\"tommi.hoynalanmaa\ at\ iki.fi\" -DPACKAGE_URL=\"http://www.iki.fi/tohoyn/theme-d/\" -DPACKAGE=\"theme-d\" -DVERSION=\"5.1.2\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I.  -I/gnu/store/rg8yrfvfdnp5n2m2vb5ranhdy653aj4y-guile-3.0.99-git/include/guile/3.0 -DSTANDARD_MATH=1 -DPOSIX_MATH=1   -g -O2 -MT libthemedsupport_la-theme_d_support.lo -MD -MP -MF .deps/libthemedsupport_la-theme_d_support.Tpo -c -o libthemedsupport_l
 a-theme_d_support.lo `test -f 'theme_d_support.c' || echo './'`theme_d_support.c
> libtool: compile:  gcc -DPACKAGE_NAME=\"Theme-D\" -DPACKAGE_TARNAME=\"theme-d\" -DPACKAGE_VERSION=\"5.1.2\" "-DPACKAGE_STRING=\"Theme-D 5.1.2\"" "-DPACKAGE_BUGREPORT=\"tommi.hoynalanmaa at iki.fi\"" -DPACKAGE_URL=\"http://www.iki.fi/tohoyn/theme-d/\" -DPACKAGE=\"theme-d\" -DVERSION=\"5.1.2\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I/gnu/store/rg8yrfvfdnp5n2m2vb5ranhdy653aj4y-guile-3.0.99-git/include/guile/3.0 -DSTANDARD_MATH=1 -DPOSIX_MATH=1 -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/libthemeds
 upport_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_clear' [-Wimplicit-function-declaration]
>     46 |   mpz_clear (SCM_I_BIG_MPZ (bignum));
>        |   ^~~~~~~~~
> theme_d_support.c:46:14: warning: implicit declaration of function 'SCM_I_BIG_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 function)
>     56 |   p = 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 deprecated [-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 = 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 ‘main’ (commit
> d0790d766bedf08fb65231eff53f6c8044eb94f1), but nothing has changed in
> this respect since 3.0.10.
>
> Are you applying additional patches?

Do you mean patches to guile? No, I use the guile packages coming with 
Debian.


>
> Ludo’.


      - Tommi

-- 
Kotisivu / Homepage: http://www.iki.fi/tohoyn/
Sähköposti / E-Mail: [email protected]
GPG-sormenjälki / GPG fingerprint:
55F4 2477 7155 3528 5CB2 2B7A BB86 1FDE 4046 0F83
FT, Debian-ylläpitäjä / PhD, Debian Maintainer
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.