GNU bug report logs - #35591
Segfault on flatpak remote-add

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: "Jonathan Frederickson" <jonathan@HIDDEN>; dated Sun, 5 May 2019 20:42:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 35591 <at> debbugs.gnu.org:


Received: (at 35591) by debbugs.gnu.org; 31 Oct 2019 10:50:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 31 06:50:33 2019
Received: from localhost ([127.0.0.1]:52169 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iQ82D-0002SS-4Q
	for submit <at> debbugs.gnu.org; Thu, 31 Oct 2019 06:50:33 -0400
Received: from out3-smtp.messagingengine.com ([66.111.4.27]:38181)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ben@HIDDEN>) id 1iQ828-0002SB-PO
 for 35591 <at> debbugs.gnu.org; Thu, 31 Oct 2019 06:50:31 -0400
Received: from compute6.internal (compute6.nyi.internal [10.202.2.46])
 by mailout.nyi.internal (Postfix) with ESMTP id 379E621B8C;
 Thu, 31 Oct 2019 06:50:23 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute6.internal (MEProxy); Thu, 31 Oct 2019 06:50:23 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sturm.com.au; h=
 from:to:cc:subject:references:date:in-reply-to:message-id
 :mime-version:content-type; s=fm1; bh=2DOkKR2LqMeP7tfpGAjp4Q42r/
 o2lKlySfzo67D1nqo=; b=AtE/lZaoyDSDlddn7rLh1iPaPL8zNWkC97mNL1NFFi
 G/viRhatAZhRgQA9JXBGUtikTDPyUu59UU7uy0IeMVt537GcSx03i2BRQpvLwY9h
 LDX4A3VAtqnR/qgNVrfTx3jTWVXNxTnAMcEv5TELPiLMU2xy1TS8dtqTIwlXsjfu
 5T+rf0PPTTVOnpzv5sYjqdOkKN4QLB21BUTawlC3wEgi638LgFJQRtzbyQ9Hyc70
 Y5VpQeDBU5tWBqT17vTZ2LUsjlmWsBJbvWxPUHj0vpthd9KqWYRvZ9aalitAXpKd
 gP+5N9VahnXqu+bTSkq+liE8swQKV9wRuz802+qOVk6A==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-me-proxy
 :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=2DOkKR
 2LqMeP7tfpGAjp4Q42r/o2lKlySfzo67D1nqo=; b=ATMjLQXUFp18SN7L2SSHyH
 dL3Qj72tuTZipbw4z9pQWhxUx5+hUak1Se8wVLEO2ajSeb3dpGgPBPhkA9zWrcea
 pTv2lXKTKrk5HGGZOh39EzVFMtmFe1AQKCbLqpCV97nd9fRTo8KDd8zg9UullyKF
 3BfLsACYetjgkKaYf430J580wV56PqR6XjxhG9VY6gh1E/loiRLq9p0V2GzUl7vC
 umDZPsnWyJBTKV6HK+EbPZwqZlf0ZZ57q01a0AgzYfYiPfVhQsROK/5nWfgQ/3lg
 ePl4SBZYeYeclKP/H/o8UbE+sHHlC40gnUAS9XXOu+wElD231DvTU6fzrC13jiJA
 ==
X-ME-Sender: <xms:bry6XZidXOQuYzBUETtmbx-Lv_w_6yPhYZG3wKS_qQGX0mVuXIpOpA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedruddthedgudekucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhephffvufhfffgjkfgfgggtsehgtderredtredtnecuhfhrohhmpeeuvghnucfu
 thhurhhmfhgvlhhsuceosggvnhesshhtuhhrmhdrtghomhdrrghuqeenucffohhmrghinh
 epfhhlrghthhhusgdrohhrghenucfkphepheekrdeirddukeegrddvvdegnecurfgrrhgr
 mhepmhgrihhlfhhrohhmpegsvghnsehsthhurhhmrdgtohhmrdgruhenucevlhhushhtvg
 hrufhiiigvpedt
