Skip to content

_libgit2.abi3.so not created in a flatpak build for flathub #1218

@philippun1

Description

@philippun1

Hello,

I'm currently trying to build pygit2 as a dependency for a flatpak on flathub: flathub/flathub#4082

Everything seems to work fine, but the _libgit2.abi3.so seems not to be created. The full command for the actual pygit2 install would be pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST} "pygit2" --no-build-isolation. libgit2 and the other dependencies are build from source, because it is not allowed to download them during build on flathub.

Here is the full build log of the flatpak: flatpak-build-with-pygit2.log

Since the build succeeds I assume the libgit2 dependency gets detected properly, the libgit2.so* files are also created into the output directory under .../lib.

In the log you can see building 'pygit2._pygit2' extension is being built, but the building 'pygit2._libgit2' extension is missing. I built libgit2 and pygit2 locally as described here to compare and the pygit2._libgit2 extension gets built.

Is there something I am missing? Maybe a parameter for the pip3 build?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions