Cannot setup distcc

Development on core packages and the distribution goes on in here.

Cannot setup distcc

Postby adontz » Fri Jul 25, 2014 11:22 am

Hello,

I have problem setting up distcc version 3.2rc1. I want actually to make new package, but beforehand I wanted to build existing package by myself, to test environment, and not my PKGBUILD. So I've checked out git repository from https://github.com/archlinuxarm/PKGBUILDs.git and selected speex as package small enough to play with. I've set up distcc according to instruction, server is on Arch64 VM, it is running, reachable (tested with telnet) and so on. I've also updated makepkg.conf to use distcc.

But, when I try to makepkg I get distcc related errors. This is related to all packages, not only speex. Here is start of compilation log. Actually, everything compiles, but I want to make distcc operational.

So, distcc is running, I've specified allowed hosts as 0.0.0.0/0 and distcc is reachable by network on it's default port 3632.

What else can I check?

$this->bbcode_second_pass_code('', '
[build@alarmpi speex]$ makepkg -A
==> Making package: speex 1.2rc1-4 (Fri Jul 25 05:02:58 MDT 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing src/ tree
==> Removing existing pkg/ directory...
==> Starting build()...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... armv6l-unknown-linux-gnu
checking host system type... armv6l-unknown-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for C/C++ restrict keyword... __restrict
checking for C99 variable-size arrays... yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for alloca... yes
checking for SSE in current arch/CFLAGS... no
checking for ELF visibility... yes
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking sys/audioio.h usability... no
checking sys/audioio.h presence... no
checking for sys/audioio.h... no
checking for Ogg... yes
checking for sin in -lm... yes
checking for getopt_long... yes
checking for main in -lwinmm... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libspeex/Makefile
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating Speex.spec
config.status: creating include/Makefile
config.status: creating include/speex/Makefile
config.status: creating speex.pc
config.status: creating speexdsp.pc
config.status: creating win32/Makefile
config.status: creating win32/libspeex/Makefile
config.status: creating win32/speexenc/Makefile
config.status: creating win32/speexdec/Makefile
config.status: creating symbian/Makefile
config.status: creating win32/VS2003/Makefile
config.status: creating win32/VS2003/tests/Makefile
config.status: creating win32/VS2003/libspeex/Makefile
config.status: creating win32/VS2003/libspeexdsp/Makefile
config.status: creating win32/VS2003/speexdec/Makefile
config.status: creating win32/VS2003/speexenc/Makefile
config.status: creating win32/VS2005/Makefile
config.status: creating win32/VS2005/libspeex/Makefile
config.status: creating win32/VS2005/speexdec/Makefile
config.status: creating win32/VS2005/speexenc/Makefile
config.status: creating win32/VS2005/libspeexdsp/Makefile
config.status: creating win32/VS2005/tests/Makefile
config.status: creating win32/VS2008/libspeexdsp/Makefile
config.status: creating win32/VS2008/Makefile
config.status: creating win32/VS2008/speexdec/Makefile
config.status: creating win32/VS2008/tests/Makefile
config.status: creating win32/VS2008/libspeex/Makefile
config.status: creating win32/VS2008/speexenc/Makefile
config.status: creating include/speex/speex_config_types.h
config.status: creating ti/Makefile
config.status: creating ti/speex_C54_test/Makefile
config.status: creating ti/speex_C55_test/Makefile
config.status: creating ti/speex_C64_test/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
Type "make; make install" to compile and install Speex
make all-recursive
make[1]: Entering directory '/home/build/PKGBUILDs/extra/speex/src/speex-1.2rc1'
Making all in libspeex
make[2]: Entering directory '/home/build/PKGBUILDs/extra/speex/src/speex-1.2rc1/libspeex'
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -D_FORTIFY_SOURCE=2 -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fvisibility=hidden -MT cb_search.lo -MD -MP -MF ".deps/cb_search.Tpo" -c -o cb_search.lo cb_search.c; \
then mv -f ".deps/cb_search.Tpo" ".deps/cb_search.Plo"; else rm -f ".deps/cb_search.Tpo"; exit 1; fi
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -D_FORTIFY_SOURCE=2 -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fvisibility=hidden -MT filters.lo -MD -MP -MF ".deps/filters.Tpo" -c -o filters.lo filters.c; \
then mv -f ".deps/filters.Tpo" ".deps/filters.Plo"; else rm -f ".deps/filters.Tpo"; exit 1; fi
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -D_FORTIFY_SOURCE=2 -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fvisibility=hidden -MT lsp.lo -MD -MP -MF ".deps/lsp.Tpo" -c -o lsp.lo lsp.c; \
then mv -f ".deps/lsp.Tpo" ".deps/lsp.Plo"; else rm -f ".deps/lsp.Tpo"; exit 1; fi
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -D_FORTIFY_SOURCE=2 -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fvisibility=hidden -MT ltp.lo -MD -MP -MF ".deps/ltp.Tpo" -c -o ltp.lo ltp.c; \
then mv -f ".deps/ltp.Tpo" ".deps/ltp.Plo"; else rm -f ".deps/ltp.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -D_FORTIFY_SOURCE=2 -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fvisibility=hidden -MT cb_search.lo -MD -MP -MF .deps/cb_search.Tpo -c cb_search.c -fPIC -DPIC -o .libs/cb_search.o
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -D_FORTIFY_SOURCE=2 -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fvisibility=hidden -MT filters.lo -MD -MP -MF .deps/filters.Tpo -c filters.c -fPIC -DPIC -o .libs/filters.o
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -D_FORTIFY_SOURCE=2 -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fvisibility=hidden -MT ltp.lo -MD -MP -MF .deps/ltp.Tpo -c ltp.c -fPIC -DPIC -o .libs/ltp.o
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -D_FORTIFY_SOURCE=2 -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fvisibility=hidden -MT lsp.lo -MD -MP -MF .deps/lsp.Tpo -c lsp.c -fPIC -DPIC -o .libs/lsp.o
distcc[19219] (dcc_select_for_write) ERROR: IO timeout
distcc[19219] ERROR: timeout while connecting to 172.24.0.14:3632
distcc[19219] Warning: failed to distribute cb_search.c to 172.24.0.14/2, running locally instead
distcc[19223] (dcc_select_for_write) ERROR: IO timeout
distcc[19223] ERROR: timeout while connecting to 172.24.0.14:3632
distcc[19223] Warning: failed to distribute filters.c to 172.24.0.14/2, running locally instead
distcc[19226] (dcc_select_for_write) ERROR: IO timeout
distcc[19226] ERROR: timeout while connecting to 172.24.0.14:3632
distcc[19226] Warning: failed to distribute ltp.c to 172.24.0.14/2, running locally instead
distcc[19231] (dcc_select_for_write) ERROR: IO timeout
distcc[19231] ERROR: timeout while connecting to 172.24.0.14:3632
distcc[19231] Warning: failed to distribute lsp.c to 172.24.0.14/2, running locally instead
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -D_FORTIFY_SOURCE=2 -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fvisibility=hidden -MT speex.lo -MD -MP -MF ".deps/speex.Tpo" -c -o speex.lo speex.c; \
then mv -f ".deps/speex.Tpo" ".deps/speex.Plo"; else rm -f ".deps/speex.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -D_FORTIFY_SOURCE=2 -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fvisibility=hidden -MT speex.lo -MD -MP -MF .deps/speex.Tpo -c speex.c -fPIC -DPIC -o .libs/speex.o
distcc[19364] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -D_FORTIFY_SOURCE=2 -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fvisibility=hidden -MT stereo.lo -MD -MP -MF ".deps/stereo.Tpo" -c -o stereo.lo stereo.c; \
then mv -f ".deps/stereo.Tpo" ".deps/stereo.Plo"; else rm -f ".deps/stereo.Tpo"; exit 1; fi
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -D_FORTIFY_SOURCE=2 -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fvisibility=hidden -MT vbr.lo -MD -MP -MF ".deps/vbr.Tpo" -c -o vbr.lo vbr.c; \
then mv -f ".deps/vbr.Tpo" ".deps/vbr.Plo"; else rm -f ".deps/vbr.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -D_FORTIFY_SOURCE=2 -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fvisibility=hidden -MT stereo.lo -MD -MP -MF .deps/stereo.Tpo -c stereo.c -fPIC -DPIC -o .libs/stereo.o
distcc[19504] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -D_FORTIFY_SOURCE=2 -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fvisibility=hidden -MT vq.lo -MD -MP -MF ".deps/vq.Tpo" -c -o vq.lo vq.c; \
then mv -f ".deps/vq.Tpo" ".deps/vq.Plo"; else rm -f ".deps/vq.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -D_FORTIFY_SOURCE=2 -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fvisibility=hidden -MT vbr.lo -MD -MP -MF .deps/vbr.Tpo -c vbr.c -fPIC -DPIC -o .libs/vbr.o
distcc[19650] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -D_FORTIFY_SOURCE=2 -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fvisibility=hidden -MT vq.lo -MD -MP -MF .deps/vq.Tpo -c vq.c -fPIC -DPIC -o .libs/vq.o
distcc[19721] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -D_FORTIFY_SOURCE=2 -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fvisibility=hidden -MT bits.lo -MD -MP -MF ".deps/bits.Tpo" -c -o bits.lo bits.c; \
then mv -f ".deps/bits.Tpo" ".deps/bits.Plo"; else rm -f ".deps/bits.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -D_FORTIFY_SOURCE=2 -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fvisibility=hidden -MT bits.lo -MD -MP -MF .deps/bits.Tpo -c bits.c -fPIC -DPIC -o .libs/bits.o
distcc[19840] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -D_FORTIFY_SOURCE=2 -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fvisibility=hidden -MT lpc.lo -MD -MP -MF ".deps/lpc.Tpo" -c -o lpc.lo lpc.c; \
then mv -f ".deps/lpc.Tpo" ".deps/lpc.Plo"; else rm -f ".deps/lpc.Tpo"; exit 1; fi
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -D_FORTIFY_SOURCE=2 -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fvisibility=hidden -MT modes.lo -MD -MP -MF ".deps/modes.Tpo" -c -o modes.lo modes.c; \
then mv -f ".deps/modes.Tpo" ".deps/modes.Plo"; else rm -f ".deps/modes.Tpo"; exit 1; fi
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -D_FORTIFY_SOURCE=2 -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fvisibility=hidden -MT modes_wb.lo -MD -MP -MF ".deps/modes_wb.Tpo" -c -o modes_wb.lo modes_wb.c; \
then mv -f ".deps/modes_wb.Tpo" ".deps/modes_wb.Plo"; else rm -f ".deps/modes_wb.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -D_FORTIFY_SOURCE=2 -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fvisibility=hidden -MT modes.lo -MD -MP -MF .deps/modes.Tpo -c modes.c -fPIC -DPIC -o .libs/modes.o
distcc[20098] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -D_FORTIFY_SOURCE=2 -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fvisibility=hidden -MT lpc.lo -MD -MP -MF .deps/lpc.Tpo -c lpc.c -fPIC -DPIC -o .libs/lpc.o
distcc[20126] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -D_FORTIFY_SOURCE=2 -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fvisibility=hidden -MT modes_wb.lo -MD -MP -MF .deps/modes_wb.Tpo -c modes_wb.c -fPIC -DPIC -o .libs/modes_wb.o
distcc[20197] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -D_FORTIFY_SOURCE=2 -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fvisibility=hidden -MT nb_celp.lo -MD -MP -MF ".deps/nb_celp.Tpo" -c -o nb_celp.lo nb_celp.c; \
then mv -f ".deps/nb_celp.Tpo" ".deps/nb_celp.Plo"; else rm -f ".deps/nb_celp.Tpo"; exit 1; fi
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -D_FORTIFY_SOURCE=2 -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fvisibility=hidden -MT quant_lsp.lo -MD -MP -MF ".deps/quant_lsp.Tpo" -c -o quant_lsp.lo quant_lsp.c; \
then mv -f ".deps/quant_lsp.Tpo" ".deps/quant_lsp.Plo"; else rm -f ".deps/quant_lsp.Tpo"; exit 1; fi
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -D_FORTIFY_SOURCE=2 -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fvisibility=hidden -MT sb_celp.lo -MD -MP -MF ".deps/sb_celp.Tpo" -c -o sb_celp.lo sb_celp.c; \
then mv -f ".deps/sb_celp.Tpo" ".deps/sb_celp.Plo"; else rm -f ".deps/sb_celp.Tpo"; exit 1; fi
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -D_FORTIFY_SOURCE=2 -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fvisibility=hidden -MT speex_callbacks.lo -MD -MP -MF ".deps/speex_callbacks.Tpo" -c -o speex_callbacks.lo speex_callbacks.c; \
then mv -f ".deps/speex_callbacks.Tpo" ".deps/speex_callbacks.Plo"; else rm -f ".deps/speex_callbacks.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -D_FORTIFY_SOURCE=2 -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fvisibility=hidden -MT nb_celp.lo -MD -MP -MF .deps/nb_celp.Tpo -c nb_celp.c -fPIC -DPIC -o .libs/nb_celp.o
distcc[20433] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -D_FORTIFY_SOURCE=2 -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fvisibility=hidden -MT quant_lsp.lo -MD -MP -MF .deps/quant_lsp.Tpo -c quant_lsp.c -fPIC -DPIC -o .libs/quant_lsp.o
distcc[20471] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -D_FORTIFY_SOURCE=2 -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fvisibility=hidden -MT sb_celp.lo -MD -MP -MF .deps/sb_celp.Tpo -c sb_celp.c -fPIC -DPIC -o .libs/sb_celp.o
distcc[20666] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -D_FORTIFY_SOURCE=2 -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fvisibility=hidden -MT speex_callbacks.lo -MD -MP -MF .deps/speex_callbacks.Tpo -c speex_callbacks.c -fPIC -DPIC -o .libs/speex_callbacks.o
distcc[20672] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -D_FORTIFY_SOURCE=2 -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fvisibility=hidden -MT speex_header.lo -MD -MP -MF ".deps/speex_header.Tpo" -c -o speex_header.lo speex_header.c; \
then mv -f ".deps/speex_header.Tpo" ".deps/speex_header.Plo"; else rm -f ".deps/speex_header.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -D_FORTIFY_SOURCE=2 -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fvisibility=hidden -MT speex_header.lo -MD -MP -MF .deps/speex_header.Tpo -c speex_header.c -fPIC -DPIC -o .libs/speex_header.o
distcc[20792] (dcc_select_for_write) ERROR: IO timeout
distcc[20792] ERROR: timeout while connecting to 172.24.0.14:3632
distcc[20792] Warning: failed to distribute speex_header.c to 172.24.0.14/2, running locally instead
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -D_FORTIFY_SOURCE=2 -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fvisibility=hidden -MT window.lo -MD -MP -MF ".deps/window.Tpo" -c -o window.lo window.c; \
then mv -f ".deps/window.Tpo" ".deps/window.Plo"; else rm -f ".deps/window.Tpo"; exit 1; fi
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -D_FORTIFY_SOURCE=2 -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fvisibility=hidden -MT preprocess.lo -MD -MP -MF ".deps/preprocess.Tpo" -c -o preprocess.lo preprocess.c; \
then mv -f ".deps/preprocess.Tpo" ".deps/preprocess.Plo"; else rm -f ".deps/preprocess.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -D_FORTIFY_SOURCE=2 -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fvisibility=hidden -MT window.lo -MD -MP -MF .deps/window.Tpo -c window.c -fPIC -DPIC -o .libs/window.o
distcc[20928] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -D_FORTIFY_SOURCE=2 -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fvisibility=hidden -MT jitter.lo -MD -MP -MF ".deps/jitter.Tpo" -c -o jitter.lo jitter.c; \
then mv -f ".deps/jitter.Tpo" ".deps/jitter.Plo"; else rm -f ".deps/jitter.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -D_FORTIFY_SOURCE=2 -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fvisibility=hidden -MT preprocess.lo -MD -MP -MF .deps/preprocess.Tpo -c preprocess.c -fPIC -DPIC -o .libs/preprocess.o
distcc[21062] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -D_FORTIFY_SOURCE=2 -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fvisibility=hidden -MT jitter.lo -MD -MP -MF .deps/jitter.Tpo -c jitter.c -fPIC -DPIC -o .libs/jitter.o
distcc[21151] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
...
...
...
test -z "/usr/share/aclocal" || mkdir -p -- . "/home/build/PKGBUILDs/extra/speex/pkg/speex/usr/share/aclocal"
test -z "/usr/lib/pkgconfig" || mkdir -p -- . "/home/build/PKGBUILDs/extra/speex/pkg/speex/usr/lib/pkgconfig"
/usr/bin/install -c -m 644 'speex.m4' '/home/build/PKGBUILDs/extra/speex/pkg/speex/usr/share/aclocal/speex.m4'
/usr/bin/install -c -m 644 'speex.pc' '/home/build/PKGBUILDs/extra/speex/pkg/speex/usr/lib/pkgconfig/speex.pc'
/usr/bin/install -c -m 644 'speexdsp.pc' '/home/build/PKGBUILDs/extra/speex/pkg/speex/usr/lib/pkgconfig/speexdsp.p
make[2]: Leaving directory '/home/build/PKGBUILDs/extra/speex/src/speex-1.2rc1'
make[1]: Leaving directory '/home/build/PKGBUILDs/extra/speex/src/speex-1.2rc1'
==> Tidying install...
-> Purging unwanted files...
-> Removing libtool files...
-> Removing static library files...
-> Compressing man and info pages...
-> Stripping unneeded symbols from binaries and libraries...
==> Creating package "speex"...
-> Generating .PKGINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: speex 1.2rc1-4 (Fri Jul 25 05:14:23 MDT 2014)
')
adontz
 
Posts: 15
Joined: Tue Jun 17, 2014 4:10 pm

Re: Cannot setup distcc

Postby WarheadsSE » Fri Jul 25, 2014 2:00 pm

Did you set it up entirely by hand, or use my PKGBUILD to get it spun up, or something in between?

Can you please show us:
* Your distcc.conf from your x86
* Your DISTCC_HOSTS line from your makepkg.conf
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Cannot setup distcc

Postby adontz » Wed Aug 20, 2014 8:34 am

Adding DISTCC_POTENTIAL_HOSTS solved the problem, do not know why.

I've set up distcc manually.
I do not have distcc.conf on x86, just /etc/conf.d/distccd which is
$this->bbcode_second_pass_code('', 'DISTCC_ARGS="--user nobody --allow 172.24.0.0/16"
PATH=/opt/x-tools6h/arm-unknown-linux-gnueabihf/bin:$PATH')

My DISTCC_HOSTS line from your makepkg.conf is
$this->bbcode_second_pass_code('', 'DISTCC_HOSTS="172.24.0.24/20"')
adontz
 
Posts: 15
Joined: Tue Jun 17, 2014 4:10 pm

Re: Cannot setup distcc

Postby WarheadsSE » Wed Aug 20, 2014 2:12 pm

Pro Tip: https://github.com/WarheadsSE/PKGs/tree ... tccd-alarm

All the documentation I can see is that DISTCC_POTENTIAL_HOSTS is for use with pump mode, which is very dangerous for cross compilations.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Cannot setup distcc

Postby adontz » Thu Aug 21, 2014 7:36 am

Yep, that's strange, because I do not use pump mode.
adontz
 
Posts: 15
Joined: Tue Jun 17, 2014 4:10 pm


Return to Arch Linux ARM

Who is online

Users browsing this forum: No registered users and 7 guests