From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 13 17:41:04 2018 Received: (at 30886) by debbugs.gnu.org; 13 Apr 2018 21:41:04 +0000 Received: from localhost ([127.0.0.1]:51023 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f76RL-00031n-UH for submit@debbugs.gnu.org; Fri, 13 Apr 2018 17:41:04 -0400 Received: from mail-wr0-f182.google.com ([209.85.128.182]:35088) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f75m2-00022D-HN for 30886@debbugs.gnu.org; Fri, 13 Apr 2018 16:58:22 -0400 Received: by mail-wr0-f182.google.com with SMTP id o3so11251005wri.2 for <30886@debbugs.gnu.org>; Fri, 13 Apr 2018 13:58:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=S/ovlW+zYeQhpK7GUhhYW+ly1PVauHVta/AS2QOEF+0=; b=Gh1O0oBBlJPSjR+WUL9PUHYPvU9d2fU9JVBgI0vN16WR8wV6kdjzgB3/Rvjkj5x+Vg bp2po5MYDgDuP7fL/FAxjGCq6EXkIVmarROU8lEBI8AGG3PazOgaHTQiCzstD3xLkMk8 gQh1nWxP2TOB27xGFNga8sqJXp91qbZIHroaT/EMM4iz8qYW/LaUBmzD9msaT6uM39jx GYz0j2WG8mlkHW3ZHCI6xKc9asqLx9M0S84wCcyHZVI7r/A9aQr2hlrmd7LLs6DZo/V/ PozbrnWD7dAZukL1pY/MCIpFyhJH5UtW0lohT5ehtxxRRP81kC2RMXh/TcHptU0Cxd3H f78g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=S/ovlW+zYeQhpK7GUhhYW+ly1PVauHVta/AS2QOEF+0=; b=mTYbDN672G/IIzZdq+KyxyGmmxcvN3Yqsrj1zzng7GetaDVaQgOPKW76cQwarVTVCT LlAkUUsc6DOyALaNSXnVsHreRPIcX5RuJ2hwsMpYUxLB3fAJKInZZ1s3amfu7B48yWdX ageHIrcWaPUKCcczU70LT4hIyhD4QxBt9lWBbWkl4t16FY+YAKMaJBb5IkcLsqVSonFR c7McLV4fbQAfgTwHnbJ7d51MAZTN0aHTvUNgqEHyY53kUZ0zUzQX+zVF1StVrfl6XUDx MUvYLL9B5QMoRYa7v2/faj3SlCJQI8MW+yH/qnYV2H5PzzlJ9ktOwSsOhT0C7ip7IspF z5pg== X-Gm-Message-State: ALQs6tA6tE0NwTIO+tJwxpFdjJIUFNt2Js2cWZAhKN1Quzt8r+wiwPvt xaIc/9yiZmPbhN6Fa01NNf3HXO8E X-Google-Smtp-Source: AIpwx49iAOkpStRqkHpyfcdHDImV01+qwQF1Fcx1eRY3UM3F/FW8WqeiSw3oRa3AFrAFqBcvU8MF9Q== X-Received: by 10.28.105.19 with SMTP id e19mr4894428wmc.3.1523653096566; Fri, 13 Apr 2018 13:58:16 -0700 (PDT) Received: from merlin.browniehive.net (165.red-83-60-175.dynamicip.rima-tde.net. [83.60.175.165]) by smtp.gmail.com with ESMTPSA id l41sm12081586wrl.2.2018.04.13.13.58.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Apr 2018 13:58:16 -0700 (PDT) Date: Fri, 13 Apr 2018 22:58:12 +0200 From: Thomas Sigurdsen To: ludo@gnu.org (Ludovic =?UTF-8?B?Q291cnTDqHM=?=) Subject: Re: [bug#30886] Libreoffice Message-ID: <20180413225812.303a39d3@merlin.browniehive.net> In-Reply-To: <87efjvcfwg.fsf@gnu.org> References: <20180320182829.2b5abb89@merlin.browniehive.net> <87efjvcfwg.fsf@gnu.org> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 30886 X-Mailman-Approved-At: Fri, 13 Apr 2018 17:41:02 -0400 Cc: 30886@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, Seems this issue is a slow back and forth thing :) I applied the patch and built it. The build fails before finishing with a scheme backtrace. At first I thought it didn't finish anything, but it seems to have finished building libreoffice because I get: ------- Installation finished, you can now execute: /gnu/store/hf2a8f4rca9dvw1s6ffcsrbcsp39aj83-libreoffice-5.4.6.2/lib/libreof= fice/program/soffice ------ And then the most important part of the error after (I think): ------ phase `install' succeeded after 27.2 seconds starting phase `bin-and-desktop-install' Backtrace: ------ The backtrace points to trying to copy a file that might exist... the following path exists in /tmp/guix-build-...libreoffice..../ - but ofcourse, the whole path is not in the backtrace: 0 (copy-file "sysui/desktop/appstream-appdata/libreoffic=E2=80=A6" =E2=80= =A6) But, I can run the generated binary from the store. And the filechooser dialog still causes libreoffice to crash: "(soffice:9332): GLib-GIO-ERROR **: Settings schema 'org.gtk.Settings.FileChooser' is not installed " On Wed, 04 Apr 2018 14:30:55 +0200 ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > Hello Thomas, >=20 > Sorry for the late reply. >=20 > Thomas Sigurdsen skribis: >=20 > > First is a change according to a comment. I started looking at these > > because I wanted to check digital signatures and NSS was needed. Not su= re > > NPAPI is needed for NSS, but it is now enabled as per the old comment. = =20 >=20 > OK. >=20 > > Second is enabling gtk2. This fixes bug#30642 for me. I think this is > > because I'm not using gnome and therefore libreoffice can't find what it > > needs. But Idk. > > > > Filechooser dialog and digital signatures work with these 2 changes her= e. > > =20 > >>From 4623ee9b626efe331dacfc97383d15bd80a9e4f3 Mon Sep 17 00:00:00 2001 = =20 > > From: Tonton > > Date: Tue, 20 Mar 2018 17:23:52 +0100 > > Subject: [PATCH 1/2] The corresponding inputs looks to be packaged (bui= lds > > succesfully) > > > > Signed-off-by: Tonton > > --- > > gnu/packages/libreoffice.scm | 3 +-- > > 1 file changed, 1 insertion(+), 2 deletions(-) > > > > diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm > > index 316602adb..77c83b014 100644 > > --- a/gnu/packages/libreoffice.scm > > +++ b/gnu/packages/libreoffice.scm > > @@ -1027,8 +1027,7 @@ and to return information on pronunciations, > > meanings and synonyms.") "--without-fonts" > > ;; With java, the build fails since sac.jar is missing. > > "--without-java" > > - ;; FIXME: Enable once the corresponding inputs are packaged. > > - "--without-system-npapi-headers" > > + "--with-system-npapi-headers" =20 >=20 > I suspect this doesn=E2=80=99t have any effect because =E2=80=98configure= =E2=80=99 complains: >=20 > --8<---------------cut here---------------start------------->8--- > configure: WARNING: unrecognized options: --enable-fast-install, > --enable-verbose, --with-system-npapi-headers --8<---------------cut > here---------------end--------------->8--- >=20 > Are you sure digital signatures don=E2=80=99t work without this patch? >=20 > >>From ac709f4766668030de58b76e5a3a847796c379e5 Mon Sep 17 00:00:00 2001 = =20 > > From: Tonton > > Date: Tue, 20 Mar 2018 17:24:49 +0100 > > Subject: [PATCH 2/2] Enable gtk2 > > > > Racionale: on systems without gtk2 the openfile dialog makes openoffice > > crash. This (enabling gtk2) fixes this. > > > > Signed-off-by: Tonton =20 >=20 > This is not OK because we=E2=80=99d rather keep using GTK+3. >=20 > Could you try the patch below and see if it fixes the FileChooser issue? >=20 > Thanks, > Ludo=E2=80=99. >=20