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

ccache fails to build #2

Open
vslavik opened this issue Sep 11, 2019 · 0 comments
Open

ccache fails to build #2

vslavik opened this issue Sep 11, 2019 · 0 comments

Comments

@vslavik
Copy link

vslavik commented Sep 11, 2019

Snaps depending on the ccache part (such as Poedit) fail to build due to changing on ccache's master:

Pulling ccache 
Cloning into '/root/project/parts/ccache/src'...
remote: Enumerating objects: 178, done.        
remote: Counting objects: 100% (178/178), done.        
remote: Compressing objects:  62% (104/16remote: Compressing objects: 100% (167/167), done.        
remote: Total 178 (delta 32), reused 69 (delta 4), pack-reused 0        
Receiving objects: 100% (178/178), 459.70 KiB | 0 bytes/s, done.
Resolving deltas: 100% (32/32), done.
Checking connectivity... done.
'boostlib' has dependencies that need to be staged: ccache
Skipping pull ccache (already ran)
Building ccache 
env NOCONFIGURE=1 ./autogen.sh
Now run ./configure and make
./configure --prefix=
configure: configuring ccache
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ supports C++11 features with -std=c++11... yes
checking whether we are using the clang C compiler... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for bash... /bin/bash
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for long long... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking linux/fs.h usability... yes
checking linux/fs.h presence... yes
checking for linux/fs.h... yes
checking sys/clonefile.h usability... no
checking sys/clonefile.h presence... no
checking for sys/clonefile.h... no
checking for gethostname... yes
checking for getopt_long... yes
checking for getpwuid... yes
checking for gettimeofday... yes
checking for localtime_r... yes
checking for mkstemp... yes
checking for realpath... yes
checking for setenv... yes
checking for strndup... yes
checking for strtok_r... yes
checking for syslog... yes
checking for unsetenv... yes
checking for utimes... yes
checking for compar_fn_t in stdlib.h... yes
checking for library containing cos... -lm
checking for ZSTD_versionNumber in -lzstd... no
configure: error: please install libzstd or use --with-libzstd-from-internet
Sorry, an error occurred in Snapcraft:
Failed to run './configure --prefix=' for 'ccache': Exited with code 1.
Verify that the part is using the correct parameters and try again.
install: creating directory '/root/project/parts/ccache/install/bin'
'/root/project/parts/ccache/install/bin/gcc' -> './ccache'
'/root/project/parts/ccache/install/bin/g++' -> './ccache'
'/root/project/parts/ccache/install/bin/gcc-6' -> './ccache'
'/root/project/parts/ccache/install/bin/g++-6' -> './ccache'
'/root/project/parts/ccache/install/bin/gcc-7' -> './ccache'
'/root/project/parts/ccache/install/bin/g++-7' -> './ccache'
'/root/project/parts/ccache/install/bin/gcc-8' -> './ccache'
'/root/project/parts/ccache/install/bin/g++-8' -> './ccache'
'/root/project/parts/ccache/install/bin/gcc-9' -> './ccache'
'/root/project/parts/ccache/install/bin/g++-9' -> './ccache'
Exited with code 2
vslavik added a commit to vslavik/poedit that referenced this issue Sep 29, 2019
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

1 participant