From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Frederickson Subject: bug#35591: Segfault on flatpak remote-add Date: Sun, 05 May 2019 18:47:57 -0400 Message-ID: <2493358.OLn4tNdJs0@terrabase> References: <12034386-e609-4dec-997f-bbf6614d8482@www.fastmail.com> <87muk0sf4e.fsf@netris.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4303375.LbeA925ssD"; micalg="pgp-sha512"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:50766) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hNQgp-0001Ep-5f for bug-guix@gnu.org; Sun, 05 May 2019 19:37:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hNQgo-0000Sq-4o for bug-guix@gnu.org; Sun, 05 May 2019 19:37:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41662) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hNQgn-0000Se-QN for bug-guix@gnu.org; Sun, 05 May 2019 19:37:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hNQgn-0001mu-K6 for bug-guix@gnu.org; Sun, 05 May 2019 19:37:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87muk0sf4e.fsf@netris.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Mark H Weaver Cc: 35591@debbugs.gnu.org --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--