From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id AKngEcW+o2GDpQAAgWs5BA (envelope-from ) for ; Sun, 28 Nov 2021 18:39:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id aAl3DcW+o2EzMgAAB5/wlQ (envelope-from ) for ; Sun, 28 Nov 2021 17:39:17 +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 0DD08E768 for ; Sun, 28 Nov 2021 18:39:17 +0100 (CET) Received: from localhost ([::1]:50840 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mrO8y-0004pF-55 for larch@yhetil.org; Sun, 28 Nov 2021 12:39:16 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34616) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrO8h-0004ol-AW for guix-devel@gnu.org; Sun, 28 Nov 2021 12:38:59 -0500 Received: from mail-40136.proton.ch ([185.70.40.136]:55778) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrO8d-0007HR-Ex for guix-devel@gnu.org; Sun, 28 Nov 2021 12:38:59 -0500 Date: Sun, 28 Nov 2021 17:38:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elenq.tech; s=protonmail; t=1638121130; bh=ZyiIPyNdl2PeK8epKWkUyxMl2ohKf8adRLsldoEWxs0=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=aGIpu3qUUg6oe52Aeb+L8jRJ2rjZiGhk1dWuWAPBUncHmQojq+viIUIFrypAK9cmU qxg6d9i1f+bKC/VW0W7rzs/9oNggptaUTUMAGOFljKwPOowyFhQgagIIkVxnWKGuJr /6MMe4dOKSgMhFIf71h0oClT535SCn12L5/dYzw9vpHssMMnpEzP5DJHQx6zsgF/Tw Go5ywHji6wY41vIIEwxZTa0OrAMyQWX9kjqYK/ejqEBQoKvB/6BShvRBjKRTQToNqb j6zfGZ70hD8lhZPZpAfKbyEUCoqFu6yttdVuOT+VxTprn/SssL7D9hTOB2X2jIxkd/ 9Vh7QHRz+A/Ug== To: =?utf-8?Q?Ludovic_Court=C3=A8s?= From: Ekaitz Zarraga Subject: Re: Help with package AppImage support Message-ID: In-Reply-To: <87y2589ok9.fsf@gnu.org> References: <_xVjfJ4W4fPQpKjHi_K0yQ8it0Qxk0bcqKDkMi5I9LAzgr7nc6G3vS3mSXwtT89mBf4skrlN43EBErQawcLl5PKQaFseUE8799VD_LjxIDE=@elenq.tech> <87h7c2iybv.fsf@gnu.org> <87y2589ok9.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.136; envelope-from=ekaitz@elenq.tech; helo=mail-40136.proton.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Ekaitz Zarraga Cc: "guix-devel\\@gnu.org" Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1638121157; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=ZyiIPyNdl2PeK8epKWkUyxMl2ohKf8adRLsldoEWxs0=; b=LODY23BojbrHaM/1r9U21KCni0DMmylWxwHVs3CpOTLrM79FHcjn+4ODmZHzCxkPLWYxQS 3NwY0+KPuDV/iu91M0EMXEa8bwPBDDeAE0SpFILps7OXiOBU7YcJnL4c1DNGFCjAfKGi9K 3XlcbD0UR9mYGETqRN+ufJHb/bm7FcyUDW2g2RVWsopgVCeosPQ/Ps88cYUt1zsxEKDiZe 7gdbYoXxK/ooOWMxmdRGUlpxoYWL2OjLT/FsG4b23TZZhVe/uz52us0TOC6OGWkY7B0yKw tGMWFcl3qwC1WjMfZYzXhXUWpRSA8ccIhicJmHca2Aq8PUIJDPBYKHj1ZBM/8w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638121157; a=rsa-sha256; cv=none; b=bb8NNVGUiYdYsHsCBM6es45lESgTvW+wiW/eHmUVZVzgk0VBo6NMCTFS6mgXM2JcLHDqjh 08oKpZoGKNYiXMQbJvLqcsJFl0lcdeQ8WVIki/CICliu4JPceKTTtMKlxyj7Fq8DDc9aei df7E507lj02eXRz5nvjSuyPGP0m+BMJUhW+gpl5D12PQH4Rqd4CergJhbWCEKX7/Z1H2Fo PaZ1KXk++eeNJ5IHPutlzk4M7D3mkgM2cgJFxjrCtrHI2gqD9MfDRmbui+mQKkw4+NOWb3 3nUVTt6yuqKYc241dCMk8O65UUFgan73HJrCBXAD8OSa+qihIXrYlStSL7HAXw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=elenq.tech header.s=protonmail header.b=aGIpu3qU; dmarc=pass (policy=none) header.from=elenq.tech; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.11 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elenq.tech header.s=protonmail header.b=aGIpu3qU; dmarc=pass (policy=none) header.from=elenq.tech; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 0DD08E768 X-Spam-Score: -4.11 X-Migadu-Scanner: scn0.migadu.com X-TUID: uZU/+0GvwuG0 > Hi, > > The log reads: > > --8<---------------cut here---------------start------------->8--- > -- Found PkgConfig: /gnu/store/krpyb0zi700dcrg9cc8932w4v0qivdg9-pkg-confi= g-0.29.2/bin/pkg-config (found version "0.29.2") > -- Importing target libfuse via pkg-config (fuse, shared) > -- Checking for module 'fuse' > -- Found fuse, version 2.9.9 > -- Importing target libssl via pkg-config (openssl, shared) > -- Checking for module 'openssl' > -- Found openssl, version 1.1.1j > -- Using system mksquashfs > CMake Error at src/build-runtime.cmake:19 (message): > TARGET NOT found libsquashfuse > Call Stack (most recent call first): > src/CMakeLists.txt:16 (include) > > > -- Configuring incomplete, errors occurred! > See also "/tmp/guix-build-appimagekit-13.drv-0/build/CMakeFiles/CMakeOutp= ut.log". > command "cmake" "../source" "-DCMAKE_BUILD_TYPE=3DRelWithDebInfo" "-DCMAK= E_INSTALL_PREFIX=3D/gnu/store/9z0n0kia0kp63vdlvpdlm2qcky67x00y-appimagekit-= 13" "-DCMAKE_INSTALL_LIBDIR=3Dlib" "-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=3DT= RUE" "-DCMAKE_INSTALL_RPATH=3D/gnu/store/9z0n0kia0kp63vdlvpdlm2qcky67x00y-a= ppimagekit-13/lib" "-DCMAKE_VERBOSE_MAKEFILE=3DON" "-DXZ_EXTERNAL=3DOn" "-D= USE_SYSTEM_MKSQUASHFS=3DOn" failed with status 1 > --8<---------------cut here---------------end--------------->8--- > > Maybe =E2=80=9CTARGET NOT found=E2=80=9D is CMake=E2=80=99s original way = of saying that you=E2=80=99re > missing a dependency (libsquashfuse), no? I mean, I already reached that conclusion but if you check the packages in = the original message, the dependency is included. I can't find why isn't it fin= ding the library. I need there some help making CMake find the dependency I already included = and packaged. > BTW, since your ultimate goal is to have =E2=80=98guix pack -f appimage= =E2=80=99, you > could look at the AppImage spec. It might be that you can do the heavy > lifting of creating a file in that format without resorting to > AppImageKit. There are some possible options for this. Appimage is basically an ELF with the contents on an Squashfs image inside. When it runs it decompresses itself and runs the contents. Appimagekit is basically one possible runtime for this behavior, which is just a simple shell-like launcher. I just wanted to add this package too, for those who want to generate appim= ages by themselves and later decide if I want to use it or not in the actual implementation. > HTH, > Ludo=E2=80=99. Thanks! Ekaitz