Received: (at 51968) by debbugs.gnu.org; 21 Dec 2021 10:51:12 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 21 05:51:12 2021 Received: from localhost ([127.0.0.1]:52499 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mzcjg-0000xn-2h for submit <at> debbugs.gnu.org; Tue, 21 Dec 2021 05:51:12 -0500 Received: from baptiste.telenet-ops.be ([195.130.132.51]:43064) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <maximedevos@HIDDEN>) id 1mzcja-0000xY-IX for 51968 <at> debbugs.gnu.org; Tue, 21 Dec 2021 05:51:10 -0500 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by baptiste.telenet-ops.be with bizsmtp id Yyr42600H4UW6Th01yr404; Tue, 21 Dec 2021 11:51:05 +0100 Message-ID: <8428aecd8d2d15dbcf057a8e85f40ea70705311f.camel@HIDDEN> Subject: Re: bug#51968: Missing dependency for Xournal++ From: Maxime Devos <maximedevos@HIDDEN> To: Alexander Asteroth <alexander.asteroth@HIDDEN>, Daniel =?ISO-8859-1?Q?Mei=DFner?= <daniel.meissner-i4k@HIDDEN> Date: Tue, 21 Dec 2021 10:51:03 +0000 In-Reply-To: <87ee66e3wp.fsf@HIDDEN> References: <87fsrsijtk.fsf@HIDDEN> <87k0gca8lj.fsf@HIDDEN> <87a6gzv94l.fsf@HIDDEN> <87czlvkxd7.fsf@HIDDEN> <875yrj5qxf.fsf@HIDDEN> <87ee66e3wp.fsf@HIDDEN> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1640083865; bh=S5SdYL/zO6wY6SoiC+vSECMRNehpmLvofnWe2fC5DXg=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=lmrY28OvJIVi1ZUL8zOhztjA48i054DgytPAHzr9UMOVzWaUbNytNfBnaw8RurWrr WcJXxs185uUirfIAP36Wu/a/uAV9vhTN64suRBsGNzrascPrcv8PgMlg9SI56/lJwJ joyBj7u7n9xvalOtThm4sa9+rjwrqd4cWh6zVbhkyYGJ43Weji+aIHJdQ3/ImZOAYI ObKcxgPGwDmGnWRhr+ryHLZYbh5f4xAjTZNjLX06trJ4MM+uhs5r6fppxDjhQynJHG KVy3HB5sky70hiTH/Eu6RP0uWswTFerEbnzo2C/syq84EPzC7c3ezDmJaBbGDoSdgL nTf1PsTfGaDRQ== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 51968 Cc: 51968 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Hi, Alexander Asteroth schreef op di 21-12-2021 om 09:45 [+0100]: > [...] > In the meantime I found that as well. But the documentation (from my > perspective) is unfortunately incomplete. It neither specifies the > full > semantics (without looking into the macro-code) ‘Modify the given package inputs, as returned by package-inputs & co., according to the given clauses. The example below removes the GMP and ACL inputs of Coreutils and _adds libcap to the back of the input list_: (modify-inputs (package-inputs coreutils) (delete "gmp" "acl") (append libcap))’ (Emphasis mine.) Seems like the behaviour of 'append' is specified? Except that it isn't explicitely stated there can be multiple arguments, although this seems implied by the 'delete' example. > nor does it tell me, > what kind of clauses I can put e.g. into (modify-input ...). The manual documnets ‘delete’, ’append’ and ‘replace’, and ends with ‘the last type of clause is prepend’, no? > How is > (append ...) translated? The web document links to the list append > function which it might somehow translate to but that is not > documented > either (at least I dont find it). The ‘append’ procedure is from Guile, not Guix. Also, it doesn't link to the 'append' procedure? --- nevermind, the 'append' in the code example does link to the Guile manual. Seems like a bug, because 'append' accepts lists, not elements of lists. Likewise for 'delete'. About how ‘(append ...)’ is translated: ‘The example below [...] adds libcap to the back of the input list’. I don't see how the documentation could be more complete, unless you're looking for a less informal description of the syntax, e.g. as in the documentation for 'match' or 'define-record-type' in Guile. Greetings, Maxime > https://guix.gnu.org/manual/devel/en/html_node/Defining-Package-Variants.html#index-modify_002dinputs
bug-guix@HIDDEN
:bug#51968
; Package guix
.
Full text available.Received: (at 51968) by debbugs.gnu.org; 21 Dec 2021 08:52:27 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 21 03:52:27 2021 Received: from localhost ([127.0.0.1]:52323 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mzasl-0001fC-5U for submit <at> debbugs.gnu.org; Tue, 21 Dec 2021 03:52:27 -0500 Received: from sv-2s11.infcs.de ([194.95.66.48]:47542 helo=ux-2s-mailproxy.inf.h-brs.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <alexander.asteroth@HIDDEN>) id 1mzasf-0001eq-OG for 51968 <at> debbugs.gnu.org; Tue, 21 Dec 2021 03:52:25 -0500 Received: from gyps.h-brs.de (p5797302f.dip0.t-ipconnect.de [87.151.48.47]) (authenticated bits=0) by ux-2s-mailproxy.inf.h-brs.de (8.15.2/8.15.2/Debian-8ska0) with ESMTPSA id 1BL8qDme010000 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 21 Dec 2021 09:52:13 +0100 References: <87fsrsijtk.fsf@HIDDEN> <87k0gca8lj.fsf@HIDDEN> <87a6gzv94l.fsf@HIDDEN> <87czlvkxd7.fsf@HIDDEN> <875yrj5qxf.fsf@HIDDEN> User-agent: mu4e 1.7.4; emacs 27.2 From: Alexander Asteroth <alexander.asteroth@HIDDEN> To: Daniel =?utf-8?Q?Mei=C3=9Fner?= <daniel.meissner-i4k@HIDDEN> Subject: Re: bug#51968: Missing dependency for Xournal++ Date: Tue, 21 Dec 2021 09:45:06 +0100 In-reply-to: <875yrj5qxf.fsf@HIDDEN> Message-ID: <87ee66e3wp.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Auth: by SMTP AUTH @ ux-2s11 X-MIMEDefang-Info-ge: Gescannt in Inf@FH-BRS, Regeln s. MiniFAQ E-Mail/Mailscanner X-Spam-Status: No, Sender is auth'ed X-Scanned-By: MIMEDefang @ FB02 @ H-BRS X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 51968 Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>, 51968 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hi Daniel, On Mon, Dec 20 2021, 14:47:24, Daniel Mei=C3=9Fner <daniel.meissner-i4k@ruh= r-uni-bochum.de> wrote: >> I can reproduce the missing icons issue by running=20 >> >>> guix shell --pure -f xournalpp-fix.scm -- xournalpp >> >> as suggested below. Wondering why the icons are not missing when I run >> xournalpp in my environment I discovered that >> >>> guix shell --pure gtk+ -f xournalpp-fix.scm -- xournalpp >> >> resolves this problem. > > This is weird since gtk+ already is an input to xournalpp (despite not a > propagated one). What desktop environment are you using? That is *really* strange, is it? I'm using no desktop environment. Just EXWM as window manager. > >> Looking at your xournalpp-fix.scm file I wondered what the function >> modify-input exactly does (and how to add gtk+ to the append >> clause). I don't find neither documentation in the manuals nor code >> for it in a guix checkout (when I do a recursive grep in the source >> for guix or gnu modules the result is empty). > > This =E2=80=98modify-input=E2=80=99 form is actually a macro and it is do= cumented in the > latest version of the manual [1]. This macro is part of a big surface > level syntax change for packages which arrived with the > core-updates-frozen merge. See [2] for a nice blog post. In the meantime I found that as well. But the documentation (from my perspective) is unfortunately incomplete. It neither specifies the full semantics (without looking into the macro-code) nor does it tell me, what kind of clauses I can put e.g. into (modify-input ...). How is (append ...) translated? The web document links to the list append function which it might somehow translate to but that is not documented either (at least I dont find it). This seems to be a general problem with the documentation to me (that it doesn't fully document neither syntax nor semantics). Others have problems using guile (which I don't have)... Cheers, Alex > As I have > mentioned, gtk+ is already an input for xournalpp. If it were not, you > could add it using: > > (modify-inputs (package-inputs xournalpp) > (append adwaita-icon-theme gtk+)) > > Best, > Daniel > > 1: https://guix.gnu.org/manual/devel/en/html_node/Defining-Package-Varian= ts.html#index-modify_002dinputs > 2: https://guix.gnu.org/de/blog/2021/the-big-change/
bug-guix@HIDDEN
:bug#51968
; Package guix
.
Full text available.Received: (at 51968) by debbugs.gnu.org; 17 Dec 2021 16:30:32 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 17 11:30:32 2021 Received: from localhost ([127.0.0.1]:40513 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1myG7r-00037C-VL for submit <at> debbugs.gnu.org; Fri, 17 Dec 2021 11:30:32 -0500 Received: from sv-2s11.infcs.de ([194.95.66.48]:51816 helo=ux-2s-mailproxy.inf.h-brs.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <alexander.asteroth@HIDDEN>) id 1myG7p-00036w-Hm for 51968 <at> debbugs.gnu.org; Fri, 17 Dec 2021 11:30:30 -0500 Received: from condor.h-brs.de (p5797302f.dip0.t-ipconnect.de [87.151.48.47]) (authenticated bits=0) by ux-2s-mailproxy.inf.h-brs.de (8.15.2/8.15.2/Debian-8ska0) with ESMTPSA id 1BHGUKwx004575 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 17 Dec 2021 17:30:21 +0100 References: <87fsrsijtk.fsf@HIDDEN> <87k0gca8lj.fsf@HIDDEN> <87a6gzv94l.fsf@HIDDEN> User-agent: mu4e 1.6.10; emacs 27.2 From: Alexander Asteroth <alexander.asteroth@HIDDEN> To: Daniel =?utf-8?Q?Mei=C3=9Fner?= <daniel.meissner-i4k@HIDDEN> Subject: Re: bug#51968: Missing dependency for Xournal++ Date: Fri, 17 Dec 2021 17:14:33 +0100 In-reply-to: <87a6gzv94l.fsf@HIDDEN> Message-ID: <87czlvkxd7.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Auth: by SMTP AUTH @ ux-2s11 X-MIMEDefang-Info-ge: Gescannt in Inf@FH-BRS, Regeln s. MiniFAQ E-Mail/Mailscanner X-Spam-Status: No, Sender is auth'ed X-Scanned-By: MIMEDefang @ FB02 @ H-BRS X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 51968 Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>, 51968 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Daniel, Hi Ludovic, I can reproduce the missing icons issue by running=20 > guix shell --pure -f xournalpp-fix.scm -- xournalpp as suggested below. Wondering why the icons are not missing when I run xournalpp in my environment I discovered that > guix shell --pure gtk+ -f xournalpp-fix.scm -- xournalpp resolves this problem. Looking at your xournalpp-fix.scm file I wondered what the function modify-input exactly does (and how to add gtk+ to the append clause). I don't find neither documentation in the manuals nor code for it in a guix checkout (when I do a recursive grep in the source for guix or gnu modules the result is empty). Cheers, Alex On Fri, Dec 17 2021, 11:06:02, Daniel Mei=C3=9Fner <daniel.meissner-i4k@ruh= r-uni-bochum.de> wrote: > Hi Alexander, hi Ludo=E2=80=99, > > Ludovic Court=C3=A8s writes: >> Hi Daniel, >> >> Daniel Mei=C3=9Fner <daniel.meissner-i4k@HIDDEN> skribis: >> >>> there is a problem with the package xournalpp on Guix master. To >>> reproduce run: >>> >>> $ guix shell --pure xournalpp -- xournalpp > > [...] > >> How should this be addressed? Adding =E2=80=98gnome-icon-theme=E2=80=99= as a >> propagated input would be quite unusual, but maybe it=E2=80=99s become >> necessary? > > I have done some more analysis. First of all, I was wrong in pointing > out it has to be =E2=80=98adwaita-icon-theme=E2=80=99 for it to work, =E2= =80=98gnome-icon-theme=E2=80=99 > does also work. Of course, you then get a different =E2=80=98image-missi= ng=E2=80=99 > icon. However, let me elaborate a bit: > > The following command tries to invoke xournalpp in a pure and > environment. It crashes because it cannot find =E2=80=98image-missing.pn= g=E2=80=99. It > tries to load this icon in the first place because it cannot load its > own toolbar icons. > > #+begin_src bash > guix shell --pure xournalpp -- xournalpp > #+end_src > > > However, when run from within Gnome it works without problems and the > toolbar icons show up. Running the following prevents the crash but > most of the toolbar icons now show the =E2=80=98image-missing=E2=80=99 ic= on: > > #+begin_src bash > guix shell --pure xournalpp gnome-icon-theme > export XDG_DATA_DIRS=3D$GUIX_ENVIRONMENT/share > xournalpp > #+end_src > > > Depending on whether one uses =E2=80=98gnome-icon-theme=E2=80=99 or =E2= =80=98adwaita-icon-theme=E2=80=99 > different icons for =E2=80=98image-missing=E2=80=99 are used. > > It seems to me that evince also does not find all of its icons. > However, it does not crash because it has =E2=80=98adwaita-icon-theme=E2= =80=99 as one of > its inputs (although it is just an input, not a propagated input). The > missing icon is the =E2=80=98view-sidebar-symbolic-ltr=E2=80=99 and is co= mplained about > after opening some PDF. > > #+begin_src bash > guix shell --pure evince -- evince > #+end_src > > > Also in this case when run from Gnome the sidebar icon is correctly > displayed. > > So in order to address the crash it seems natural to add either > =E2=80=98gnome-icon-theme=E2=80=99 or =E2=80=99adwaita-icon-theme=E2=80= =99 to the list of inputs. For > example, the following package definition yields a =E2=80=9Cworking=E2=80= =9D Xournalpp > in the sense that it does not crash. > > #+begin_src scheme > (use-modules (guix packages) > (gnu packages pdf) > (gnu packages gnome)) > > (package/inherit xournalpp > (inputs (modify-inputs (package-inputs xournalpp) > (append adwaita-icon-theme)))) > #+end_src > > > Put the above in a file named =E2=80=98xournalpp-fix.scm=E2=80=99 and the= n run: > > #+begin_src bash > guix shell --pure -f xournalpp-fix.scm -- xournalpp > #+end_src > > Xournalpp does not crash, however, the correct toolbar icons are still > missing and this seems to be the actual problem. Any ideas where to > look for the problem? I have not tried to run Xournalpp in an XFCE > environment to see if the toolbar icons are missing there, too. But > maybe Alexander has, since he discovered the problem in the first place. > As I am using Gnome, I have never run into this issue before despite > having been using Xournalpp under Guix for a while now. > > Since evince also shows this behaviour in an isolated environment: > Might there be a general underlying problem? > > Best > Daniel --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFQBAEBCAA6FiEEXU8UwBfdlxG/YNXXLg/GxGpHPCwFAmG8uxQcHGFsZXhhbmRl ci5hc3Rlcm90aEBoLWJycy5kZQAKCRAuD8bEakc8LKwvB/9AYaD3wmvxPq2+vz5V VSRsq1axW+WYFaSDKEPrbLQEoITazvOSwpiOB4Y5cRkhvF46psDAjTCEVdzl28XK 8+Fqw464fNjcdIrcN2nP6tkRLaUmSN64U2CLesrny21VubPVNmg6mEgJfjj4d4P3 3cZ/yeIESES2RT9q4SOpoNiiDL5q7shuYlatx9qwBdPe+7cD4yKYBvdkddjiG4gr w3HyeDlIBEuV4MTzkktXr8SAf0DY6ldMoQn756YVrNdDW7OP+B2jqj+xf/JDa6C2 6oRsMmUCuhSKiO9GoplK1251UFysiJYQy3F4diD8+j1928TZ/NVbGEbvRg8ZHYQe 3Gzi =KCvH -----END PGP SIGNATURE----- --=-=-=--
bug-guix@HIDDEN
:bug#51968
; Package guix
.
Full text available.Received: (at 51968) by debbugs.gnu.org; 17 Dec 2021 10:06:18 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 17 05:06:18 2021 Received: from localhost ([127.0.0.1]:37996 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1myA82-0004D0-DL for submit <at> debbugs.gnu.org; Fri, 17 Dec 2021 05:06:18 -0500 Received: from out2.mail.ruhr-uni-bochum.de ([134.147.42.229]:34830) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <daniel.meissner-i4k@HIDDEN>) id 1myA7z-0004Ck-Vd for 51968 <at> debbugs.gnu.org; Fri, 17 Dec 2021 05:06:17 -0500 Received: from mx2.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by out2.mail.ruhr-uni-bochum.de (Postfix mo-ext) with ESMTP id 4JFl4K6sl9z8SnY; Fri, 17 Dec 2021 11:06:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ruhr-uni-bochum.de; s=mail-2017; t=1639735570; bh=6hybeCLUERMT0NPiBD61TBct/agoVt5PaDoSA8JOmUQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=0gg/b6375jO9CiTWLjsm9uGzrlkn6OptGh9AA099n+FWe5VCrFm7rEJwANc0tFtRf gQ5yLOk8GCXiDu3uYorupxiPizbUT7oL18RvaXVO8CC2F9cKm8FvSkWO29M26wkNJQ CqG/2WfQCK5yEQ7L4QOyITonW2yatSXPXQMs9teU= Received: from out2.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by mx2.mail.ruhr-uni-bochum.de (Postfix idis) with ESMTP id 4JFl4K6GCkz8SnP; Fri, 17 Dec 2021 11:06:09 +0100 (CET) X-RUB-Notes: Internal origin=134.147.42.236 X-Envelope-Sender: <daniel.meissner-i4k@HIDDEN> Received: from mail2.mail.ruhr-uni-bochum.de (mail2.mail.ruhr-uni-bochum.de [134.147.42.236]) by out2.mail.ruhr-uni-bochum.de (Postfix mi-int) with ESMTP id 4JFl4K46mJz8Sm9; Fri, 17 Dec 2021 11:06:09 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.1 at mx2.mail.ruhr-uni-bochum.de Received: from xii-04 (pm26.mg07.ruhr-uni-bochum.de [10.150.49.41]) by mail2.mail.ruhr-uni-bochum.de (Postfix) with ESMTPSA id 4JFl4K0hm7zDgyr; Fri, 17 Dec 2021 11:06:09 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.1 at mail2.mail.ruhr-uni-bochum.de From: Daniel =?utf-8?Q?Mei=C3=9Fner?= <daniel.meissner-i4k@HIDDEN> To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>, Alexander Asteroth <alexander.asteroth@HIDDEN> Subject: Re: bug#51968: Missing dependency for Xournal++ In-Reply-To: <87k0gca8lj.fsf@HIDDEN> References: <87fsrsijtk.fsf@HIDDEN> <87k0gca8lj.fsf@HIDDEN> Date: Fri, 17 Dec 2021 11:06:02 +0100 Message-ID: <87a6gzv94l.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 51968 Cc: 51968 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Hi Alexander, hi Ludo=E2=80=99, Ludovic Court=C3=A8s writes: > Hi Daniel, > > Daniel Mei=C3=9Fner <daniel.meissner-i4k@HIDDEN> skribis: > >> there is a problem with the package xournalpp on Guix master. To >> reproduce run: >> >> $ guix shell --pure xournalpp -- xournalpp [...] > How should this be addressed? Adding =E2=80=98gnome-icon-theme=E2=80=99 = as a > propagated input would be quite unusual, but maybe it=E2=80=99s become > necessary? I have done some more analysis. First of all, I was wrong in pointing out it has to be =E2=80=98adwaita-icon-theme=E2=80=99 for it to work, =E2= =80=98gnome-icon-theme=E2=80=99 does also work. Of course, you then get a different =E2=80=98image-missing= =E2=80=99 icon. However, let me elaborate a bit: The following command tries to invoke xournalpp in a pure and environment. It crashes because it cannot find =E2=80=98image-missing.png= =E2=80=99. It tries to load this icon in the first place because it cannot load its own toolbar icons. #+begin_src bash guix shell --pure xournalpp -- xournalpp #+end_src However, when run from within Gnome it works without problems and the toolbar icons show up. Running the following prevents the crash but most of the toolbar icons now show the =E2=80=98image-missing=E2=80=99 icon: #+begin_src bash guix shell --pure xournalpp gnome-icon-theme export XDG_DATA_DIRS=3D$GUIX_ENVIRONMENT/share xournalpp #+end_src Depending on whether one uses =E2=80=98gnome-icon-theme=E2=80=99 or =E2=80= =98adwaita-icon-theme=E2=80=99 different icons for =E2=80=98image-missing=E2=80=99 are used. It seems to me that evince also does not find all of its icons. However, it does not crash because it has =E2=80=98adwaita-icon-theme=E2=80= =99 as one of its inputs (although it is just an input, not a propagated input). The missing icon is the =E2=80=98view-sidebar-symbolic-ltr=E2=80=99 and is comp= lained about after opening some PDF. #+begin_src bash guix shell --pure evince -- evince #+end_src Also in this case when run from Gnome the sidebar icon is correctly displayed. So in order to address the crash it seems natural to add either =E2=80=98gnome-icon-theme=E2=80=99 or =E2=80=99adwaita-icon-theme=E2=80=99 = to the list of inputs. For example, the following package definition yields a =E2=80=9Cworking=E2=80= =9D Xournalpp in the sense that it does not crash. #+begin_src scheme (use-modules (guix packages) (gnu packages pdf) (gnu packages gnome)) (package/inherit xournalpp (inputs (modify-inputs (package-inputs xournalpp) (append adwaita-icon-theme)))) #+end_src Put the above in a file named =E2=80=98xournalpp-fix.scm=E2=80=99 and then = run: #+begin_src bash guix shell --pure -f xournalpp-fix.scm -- xournalpp #+end_src Xournalpp does not crash, however, the correct toolbar icons are still missing and this seems to be the actual problem. Any ideas where to look for the problem? I have not tried to run Xournalpp in an XFCE environment to see if the toolbar icons are missing there, too. But maybe Alexander has, since he discovered the problem in the first place. As I am using Gnome, I have never run into this issue before despite having been using Xournalpp under Guix for a while now. Since evince also shows this behaviour in an isolated environment: Might there be a general underlying problem? Best Daniel
bug-guix@HIDDEN
:bug#51968
; Package guix
.
Full text available.Received: (at 51968) by debbugs.gnu.org; 10 Dec 2021 13:54:57 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 10 08:54:57 2021 Received: from localhost ([127.0.0.1]:45947 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mvgMT-0008W1-91 for submit <at> debbugs.gnu.org; Fri, 10 Dec 2021 08:54:57 -0500 Received: from out3.mail.ruhr-uni-bochum.de ([134.147.53.155]:63733) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <daniel.meissner-i4k@HIDDEN>) id 1mvgMO-0008Vh-2p for 51968 <at> debbugs.gnu.org; Fri, 10 Dec 2021 08:54:56 -0500 Received: from mx3.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by out3.mail.ruhr-uni-bochum.de (Postfix mo-ext) with ESMTP id 4J9XTL1fy3z8SrM; Fri, 10 Dec 2021 14:54:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ruhr-uni-bochum.de; s=mail-2017; t=1639144486; bh=FyQYKqEXqBh9kBzFgbg2mpIbr7K96KtfXlhMP2QksR0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=fOiSTJIGe6/fPRkWXKw/IJ36HfT6b+mX3DSTjyW4t3WVQQYUBqxOATeIzSecVWqMX 1MTj1SQJ+kM0HVOYo1ZvuuSoumt/GP9tuUBT2yqdc2v6iUR3QdFnPhe+vI9lUaVl7j MKi/HjBZT7sWCDI36B4CPXfNT967L0h8ve0SSzVw= Received: from out3.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by mx3.mail.ruhr-uni-bochum.de (Postfix idis) with ESMTP id 4J9XTL14Jrz8Sdb; Fri, 10 Dec 2021 14:54:46 +0100 (CET) X-Envelope-Sender: <daniel.meissner-i4k@HIDDEN> X-RUB-Notes: Internal origin=134.147.42.236 Received: from mail2.mail.ruhr-uni-bochum.de (mail2.mail.ruhr-uni-bochum.de [134.147.42.236]) by out3.mail.ruhr-uni-bochum.de (Postfix mi-int) with ESMTP id 4J9XTK65Hzz8SXN; Fri, 10 Dec 2021 14:54:45 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.1 at mx3.mail.ruhr-uni-bochum.de Received: from think (dslb-088-070-115-200.088.070.pools.vodafone-ip.de [88.70.115.200]) by mail2.mail.ruhr-uni-bochum.de (Postfix) with ESMTPSA id 4J9XTJ5RTSzDgyk; Fri, 10 Dec 2021 14:54:44 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.1 at mail2.mail.ruhr-uni-bochum.de From: Daniel =?utf-8?Q?Mei=C3=9Fner?= <daniel.meissner-i4k@HIDDEN> To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN> Subject: Re: bug#51968: Missing dependency for Xournal++ In-Reply-To: <87k0gca8lj.fsf@HIDDEN> References: <87fsrsijtk.fsf@HIDDEN> <87k0gca8lj.fsf@HIDDEN> Date: Fri, 10 Dec 2021 14:54:43 +0100 Message-ID: <87fsr0k1jw.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 51968 Cc: 51968 <at> debbugs.gnu.org, Alexander Asteroth <alexander.asteroth@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Hi Ludo, Ludovic Court=C3=A8s writes: > Daniel Mei=C3=9Fner skribis: > >> there is a problem with the package xournalpp on Guix master. To >> reproduce run: >> >> $ guix shell --pure xournalpp -- xournalpp >> [...] > How should this be addressed? Adding =E2=80=98gnome-icon-theme=E2=80=99 = as a propagated > input would be quite unusual, but maybe it=E2=80=99s become necessary? In fact, I think it should be adwaita-icon-theme. Anyways, I am not familiar with how GTK loads its icons but maybe we could patch the sources to look for the icon in the right places so that we can just add it as an input? Best Daniel
bug-guix@HIDDEN
:bug#51968
; Package guix
.
Full text available.Received: (at 51968) by debbugs.gnu.org; 10 Dec 2021 13:32:51 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 10 08:32:51 2021 Received: from localhost ([127.0.0.1]:45904 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mvg15-0005fB-22 for submit <at> debbugs.gnu.org; Fri, 10 Dec 2021 08:32:51 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60628) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1mvg13-0005ex-In for 51968 <at> debbugs.gnu.org; Fri, 10 Dec 2021 08:32:50 -0500 Received: from [2001:470:142:3::e] (port=47628 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1mvg0x-0005oI-Eh; Fri, 10 Dec 2021 08:32:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=NyKR/FelR3oA0kP+24NFHrCyBRmhIml+ObEgaNwiKHM=; b=pyWwtzp5c9vVEI80QPTe fDoL3wbxfN5YN5jqZYBNSRc6H6T+nWi9aInWWFg5MZUSPQfY/ifPrafWVwGKzT2510IXPMxWWcK/3 E0sZgqwYze0M1Rxkw1l76tlqVwOJOKGiXeXBEa2tZB+PELXzcRgg0psEUJ7Egu4b5/L+YXSey7Mk5 zkChIkHBt+Iezxijzh9uUnKgZtkx+oTY1jXEr1owZEK2KdUzDKCTIRb40deiv+f0DiZondic6jeds MDjBRIyeQReDugEeYZILYfuu1jCTtKa78gQZsmQjvO8hCBbgg275tCxuOKa48K5GRMyyoIEJ/3wFD 4YilyyiypjL2WA==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:62298 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1mvg0w-0001Lk-EW; Fri, 10 Dec 2021 08:32:43 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> To: Daniel =?utf-8?Q?Mei=C3=9Fner?= <daniel.meissner-i4k@HIDDEN> Subject: Re: bug#51968: Missing dependency for Xournal++ References: <87fsrsijtk.fsf@HIDDEN> Date: Fri, 10 Dec 2021 14:32:40 +0100 In-Reply-To: <87fsrsijtk.fsf@HIDDEN> ("Daniel =?utf-8?Q?Mei?= =?utf-8?Q?=C3=9Fner=22's?= message of "Fri, 19 Nov 2021 10:19:35 +0100") Message-ID: <87k0gca8lj.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 51968 Cc: 51968 <at> debbugs.gnu.org, Alexander Asteroth <alexander.asteroth@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Hi Daniel, Daniel Mei=C3=9Fner <daniel.meissner-i4k@HIDDEN> skribis: > there is a problem with the package xournalpp on Guix master. To > reproduce run: > > $ guix shell --pure xournalpp -- xournalpp > ** Message: 10:08:54.258: TEXTDOMAINDIR =3D (null), PACKAGE_LOCALE_DIR = =3D /gnu/store/dw4ca44bncb2cl0q7yx53lh1md90dcwg-xournalpp-1.1.0/share/local= e, chosen directory =3D /gnu/store/dw4ca44bncb2cl0q7yx53lh1md90dcwg-xournal= pp-1.1.0/share/locale > ALSA lib pcm_dsnoop.c:638:(snd_pcm_dsnoop_open) unable to open slave > ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear > ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_= lfe > ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side > ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel = map > ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel = map > ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel = map > ALSA lib pcm_dsnoop.c:638:(snd_pcm_dsnoop_open) unable to open slave > ** Message: 10:08:54.289: Plugin "MigrateFontSizes" UI initialized > ** > Gtk:ERROR:gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed = (error =3D=3D NULL): Icon 'image-missing' not present in theme Adwaita (gtk= -icon-theme-error-quark, 0) > Bail out! Gtk:ERROR:gtkiconhelper.c:494:ensure_surface_for_gicon: asserti= on failed (error =3D=3D NULL): Icon 'image-missing' not present in theme Ad= waita (gtk-icon-theme-error-quark, 0) > > ** (xournalpp:2068): WARNING **: 10:08:54.371: [Crash Handler] Crashed wi= th signal 6 > > ** (xournalpp:2068): WARNING **: 10:08:54.371: [Crash Handler] Wrote cras= h log to: /home/daniel/.cache/xournalpp/errorlogs/errorlog.20211119-100854.= log > > ** (xournalpp:2068): WARNING **: 10:08:54.478: Trying to emergency save t= he current open document? > > ** (xournalpp:2068): WARNING **: 10:08:54.478: Successfully saved documen= t to "/home/daniel/.config/xournalpp/emergencysave.xopp" > > Alexander Asteroth, who discovered the problem, wrote to help-guix: >> I found the reason. Xournal++ needs gnome-icon-theme to be installed >> as well. So it should probably go into the dependencies of the >> package. How should this be addressed? Adding =E2=80=98gnome-icon-theme=E2=80=99 as= a propagated input would be quite unusual, but maybe it=E2=80=99s become necessary? Thanks, Ludo=E2=80=99.
bug-guix@HIDDEN
:bug#51968
; Package guix
.
Full text available.Received: (at 51968) by debbugs.gnu.org; 19 Nov 2021 09:50:11 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 19 04:50:11 2021 Received: from localhost ([127.0.0.1]:38048 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mo0X4-0000bv-Qb for submit <at> debbugs.gnu.org; Fri, 19 Nov 2021 04:50:11 -0500 Received: from out1.mail.ruhr-uni-bochum.de ([134.147.53.149]:56118) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <daniel.meissner-i4k@HIDDEN>) id 1mo0X1-0000bH-MN for 51968 <at> debbugs.gnu.org; Fri, 19 Nov 2021 04:50:09 -0500 Received: from mx1.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by out1.mail.ruhr-uni-bochum.de (Postfix mo-ext) with ESMTP id 4HwX2c6KjVz8S8X; Fri, 19 Nov 2021 10:50:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ruhr-uni-bochum.de; s=mail-2017; t=1637315400; bh=eInGv3MPlxCWXShzYLolvREFqah0pqBpfkrA/6Gms44=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=nHy5UYDKEO4aVg3AYt/nT2CgiQkI4mtqvuKryQDVvhdEu++E9yCKzSfZUwgNZyPYU ScLBtZ/ZBalYyW9EIIzjI7Lrn8YggZ6Apqa00PRbO3D54KScKjlsW3YY6E9Ch7zf7r Tmeo/uzVJc6ZuCu7Ne+NG+CJezBarVaJtEbYj7gM= Received: from out1.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by mx1.mail.ruhr-uni-bochum.de (Postfix idis) with ESMTP id 4HwX2c5krrz8S96; Fri, 19 Nov 2021 10:50:00 +0100 (CET) X-Envelope-Sender: <daniel.meissner-i4k@HIDDEN> X-RUB-Notes: Internal origin=134.147.42.236 Received: from mail2.mail.ruhr-uni-bochum.de (mail2.mail.ruhr-uni-bochum.de [134.147.42.236]) by out1.mail.ruhr-uni-bochum.de (Postfix mi-int) with ESMTP id 4HwX2c4QCyz8SBd; Fri, 19 Nov 2021 10:50:00 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.1 at mx1.mail.ruhr-uni-bochum.de Received: from think (dslb-002-204-218-160.002.204.pools.vodafone-ip.de [2.204.218.160]) by mail2.mail.ruhr-uni-bochum.de (Postfix) with ESMTPSA id 4HwX2b66mQzDgyd; Fri, 19 Nov 2021 10:49:59 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.0 at mail2.mail.ruhr-uni-bochum.de From: Daniel =?utf-8?Q?Mei=C3=9Fner?= <daniel.meissner-i4k@HIDDEN> To: 51968 <at> debbugs.gnu.org Subject: Re: xounalpp package issues In-Reply-To: <87ee7cijpe.fsf@HIDDEN> References: <8735ntsakb.fsf@HIDDEN> <5Ya4v97BNlyXe57h4DdGBe22Sm7wn-_WUa_9NrwznRYlJw953hw5ulFQQ1uWGAL2g3oQH4phQ-Bh5P7j41FLT8D1OQ7kzQmjgowj2CpyQ5c=@protonmail.com> <87sfvsilgv.fsf@HIDDEN> <87o86giksb.fsf@HIDDEN> <87ee7cijpe.fsf@HIDDEN> Date: Fri, 19 Nov 2021 10:49:55 +0100 Message-ID: <875ysoiif0.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 51968 Cc: Alexander Asteroth <alexander.asteroth@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Hi! Further investigation reveals that the missing file `image-missing.png' is in the package adwaita-icon-theme and not gnome-icon-theme. Note that simply installing the package in the same profile does not help: --8<---------------cut here---------------start------------->8--- $ guix shell --pure xournalpp adwaita-icon-theme -- xournalpp ** Message: 10:46:08.511: TEXTDOMAINDIR = (null), PACKAGE_LOCALE_DIR = /gnu/store/dw4ca44bncb2cl0q7yx53lh1md90dcwg-xournalpp-1.1.0/share/locale, chosen directory = /gnu/store/dw4ca44bncb2cl0q7yx53lh1md90dcwg-xournalpp-1.1.0/share/locale ALSA lib pcm_dsnoop.c:638:(snd_pcm_dsnoop_open) unable to open slave ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map ALSA lib pcm_dsnoop.c:638:(snd_pcm_dsnoop_open) unable to open slave ** Message: 10:46:08.543: Plugin "MigrateFontSizes" UI initialized ** Gtk:ERROR:gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Icon 'image-missing' not present in theme Adwaita (gtk-icon-theme-error-quark, 0) Bail out! Gtk:ERROR:gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Icon 'image-missing' not present in theme Adwaita (gtk-icon-theme-error-quark, 0) ** (xournalpp:4093): WARNING **: 10:46:08.624: [Crash Handler] Crashed with signal 6 ** (xournalpp:4093): WARNING **: 10:46:08.624: [Crash Handler] Wrote crash log to: /home/daniel/.cache/xournalpp/errorlogs/errorlog.20211119-104608.log ** (xournalpp:4093): WARNING **: 10:46:08.723: Trying to emergency save the current open document? ** (xournalpp:4093): WARNING **: 10:46:08.724: Successfully saved document to "/home/daniel/.config/xournalpp/emergencysave.xopp" --8<---------------cut here---------------end--------------->8--- This is because the variable XDG_DATA_DIRS is not set. Setting it to the correct value fixes the problem: --8<---------------cut here---------------start------------->8--- $ guix shell --pure xournalpp adwaita-icon-theme [env]$ echo $XDG_DATA_DIRS [env]$ export XDG_DATA_DIRS=$GUIX_ENVIRONMENT/share [env]$ xournalpp ** Message: 10:48:30.406: TEXTDOMAINDIR = (null), PACKAGE_LOCALE_DIR = /gnu/store/dw4ca44bncb2cl0q7yx53lh1md90dcwg-xournalpp-1.1.0/share/locale, chosen directory = /gnu/store/dw4ca44bncb2cl0q7yx53lh1md90dcwg-xournalpp-1.1.0/share/locale ALSA lib pcm_dsnoop.c:638:(snd_pcm_dsnoop_open) unable to open slave ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map ALSA lib pcm_dsnoop.c:638:(snd_pcm_dsnoop_open) unable to open slave ** Message: 10:48:30.439: Plugin "MigrateFontSizes" UI initialized [env]$ --8<---------------cut here---------------end--------------->8--- Best Daniel
bug-guix@HIDDEN
:bug#51968
; Package guix
.
Full text available.Received: (at submit) by debbugs.gnu.org; 19 Nov 2021 09:19:57 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 19 04:19:57 2021 Received: from localhost ([127.0.0.1]:38011 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mo03h-00087j-7X for submit <at> debbugs.gnu.org; Fri, 19 Nov 2021 04:19:57 -0500 Received: from lists.gnu.org ([209.51.188.17]:39364) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <daniel.meissner-i4k@HIDDEN>) id 1mo03f-00087c-Mb for submit <at> debbugs.gnu.org; Fri, 19 Nov 2021 04:19:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36298) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <daniel.meissner-i4k@HIDDEN>) id 1mo03e-0001fL-SN for bug-guix@HIDDEN; Fri, 19 Nov 2021 04:19:47 -0500 Received: from out1.mail.ruhr-uni-bochum.de ([134.147.53.149]:14009) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <daniel.meissner-i4k@HIDDEN>) id 1mo03c-0004IM-2W for bug-guix@HIDDEN; Fri, 19 Nov 2021 04:19:46 -0500 Received: from mx1.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by out1.mail.ruhr-uni-bochum.de (Postfix mo-ext) with ESMTP id 4HwWMY41fWz8S76; Fri, 19 Nov 2021 10:19:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ruhr-uni-bochum.de; s=mail-2017; t=1637313577; bh=WlzcpHsimm2YPgMnerhGuPMjcXVYTKB9zZ1j8dJbuxc=; h=From:To:Cc:Subject:Date:From; b=d8Ln1hfehbu/X3p+/DXTeE6lPWWSyxAfP2UzmAf+iJYUNXNKAUPsSLmUd9qVgPFG5 ASW61Hy4xQtFs43gZM34LI9+PI+lbLbAg35G882KS+uHCI68HVoaztZqTM6fN9FI9E LhhJAvr6UUX5V4QX8odKJ6UdhtC6Zcz87bDut6Vs= Received: from out1.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by mx1.mail.ruhr-uni-bochum.de (Postfix idis) with ESMTP id 4HwWMY3WC3z8S6c; Fri, 19 Nov 2021 10:19:37 +0100 (CET) X-Envelope-Sender: <daniel.meissner-i4k@HIDDEN> X-RUB-Notes: Internal origin=134.147.42.236 Received: from mail2.mail.ruhr-uni-bochum.de (mail2.mail.ruhr-uni-bochum.de [134.147.42.236]) by out1.mail.ruhr-uni-bochum.de (Postfix mi-int) with ESMTP id 4HwWMY1Q3Mz8S7K; Fri, 19 Nov 2021 10:19:37 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.1 at mx1.mail.ruhr-uni-bochum.de Received: from think (dslb-002-204-218-160.002.204.pools.vodafone-ip.de [2.204.218.160]) by mail2.mail.ruhr-uni-bochum.de (Postfix) with ESMTPSA id 4HwWMX5QW6zDgyf; Fri, 19 Nov 2021 10:19:36 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.0 at mail2.mail.ruhr-uni-bochum.de From: =?utf-8?Q?Daniel_Mei=C3=9Fner?= <daniel.meissner-i4k@HIDDEN> To: bug-guix@HIDDEN Subject: Missing dependency for Xournal++ Date: Fri, 19 Nov 2021 10:19:35 +0100 Message-ID: <87fsrsijtk.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=134.147.53.149; envelope-from=daniel.meissner-i4k@HIDDEN; helo=out1.mail.ruhr-uni-bochum.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Alexander Asteroth <alexander.asteroth@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hi Guix, there is a problem with the package xournalpp on Guix master. To reproduce run: --8<---------------cut here---------------start------------->8--- $ guix shell --pure xournalpp -- xournalpp ** Message: 10:08:54.258: TEXTDOMAINDIR = (null), PACKAGE_LOCALE_DIR = /gnu/store/dw4ca44bncb2cl0q7yx53lh1md90dcwg-xournalpp-1.1.0/share/locale, chosen directory = /gnu/store/dw4ca44bncb2cl0q7yx53lh1md90dcwg-xournalpp-1.1.0/share/locale ALSA lib pcm_dsnoop.c:638:(snd_pcm_dsnoop_open) unable to open slave ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map ALSA lib pcm_dsnoop.c:638:(snd_pcm_dsnoop_open) unable to open slave ** Message: 10:08:54.289: Plugin "MigrateFontSizes" UI initialized ** Gtk:ERROR:gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Icon 'image-missing' not present in theme Adwaita (gtk-icon-theme-error-quark, 0) Bail out! Gtk:ERROR:gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Icon 'image-missing' not present in theme Adwaita (gtk-icon-theme-error-quark, 0) ** (xournalpp:2068): WARNING **: 10:08:54.371: [Crash Handler] Crashed with signal 6 ** (xournalpp:2068): WARNING **: 10:08:54.371: [Crash Handler] Wrote crash log to: /home/daniel/.cache/xournalpp/errorlogs/errorlog.20211119-100854.log ** (xournalpp:2068): WARNING **: 10:08:54.478: Trying to emergency save the current open document? ** (xournalpp:2068): WARNING **: 10:08:54.478: Successfully saved document to "/home/daniel/.config/xournalpp/emergencysave.xopp" --8<---------------cut here---------------end--------------->8--- Alexander Asteroth, who discovered the problem, wrote to help-guix: > I found the reason. Xournal++ needs gnome-icon-theme to be installed > as well. So it should probably go into the dependencies of the > package. This problem is easily missed when installing Xournal++ on a Guix system with Gnome as DE. Best Daniel
Daniel Meißner <daniel.meissner-i4k@HIDDEN>
:bug-guix@HIDDEN
.
Full text available.bug-guix@HIDDEN
:bug#51968
; Package guix
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.