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

Build failure on gentoo #1898

Closed
hackers-terabit opened this issue Nov 24, 2016 · 6 comments
Closed

Build failure on gentoo #1898

hackers-terabit opened this issue Nov 24, 2016 · 6 comments
Labels
A-build Area: Build system A-dependencies Area: Dependencies portability

Comments

@hackers-terabit
Copy link

Hi,

Like the title says I can't build zcash on gentoo, tried different things to solve the problem with no luck.
It seems building boost is the main obstacle.
Following is a output of a fresh git clone and build:

 user # git clone https://github.com/zcash/zcash.git && cd zcash && zcutil/fetch-*.sh && zcutil/build.sh
Cloning into 'zcash'...
remote: Counting objects: 57054, done.
remote: Total 57054 (delta 0), reused 0 (delta 0), pack-reused 57054
Receiving objects: 100% (57054/57054), 43.26 MiB | 6.48 MiB/s, done.
Resolving deltas: 100% (43325/43325), done.
Checking connectivity... done.
Zcash - fetch-params.sh
This script will fetch the Zcash zkSNARK parameters and verify their
integrity with sha256sum.
If they already exist locally, it will exit now and do nothing else.
+++ readlink -f zcutil/build.sh
++ dirname /home/user/zcash/zcutil/build.sh
+ cd /home/user/zcash/zcutil/..
+ LCOV_ARG=
+ HARDENING_ARG=--enable-hardening
+ TEST_ARG=
+ '[' x = x--enable-lcov ']'
+ '[' x = x--disable-tests ']'
++ pwd
+ PREFIX=/home/user/zcash/depends/x86_64-unknown-linux-gnu/
+ HOST=x86_64-unknown-linux-gnu
+ BUILD=x86_64-unknown-linux-gnu
+ make -C ./depends/ V=1 NO_QT=1
make: Entering directory '/home/user/zcash/depends'
mkdir -p /home/user/zcash/depends/sources/download-stamps /home/user/zcash/depends/sources
rm -f /home/user/zcash/depends/sources/download-stamps/.stamp_fetched-native_ccache-ccache-3.3.1.tar.bz2.hash
touch /home/user/zcash/depends/sources/download-stamps/.stamp_fetched-native_ccache-ccache-3.3.1.tar.bz2.hash
cd /home/user/zcash/depends/sources/download-stamps; (test -f /home/user/zcash/depends/sources/ccache-3.3.1.tar.bz2 || ( mkdir -p /home/user/zcash/depends/work/download/native_ccache-3.3.1 && echo Fetching native_ccache... && ( wget --timeout=10 --tries=3 -nv -O "/home/user/zcash/depends/work/download/native_ccache-3.3.1/ccache-3.3.1.tar.bz2.temp" "https://z.cash/depends-sources/ccache-3.3.1.tar.bz2" || wget --timeout=10 --tries=3 -nv -O "/home/user/zcash/depends/work/download/native_ccache-3.3.1/ccache-3.3.1.tar.bz2.temp" "https://www.samba.org/ftp/ccache/ccache-3.3.1.tar.bz2" ) && echo "cb6e4bafbb19ba0a2ec43386b123a5f92a20e1e3384c071d5d13e0cb3c84bf73  /home/user/zcash/depends/work/download/native_ccache-3.3.1/ccache-3.3.1.tar.bz2.temp" > /home/user/zcash/depends/work/download/native_ccache-3.3.1/.ccache-3.3.1.tar.bz2.hash && sha256sum -c /home/user/zcash/depends/work/download/native_ccache-3.3.1/.ccache-3.3.1.tar.bz2.hash && mv /home/user/zcash/depends/work/download/native_ccache-3.3.1/ccache-3.3.1.tar.bz2.temp /home/user/zcash/depends/sources/ccache-3.3.1.tar.bz2 && rm -rf /home/user/zcash/depends/work/download/native_ccache-3.3.1 ))
Fetching native_ccache...
2016-11-24 17:26:35 URL:https://z.cash/depends-sources/ccache-3.3.1.tar.bz2 [345711/345711] -> "/home/user/zcash/depends/work/download/native_ccache-3.3.1/ccache-3.3.1.tar.bz2.temp" [1]
/home/user/zcash/depends/work/download/native_ccache-3.3.1/ccache-3.3.1.tar.bz2.temp: OK
cd /home/user/zcash/depends/sources; sha256sum ccache-3.3.1.tar.bz2 >> /home/user/zcash/depends/sources/download-stamps/.stamp_fetched-native_ccache-ccache-3.3.1.tar.bz2.hash;
touch /home/user/zcash/depends/sources/download-stamps/.stamp_fetched-native_ccache-ccache-3.3.1.tar.bz2.hash
echo Extracting native_ccache...
Extracting native_ccache...
mkdir -p /home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/native_ccache/3.3.1-ee833037a99
cd /home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/native_ccache/3.3.1-ee833037a99; mkdir -p /home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/native_ccache/3.3.1-ee833037a99 && echo "cb6e4bafbb19ba0a2ec43386b123a5f92a20e1e3384c071d5d13e0cb3c84bf73  /home/user/zcash/depends/sources/ccache-3.3.1.tar.bz2" > /home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/native_ccache/3.3.1-ee833037a99/.ccache-3.3.1.tar.bz2.hash &&  sha256sum -c /home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/native_ccache/3.3.1-ee833037a99/.ccache-3.3.1.tar.bz2.hash && tar --strip-components=1 -xf /home/user/zcash/depends/sources/ccache-3.3.1.tar.bz2
/home/user/zcash/depends/sources/ccache-3.3.1.tar.bz2: OK
touch /home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/native_ccache/3.3.1-ee833037a99/.stamp_extracted
echo Preprocessing native_ccache...
Preprocessing native_ccache...
mkdir -p /home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/native_ccache/3.3.1-ee833037a99 /home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/native_ccache/3.3.1-ee833037a99/.patches-ee833037a99
cd /home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/native_ccache/3.3.1-ee833037a99; 
touch /home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/native_ccache/3.3.1-ee833037a99/.stamp_preprocessed
echo Configuring native_ccache...
Configuring native_ccache...
rm -rf /home/user/zcash/depends/x86_64-unknown-linux-gnu; mkdir -p /home/user/zcash/depends/x86_64-unknown-linux-gnu/lib; cd /home/user/zcash/depends/x86_64-unknown-linux-gnu; 
mkdir -p /home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/native_ccache/3.3.1-ee833037a99/.
cd /home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/native_ccache/3.3.1-ee833037a99/.;     PKG_CONFIG_LIBDIR=/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/lib/pkgconfig PKG_CONFIG_PATH=/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/share/pkgconfig PATH=/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/bin:/sbin:/bin:/usr/sbin:/usr/bin   ./configure --host=x86_64-unknown-linux-gnu --disable-dependency-tracking --prefix=/home/user/zcash/depends/x86_64-unknown-linux-gnu/native         CC="gcc" CXX="g++" NM="nm" RANLIB="ranlib" AR="ar" CPPFLAGS="-I/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/include    " LDFLAGS="-L/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/lib    "
configure: WARNING: unrecognized options: --disable-dependency-tracking
configure: Configuring ccache
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for x86_64-unknown-linux-gnu-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 gcc option to accept ISO C99... -std=gnu99
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for x86_64-unknown-linux-gnu-ranlib... ranlib
checking for x86_64-unknown-linux-gnu-ar... ar
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 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 termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for gethostname... yes
checking for getopt_long... yes
checking for getpwuid... yes
checking for gettimeofday... yes
checking for mkstemp... yes
checking for realpath... yes
checking for strndup... yes
checking for strtok_r... yes
checking for unsetenv... yes
checking for utimes... yes
checking for compar_fn_t in stdlib.h... yes
checking for stdarg.h... yes
checking for varargs.h... no
checking for unsigned long long int... yes
checking for vsnprintf... yes
checking whether vsnprintf is C99 compliant... yes
checking for snprintf... yes
checking whether snprintf is C99 compliant... yes
checking for vasprintf... yes
checking for asprintf... yes
checking for library containing cos... -lm
checking for zlib >= 1.2.3... yes
checking for gzdopen in -lz... yes
checking whether byte ordering is bigendian... no
checking for inline... inline
checking for extern inline... no
configure: Developer mode disabled
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
configure: WARNING: unrecognized options: --disable-dependency-tracking
configure: now build ccache by running make
touch /home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/native_ccache/3.3.1-ee833037a99/./.stamp_configured
echo Building native_ccache...
Building native_ccache...
mkdir -p /home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/native_ccache/3.3.1-ee833037a99/.
cd /home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/native_ccache/3.3.1-ee833037a99/.; PATH=/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/bin:/sbin:/bin:/usr/sbin:/usr/bin   make
make[1]: Entering directory '/home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/native_ccache/3.3.1-ee833037a99'
gcc -std=gnu99 -DHAVE_CONFIG_H -DSYSCONFDIR=/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/etc -I. -I. -I/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/include     -g -O2 -Wall -W -c -o main.o main.c
gcc -std=gnu99 -DHAVE_CONFIG_H -DSYSCONFDIR=/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/etc -I. -I. -I/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/include     -g -O2 -Wall -W -c -o args.o args.c
gcc -std=gnu99 -DHAVE_CONFIG_H -DSYSCONFDIR=/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/etc -I. -I. -I/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/include     -g -O2 -Wall -W -c -o ccache.o ccache.c
gcc -std=gnu99 -DHAVE_CONFIG_H -DSYSCONFDIR=/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/etc -I. -I. -I/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/include     -g -O2 -Wall -W -c -o cleanup.o cleanup.c
gcc -std=gnu99 -DHAVE_CONFIG_H -DSYSCONFDIR=/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/etc -I. -I. -I/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/include     -g -O2 -Wall -W -c -o compopt.o compopt.c
gcc -std=gnu99 -DHAVE_CONFIG_H -DSYSCONFDIR=/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/etc -I. -I. -I/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/include     -g -O2 -Wall -W -c -o conf.o conf.c
gcc -std=gnu99 -DHAVE_CONFIG_H -DSYSCONFDIR=/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/etc -I. -I. -I/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/include     -g -O2 -Wall -W -c -o counters.o counters.c
gcc -std=gnu99 -DHAVE_CONFIG_H -DSYSCONFDIR=/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/etc -I. -I. -I/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/include     -g -O2 -Wall -W -c -o execute.o execute.c
gcc -std=gnu99 -DHAVE_CONFIG_H -DSYSCONFDIR=/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/etc -I. -I. -I/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/include     -g -O2 -Wall -W -c -o exitfn.o exitfn.c
gcc -std=gnu99 -DHAVE_CONFIG_H -DSYSCONFDIR=/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/etc -I. -I. -I/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/include     -g -O2 -Wall -W -c -o hash.o hash.c
gcc -std=gnu99 -DHAVE_CONFIG_H -DSYSCONFDIR=/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/etc -I. -I. -I/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/include     -g -O2 -Wall -W -c -o hashutil.o hashutil.c
gcc -std=gnu99 -DHAVE_CONFIG_H -DSYSCONFDIR=/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/etc -I. -I. -I/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/include     -g -O2 -Wall -W -c -o language.o language.c
gcc -std=gnu99 -DHAVE_CONFIG_H -DSYSCONFDIR=/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/etc -I. -I. -I/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/include     -g -O2 -Wall -W -c -o lockfile.o lockfile.c
gcc -std=gnu99 -DHAVE_CONFIG_H -DSYSCONFDIR=/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/etc -I. -I. -I/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/include     -g -O2 -Wall -W -c -o manifest.o manifest.c
gcc -std=gnu99 -DHAVE_CONFIG_H -DSYSCONFDIR=/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/etc -I. -I. -I/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/include     -g -O2 -Wall -W -c -o mdfour.o mdfour.c
gcc -std=gnu99 -DHAVE_CONFIG_H -DSYSCONFDIR=/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/etc -I. -I. -I/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/include     -g -O2 -Wall -W -c -o stats.o stats.c
gcc -std=gnu99 -DHAVE_CONFIG_H -DSYSCONFDIR=/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/etc -I. -I. -I/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/include     -g -O2 -Wall -W -c -o unify.o unify.c
gcc -std=gnu99 -DHAVE_CONFIG_H -DSYSCONFDIR=/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/etc -I. -I. -I/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/include     -g -O2 -Wall -W -c -o util.o util.c
gcc -std=gnu99 -DHAVE_CONFIG_H -DSYSCONFDIR=/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/etc -I. -I. -I/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/include     -g -O2 -Wall -W -c -o version.o version.c
gcc -std=gnu99 -DHAVE_CONFIG_H -DSYSCONFDIR=/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/etc -I. -I. -I/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/include     -g -O2 -Wall -W -c -o getopt_long.o getopt_long.c
gcc -std=gnu99 -DHAVE_CONFIG_H -DSYSCONFDIR=/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/etc -I. -I. -I/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/include     -g -O2 -Wall -W -c -o hashtable.o hashtable.c
gcc -std=gnu99 -DHAVE_CONFIG_H -DSYSCONFDIR=/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/etc -I. -I. -I/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/include     -g -O2 -Wall -W -c -o hashtable_itr.o hashtable_itr.c
gcc -std=gnu99 -DHAVE_CONFIG_H -DSYSCONFDIR=/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/etc -I. -I. -I/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/include     -g -O2 -Wall -W -c -o murmurhashneutral2.o murmurhashneutral2.c
gcc -std=gnu99 -DHAVE_CONFIG_H -DSYSCONFDIR=/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/etc -I. -I. -I/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/include     -g -O2 -Wall -W -c -o snprintf.o snprintf.c
gcc -std=gnu99 -g -O2 -Wall -W -o ccache main.o args.o ccache.o cleanup.o compopt.o conf.o counters.o execute.o exitfn.o hash.o hashutil.o language.o lockfile.o manifest.o mdfour.o stats.o unify.o util.o version.o getopt_long.o hashtable.o hashtable_itr.o murmurhashneutral2.o snprintf.o -L/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/lib      -lm  -lz
make[1]: Leaving directory '/home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/native_ccache/3.3.1-ee833037a99'
touch /home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/native_ccache/3.3.1-ee833037a99/./.stamp_built
echo Staging native_ccache...
Staging native_ccache...
mkdir -p /home/user/zcash/depends/work/staging/x86_64-unknown-linux-gnu/native_ccache/3.3.1-ee833037a99//home/user/zcash/depends/x86_64-unknown-linux-gnu
cd /home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/native_ccache/3.3.1-ee833037a99/.; PATH=/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/bin:/sbin:/bin:/usr/sbin:/usr/bin   make DESTDIR=/home/user/zcash/depends/work/staging/x86_64-unknown-linux-gnu/native_ccache/3.3.1-ee833037a99 install
make[1]: Entering directory '/home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/native_ccache/3.3.1-ee833037a99'
/usr/bin/install -c -d /home/user/zcash/depends/work/staging/x86_64-unknown-linux-gnu/native_ccache/3.3.1-ee833037a99/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/bin
/usr/bin/install -c -m 755 ccache /home/user/zcash/depends/work/staging/x86_64-unknown-linux-gnu/native_ccache/3.3.1-ee833037a99/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/bin
/usr/bin/install -c -d /home/user/zcash/depends/work/staging/x86_64-unknown-linux-gnu/native_ccache/3.3.1-ee833037a99/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/share/man/man1
/usr/bin/install -c -m 644 ./ccache.1 /home/user/zcash/depends/work/staging/x86_64-unknown-linux-gnu/native_ccache/3.3.1-ee833037a99/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/share/man/man1/
make[1]: Leaving directory '/home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/native_ccache/3.3.1-ee833037a99'
rm -rf /home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/native_ccache/3.3.1-ee833037a99
touch /home/user/zcash/depends/work/staging/x86_64-unknown-linux-gnu/native_ccache/3.3.1-ee833037a99/.stamp_staged
echo Postprocessing native_ccache...
Postprocessing native_ccache...
cd /home/user/zcash/depends/work/staging/x86_64-unknown-linux-gnu/native_ccache/3.3.1-ee833037a99/home/user/zcash/depends/x86_64-unknown-linux-gnu/native;   rm -rf lib include
touch /home/user/zcash/depends/work/staging/x86_64-unknown-linux-gnu/native_ccache/3.3.1-ee833037a99/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/.stamp_postprocessed
echo Caching native_ccache...
Caching native_ccache...
cd /home/user/zcash/depends/work/staging/x86_64-unknown-linux-gnu/native_ccache/3.3.1-ee833037a99//home/user/zcash/depends/x86_64-unknown-linux-gnu; find . | sort | tar --no-recursion -czf /home/user/zcash/depends/work/staging/x86_64-unknown-linux-gnu/native_ccache/3.3.1-ee833037a99/native_ccache-3.3.1-ee833037a99.tar.gz -T -
mkdir -p /home/user/zcash/depends/built/x86_64-unknown-linux-gnu/native_ccache
rm -rf /home/user/zcash/depends/built/x86_64-unknown-linux-gnu/native_ccache && mkdir -p /home/user/zcash/depends/built/x86_64-unknown-linux-gnu/native_ccache
mv /home/user/zcash/depends/work/staging/x86_64-unknown-linux-gnu/native_ccache/3.3.1-ee833037a99/native_ccache-3.3.1-ee833037a99.tar.gz /home/user/zcash/depends/built/x86_64-unknown-linux-gnu/native_ccache/native_ccache-3.3.1-ee833037a99.tar.gz
rm -rf /home/user/zcash/depends/work/staging/x86_64-unknown-linux-gnu/native_ccache/3.3.1-ee833037a99
cd /home/user/zcash/depends/built/x86_64-unknown-linux-gnu/native_ccache; sha256sum native_ccache-3.3.1-ee833037a99.tar.gz > /home/user/zcash/depends/built/x86_64-unknown-linux-gnu/native_ccache/native_ccache-3.3.1-ee833037a99.tar.gz.hash
mkdir -p /home/user/zcash/depends/sources/download-stamps /home/user/zcash/depends/sources
rm -f /home/user/zcash/depends/sources/download-stamps/.stamp_fetched-boost-boost_1_62_0.tar.bz2.hash
touch /home/user/zcash/depends/sources/download-stamps/.stamp_fetched-boost-boost_1_62_0.tar.bz2.hash
cd /home/user/zcash/depends/sources/download-stamps; (test -f /home/user/zcash/depends/sources/boost_1_62_0.tar.bz2 || ( mkdir -p /home/user/zcash/depends/work/download/boost-1_62_0 && echo Fetching boost... && ( wget --timeout=10 --tries=3 -nv -O "/home/user/zcash/depends/work/download/boost-1_62_0/boost_1_62_0.tar.bz2.temp" "https://z.cash/depends-sources/boost_1_62_0.tar.bz2" || wget --timeout=10 --tries=3 -nv -O "/home/user/zcash/depends/work/download/boost-1_62_0/boost_1_62_0.tar.bz2.temp" "http://sourceforge.net/projects/boost/files/boost/1.62.0/boost_1_62_0.tar.bz2" ) && echo "36c96b0f6155c98404091d8ceb48319a28279ca0333fba1ad8611eb90afb2ca0  /home/user/zcash/depends/work/download/boost-1_62_0/boost_1_62_0.tar.bz2.temp" > /home/user/zcash/depends/work/download/boost-1_62_0/.boost_1_62_0.tar.bz2.hash && sha256sum -c /home/user/zcash/depends/work/download/boost-1_62_0/.boost_1_62_0.tar.bz2.hash && mv /home/user/zcash/depends/work/download/boost-1_62_0/boost_1_62_0.tar.bz2.temp /home/user/zcash/depends/sources/boost_1_62_0.tar.bz2 && rm -rf /home/user/zcash/depends/work/download/boost-1_62_0 ))
Fetching boost...
2016-11-24 17:27:01 URL:https://z.cash/depends-sources/boost_1_62_0.tar.bz2 [84513338/84513338] -> "/home/user/zcash/depends/work/download/boost-1_62_0/boost_1_62_0.tar.bz2.temp" [1]
/home/user/zcash/depends/work/download/boost-1_62_0/boost_1_62_0.tar.bz2.temp: OK
cd /home/user/zcash/depends/sources; sha256sum boost_1_62_0.tar.bz2 >> /home/user/zcash/depends/sources/download-stamps/.stamp_fetched-boost-boost_1_62_0.tar.bz2.hash;
touch /home/user/zcash/depends/sources/download-stamps/.stamp_fetched-boost-boost_1_62_0.tar.bz2.hash
echo Extracting boost...
Extracting boost...
mkdir -p /home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/boost/1_62_0-8100bd437b7
cd /home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/boost/1_62_0-8100bd437b7; mkdir -p /home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/boost/1_62_0-8100bd437b7 && echo "36c96b0f6155c98404091d8ceb48319a28279ca0333fba1ad8611eb90afb2ca0  /home/user/zcash/depends/sources/boost_1_62_0.tar.bz2" > /home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/boost/1_62_0-8100bd437b7/.boost_1_62_0.tar.bz2.hash &&  sha256sum -c /home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/boost/1_62_0-8100bd437b7/.boost_1_62_0.tar.bz2.hash && tar --strip-components=1 -xf /home/user/zcash/depends/sources/boost_1_62_0.tar.bz2
/home/user/zcash/depends/sources/boost_1_62_0.tar.bz2: OK
touch /home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/boost/1_62_0-8100bd437b7/.stamp_extracted
echo Preprocessing boost...
Preprocessing boost...
mkdir -p /home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/boost/1_62_0-8100bd437b7 /home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/boost/1_62_0-8100bd437b7/.patches-8100bd437b7
cd /home/user/zcash/depends/patches/boost; cp deprecated_auto_ptr.patch /home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/boost/1_62_0-8100bd437b7/.patches-8100bd437b7 ; cd /home/user/zcash/depends/patches/boost; cp include_poll.patch /home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/boost/1_62_0-8100bd437b7/.patches-8100bd437b7 ;
cd /home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/boost/1_62_0-8100bd437b7;   echo "using gcc : : g++ -m64 : <cxxflags>\"-fvisibility=hidden   -fPIC   -I/home/user/zcash/depends/x86_64-unknown-linux-gnu/include    \" <linkflags>\"-L/home/user/zcash/depends/x86_64-unknown-linux-gnu/lib    \" <archiver>\"ar\" <striper>\"strip\"  <ranlib>\"ranlib\" <rc>\"\" : ;" > user-config.jam && patch -p1 < /home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/boost/1_62_0-8100bd437b7/.patches-8100bd437b7/deprecated_auto_ptr.patch && patch -p1 < /home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/boost/1_62_0-8100bd437b7/.patches-8100bd437b7/include_poll.patch
patching file boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp
patching file boost/asio/detail/socket_types.hpp
touch /home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/boost/1_62_0-8100bd437b7/.stamp_preprocessed
echo Configuring boost...
Configuring boost...
rm -rf /home/user/zcash/depends/x86_64-unknown-linux-gnu; mkdir -p /home/user/zcash/depends/x86_64-unknown-linux-gnu/lib; cd /home/user/zcash/depends/x86_64-unknown-linux-gnu; 
mkdir -p /home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/boost/1_62_0-8100bd437b7/.
cd /home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/boost/1_62_0-8100bd437b7/.;     PKG_CONFIG_LIBDIR=/home/user/zcash/depends/x86_64-unknown-linux-gnu/lib/pkgconfig PKG_CONFIG_PATH=/home/user/zcash/depends/x86_64-unknown-linux-gnu/share/pkgconfig PATH=/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/bin:/sbin:/bin:/usr/sbin:/usr/bin   ./bootstrap.sh --without-icu --with-libraries=chrono,filesystem,program_options,system,thread,test
Building Boost.Build engine with toolset gcc... tools/build/src/engine/bin.linuxx86_64/b2
Unicode/ICU support for Boost.Regex?... disabled.
Generating Boost.Build configuration in project-config.jam...
Bootstrapping is done. To build, run:
    ./b2
    
