Giter Site home page Giter Site logo

ccache-part's Introduction

The CCache Remote Part

Snapcraft Remote Part for Speeding-up the Snap Build Process Using Compiler Cache(CCache)

Refer the following snapcraft forum topic for more info regarding the use of this part:
Speed-up Snap Building - doc - snapcraft.io
https://forum.snapcraft.io/t/speed-up-snap-building/7979

ccache-part's People

Contributors

brlin-tw avatar

Watchers

 avatar

ccache-part's Issues

ccache fails to build

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.