unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Sam James <sam@gentoo.org>
Cc: 74647@debbugs.gnu.org, manuel@ledu-giraud.fr
Subject: bug#74647: 31.0.50; Build failure on master w/ librsvg-2.58.5
Date: Mon, 02 Dec 2024 15:29:08 +0200	[thread overview]
Message-ID: <867c8i43iz.fsf@gnu.org> (raw)
In-Reply-To: <87zfle1f6i.fsf@gentoo.org> (message from Sam James on Mon, 02 Dec 2024 11:45:41 +0000)

> Cc: Manuel Giraud <manuel@ledu-giraud.fr>
> From: Sam James <sam@gentoo.org>
> Date: Mon, 02 Dec 2024 11:45:41 +0000
> 
> I see the following build failure (with a clean bootstrap) with librsvg-2.58.5 on master:
> """
> image.c: In function ‘svg_load_image’:
> image.c:12358:12: error: implicit declaration of function ‘rsvg_handle_get_pixbuf_and_error’; did you mean ‘rsvg_handle_get_pixbuf_sub’? [-Wimplicit-function-declaration]
> 12358 |   pixbuf = rsvg_handle_get_pixbuf_and_error (rsvg_handle, &err);
>       |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>       |            rsvg_handle_get_pixbuf_sub
> image.c:12358:12: warning: nested extern declaration of ‘rsvg_handle_get_pixbuf_and_error’ [-Wnested-externs]
> image.c:12358:10: error: assignment to ‘GdkPixbuf *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
> 12358 |   pixbuf = rsvg_handle_get_pixbuf_and_error (rsvg_handle, &err);
>       |          ^
> make[2]: *** [Makefile:457: image.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> """
> 
> I've attached the full build.log. Let me know if you need more information.

Manuel, I guess the version guard needs some adjustment?  Which
version of librsvg introduced rsvg_handle_get_pixbuf_and_error?





  reply	other threads:[~2024-12-02 13:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-02 11:45 bug#74647: 31.0.50; Build failure on master w/ librsvg-2.58.5 Sam James
2024-12-02 13:29 ` Eli Zaretskii [this message]
2024-12-02 13:47   ` Sam James
2024-12-02 16:26     ` Eli Zaretskii

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/emacs/

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

  git send-email \
    --in-reply-to=867c8i43iz.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=74647@debbugs.gnu.org \
    --cc=manuel@ledu-giraud.fr \
    --cc=sam@gentoo.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).