bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#74647: 31.0.50; Build failure on master w/ librsvg-2.58.5


From: Sam James
Subject: bug#74647: 31.0.50; Build failure on master w/ librsvg-2.58.5
Date: Mon, 02 Dec 2024 13:47:32 +0000
User-agent: mu4e 1.12.7; emacs 31.0.50

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]