guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with package AppImage support


From: Ekaitz Zarraga
Subject: Re: Help with package AppImage support
Date: Mon, 29 Nov 2021 12:48:04 +0000

Hi Ricardo,


> Ekaitz Zarraga <ekaitz@elenq.tech> writes:
>
> >> 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.
>
> 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’t
> 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’t have pkg-config among the inputs; or this is all the
> case and pkg-config fails because a library isn’t 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
├── bin
│   ├── squashfuse
│   └── squashfuse_ll
├── include
│   └── squashfuse
│       ├── cache.h
│       ├── common.h
│       ├── config.h
│       ├── decompress.h
│       ├── dir.h
│       ├── file.h
│       ├── fs.h
│       ├── squashfs_fs.h
│       ├── squashfuse.h
│       ├── stack.h
│       ├── table.h
│       ├── traverse.h
│       ├── util.h
│       └── xattr.h
├── lib
│   ├── libsquashfuse.a
│   ├── libsquashfuse.la
│   ├── libsquashfuse.so -> libsquashfuse.so.0.0.0
│   ├── libsquashfuse.so.0 -> libsquashfuse.so.0.0.0
│   ├── libsquashfuse.so.0.0.0
│   └── pkgconfig
│       └── squashfuse.pc
└── share
    ├── doc
    │   └── squashfuse-0.1.104
    │       └── LICENSE
    └── man
        └── man1
            └── 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’s 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 searching
for squashfuse neither...
https://github.com/AppImage/AppImageKit/blob/8bbf694455d00f48d835f56afaa1dabcd9178ba6/src/build-runtime.cmake#L18


Thanks for the help,
Ekaitz



reply via email to

[Prev in Thread] Current Thread [Next in Thread]