X-ME-Proxy: <xmx:bry6XYe4lCZFUoON6fuiWHOXg0pwYeqqUZXwDAwZPhvm8Y0U4wOGyA>
 <xmx:bry6Xf0qalkk0ni8nioSbSx2bTY-4BYYlGev_728KfwobqoaZ6O0kw>
 <xmx:bry6XYuOodz49d_g-yaGY0g4oS0v04vF9t-7CHJ8ihpW754uZgUlrg>
 <xmx:b7y6XRO998H31vE_5iItQhbFYUifTesurwlaF1pKHyqg2gxu4mJBRQ>
Received: from localhost (58-6-184-224.dyn.iinet.net.au [58.6.184.224])
 by mail.messagingengine.com (Postfix) with ESMTPA id B3459306005C;
 Thu, 31 Oct 2019 06:50:21 -0400 (EDT)
Received: from localhost (localhost [local])
 by localhost (OpenSMTPD) with ESMTPA id ddc962ff;
 Thu, 31 Oct 2019 10:50:19 +0000 (UTC)
From: Ben Sturmfels <ben@HIDDEN>
To: "Jonathan Frederickson" <jonathan@HIDDEN>
Subject: Re: bug#35591: Segfault on flatpak remote-add
References: <12034386-e609-4dec-997f-bbf6614d8482@HIDDEN>
Date: Thu, 31 Oct 2019 21:50:18 +1100
In-Reply-To: <12034386-e609-4dec-997f-bbf6614d8482@HIDDEN> (Jonathan
 Frederickson's message of "Sun, 05 May 2019 16:05:25 -0400")
Message-ID: <87pnid9ok5.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 35591
Cc: 35591 <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 (-)

--=-=-=
Content-Type: text/plain

On Sun, 05 May 2019, Jonathan Frederickson wrote:

> I'm attempting to use Flatpak on my Guix system, and I'm experiencing
> segfaults when attempting to add a remote repo. Provided below are the
> output of the command I'm attempting to run, as well as some info
> about my system.

I learnt on #guix IRC that flatpak works when run with the --user flag:

$ flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
$ flatpak install flathub org.gnome.Builder
$ flatpak run org.gnome.Builder

The segfaulting behaviour is still a bug in my opinion, because it's
extremely user un-friendly, and the requirement for --user is not
obvious.

Regards,
Ben

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEPn825zvdanEG+SAhAjwF4snAaPAFAl26vGoACgkQAjwF4snA
aPCaeQ//THKTnk3DQ9Z2aL3balJaF5vky5CpOGvuLPxh78HNQmV8A6F6tHcDirWx
kOGbpFPXDkxhs/oqUMom8ROFjz1wa0LjxjftJdidO12n9iOm9c+D7hC9pgPHn5tr
c1dcHhv2DEQCsg3uJgnM9iMBS04rT0wQB1P5Mkni/T0HIzsBaUErKihq9j2YnNJd
HiosWIoXaLIxkWkpdRnNkDh8/M2dHcdMK4f+DCB2uMTqR16sHI7AyGo1ON+YS1KE
CLCMtFRFP2t2gWsSChYLHbjkk9Sydk2vCJE2d+Z40F7uGG7dFp3Qgkjr6aLi4lZj
b+Xgbf36JNBuEnLjI7sHDOI3lysoOrQQLL7XljZ15qFYaYteNBsBHNoIqXhdkqvU
lSlvGZVZ3ZXo3ekuSxpFiqykiyG9zgoER8g8jcRevsQ/ZlKJMW3LRRJ/bSJbGHYm
idFTfF39X4d+LF4rK9iLHpgvMiPHK5D8Xn2mVFrs5aIlnddMV7BjuNXd6FX3u7f7
IH6JHs4LtbO/sqae5UlmDMxUqNHmgT+EAW7ttM7XZkgFsTHwVAwEjDgh4/MNErIp
EwdT5Q75L74eDKWK9Ab52GxnzjUEa/5NhafLUrSgj9NuUql4icdpV+N2LgvxVV5X
ImBj2at5ljP1gtE7M3sEASFeUyuLJRmyYNy7I6ZGv4oYDDZHg/8=
=nxvD
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#35591; Package guix. Full text available.

Message received at 35591 <at> debbugs.gnu.org:


Received: (at 35591) by debbugs.gnu.org; 5 May 2019 23:36:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 05 19:36:45 2019
Received: from localhost ([127.0.0.1]:55206 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hNQgW-0001m6-7l
	for submit <at> debbugs.gnu.org; Sun, 05 May 2019 19:36:45 -0400
Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:41819)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jonathan@HIDDEN>) id 1hNQCI-0000se-7y
 for 35591 <at> debbugs.gnu.org; Sun, 05 May 2019 19:05:32 -0400
