ports/176453: distcc unable to distribute to clients

Z Beeblebrox zaphod at berentweb.com
Tue Feb 26 22:10:01 UTC 2013


>Number:         176453
>Category:       ports
>Synopsis:       distcc unable to distribute to clients
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 26 22:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Z Beeblebrox
>Release:        10-Current
>Organization:
>Environment:
FreeBSD 10.0-CURRENT #5 r247234
>Description:
distcc distributed compile fails with various outcomes:

* If the compiler being called is gcc46, build stops because of compiler error.
Example: # make CC=distcc -C lang/gcc
checking whether distcc supports -W... yes
checking whether distcc supports -Wall... yes
checking whether distcc supports -Wwrite-strings... yes
checking whether distcc supports -Wmissing-format-attribute... yes
checking whether distcc supports -Wstrict-prototypes... yes
checking whether distcc supports -Wmissing-prototypes... yes
checking whether distcc supports -Wold-style-definition... yes
checking whether distcc supports -Wc++-compat... yes
checking whether distcc supports -pedantic -Wno-long-long... yes
checking dependency style of distcc... none
configure: error: no usable dependency style found
gmake[1]: *** [configure-libcpp] Error 1

* If the compiler being called is clang, build stops because of compiler error.
Example: # make buildworld  CC=distcc
--------------------------------------------------------------
>How-To-Repeat:
Described Above
>Fix:
NA

>Release-Note:
>Audit-Trail:
>Unformatted:
 >>> Building an up-to-date make(1)
 --------------------------------------------------------------
 "/usr/share/mk/bsd.compiler.mk", line 17: Unable to determine compiler type for distcc
 *** [make] Error code 1
 
 # make CC=distcc -C ports-mgmt/pkg
 ===>  License BSD accepted by the user
 ....code output...
 ===>  Building for pkg-1.0.8
 "/usr/share/mk/bsd.compiler.mk", line 17: Unable to determine compiler type for distcc
 *** [do-build] Error code 1 
 
 <-------------------------------->
 
 IF I ENABLE CCACHE IN MAKE.CONF AND ALSO SET:
 setenv CCACHE_PREFIX /usr/local/bin/distcc
 THEN,
 * If the compiler being called is gcc46, compile orders get correctly distributed to distcc hosts
 Example: "# make CC=distcc -C lang/gcc" but breaks otherwise:
   /usr/local/bin/ar rc ./libiberty.a \
     ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./sha1.o ./alloca.o ./argv.o ./choose-temp.o ./concat.o ./cp-demint.o ./crc32.o ./dyn-string.o ./fdmatch.o ./fibheap.o ./filename_cmp.o ./floatformat.o ./fnmatch.o ./fopen_unlocked.o ./getopt.o ./getopt 1.o ./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o ./partition.o ./pexecute.o ./physmem.o ./pex-common.o ./pex-one.o ./pex-unix.o ./safe-ctype.o ./simple-obje ct.o ./simple-object-coff.o ./simple-object-elf.o ./simple-object-mach-o.o ./sort.o ./spaces.o ./splay-tree.o ./strerror.o ./strsignal.o ./unlink-if-ordinary.o ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o ./xstrndup.o  ./mempcp y.o ./strverscmp.o; \
   /usr/local/bin/ranlib ./libiberty.a; \
   cd ..; \
 else true; fi
 gmake[2]: Leaving directory `/usr/obj/asp/ports/lang/gcc/work/build/libiberty'
 gmake[1]: Leaving directory `/usr/obj/asp/ports/lang/gcc/work/build'
 gmake: *** [all] Error 2
 *** [do-build] Error code 1
 
 * If the compiler is clang, compile orders get correctly distributed to distcc hosts for ports.
 Example: # make CC=distcc -C ports-mgmt/pkg compiles correctly.
 
 * If buildworld, 2 different outcomes:
 # make buildworld CC=distcc - results in same as above (Unable to determine compiler type error)
 # make buildworld - breaks with below (just an example, breaks in many places for same reason). Fallbacks disabled for debugging.
 distcc[40460] ERROR: compile /asp/src/lib/csu/amd64/crt1.c on 192.168.2.12/9,lzo failed with exit code 255
 distcc[40460] (dcc_build_somewhere) Warning: failed to distribute and fallbacks are disabled
 


More information about the freebsd-ports-bugs mailing list