all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Sam James <sam@gentoo.org>
Cc: 74647-done@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 18:26:16 +0200	[thread overview]
Message-ID: <86ser62grb.fsf@gnu.org> (raw)
In-Reply-To: <87iks219jf.fsf@gentoo.org> (message from Sam James on Mon, 02 Dec 2024 13:47:32 +0000)

> From: Sam James <sam@gentoo.org>
> Cc: 74647@debbugs.gnu.org,  manuel@ledu-giraud.fr
> Date: Mon, 02 Dec 2024 13:47:32 +0000
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> 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?
> 
> It looks like it was introduced in
> https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/931,
> specifically commit 85cdba02a3e126c1099a62b3d6421ac0cb2d790b, which says
> "* Deprecated: 2.58.", but that commit doesn't appear in any release of
> 2.58, only >=2.58.90 (and so on) which are pre-releases of 2.59.

This was fixed on the emacs-30 branch together with bug#74606.





      reply	other threads:[~2024-12-02 16:26 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
2024-12-02 13:47   ` Sam James
2024-12-02 16:26     ` Eli Zaretskii [this message]

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

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

  git send-email \
    --in-reply-to=86ser62grb.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=74647-done@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.