flatpak / flatpak-builder

Tool to build flatpaks from source
GNU Lesser General Public License v2.1
142 stars 93 forks source link

Makefile:18: *** missing separator. Stop. #558

Open roberto68 opened 1 year ago

roberto68 commented 1 year ago

Checklist

flatpak-builder version

1.2.3

Flatpak version

1.15.4

How to reproduce

No response

Expected Behavior

Cannot install cause make command is getting errors

Actual Behavior

When I execute make this is what happens Makefile:18: *** missing separator. Stop.

Additional Information

The error seems to be at the if BUILD_DOCUMENTATION

TingPing commented 1 year ago

Is this from the shipped tarball?

Does ./autogen.sh fix it?

roberto68 commented 1 year ago

automake: error: cannot open < subprojects/libglnx/Makefile-libglnx.am.inc: No such file or directory autoreconf: error: automake failed with exit status: 1 It's a tar from release

smcv commented 1 year ago

It's a tar from release

Which, specific, tar, from which release? (Please copy and paste a link, we can't read your mind)

This sounds like one of the "source code" tarballs generated by Github, which are unusable for any project that uses submodules.

Please use the flatpak-builder-(something).tar.xz file listed under "Assets". This contains the complete source code.

Don't use the one labelled "Source code": this is generated by Github, and does not contain everything that's needed.

Unfortunately Github doesn't allow turning off display of its auto-generated archives. We would if we could.