Received: from compute6.internal (compute6.nyi.internal [10.202.2.46])
 by mailout.west.internal (Postfix) with ESMTP id 283EF2E9;
 Sun,  5 May 2019 19:05:24 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute6.internal (MEProxy); Sun, 05 May 2019 19:05:24 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=terracrypt.net;
 h=from:to:cc:subject:date:message-id:in-reply-to:references
 :mime-version:content-type; s=fm1; bh=g7ehOUCYOfOBydZN1oH4K2vmI8
 9RzTq4dOBMNsHibd8=; b=SbVPccuZUtj0Yj1RrMURG85uL65ufVRw4rF/YiXn0A
 kNu/Y5WvFGmPKHkoYEMSP10BNIR79nyr4f7RmA90GgjptxOnsRBv4scf0teiFwO5
 Ln3yUHIgqd9wsdoYAeOPEb8o58HL5vEswaQnRqZ6iTnCZfdbVqs7FO61bPUVOXZp
 qHSTMlD7Jmt6dL1soqH7Hm64E8iY8j15PePBCHKNi8vo1cyYaLB74VjJVmHzZuFK
 IL1YccfPunj2q4aSF3T3BBx/2RTzyyYDU+MEnNw1c+fKzJ1XpOzMFJqsdId1x95V
 62vPW+kDLIqFVdL5AIlQM+E5UQz60OtszGHfdef2ua8w==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-me-proxy
 :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=g7ehOU
 CYOfOBydZN1oH4K2vmI89RzTq4dOBMNsHibd8=; b=imddKZB4sL7XRvtGTn1QcX
 /ZvdOEewI55TBcYo4OrDxc0DK6VY817hpdwdigdw83KIY55WFSG9FDElyZmbueH8
 KyjlRKZcmlnAQ/C59wMHIDD6ljCm05RmJUPVhX0gmWqWFzRf7iZYWRdI0L9oMIsQ
 FlCZNnveBAAl7AvAQbxcqBVc1TTplIMdDyyLH8QYQjBNjkSF4Ox7BwsDFwGbjsh7
 vGXYwzD/qh8HfqJK9fsenqYooEChJaMfL8dBHdQL2XSXjHPSsrqFuztvic7anhp5
 OxWs9z/cfWHFIYJ1X8Cx/Jnai0CdG7MyI3hAA0SEzPkv0ea9N12xwqcBhq9T8rnQ
 ==
X-ME-Sender: <xms:M2zPXLj71B7cb3CHRhN-yG8l-CIFqIJiyPOWDDbJziazeBgXUqixVw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrjeeigddukecutefuodetggdotefrodftvf
 curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu
 uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfgjfhggtgesghdtreertd
 dtvdenucfhrhhomheplfhonhgrthhhrghnucfhrhgvuggvrhhitghkshhonhcuoehjohhn
 rghthhgrnhesthgvrhhrrggtrhihphhtrdhnvghtqeenucfkphepuddtkedrgedrvddvke
 drudekkeenucfrrghrrghmpehmrghilhhfrhhomhepjhhonhgrthhhrghnsehtvghrrhgr
 tghrhihpthdrnhgvthenucevlhhushhtvghrufhiiigvpedt
