unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: "Tommi Höynälänmaa" <tommi.hoynalanmaa@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 72407@debbugs.gnu.org
Subject: bug#72407: Guile 3.0.10 fails to run tests
Date: Sun, 1 Sep 2024 17:51:34 +0300	[thread overview]
Message-ID: <f111f91c-bdc0-9dad-2aff-cbb8b5a531a6@gmail.com> (raw)
In-Reply-To: <87a5gre92k.fsf@gnu.org>

Hello,

Ludovic Courtès kirjoitti 1.9.2024 klo 17.34:
> Hi,
>
> Tommi Höynälänmaa <tommi.hoynalanmaa@gmail.com> 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: tommi.hoynalanmaa@iki.fi
GPG-sormenjälki / GPG fingerprint:
55F4 2477 7155 3528 5CB2 2B7A BB86 1FDE 4046 0F83
FT, Debian-ylläpitäjä / PhD, Debian Maintainer






  reply	other threads:[~2024-09-01 14:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-01  4:56 bug#72407: Guile 3.0.10 fails to run tests Tommi Höynälänmaa
2024-09-01 14:34 ` Ludovic Courtès
2024-09-01 14:51   ` Tommi Höynälänmaa [this message]
2024-09-04 12:01     ` Ludovic Courtès
2024-09-04 12:05       ` Tommi Höynälänmaa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f111f91c-bdc0-9dad-2aff-cbb8b5a531a6@gmail.com \
    --to=tommi.hoynalanmaa@gmail.com \
    --cc=72407@debbugs.gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).