From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id gGEPABCuaWdsogAAe85BDQ:P1 (envelope-from ) for ; Mon, 23 Dec 2024 18:38:08 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id gGEPABCuaWdsogAAe85BDQ (envelope-from ) for ; Mon, 23 Dec 2024 19:38:08 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=guZhffWS; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=rNPaer63; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734979087; h=from:from:sender:sender: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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ZJPKI+XdLC2W6VtOcEmAR7bCscUaIrgYikeI+J20FG0=; b=jTllmoUrokVKdGDVHtON6W4mHurU2cfPJzTc2mKtMXPa2c934ssmEgzNijVXn/oaHJun/B bHBnlqAtUPJZFVVOtTNj2fl70Y1+M96ppaI1692cMOXcQdvq3KSKs+c0U9xsISB3bpeuOu a+atVNkw6ldzlfSakL1y30s/EjWmn95CRAZS6dtugDt2hl1hPumQ7hY2nt2ii+DSObqzgx 7QDM9RaRAepUrtXeHqZOHT49SWQee4OaFshPiANcAmLOIMskEjG7KNjjpIEYojlBv4c/SV CqQizOWoE+ICx2SAbNTF3NE+AykheX2cpTSF2hgZiBTKQ2KlB4L+eNoRLJQoSw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=guZhffWS; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=rNPaer63; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734979087; a=rsa-sha256; cv=none; b=H3S7gU/u8uuPuVAXHqQRCSbur5sZ1pp1ZH3/+TxyxOGiPx3yBLfOO5sbQ0UO0UwZWo05BW /FrUIsd+LpPQ64IzPfbCjm/wRs767SwaLAH+JPuh9TrnmG5YqtasaeolViwywUtVjwmsYI QH9LM904Y6zsCshT5XEtYm1DBGHkPg4hj5sxOp9ThUoixG+eVy8sNMcHWjAPgtNI9FUbug DypDU3sBeFAJ0pxQ6Ep9PUbiNiLMej3gzYYTKX3DxD+eeAsUAOsVX/I4rbOHjubFH+RNQR t5CYh9Q5R01wb/T4Z16V5qbqJiBnqbySfCoojsNDvDzymY+JmRJCt4UfKt8ccg== 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 611118C60D for ; Mon, 23 Dec 2024 19:38:07 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tPnJc-0005Fp-Ir; Mon, 23 Dec 2024 13:38:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tPnJb-0005FT-1a for guix-patches@gnu.org; Mon, 23 Dec 2024 13:38:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tPnJa-00043m-OD for guix-patches@gnu.org; Mon, 23 Dec 2024 13:38:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=ZJPKI+XdLC2W6VtOcEmAR7bCscUaIrgYikeI+J20FG0=; b=guZhffWSv4Nj2GWUI2PqzKC+/YZ7wnATJ/UXrhHSSIUHrTQ3idCqTYlSJ165emtP8eH73A2ttqc96q/2D1a0n3Jt2Uvg3/YTBI6IeshcnGGLaR2dfFVGmQjujKqrWHkIu3+Pu54JMPEcGVJSxRUstacyKQo/7vPtmNvqGkrXYp2GP3OzOROBuU3vLAfWsDMFh1BfnkdioZ+GdX7/z8XP05R2XMhjxizyFva9SessxyIRLepm/aRR7kYnnVkQkYXj+SO6y1weJjv5njF7XItDTx3m2xGQMm3pxYvGeGafLNJZlbUeMLCAJVOtqPwkp34S6kfNQt9XvFz3lAEbvP9UZg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tPnJa-0003mj-Dv for guix-patches@gnu.org; Mon, 23 Dec 2024 13:38:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74670] [PATCH v3 2/2] tests: pack: Improve AppImage tests. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 23 Dec 2024 18:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74670 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: =?UTF-8?Q?No=C3=A9?= Lopez Cc: 74670@debbugs.gnu.org Received: via spool by 74670-submit@debbugs.gnu.org id=B74670.173497906614522 (code B ref 74670); Mon, 23 Dec 2024 18:38:02 +0000 Received: (at 74670) by debbugs.gnu.org; 23 Dec 2024 18:37:46 +0000 Received: from localhost ([127.0.0.1]:56177 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPnJJ-0003mA-KJ for submit@debbugs.gnu.org; Mon, 23 Dec 2024 13:37:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40492) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPnJH-0003lw-9o for 74670@debbugs.gnu.org; Mon, 23 Dec 2024 13:37:43 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tPnJB-00042s-Ji; Mon, 23 Dec 2024 13:37:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=ZJPKI+XdLC2W6VtOcEmAR7bCscUaIrgYikeI+J20FG0=; b=rNPaer63eSIfRV5N2+B6 axM8ALI4SmJP9g0DVrf5LleD/c52UrSzORXSJ9Ku0XgAH6QvlSonzky9uyHX8JXc6+VeTzNx46cA0 ovgtxAy+4dHam8cIT/oazgWtx9Vp4DQY9nVtVJnIBsTBdxAX4s/69NELLIjyyyHBHDST7EFV9VaR3 zvvKdkl2x7IRa/R+z5b7c9x3kQlg6puvbOu+MApLKCoOcUwSImBtscJ0WX5npuMe9L4rtojYcY621 oKs7OC7Rp3QLbzB48LYfR2FwFPGmSDCYJ8A9q5mzPQSX3D/XP1HzvPF/CeBwgy6eTHgKsNeAix/7w fu6BPHTneFkoTA==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <7faf45d433e43621cbf3194f306e0177d21679f2.1734566923.git.noelopez@free.fr> ("=?UTF-8?Q?No=C3=A9?= Lopez"'s message of "Thu, 19 Dec 2024 01:23:03 +0100") References: <7faf45d433e43621cbf3194f306e0177d21679f2.1734566923.git.noelopez@free.fr> Date: Mon, 23 Dec 2024 19:37:34 +0100 Message-ID: <87bjx26ya9.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -8.41 X-Spam-Score: -8.41 X-Migadu-Queue-Id: 611118C60D X-TUID: kWTugVxR5inN Hi No=C3=A9, No=C3=A9 Lopez skribis: > From: No=C3=A9 Lopez > > * tests/pack.scm: Improve AppImage tests. > > Change-Id: I7890b902f65a2944ae8fa03db8a964deda3c725c [...] > + (system* #$image "--appimage-extract-and-run" "-c" > + (object->string > + `(call-with-output-file #$output > + (lambda (port) > + (display "Hello from Guile!\n" > + port))))) > + (execl #$image #$image "--appimage-extract" > + (object->string > + '(exit > + (pk 'db? (getcwd) > + (file-exists? "squashfs-root/var/gu= ix/db/db.sqlite"))))))))) The second part here does nothing: you can place any other file name and it still exits successfully. Looking at an strace, I think =E2=80=98--appimage-extract=E2=80=99 does nex= t to nothing: essentially it reads /proc/self/exe, create an empty =E2=80=9Csquashfs-root= =E2=80=9D directory, and exits. Could you check exactly what=E2=80=99s happening? We=E2=80=99re getting really close! Thanks, Ludo=E2=80=99.