From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Osama Rebach Newsgroups: gmane.emacs.bugs Subject: bug#74606: 31.0.50; Another rsvg API change Date: Mon, 02 Dec 2024 12:58:01 +0100 Message-ID: <87ttbmi9fa.fsf@olaptop-dell.mail-host-address-is-not-set> References: <877c8m9el0.fsf@ledu-giraud.fr> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20426"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74606-done@debbugs.gnu.org, manuel@ledu-giraud.fr To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 02 13:00:40 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 1tI56U-00051a-R7 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 02 Dec 2024 13:00:39 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tI564-0006P8-5m; Mon, 02 Dec 2024 07:00:12 -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 1tI55v-0006HF-Fk for bug-gnu-emacs@gnu.org; Mon, 02 Dec 2024 07:00:03 -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 1tI55u-0003SJ-Vw for bug-gnu-emacs@gnu.org; Mon, 02 Dec 2024 07:00: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:Date:In-Reply-To:From:To:References:Subject; bh=ohozqM3x+0ncfEnKMFj1+bgFeL1L9anXi9jE3ke8c2A=; b=HpE+FlsGVgnTt01jl+N8aygVt+VP+/iQ4HtJNbCrTP1ADgtRP1mIptb6DYKks31HxYP6sV3lJ/QbJiHyFA7e7kZ9VNYyNSttvmk+XPzhxg/BMUFKT8cMfBIx2MPRc+nOi6mhybfIxUaR3pSEYjAFat5c03DjooJvzleDcOK2VIBQ7u4POGMF5n/PsS2Gn7/0E3S5ZNvTHZ3EWo51rwtGmrStqjnN4p/Ra7JKNemjgiqd+KkhTbycHPh5zQtFGhzGmrbp+i8rL9tBZiXoOZWRUAWxHmWwo91mlT79GmqptYNBnlj8KjrQGNXxwIp8Z8lvH90rXqfUKeKv6YVNntvxoQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tI55u-0003db-Pq for bug-gnu-emacs@gnu.org; Mon, 02 Dec 2024 07:00:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Osama Rebach Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 Dec 2024 12:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74606 X-GNU-PR-Package: emacs Original-Received: via spool by 74606-done@debbugs.gnu.org id=D74606.173314074713856 (code D ref 74606); Mon, 02 Dec 2024 12:00:02 +0000 Original-Received: (at 74606-done) by debbugs.gnu.org; 2 Dec 2024 11:59:07 +0000 Original-Received: from localhost ([127.0.0.1]:54485 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tI551-0003bQ-Af for submit@debbugs.gnu.org; Mon, 02 Dec 2024 06:59:07 -0500 Original-Received: from mail-wm1-f42.google.com ([209.85.128.42]:60657) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tI54z-0003bH-55 for 74606-done@debbugs.gnu.org; Mon, 02 Dec 2024 06:59:05 -0500 Original-Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-4349e4e252dso39010045e9.0 for <74606-done@debbugs.gnu.org>; Mon, 02 Dec 2024 03:59:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733140684; x=1733745484; darn=debbugs.gnu.org; h=mime-version:message-id:date:in-reply-to:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=ohozqM3x+0ncfEnKMFj1+bgFeL1L9anXi9jE3ke8c2A=; b=fvVVVlbJbCcQdbyEiiz8wTj9CHrxXtwmRB7N+PsuOTVvl9kn7VOVO+GG8UcQjVQK0c Vb0jvK2cZqSBcPaLaXcOIfq3kBmNzYSR+v/BJiAexwlbpu9KjmRpXm128WsDn1jCtICK dgwHpZUYLIsaeMKKRc//aOJqf8KsSsMp3LdDJu82dkvn1F3Nh6XAilstBpf8ssz0vk/M Km8fAWkxcdF8Ivnlnd2v20JhkqxrhKvAtuNui+MgfOBnchM3KVNi+0CiYIEij1w/Sdyb ZQQvvhKP5WQePeIkddKljkGJmjA9RdV8i4Y8U40g1Gi5ME0METKxmc5xZpkYRQkIXQ7/ UBcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733140684; x=1733745484; h=mime-version:message-id:date:in-reply-to:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ohozqM3x+0ncfEnKMFj1+bgFeL1L9anXi9jE3ke8c2A=; b=FIYTP5jxqfpHpor8yJodJ/YcKYJ3HMNt+KWg/hkLa3wGfFil7Y4Em5/j0gwEE5z2DO ZisVmrYSe8EX3/zVSD5ZK4b4iSXsZgWlMe4VviGP0gLiDjDcfWOv6+KZibJ3w0AJ7YVi Nz+ZM71AxguOHp/m9yrrs1O3uArWXKawyfOVR/zTrKT6bpHSmACUc2033RWLx50TZGF4 rOU61clC6UHHoL0JeKpD/VmhJkbHuu+5FO5fXLz5tCcfBeJ83LhSaG1CIYWiyBka95gr Mq5U/Ua7VP8KZ4A/x1nhHmR7ls7FVDN0qGrgJUwy9D72xYdk9NMoAcaRbBCXIGUt+pCG eIaA== X-Forwarded-Encrypted: i=1; AJvYcCWiGirIfptHTU9MqpDlcNVbI/WEBC6pBeaXMMCXklGjLnSW7p1pi3pR8vxuZ7GXwHkWjoPExfb2Rpav@debbugs.gnu.org X-Gm-Message-State: AOJu0Yyswfs9DcPnMwaOozFiOgG55j7LiPy6BsHPAQtNyyRMzJK+zuGz nylgjnqNck5nzzTlimsdABt2wERdWE3Z6O6eRNudleXw4o3pYQ/qv+/Rgasb7wg= X-Gm-Gg: ASbGncu4HrneggGR5vOXwSDhNwfQDeA3Kfq9xW9UTfDLzlQRhMvaWJiIl5l3sfiyMup aFw2/xvagqAUam1IWxHrnHz1cwhAHYnB+dop3vs43rwCPsZ0ItbUym/WS1eXrsy0TYhC6KHK8n6 8ScdA8E1BdxWsvfSnvA440OWfxw7yzxQ5kOCHuRdChFR1q5vDOB3kV1+/n5lmOmbnp64l0+neLQ Mo7e0vsM8EP6y1Jr7XVyvB67JdQEbQo+VH7rM1m6aBt+88lBg== X-Google-Smtp-Source: AGHT+IGY5feEObBbcFfpyc+JoFdTmu+z9YjliN7qbhsK8SaLtbtqQJFVH8exrax8vlMBvrtJyMYi+Q== X-Received: by 2002:a05:600c:4f8f:b0:434:9fb5:fe04 with SMTP id 5b1f17b1804b1-434a9df0803mr164466065e9.28.1733140684333; Mon, 02 Dec 2024 03:58:04 -0800 (PST) Original-Received: from localhost ([105.105.10.178]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-434aa74ea95sm181422605e9.5.2024.12.02.03.58.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Dec 2024 03:58:03 -0800 (PST) In-Reply-To: <864j3n5u7u.fsf@gnu.org> (message from Eli Zaretskii on Sun, 01 Dec 2024 16:55:01 +0200) 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:296310 Archived-At: rsvg_handle_get_pixbuf_and_error is defined in librsvg 2.59, so the patch should guard against 2.59 instead of 2.58 I have libsrvg 2.58.3 and get this error: image.c: In function 'svg_load_image': image.c:12376:12: warning: implicit declaration of function 'rsvg_handle_get_pixbuf_and_error'; did you mean 'rsvg_handle_get_pixbuf_sub'? [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 12376 | pixbuf = rsvg_handle_get_pixbuf_and_error (rsvg_handle, &err); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | rsvg_handle_get_pixbuf_sub image.c:12376:10: warning: assignment to 'GdkPixbuf *' {aka 'struct _GdkPixbuf *'} from 'int' makes pointer from integer without a cast [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-conversion-Wint-conversion8;;] 12376 | pixbuf = rsvg_handle_get_pixbuf_and_error (rsvg_handle, &err); | ^ CC lastfile.o CCLD temacs GEN ../etc/DOC /nix/store/va7kw1i822h95im4jacci19v0cqajfyf-binutils-2.43.1/bin/ld: image.o: in function `svg_load_image': image.c:(.text+0x7a89): undefined reference to `rsvg_handle_get_pixbuf_and_error' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:745: temacs] Error 1 make[2]: Leaving directory '/build/source/src' make[1]: *** [Makefile:554: src] Error 2 make[1]: Leaving directory '/build/source' make[1]: Entering directory '/build/source' *** *** "make all" failed with exit status 2. *** *** You could try to: *** - run "make bootstrap", which might fix the problem *** - run "make V=1", which displays the full commands invoked by make, *** to further investigate the problem *** make[1]: *** [Makefile:418: advice-on-failure] Error 2 make[1]: Leaving directory '/build/source' make: *** [Makefile:374: all] Error 2