X-ME-Proxy: <xmx:M2zPXPVNPPqF3rOHV9cbaOha49a3EI77s1pKcIFZGTgE4tfXCITjPg>
 <xmx:M2zPXPwLQ-h_xvZ11GfPL_Shch6RhIOiOswNOgP6IX6PabM6GX3hVQ>
 <xmx:M2zPXBRxQMvkCIzf1H5wo-a7t_pN1YIb39YShHhxzD8qvzX6gmBCRQ>
 <xmx:M2zPXKX-of88s16oOXxSHfcvS0z4u7hg99h1NJ3OPEjgDyMdKjsAQQ>
Received: from terrabase.localnet (pool-108-4-228-188.phlapa.fios.verizon.net
 [108.4.228.188])
 by mail.messagingengine.com (Postfix) with ESMTPA id 158B210369;
 Sun,  5 May 2019 19:05:23 -0400 (EDT)
From: Jonathan Frederickson <jonathan@HIDDEN>
To: Mark H Weaver <mhw@HIDDEN>
Subject: Re: bug#35591: Segfault on flatpak remote-add
Date: Sun, 05 May 2019 18:47:57 -0400
Message-ID: <2493358.OLn4tNdJs0@terrabase>
In-Reply-To: <87muk0sf4e.fsf@HIDDEN>
References: <12034386-e609-4dec-997f-bbf6614d8482@HIDDEN>
 <87muk0sf4e.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="nextPart4303375.LbeA925ssD";
 micalg="pgp-sha512"; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 35591
X-Mailman-Approved-At: Sun, 05 May 2019 19:36:42 -0400
Cc: 35591 <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 (-)

--nextPart4303375.LbeA925ssD
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"

On Sunday, May 5, 2019 6:36:06 PM EDT Mark H Weaver wrote:
> My knowledge of Flatpak is weak, but in general, foreign pre-compiled
> binaries will not work on Guix unless they are statically linked.
> Traditional dynamically-linked executables expect to find a dynamic
> linker and system shared libraries in /lib or /lib64, which do not exist
> on a Guix system.  It is also fairly common for foreign binaries to
> depend on standard files and programs in /usr, /bin, and /sbin, none of
> which are present on a Guix system except for /bin/sh.

I believe Flatpak applications are statically linked. (Or rather, individual 
applications may be dynamically linked, but they are eventually combined with 
a full OS image similarly to how Docker works.)

> I'm sorry I don't have a better answer for you, but Guix was not
> designed to run foreign pre-compiled binaries.  If that's important to
> you, it might be that Guix is not a good fit for you.

It's not the most important thing to me; it may end up being one more reason 
for me to start attempting to package things for Guix! But it would still be 
nice to be able to run the same tooling that e.g. some Gnome developers are 
using to publish their apps across distros. (And the fact that Flatpak is 
packaged for Guix seems to imply that it should be possible to use it here.)

> However, if your goal is to run Guix-compiled programs in a sandbox,
> that's something we are certainly very interested in, and we could use
> help.  We have "guix container" as a building block, and I know that
> some Guix users have experimented with running e.g. GNU IceCat within a
> container.  I don't know the current status of those efforts.  Hopefully
> someone more knowledgable in this area will chime in.

While this isn't my immediate goal, this is also something that I'm interested 
in, if someone else knows more about this!

