From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Wielkiewicz Subject: Re: Packaging Jami progress Date: Sat, 28 Dec 2019 02:34:01 +0100 Message-ID: <20191228023401.28002b4d@interia.pl> References: <20191215211230.66fea79e@interia.pl> <875zihclep.fsf@elephly.net> <20191222002815.4db8e9ca@interia.pl> <87d0cgpzqo.fsf@elephly.net> <20191223204317.3069e8ba@kompiuter> <20191225023416.0b36b90c@kompiuter> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:49125) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1il8Xo-0008Se-98 for guix-devel@gnu.org; Sat, 28 Dec 2019 04:38:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1il8Xn-0007ED-2I for guix-devel@gnu.org; Sat, 28 Dec 2019 04:38:00 -0500 Received: from smtpo.poczta.interia.pl ([217.74.65.208]:55282) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1il8Xi-00074S-8D for guix-devel@gnu.org; Sat, 28 Dec 2019 04:37:54 -0500 In-Reply-To: <20191225023416.0b36b90c@kompiuter> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ricardo Wurmus Cc: guix-devel@gnu.org I managed to debug jami client properly, the cause of the gdb error was the "jami-gnome" file, which is acutally just a bash script, exporting the path: #!/gnu/store/29jhbbg1hf557x8j53f9sxd9imlmf02a-bash-minimal-5.0.7/bin/bash export LD_LIBRARY_PATH="/gnu/store/dha6b5g3kjqw2vfdbhv43sfnpa5d0m5v-sqlite-with-column-metadata-3.28.0/lib${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" exec -a "$0" "/gnu/store/ab4wy29g68vgvcjv1x54bm4yklrvbw2q-jami-20191224.1.5c0154a/bin/.jami-gnome-real" "$@" I had to paste the export line before debugging using gdb, and everything went well. I'm confused with this. Is it also the reason of the bug, from Pierre's comment? I think we should probably get rid of "jami-gnome" file. My brain is spaghetti now, thanks to this error :P Jan Wielkiewicz