From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SOVQJy7MpGHcHQAAgWs5BA (envelope-from ) for ; Mon, 29 Nov 2021 13:48:46 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 4BcXIy7MpGHYPgAAbx9fmQ (envelope-from ) for ; Mon, 29 Nov 2021 12:48:46 +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 57D6A1D454 for ; Mon, 29 Nov 2021 13:48:46 +0100 (CET) Received: from localhost ([::1]:51234 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mrg5N-0001iJ-CH for larch@yhetil.org; Mon, 29 Nov 2021 07:48:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56752) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrg4x-0001hq-Hg for guix-devel@gnu.org; Mon, 29 Nov 2021 07:48:20 -0500 Received: from mail-0301.mail-europe.com ([188.165.51.139]:51770) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrg4r-00083C-TU; Mon, 29 Nov 2021 07:48:18 -0500 Date: Mon, 29 Nov 2021 12:48:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elenq.tech; s=protonmail; t=1638190086; bh=ZKPuFlsqLJr+pT4N/dQjL2jzt1RDp/Esnzn/GT7XM1o=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=U3ro6MlU3JG1OD6PsTuhGuLd87Gc0Tbc8/LDnu2vq2Ve2OyWAqn6tfDXkS2WW+SC3 Y5yTbkHIjC/MpX3wCITF8QXgYIb2FzT3YxERk1C+mm3GFJD/kmpDV7jQh56Lx4DTXd 9fXbjommZ1bVJTpjUa1FHPYwmkN1mpV4aNq6mht8+Dk6Y/m6TwZdPwjJLYf4reNcaY +mZS9wL3z0VAliyCOcw00UZNn8y7qYq2ZLDaXNcHg2RDiB90GeX+T2TqPgTywdAT80 eHX/SpQv7D35kb7Z4R+wJ87xM0LNIi3vdVgCU43hlOxru/Sw3HurAghLsz/e2/+rk2 xXAvMQMbGji+Q== To: Ricardo Wurmus From: Ekaitz Zarraga Subject: Re: Help with package AppImage support Message-ID: In-Reply-To: <877dcsnjkh.fsf@elephly.net> References: <_xVjfJ4W4fPQpKjHi_K0yQ8it0Qxk0bcqKDkMi5I9LAzgr7nc6G3vS3mSXwtT89mBf4skrlN43EBErQawcLl5PKQaFseUE8799VD_LjxIDE=@elenq.tech> <87h7c2iybv.fsf@gnu.org> <87y2589ok9.fsf@gnu.org> <877dcsnjkh.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=188.165.51.139; envelope-from=ekaitz@elenq.tech; helo=mail-0301.mail-europe.com 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_H2=-0.001, 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=1638190126; 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=ZKPuFlsqLJr+pT4N/dQjL2jzt1RDp/Esnzn/GT7XM1o=; b=aQf68tUE0RC5w7zF83ecNlWJ1XpaxvpIvU4/6ZSPAKtk928lrSHb376d/GZhpbZPBlB45o GZfsPSSwEck0D4aLssjAC52BGcoWq0nRF4KUPqRJp3MtxM6uNUM47aGxUUAnKuja1qQS2j 27eMQc5KWSRq369n8XL5I+arFyYgUS1i35tS3x8M/DHvngXxgrd9L/Ew0i5oV4gG45014U KnXLrM2HdBCPVG1U5iZMGyL2zmpCkKhXyWlMcdlMwmgJL2TSQE/eY8KT9gz128akd9Gw76 8vrQUvwnMLL6tC39rBMXMY3jDP6Lw/xzlu3nAzsAv4GYoQ3fDaPhJFGpPFhfow== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638190126; a=rsa-sha256; cv=none; b=XMA552xAE21fM7vr8epLzD3DaY5E4fcsRiMC3/M5PCjPqoJ2pULt0T4eW8mcCq2jxzgy/g muBstukEPSnhRGPv9J/8xpKpFq4pJLyuG1BC45GgXMph9FjesRx50GZ2tDlp1he39/zBpU 5TIfsDchqE29WG4Fmvq3bXhLOKaNX0MNh93TSMI3BtosWrN/qvEUhJJqyR3Bl2MN/HqPOF d0o5FdOFql+dTZVNIKmUqyLQukOkxIC+7Jd5egbf4jFytFBjKC+E8/Kb8CO7tM+ez2fK7b H2dm2uXc5NcBHjTNHoOkjkP9BNJi5KIH8r0xsjMKW85Vj7aBD2YoU3RDmpnmwA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elenq.tech header.s=protonmail header.b=U3ro6MlU; dmarc=fail reason="SPF not aligned (relaxed)" header.from=elenq.tech (policy=none); 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: -1.81 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elenq.tech header.s=protonmail header.b=U3ro6MlU; dmarc=fail reason="SPF not aligned (relaxed)" header.from=elenq.tech (policy=none); 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: 57D6A1D454 X-Spam-Score: -1.81 X-Migadu-Scanner: scn0.migadu.com X-TUID: w0V0s4qHdqld Hi Ricardo, > Ekaitz Zarraga writes: > > >> Maybe =E2=80=9CTARGET NOT found=E2=80=9D is CMake=E2=80=99s original w= ay 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 finding > > the library. > > > > I need there some help making CMake find the dependency I > > already included and > > packaged. > > Does the CMakeLists.txt or the files under cmake/ mention > libsquashfuse? There should either be a Find* macro that > describes the tests CMake will perform to determine certain > variables for using libsquashfuse, or it will use a conventional > way to do that: via pkg-config or using .cmake files in > libsquashfuse. > > So there coulde be different problems here: libsquashfuse doesn=E2=80= =99t > install the expected cmake files or installs them in the wrong > place; or this package tells CMake to search using pkg-config but > you don=E2=80=99t have pkg-config among the inputs; or this is all the > case and pkg-config fails because a library isn=E2=80=99t propagated when > it should be, etc. All packages use pkg-config as a native input. This is the directory structure of squashfuse. It doens't include the Find*= but it contains a pkgconfig file. I'm not sure if it's located in the correct path though. --8<---------------cut here---------------start------------->8--- /gnu/store/3ksjpfy6lma86b03fal3n0q1zfm1l9v2-squashfuse-0.1.104 =E2=94=9C=E2=94=80=E2=94=80 bin =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2=94=80 squashfuse =E2=94=82=C2=A0=C2=A0 =E2=94=94=E2=94=80=E2=94=80 squashfuse_ll =E2=94=9C=E2=94=80=E2=94=80 include =E2=94=82=C2=A0=C2=A0 =E2=94=94=E2=94=80=E2=94=80 squashfuse =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2=94=80 cache.h =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2=94=80 common.h =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2=94=80 config.h =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2=94=80 decompress.h =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2=94=80 dir.h =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2=94=80 file.h =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2=94=80 fs.h =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2=94=80 squashfs_fs.h =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2=94=80 squashfuse.h =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2=94=80 stack.h =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2=94=80 table.h =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2=94=80 traverse.h =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2=94=80 util.h =E2=94=82=C2=A0=C2=A0 =E2=94=94=E2=94=80=E2=94=80 xattr.h =E2=94=9C=E2=94=80=E2=94=80 lib =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2=94=80 libsquashfuse.a =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2=94=80 libsquashfuse.la =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2=94=80 libsquashfuse.so -> libsq= uashfuse.so.0.0.0 =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2=94=80 libsquashfuse.so.0 -> lib= squashfuse.so.0.0.0 =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2=94=80 libsquashfuse.so.0.0.0 =E2=94=82=C2=A0=C2=A0 =E2=94=94=E2=94=80=E2=94=80 pkgconfig =E2=94=82=C2=A0=C2=A0 =E2=94=94=E2=94=80=E2=94=80 squashfuse.pc =E2=94=94=E2=94=80=E2=94=80 share =E2=94=9C=E2=94=80=E2=94=80 doc =E2=94=82=C2=A0=C2=A0 =E2=94=94=E2=94=80=E2=94=80 squashfuse-0.1.104 =E2=94=82=C2=A0=C2=A0 =E2=94=94=E2=94=80=E2=94=80 LICENSE =E2=94=94=E2=94=80=E2=94=80 man =E2=94=94=E2=94=80=E2=94=80 man1 =E2=94=94=E2=94=80=E2=94=80 squashfuse.1.gz --8<---------------cut here---------------end--------------->8--- > The first step should be to figure out if CMake uses one of these > Find* macros or some other way. If it=E2=80=99s a Find* macro, determine > if it is provided by libsquashfuse or appimagekit. This is the only reference I find to squashfuse so I don't know what's the mechanism they are doing. In cmake/dependencies.cmake they are not searchin= g for squashfuse neither... https://github.com/AppImage/AppImageKit/blob/8bbf694455d00f48d835f56afaa1da= bcd9178ba6/src/build-runtime.cmake#L18 Thanks for the help, Ekaitz