--nextPart4303375.LbeA925ssD
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEEIugt7kcBGD3Sv4NQN3jAIa4BEwFAlzPaB0ACgkQQN3jAIa4
BEz25Q//Rv4YHz7/k6FzI1QDhRHLaZzXPirFE7rCFsv3QHl/gYDXCr/cUF9+vs+W
SrkGYVNErrG3qjHOncdQI3diT4Un9D98UcEILBWVX7aO5YCdv6Z5pTK1umzZgjiW
sFKeS5+mV2ELBQZDd4OQRsiHIDLQRR3oY3ducKp9yjWsl9gHoFzqjRDZkE6TZgqX
kYq0JvPQv3YUr9f0PUJN7ku180VjEjkiIU4LvmmunGStsXSOrv3Wt1VLrrTY0/2w
wN7wY2LFzEI2gP3P4m1GMd7cMrL231uIk0cmT0elV+aYABw2poR6Hsa9mo88myjQ
yxN2mzmp7kNeb9N8Mr8OKKpvhPl96MIGs/C1bqyZP0FNI6mkTwBDisJr8rENWVUy
fTlXxTexICOx1sdgATHB5kKMzYUKg+6seoVJAOT/su42Z3CDGEVLZZYy0kdxJovz
aNStg/bVpQoBciF42cc6uXCFfC5iVj8H5bJxoThxG7N4g6v3ZYubpY10Z12jOSPO
R0vFYfjMy3oFoVQdDTIZ8qU7gO0JbhRySw9GQcXPJV/LHZApH4lBRsTjYcJBZri3
fR8g2raaw0Otsa0USXKFHUma6Izi48usLKXKepXXVkSgcKZFgTZsSo+TEp0uU/u8
+lqySoMwTT/GWsAt0HFNeia8PtrmK5/MTClpolutjD8XZANr0EE=
=l31F
-----END PGP SIGNATURE-----

--nextPart4303375.LbeA925ssD--







Information forwarded to bug-guix@HIDDEN:
bug#35591; Package guix. Full text available.

Message received at 35591 <at> debbugs.gnu.org:


Received: (at 35591) by debbugs.gnu.org; 5 May 2019 22:38:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 05 18:38:02 2019
Received: from localhost ([127.0.0.1]:55135 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hNPlh-0008Vo-Ug
	for submit <at> debbugs.gnu.org; Sun, 05 May 2019 18:38:02 -0400
Received: from world.peace.net ([64.112.178.59]:33642)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mhw@HIDDEN>) id 1hNPlg-0008VX-Ij
 for 35591 <at> debbugs.gnu.org; Sun, 05 May 2019 18:38:00 -0400
Received: from mhw by world.peace.net with esmtpsa
 (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89)
 (envelope-from <mhw@HIDDEN>)
 id 1hNPla-0003RE-IR; Sun, 05 May 2019 18:37:54 -0400
From: Mark H Weaver <mhw@HIDDEN>
To: "Jonathan Frederickson" <jonathan@HIDDEN>
Subject: Re: bug#35591: Segfault on flatpak remote-add
References: <12034386-e609-4dec-997f-bbf6614d8482@HIDDEN>
Date: Sun, 05 May 2019 18:36:06 -0400
In-Reply-To: <12034386-e609-4dec-997f-bbf6614d8482@HIDDEN> (Jonathan
 Frederickson's message of "Sun, 05 May 2019 16:05:25 -0400")
Message-ID: <87muk0sf4e.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 35591
Cc: 35591 <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 Jonathan,

"Jonathan Frederickson" <jonathan@HIDDEN> writes:
> I'm attempting to use Flatpak on my Guix system, and I'm experiencing
> segfaults when attempting to add a remote repo. Provided below are the
> output of the command I'm attempting to run, as well as some info
> about my system.

My knowledge of Flatpak is weak, but in general, foreign pre-compiled
binaries will not work on Guix unless they are statically linked.
Traditional dynamically-linked executables expect to find a dynamic
linker and system shared libraries in /lib or /lib64, which do not exist
on a Guix system.  It is also fairly common for foreign binaries to
depend on standard files and programs in /usr, /bin, and /sbin, none of
which are present on a Guix system except for /bin/sh.

Having said that, if you must run foreign pre-compiled binaries on Guix,
there are various hacks to do it.  One approach is to install symlinks
in /lib*, /usr, /bin, /sbin, etc, pointing to the needed components in
/run/current-system.  Another is to modify the pre-compiled binaries to
look for components in the right place using 'patchelf'.  We use the
latter approach to bootstrap GHC (Glasgow Haskell Compiler), which can
only be compiled by itself.

I'm sorry I don't have a better answer for you, but Guix was not
designed to run foreign pre-compiled binaries.  If that's important to
you, it might be that Guix is not a good fit for you.

However, if your goal is to run Guix-compiled programs in a sandbox,
that's something we are certainly very interested in, and we could use
help.  We have "guix container" as a building block, and I know that
some Guix users have experimented with running e.g. GNU IceCat within a
container.  I don't know the current status of those efforts.  Hopefully
someone more knowledgable in this area will chime in.

     Regards,
       Mark




Information forwarded to bug-guix@HIDDEN:
bug#35591; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 5 May 2019 20:42:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 05 16:42:00 2019
Received: from localhost ([127.0.0.1]:55010 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hNNxP-0004wf-DV
	for submit <at> debbugs.gnu.org; Sun, 05 May 2019 16:41:59 -0400
Received: from eggs.gnu.org ([209.51.188.92]:52786)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jonathan@HIDDEN>) id 1hNNOf-0003re-B2
 for submit <at> debbugs.gnu.org; Sun, 05 May 2019 16:06:08 -0400
Received: from lists.gnu.org ([209.51.188.17]:36826)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <jonathan@HIDDEN>)
 id 1hNNOa-0000sy-8z
 for submit <at> debbugs.gnu.org; Sun, 05 May 2019 16:06:00 -0400
