Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
BobSynfig opened this issue Jan 26, 2019 · 8 comments

Comments

@BobSynfig
Copy link
Contributor

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 check_program(NAME xxd) in tools.cmake , it crashes at the next line ( check_program(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
Copy link
Collaborator

blackwarthog commented Jan 26, 2019 via email

@morevnaproject
Copy link
Owner

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

@blackwarthog
Copy link
Collaborator

blackwarthog commented Jan 26, 2019 via email

@morevnaproject
Copy link
Owner

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

@morevnaproject
Copy link
Owner

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

@BobSynfig
Copy link
Contributor Author

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
Copy link
Owner

The issue synfig/synfig#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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants