morevnaproject / morevna-builds

14 stars 5 forks source link

CMake Error / Could not find required program xxd , desktop-file validate... #15

Open BobSynfig opened 5 years ago

BobSynfig commented 5 years ago

Trying to use ./build-synfigstudio.sh on Ubuntu 18.04.1 LTS Fresh clone of the repository Crashing during build of libappimage

-- Checking for program xxd CMake Error at lib/libappimage/cmake/tools.cmake:37 (message): Could not find required program xxd. Call Stack (most recent call first): lib/libappimage/cmake/tools.cmake:54 (check_program) lib/libappimage/CMakeLists.txt:15 (include)

-- Configuring incomplete, errors occurred! See also "/build/packet/linux-64/appimagekit-master/build/AppImageKit/CMakeFiles/CMakeOutput.log".

Nothing in the log file

Disabling _checkprogram(NAME xxd) in tools.cmake , it crashes at the next line ( _checkprogram(NAME desktop-file-validate) )

which xxd => /usr/bin/xxd

which desktop-file-validate => /usr/bin/desktop-file-validate

But it seems these binaries are also present in snap hierarchy, maybe it can affect the process

locate xxd => /snap/core/6130/usr/bin/xxd /snap/core/6130/usr/share/bash-completion/completions/xxd /snap/core18/594/usr/bin/xxd /snap/core18/594/usr/share/doc/xxd /snap/core18/594/usr/share/doc/xxd/changelog.Debian.gz /snap/core18/594/usr/share/doc/xxd/copyright /usr/bin/llvm-cxxdump-6.0 /usr/bin/xxd (...)

locate desktop-file-validate => /snap/core/6130/usr/share/bash-completion/completions/desktop-file-validate /usr/bin/desktop-file-validate /usr/share/bash-completion/completions/desktop-file-validate /usr/share/man/man1/desktop-file-validate.1.gz

blackwarthog commented 5 years ago

We need to select and freeze an Appimage vesrion, to prevent such situations.

morevnaproject commented 5 years ago

@blackwarthog Ah, I see - the appimagekit package is fetched from master...

blackwarthog commented 5 years ago

@morevnaproject, please tell your last built commit or tag of AppimageKit

morevnaproject commented 5 years ago

@blackwarthog d5102de21952217e2f9d0d2119442f843e0fa4dd 2017-11-06 14:25:57 "Escape character"

morevnaproject commented 5 years ago

@BobSynfig I have made a fix. Can you please test if it works now?

BobSynfig commented 5 years ago

The script is now functionnal, but I could build only x64 appimage, after I ran out of disk space after 2.5 hours, about 10GB free in the beginning... I'm sure we can do better to avoid the need of a "war machine" to build everything :P

morevnaproject commented 5 years ago

The issue https://github.com/synfig/synfig/issues/666 is a key for solving this! Unfortunately, I haven't had time to work on it yet. ^__^"

Preparing for GSoC, making release and writing reports takes most of my time right now. But I hope to get at this issue soon! (I really hope ^__^")

morevnaproject commented 5 years ago

P.S. @BobSynfig BTW, your activity with github issues at Synfig repo is really helps a lot. Thank you for that! ^__^