Received: from eggs.gnu.org ([209.51.188.92]:38921)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <jonathan@HIDDEN>) id 1hNNOW-0001zs-5a
 for bug-guix@HIDDEN; Sun, 05 May 2019 16:05:59 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_40,RCVD_IN_DNSWL_LOW,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <jonathan@HIDDEN>) id 1hNNOV-0000ZF-0L
 for bug-guix@HIDDEN; Sun, 05 May 2019 16:05:56 -0400
Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:58327)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <jonathan@HIDDEN>)
 id 1hNNOU-0000J2-FK
 for bug-guix@HIDDEN; Sun, 05 May 2019 16:05:54 -0400
Received: from compute6.internal (compute6.nyi.internal [10.202.2.46])
 by mailout.west.internal (Postfix) with ESMTP id ADAD82A8
 for <bug-guix@HIDDEN>; Sun,  5 May 2019 16:05:50 -0400 (EDT)
Received: from imap2 ([10.202.2.52])
 by compute6.internal (MEProxy); Sun, 05 May 2019 16:05:50 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=terracrypt.net;
 h=mime-version:message-id:date:from:to:subject:content-type; s=
 fm1; bh=VeYrp4rska/a/Rfx5p8r7nyfGccV9chaNWdnsaGWw6s=; b=U79JuQP4
 VaqRzdS0mGAvIJ5SG2kqkg4IWMEKd9UJqFi0TMzzGCOFBCXcaM8o17F63KfwhxcQ
 u+XaNyArUOzqkxKMoJuwF+8D8fxQ98oyIQmljKOa2sqFOYORf0jT/cVLxYQcfC0F
 +jV8cSfnv/5H9ayPOoA5jvuE/kaTltW1xfciqOsKOo4XasPyrNkeT4kUGTb+0r2X
 2aTjlliCG87gYUo+mIPj8pH9Ezr1Te0QkxXgSRjP1ENjxHHfAjTDPggXromN5aPc
 tqhQZWjPwuuctKJfs6C0NeEaUUBuiuJeC7PfQmhcbeR9XBJAYYd8pI2qhemr+eDR
 /uWHbA1rCAJ/Yg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=content-type:date:from:message-id
 :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender
 :x-me-sender:x-sasl-enc; s=fm2; bh=VeYrp4rska/a/Rfx5p8r7nyfGccV9
 chaNWdnsaGWw6s=; b=1uc2AYMScUM6icRplubYbQjXPxq7CNr/E35S8L0oqctwz
 PfJcp18y+3fJfk0eVMwvkCaniPfkjDTjfskgC7mDfWFSRx72j+zy76dj+vljSTik
 s8yAwaXV2NVLIp6Fg7TsCXyHAq78T1ZiMAPFXC25bLzMboevCs6PlQ7CnTIPmqaA
 5JC+TrwO0Wea5/3FM6BPolfb8pN3d0I606vL86CIvEgQmibxmTtErTK+mrGhP6wK
 T38NvAheyHGrLfbRm2gjERW8aGtms4dd0xZt1e7QcDqRFKhM8k31UiPZ1mF4o4BK
 cXUqdFse2z09e832VI05UWcN0+xvI2Y5HwxmpU4GQ==
