From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id KqafDjhJuV7reQAA0tVLHw (envelope-from ) for ; Mon, 11 May 2020 12:46:48 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id sNE8CkZJuV4eCwAA1q6Kng (envelope-from ) for ; Mon, 11 May 2020 12:47:02 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B64F4940D95 for ; Mon, 11 May 2020 12:46:59 +0000 (UTC) Received: from localhost ([::1]:33344 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jY7pk-0001h0-KD for larch@yhetil.org; Mon, 11 May 2020 08:47:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38376) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jY7cE-0001O5-8c for bug-guix@gnu.org; Mon, 11 May 2020 08:33:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39962) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jY7cD-00078Q-Uy for bug-guix@gnu.org; Mon, 11 May 2020 08:33:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jY7cD-0000ga-SE for bug-guix@gnu.org; Mon, 11 May 2020 08:33:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#41058: GNOME Maps fails to start in GNOME References: <171dbdaa3a9.b16ae7023339.6597484424773462280@zoho.com> Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 11 May 2020 12:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41058 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: jackhill@jackhill.us Received: via spool by 41058-submit@debbugs.gnu.org id=B41058.15892003242548 (code B ref 41058); Mon, 11 May 2020 12:33:01 +0000 Received: (at 41058) by debbugs.gnu.org; 11 May 2020 12:32:04 +0000 Received: from localhost ([127.0.0.1]:51508 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jY7bH-0000f2-NZ for submit@debbugs.gnu.org; Mon, 11 May 2020 08:32:03 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:63825) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jY7bE-0000eX-38 for 41058@debbugs.gnu.org; Mon, 11 May 2020 08:32:01 -0400 Received: from nijino.local (194-96-185-81.hdsl.highway.telekom.at [194.96.185.81]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 49LL0X5mhzz3wHK; Mon, 11 May 2020 14:31:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1589200317; bh=Eu6Btc0cKaozYx9opZ6tvAQ9IcoeYILLhOpSfym1Zr0=; h=Subject:From:To:Cc:Date:In-Reply-To; b=VW17UfN0dp1UWcgit/Ob/2jhFeVYoC0+7UMxyNrRfiXD+3Aj4hf3B6p//cQJ6E+ig fU443tWK/YEDgw1nH4AlG79IT3RM7kCHkvMcIa5ydQNqeZJPgCsIljY1ToHlnm3aWK PN1aYb6qbkT5kywk/E43oqcRyDeDK/EBS25QmpZ0= Message-ID: From: Leo Prikler Date: Mon, 11 May 2020 14:31:55 +0200 In-Reply-To: alpine.DEB.2.20.2005102353270.5735@marsh.hcoop.net Content-Type: multipart/mixed; boundary="=-9Uj37i50P4Hw9Jo0TKpE" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 41058@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 X-Spam-Score: -0.61 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tugraz.at header.s=mailrelay header.b=VW17UfN0; dmarc=pass (policy=none) header.from=student.tugraz.at; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Scan-Result: default: False [-0.61 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.53994817364412]; DWL_DNSWL_FAIL(0.00)[tugraz.at:server fail,209.51.188.17:server fail]; R_SPF_ALLOW(-0.20)[+ip4:209.51.188.0/24:c]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.07), country: US(-0.00), ip: 209.51.188.17(-0.54)]; HAS_ATTACHMENT(0.00)[]; TO_DN_NONE(0.00)[]; MIME_BASE64_TEXT_BOGUS(1.00)[]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; MIME_BASE64_TEXT(0.10)[]; RCPT_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[tugraz.at:+]; MAILLIST(-0.20)[mailman]; DMARC_POLICY_ALLOW(-0.50)[student.tugraz.at,none]; RCVD_IN_DNSWL_FAIL(0.00)[209.51.188.17:server fail]; MIME_TRACE(0.00)[0:+,1:+,2:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:209.51.188.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[leo.prikler@student.tugraz.at,bug-guix-bounces@gnu.org]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[tugraz.at:s=mailrelay]; RECEIVED_SPAMHAUS_PBL(0.00)[194.96.185.81:received]; FROM_HAS_DN(0.00)[]; URIBL_BLOCKED(0.00)[tugraz.at:dkim]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; MIME_GOOD(-0.10)[multipart/mixed,text/plain,text/x-patch]; HAS_LIST_UNSUB(-0.01)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.51.188.17:from]; RCVD_COUNT_SEVEN(0.00)[8]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: +KfFSGpsNaFb --=-9Uj37i50P4Hw9Jo0TKpE Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit I think, I figured out the root cause of this. GApplication launches apps through dbus, looking up the respective service in share/dbus-1. The service for GNOME Maps does not start the actual program, but much rather a gjs wrapper, which we don't patch -- and which we can't simply patch, because that leads to other errors, that rival our own when it comes to how cryptic they are. I've attached a patch, in which I rewrite the DBUS service to use the actual program. I have not fully tested this patch, as `guix environment --ad-hoc gnome-maps` appears not to be strong enough to influence the gapplication lookup. However, if you launch `gnome-maps --gapplication-service` in one terminal, then quickly switch to some other and launch `gnome-maps` normally, the one that spawned the service is the one that gets used, so claiming the bus in this fashion *should* work. Regards, Leo --=-9Uj37i50P4Hw9Jo0TKpE Content-Disposition: attachment; filename="0001-gnu-gnome-maps-Patch-DBUS-service.patch" Content-Type: text/x-patch; name="0001-gnu-gnome-maps-Patch-DBUS-service.patch"; charset="UTF-8" Content-Transfer-Encoding: base64 RnJvbSBkNzA5Nj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