From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.devel Subject: Re: Emacs master build failing on RHEL 6.8 Date: Tue, 7 May 2019 15:46:18 -0400 Message-ID: References: <834l66jpty.fsf@gnu.org> <831s1ajo0w.fsf@gnu.org> <83zhnyi7o2.fsf@gnu.org> <83woj2i0qf.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000a442250588517a53" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="241123"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Stefan Monnier , Emacs developers To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 07 21:53:10 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hO69G-0010bA-7g for ged-emacs-devel@m.gmane.org; Tue, 07 May 2019 21:53:10 +0200 Original-Received: from localhost ([127.0.0.1]:52563 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hO69F-0001Ch-5e for ged-emacs-devel@m.gmane.org; Tue, 07 May 2019 15:53:09 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:41170) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hO63H-0003ym-M8 for emacs-devel@gnu.org; Tue, 07 May 2019 15:47:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hO63G-0000Wv-HR for emacs-devel@gnu.org; Tue, 07 May 2019 15:46:59 -0400 Original-Received: from mail-lj1-x22f.google.com ([2a00:1450:4864:20::22f]:45460) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hO63E-0000Uu-SQ; Tue, 07 May 2019 15:46:57 -0400 Original-Received: by mail-lj1-x22f.google.com with SMTP id r76so4347885lja.12; Tue, 07 May 2019 12:46:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2oFVA9mPgIMQyNV10Wwl04A9yNAH8PUdHxpkMzCG3vc=; b=MSrpuArUxgXnKisCsS/R4pAZWs6IU0t3GbHgBdRoSUZ87WZi429wKHW6pmaYP8q4qy zVNfUOH+aexpZ9MXwQ83frZbxL0UPiPhzbQADoF3NCEvuKr76aArltEejzY5gOrpft/v c/fz8AMCiwar1MMduMqxuRqVgLh8aI9CZDi7f4NrEcxzcojQKWkFo6Osms9Fh6mI3fb+ a1eLM86Rrc9eDBiUtVSrhauOyVkvVEi9dAp7vOO6dOM8rXdGXHUu1tDsGKt0zlLDGqit TsYHa8LZriGPcPAUCeAZU7uzuxJh/IwUN3/TXGygLudVtREruVss0/MvT8ejv/KIbO5x SnSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2oFVA9mPgIMQyNV10Wwl04A9yNAH8PUdHxpkMzCG3vc=; b=kBuDOzRUHQdCg3gpSihuixNSQ6lVRsXPdxNZrWqZC/Dc/gGYqC5wr0bc42OsaMCFIn YFSEQtHsOijTfGGI2M0rlKz3k1mmGQPEvQOcDHfANAyczcduc+yIpQfPAOTGRrd1u9YU RAOQRkE8uQZEbou2Kyr7KGGfeeOkKE9JMLcBwJRec26PXeC7HP0/p4lcC/7u3sxkUbsJ p1e1hUSc6wc2HoTZPpt3CcebhAGId0Z7j05B+0fxd5EhLwPNwAUF8O6lEjIyyoTfcXbV Z+tr7LcOPdEjACy91fiLiVRCwUfQU41revRRN9JVnO9SxfwgRitUp3dGhAzB0RjJTBpV xmsw== X-Gm-Message-State: APjAAAXEHGmYQwzsRxfQsHMkdiiwl3TRSZQcWGN4xhC69JRdLdwKWEuI 2T9LyL2GycDbepyUoFG1Vdb6/8b/Wn7+X2yc8LU39wSm X-Google-Smtp-Source: APXvYqxDfqQj9mMFCdJ08aInYJrGknUNP+XxFzJLmbmA9pB/aw/PdIOAPtCg8WvAy/59zUhlOkgmVYeMkOfDWDWjpek= X-Received: by 2002:a2e:281:: with SMTP id y1mr5796414lje.175.1557258414864; Tue, 07 May 2019 12:46:54 -0700 (PDT) In-Reply-To: <83woj2i0qf.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::22f X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:236260 Archived-At: --000000000000a442250588517a53 Content-Type: text/plain; charset="UTF-8" On Tue, May 7, 2019 at 2:22 PM Eli Zaretskii wrote: > > Can you show that part from a preprocessed image.c? > What's the "preprocessed" image.c? In any case, here's that part of image.c after reverted all local changes to it so that it's the exact same as on master: /* Suppress GCC deprecation warnings starting in librsvg 2.45.1 for rsvg_handle_write and rsvg_handle_close. FIXME: Use functions like rsvg_handle_new_from_gfile_sync on newer librsvg versions, and remove this hack. */ #if GNUC_PREREQ (4, 6, 0) #pragma GCC diagnostic push #endif #if LIBRSVG_CHECK_VERSION (2, 45, 1) && GNUC_PREREQ (4, 2, 0) #pragma GCC diagnostic ignored "-Wdeprecated-declarations" #endif PS: I was able to build emacs locally after commenting out the " #if LIBRSVG_CHECK_VERSION .. #endif" portion. --000000000000a442250588517a53 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, May 7, 2019 at 2:22 PM Eli Zaretskii <eliz@gnu.org> wrote:

Can you show that part from a preprocessed image.c?
What's the "preprocessed" image.c? In any case, = here's that part of image.c after reverted all local changes to it so t= hat it's the exact same as on master:


=C2= =A0 /* Suppress GCC deprecation warnings starting in librsvg 2.45.1 for
= =C2=A0=C2=A0=C2=A0=C2=A0 rsvg_handle_write and rsvg_handle_close.=C2=A0 FIX= ME: Use functions
=C2=A0=C2=A0=C2=A0=C2=A0 like rsvg_handle_new_from_gfi= le_sync on newer librsvg versions,
=C2=A0=C2=A0=C2=A0=C2=A0 and remove t= his hack.=C2=A0 */
=C2=A0 #if GNUC_PREREQ (4, 6, 0)
=C2=A0=C2=A0 #pra= gma GCC diagnostic push
=C2=A0 #endif
=C2=A0 #if LIBRSVG_CHECK_VERSIO= N (2, 45, 1) && GNUC_PREREQ (4, 2, 0)
=C2=A0=C2=A0 #pragma GCC d= iagnostic ignored "-Wdeprecated-declarations"
=C2=A0 #endif
PS: I was able to build emacs locally after commenting out = the " #if LIBRSVG_CHECK_VERSION .. #endif" portion.

=

--000000000000a442250588517a53--