When building logrotate, the compiler is set to cc, which results in compilation failure in a distcc environment with non linux hosts. Namely, the following error results: cc -Wall -D_GNU_SOURCE -DLinux -DVERSION=\"3.7.1\" -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O3 -march=pentium4 -pipe -c -o log.o log.c cc -Wall -D_GNU_SOURCE -DLinux -DVERSION=\"3.7.1\" -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O3 -march=pentium4 -pipe -c -o config.o config.c cc -Wall -D_GNU_SOURCE -DLinux -DVERSION=\"3.7.1\" -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O3 -march=pentium4 -pipe -c -o basenames.o basenames.c cc -g logrotate.o log.o config.o basenames.o -lpopt -o logrotate logrotate.o: file not recognized: File format not recognized collect2: ld returned 1 exit status distcc[23776] ERROR: compile (null) on localhost failed make: *** [logrotate] Error 1 The ebuild should either set CC to gcc or (preferably) i686-pc-linux-gnu-gcc
Fixed. Thanks, Jakub.