unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ekaitz Zarraga <ekaitz@elenq.tech>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: "guix-devel\\@gnu.org" <guix-devel@gnu.org>
Subject: Re: Help with package AppImage support
Date: Sun, 28 Nov 2021 17:38:47 +0000	[thread overview]
Message-ID: <fa3CZ_zqiqeLuxikOQMWTmMmapYT6B97NezXgtj4WNKa1oWfasSa3b-rra5A1o59LAuKhL3-b4aicb4mvDBod9FC0smPeBagUvowpNVRwFw=@elenq.tech> (raw)
In-Reply-To: <87y2589ok9.fsf@gnu.org>

> Hi,
>
> The log reads:
>
> --8<---------------cut here---------------start------------->8---
> -- Found PkgConfig: /gnu/store/krpyb0zi700dcrg9cc8932w4v0qivdg9-pkg-config-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/CMakeOutput.log".
> command "cmake" "../source" "-DCMAKE_BUILD_TYPE=RelWithDebInfo" "-DCMAKE_INSTALL_PREFIX=/gnu/store/9z0n0kia0kp63vdlvpdlm2qcky67x00y-appimagekit-13" "-DCMAKE_INSTALL_LIBDIR=lib" "-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE" "-DCMAKE_INSTALL_RPATH=/gnu/store/9z0n0kia0kp63vdlvpdlm2qcky67x00y-appimagekit-13/lib" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DXZ_EXTERNAL=On" "-DUSE_SYSTEM_MKSQUASHFS=On" failed with status 1
> --8<---------------cut here---------------end--------------->8---
>
> Maybe “TARGET NOT found” is CMake’s original way of saying that you’re
> 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.

> BTW, since your ultimate goal is to have ‘guix pack -f appimage’, 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 appimages
by themselves and later decide if I want to use it or not in the actual
implementation.

> HTH,
> Ludo’.

Thanks!
Ekaitz



  reply	other threads:[~2021-11-28 17:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-22 14:29 Help with package AppImage support Ekaitz Zarraga
2021-11-23 17:19 ` Ludovic Courtès
2021-11-23 19:12   ` Ekaitz Zarraga
2021-11-28 17:29     ` Ludovic Courtès
2021-11-28 17:38       ` Ekaitz Zarraga [this message]
2021-11-28 19:49         ` Ricardo Wurmus
2021-11-29 12:48           ` Ekaitz Zarraga
2021-11-29 13:20             ` Ricardo Wurmus
2021-11-29 14:27               ` Ekaitz Zarraga
2021-11-29 15:06                 ` Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='fa3CZ_zqiqeLuxikOQMWTmMmapYT6B97NezXgtj4WNKa1oWfasSa3b-rra5A1o59LAuKhL3-b4aicb4mvDBod9FC0smPeBagUvowpNVRwFw=@elenq.tech' \
    --to=ekaitz@elenq.tech \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).