Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 636806 - sys-devel/distcc: distcc-pump breaks check_include_file() in dev-util/cmake
Summary: sys-devel/distcc: distcc-pump breaks check_include_file() in dev-util/cmake
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
: 570038 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-11-07 16:26 UTC by Conrad Kostecki
Modified: 2020-03-28 02:49 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Conrad Kostecki gentoo-dev 2017-11-07 16:26:19 UTC
I don't know, if this is really a bug, where Gentoo can do anything. Feel free to close for invalid.

This seems because of incorrect configure results.
Using FEATURES="distcc distcc-pump" fails.

Configure shows:
-- Looking for CrashReporterClient.h
-- Looking for CrashReporterClient.h - found

This is wrong, as I don't have this installed. (binutils-apple?)
Target system (192.168.32.1) also don't have this installed.

distcc[29313] ERROR: compile /var/tmp/portage/sys-devel/llvm-5.0.0/work/llvm-5.0.0.src/lib/Support/PrettyStackTrace.cpp on 192.168.32.1,cpp,lzo failed
distcc[29313] (dcc_build_somewhere) Warning: remote compilation of '/var/tmp/portage/sys-devel/llvm-5.0.0/work/llvm-5.0.0.src/lib/Support/PrettyStackTrace.cpp' failed, retrying locally
distcc[29313] Warning: failed to distribute /var/tmp/portage/sys-devel/llvm-5.0.0/work/llvm-5.0.0.src/lib/Support/PrettyStackTrace.cpp to 192.168.32.1,cpp,lzo, running locally instead
/var/tmp/portage/sys-devel/llvm-5.0.0/work/llvm-5.0.0.src/lib/Support/PrettyStackTrace.cpp:29:33: fatal error: CrashReporterClient.h: No such file or directory
 #include <CrashReporterClient.h>
                                 ^
compilation terminated.

------------

Using FEATURES="distcc" works.
When I do disable distcc-pump, configure seems to work correctly and says, that CrashReporterClient.h has not been found.

-- Looking for CrashReporterClient.h
-- Looking for CrashReporterClient.h - not found

So compilation does not abort on not finding CrashReporterClient.h, as it's never included.
Comment 1 Conrad Kostecki gentoo-dev 2017-11-07 16:30:42 UTC
Portage 2.3.13 (python 3.6.3-final-0, default/linux/arm64/13.0/desktop, gcc-6.4.0, glibc-2.25-r9, 4.9.53-v8-e9091cf61983+ aarch64)
=================================================================
System uname: Linux-4.9.53-v8-e9091cf61983+-aarch64-with-gentoo-2.4.1
KiB Swap:    2097148 total,   1983204 free
Timestamp of repository gentoo: Thu, 02 Nov 2017 00:45:01 +0000
Head commit of repository gentoo: ee2045e2608abb2d6e54861c8c7d5c115e40093c
sh bash 4.4_p12
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
distcc 3.2rc1 aarch64-unknown-linux-gnu [enabled]
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.26.1-r1::gentoo
dev-lang/python:          2.7.14::gentoo, 3.4.6::gentoo, 3.5.4::gentoo, 3.6.3::gentoo
dev-util/cmake:           3.9.4::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.5::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.14.1::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo, 2.29.1-r1::gentoo
sys-devel/gcc:            4.9.4::gentoo, 6.4.0::gentoo
sys-devel/gcc-config:     1.9.0::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: --exclude-from=/etc/portage/rsync_excludes

archeron
    location: /usr/local/portage
    masters: gentoo

ACCEPT_KEYWORDS="arm64 ~arm64"
ACCEPT_LICENSE="*"
CBUILD="aarch64-unknown-linux-gnu"
CFLAGS="-march=armv8-a+crc+fp+simd -mcpu=cortex-a53 -mtune=cortex-a53 -O3 -pipe -fomit-frame-pointer -mabi=lp64 -mcmodel=small -mlittle-endian -momit-leaf-frame-pointer -mpc-relative-literal-loads -mstrict-align -mtls-dialect=desc -mtls-size=24"
CHOST="aarch64-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=armv8-a+crc+fp+simd -mcpu=cortex-a53 -mtune=cortex-a53 -O3 -pipe -fomit-frame-pointer -mabi=lp64 -mcmodel=small -mlittle-endian -momit-leaf-frame-pointer -mpc-relative-literal-loads -mstrict-align -mtls-dialect=desc -mtls-size=24 -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n --quiet-build=n --with-bdeps=y"
FCFLAGS="-O2"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distcc distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/"
INSTALL_MASK="/etc/systemd/* /etc/xinetd.d/* /usr/lib/systemd/system/*"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,-z,now"
MAKEOPTS="-j5 -l4"
PKGDIR="/usr/portage/packages"
PORTAGE_BUNZIP2_COMMAND="pbunzip2"
PORTAGE_BZIP2_COMMAND="pbzip2"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-9e"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X acl arm64 bzip2 cairo caps cjk cracklib crypt cxx dbus fbcon fontconfig gif gmp gnutls gpm iconv icu idn imlib introspection ipv6 jpeg lzma lzo mp3 ncurses neon nls nntp nptl opencl opengl openmp pam pcre png readline slang spell ssl suid svg symlink threads tiff truetype udev unicode usb xattr xface xml zlib" CPU_FLAGS_ARM="neon edsp thumb thumb2 v4 v5 v6 v7 v8 vfp vfp-d32 vfpv3 vfpv4" CURL_SSL="openssl" ELIBC="glibc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="de de_DE" LINGUAS="de de_DE" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" USERLAND="GNU" VIDEO_CARDS="fbdev vc4"
Unset:  CC, CPPFLAGS, CTARGET, CXX
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-11-12 08:24:00 UTC
Nothing I can do here, it looks like LLVM is using pristine CMake functions.

Long story short, distcc-pump is a cheap horrible hack which some people (Google?) hacked into distcc for their pet project, then abandoned immediately. It's known to cause mayhem all around the place (including miscompiled programs), so just don't ever use it.

Reassigning to distcc maintainers. However, there's at least half a dozen bugs about this open already and distcc haven't seen any change for years now. It's as dead as it can be.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-03-29 07:56:23 UTC
*** Bug 570038 has been marked as a duplicate of this bug. ***
Comment 4 Sergei Trofimovich (RETIRED) gentoo-dev 2019-12-06 08:37:36 UTC
I filed https://bugs.gentoo.org/702146 to remove FEATURES=distcc-pump from portage.

I suggest disabling 'pump' tool (and it's infrastructure) installation in a distcc package. Either completely or at least hide it under disabled-by-default flag.
Comment 5 Sergei Trofimovich (RETIRED) gentoo-dev 2020-01-05 12:38:28 UTC
in portage-2.3.82
Comment 6 Matt Turner gentoo-dev 2020-03-28 02:49:56 UTC
FEATURES=distcc-pump has been removed from portage.