To adjust configuration, edit 'project-config.jam'.
Further information:
   - Command line help:
     ./b2 --help
     
   - Getting started guide: 
     http://www.boost.org/more/getting_started/unix-variants.html
     
   - Boost.Build documentation:
     http://www.boost.org/build/doc/html/index.html
touch /home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/boost/1_62_0-8100bd437b7/./.stamp_configured
echo Building boost...
Building boost...
mkdir -p /home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/boost/1_62_0-8100bd437b7/.
cd /home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/boost/1_62_0-8100bd437b7/.; PATH=/home/user/zcash/depends/x86_64-unknown-linux-gnu/native/bin:/sbin:/bin:/usr/sbin:/usr/bin   ./b2 -d2 -j2 -d1 --prefix=/home/user/zcash/depends/work/staging/x86_64-unknown-linux-gnu/boost/1_62_0-8100bd437b7/home/user/zcash/depends/x86_64-unknown-linux-gnu --layout=tagged --build-type=complete --user-config=user-config.jam threading=multi link=static -sNO_BZIP2=1 -sNO_ZLIB=1 variant=release   threadapi=pthread runtime-link=shared    stage
/home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/boost/1_62_0-8100bd437b7/tools/build/src/build/feature.jam:494: in feature.validate-value-string from module feature
error: "none" is not a known value of feature <optimization>
error: legal values: "off" "speed" "space"
/home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/boost/1_62_0-8100bd437b7/tools/build/src/build/property.jam:276: in validate1 from module property
/home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/boost/1_62_0-8100bd437b7/tools/build/src/build/property.jam:302: in property.validate from module property
/home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/boost/1_62_0-8100bd437b7/tools/build/src/tools/builtin.jam:381: in variant from module builtin
/usr/share/boost-build/site-config.jam:9: in modules.load from module site-config
/home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/boost/1_62_0-8100bd437b7/tools/build/src/build-system.jam:249: in load-config from module build-system
/home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/boost/1_62_0-8100bd437b7/tools/build/src/build-system.jam:351: in load-configuration-files from module build-system
/home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/boost/1_62_0-8100bd437b7/tools/build/src/build-system.jam:524: in load from module build-system
/home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/boost/1_62_0-8100bd437b7/tools/build/src/kernel/modules.jam:295: in import from module modules
/home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/boost/1_62_0-8100bd437b7/tools/build/src/kernel/bootstrap.jam:139: in boost-build from module
/home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/boost/1_62_0-8100bd437b7/boost-build.jam:17: in module scope from module