X-ME-Sender: <xms:HkLPXFiShgBhbFHMjzwPIccU-AQI7b4cJMoOPJooOCH5M6TAgI5b_g>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrjeehgdduheefucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtsehttdertd
 erredtnecuhfhrohhmpedflfhonhgrthhhrghnucfhrhgvuggvrhhitghkshhonhdfuceo
 jhhonhgrthhhrghnsehtvghrrhgrtghrhihpthdrnhgvtheqnecuffhomhgrihhnpehjfh
 hrvggurdhlohgtrghlpdhflhgrthhhuhgsrdhorhhgpdhgnhhurdhorhhgnecurfgrrhgr
 mhepmhgrihhlfhhrohhmpehjohhnrghthhgrnhesthgvrhhrrggtrhihphhtrdhnvghtne
 cuvehluhhsthgvrhfuihiivgeptd
X-ME-Proxy: <xmx:HkLPXORUDPvBcBdBDhz_vQ2PKDZ8CEaXDv_uVr9YsY-wHGZPvX8Nkw>
 <xmx:HkLPXAHqX7RixUBHHqE2yYHL29bMye7BfuhvpJ2jIhL227KiFBx1bg>
 <xmx:HkLPXOmR_p45_yov_BBy9Jd2XVazMylqLiu-ANfDns7fj7L4X2Tz2w>
 <xmx:HkLPXPaXX29WHVb77nltFrXG3oylHnZOgGRK9dL4ShGms_hq9hyeLw>
Received: by mailuser.nyi.internal (Postfix, from userid 501)
 id F228A7C6D9; Sun,  5 May 2019 16:05:49 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.1.6-449-gfb3fc5a-fmstable-20190430v1
Mime-Version: 1.0
Message-Id: <12034386-e609-4dec-997f-bbf6614d8482@HIDDEN>
Date: Sun, 05 May 2019 16:05:25 -0400
From: "Jonathan Frederickson" <jonathan@HIDDEN>
To: bug-guix@HIDDEN
Subject: Segfault on flatpak remote-add
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 64.147.123.24
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Spam-Score: -1.6 (-)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Sun, 05 May 2019 16:41:58 -0400
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: -2.6 (--)

I'm attempting to use Flatpak on my Guix system, and I'm experiencing segfaults when attempting to add a remote repo. Provided below are the output of the command I'm attempting to run, as well as some info about my system.

=====
jfred@lambdacrypt ~$ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

Note that the directories

'/var/lib/flatpak/exports/share'
'/home/jfred/.local/share/flatpak/exports/share'

are not in the search path set by the XDG_DATA_DIRS environment variable, so
applications installed by Flatpak may not appear on your desktop until the
session is restarted.

Segmentation fault
=====
Current guix commit:

jfred@lambdacrypt ~$ guix describe -f channels
(list (channel
        (name 'guix)
        (url "https://git.savannah.gnu.org/git/guix.git")
        (commit
          "187f9636f176d62bf869b787ad410e3a528aa1a0")))
=====
Current user package manifest:

jfred@lambdacrypt ~$ cat guix.scm
(specifications->manifest
 '("glibc-utf8-locales"
   ;;# Dotfiles management
   "stow"
   "rofi"
   "gnupg"
   "emacs-password-store"
   "pcsc-lite"
   ;;# Hacking
   "emacs"
   "git"
   "guile@HIDDEN"
   "font-adobe-source-code-pro"
   "emacs-guix"
   ;;# Devops
   "docker"
   "docker-cli"
   "docker-compose"
   ;; System Administration
   "htop"
   "curl"
   ;;# Desktop
   "gnome-tweak-tool"
   "icecat"
   "luakit"
   "flatpak"
   "evolution"
   ;; Gaming
   "tintin++"
   "powwow"))




Acknowledgement sent to "Jonathan Frederickson" <jonathan@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#35591; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.