From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#74647: 31.0.50; Build failure on master w/ librsvg-2.58.5 Date: Mon, 02 Dec 2024 15:29:08 +0200 Message-ID: <867c8i43iz.fsf@gnu.org> References: <87zfle1f6i.fsf@gentoo.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6936"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74647@debbugs.gnu.org, manuel@ledu-giraud.fr To: Sam James Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 02 14:41:53 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tI6gS-0001eq-Vl for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 02 Dec 2024 14:41:53 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tI6aC-0006WA-44; Mon, 02 Dec 2024 08:35:24 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tI6V2-0003od-Dd for bug-gnu-emacs@gnu.org; Mon, 02 Dec 2024 08:30:14 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tI6V1-00014L-6Z for bug-gnu-emacs@gnu.org; Mon, 02 Dec 2024 08:30:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-version:References:In-Reply-To:From:Date:To:Subject; bh=zeM5IMdWZOeMe+eOiB0AbB6BD9hrGTK8+NKCcztPm1E=; b=lhzllZc93c1K4LnmVJVQ/PlPCggBliVvpmZy4e52FhoDdPdBe10akA3EvL3Dt7JybzrYKSCnQ5mcR567OPpas9XkS4cuHNCwmL0pSgU/d4W4KOZr/RDJYTMLgERB5JoUP/iej8lXF5VfPVkTmo7glTH7TMay2FZYNRqg+NtzmISMKcWc+cDQwcdq5nHf02bAYf/PjPhwL58y+Q5mTwCgRYTIUeHc9yyyeLsbfCGBGEsIFGUtUB+TwoFdFNdtpGXqH8iwx1myQInklUOcH59Bn5vSeLGlFfIgbCU8OxqieQUOHuC9cQTy/JOr5e7QE5hsmJyA7iwm4uzP5dNMWbURKw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tI6V0-0008Sp-Mw for bug-gnu-emacs@gnu.org; Mon, 02 Dec 2024 08:30:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 Dec 2024 13:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74647 X-GNU-PR-Package: emacs Original-Received: via spool by 74647-submit@debbugs.gnu.org id=B74647.173314616632433 (code B ref 74647); Mon, 02 Dec 2024 13:30:02 +0000 Original-Received: (at 74647) by debbugs.gnu.org; 2 Dec 2024 13:29:26 +0000 Original-Received: from localhost ([127.0.0.1]:54720 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tI6UP-0008R2-Vk for submit@debbugs.gnu.org; Mon, 02 Dec 2024 08:29:26 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tI6UN-0008Qm-Vg for 74647@debbugs.gnu.org; Mon, 02 Dec 2024 08:29:25 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tI6UH-0000n8-Ol; Mon, 02 Dec 2024 08:29:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=zeM5IMdWZOeMe+eOiB0AbB6BD9hrGTK8+NKCcztPm1E=; b=DVSjKflZ5E1jUpY4klSv lmB/Wl2039v8GhNrJR28kQdL3y0EVxx/HZ3w+z1X9LQyH00IlTpGdVK+xH6r2of4D22zYJNmVhG09 UnGAffcQPrF7pMLSZa2IrO1a+n6bPktY8+MvgMT5M3e6x5RPz6jz79co8PjGku8lU3AB6VbCadciB JL8icfs97NxZJxa6uy0zdU2tLu0rqSTlS2BtaaELCmEDx+KvbDr0+WmgNJ8fjH/ZqWmb5ANMjGHIN PcfA9xN9KtHBWet59oFWdmqYooiy48tEdQR+WbD1WDuCo9AHl0dr9/oMGEJtQD6iTlgr04NOfoW2L p2+37jC+dppnAQ==; In-Reply-To: <87zfle1f6i.fsf@gentoo.org> (message from Sam James on Mon, 02 Dec 2024 11:45:41 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:296319 Archived-At: > Cc: Manuel Giraud > From: Sam James > 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?