funcs.mk:238: recipe for target '/home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/boost/1_62_0-8100bd437b7/./.stamp_built' failed
make: *** [/home/user/zcash/depends/work/build/x86_64-unknown-linux-gnu/boost/1_62_0-8100bd437b7/./.stamp_built] Error 1

@hackers-terabit
Copy link
Author

Changing all the 'none' to 'off' in /usr/share/boost-build/site-config.jam fixes this.

@hackers-terabit
Copy link
Author

Also, I had to remove this linke to get it to work https://github.com/zcash/zcash/blob/master/configure.ac#L443

@daira daira added the A-build Area: Build system label Dec 19, 2016
@daira
Copy link
Contributor

daira commented Dec 19, 2016

Reopening because the build should not be using the system Boost.

@darkicekeel
Copy link

followed official wiki and got stuck here on build.sh
latest line on my terminal is this
make: *** [funcs.mk:240: ./zcash/depends/work/build/x86_64-unknown-linux-gnu/boost/1_62_0-2f9caaabe9e/./.stamp_built] Error 1

@arcalinea arcalinea added this to Work Queue in User Support May 22, 2017
@nathan-at-least nathan-at-least added this to Work Queue in Portability May 22, 2017
@ioptio ioptio moved this from Work Queue to Discussion in User Support Jul 25, 2017
@bitcartel
Copy link
Contributor

@hackers-terabit @darkicekeel Does this ebuild fix proposed here #2442 (comment) work for you?

@bitcartel bitcartel moved this from Discussion to Collect Information in User Support Aug 14, 2017
@ioptio
Copy link
Contributor

ioptio commented Dec 4, 2017

Closing this issue due to lack of user response. If issue is still a problem, feel free to reopen this ticket.

@ioptio ioptio closed this as completed Dec 4, 2017
Portability automation moved this from Work Queue to Complete Dec 4, 2017
User Support automation moved this from Collect Information to Complete Dec 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-build Area: Build system A-dependencies Area: Dependencies portability
Projects
User Support
  
Complete
Portability
  
Complete
Development

No branches or pull requests

6 participants