Flapak Prerelease 1.15.4

Greetings, I am new at Nixpkging and helping out a friend who is working on the prerelease of Flatpak 1.15.4.
I ran into this problem.

autoreconf: error: automake failed with exit status: 1
error: builder for '/nix/store/fvmhl0z8aaic5vls705jnq1i58068acw-flatpak-1.15.4.drv' failed with exit code 1;
       last 10 log lines:
       > configure.ac:520: the top level
       > autoreconf: running: /nix/store/80v601kjyyvr6yibpc42i4xab2h8a8a5-autoconf-2.71/bin/autoheader --force
       > autoreconf: running: automake --add-missing --copy --force-missing
       > configure.ac:37: installing './compile'
       > configure.ac:46: installing './config.guess'
       > configure.ac:46: installing './config.sub'
       > configure.ac:51: installing './install-sh'
       > configure.ac:51: installing './missing'
       > automake: error: cannot open < subprojects/Makefile-libglnx.am.inc: No such file or directory
       > autoreconf: error: automake failed with exit status: 1
       For full logs, run 'nix log /nix/store/fvmhl0z8aaic5vls705jnq1i58068acw-flatpak-1.15.4.drv'.

The the Submodul of Mlibglnx.am.inc might be Missing and I do not know where I shall put the Submodul in.

I used to build the package with.:

nix-build -E 'with import <nixpkgs> {}; callPackage ./default.nix {}'

Here is the repo of my changes:

It seems the file of libglnx is being backported:

1 Like

If you would use a fetcher like fetchFromGitHub or fetchgit then you would add fetchSubmodules = true; to the fetcher but since you are downloading a source tarball the file is missing in there.