Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
distcc and PyQt5 unhappy together
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
erg_samowzbudnik
Tux's lil' helper
Tux's lil' helper


Joined: 09 Sep 2011
Posts: 83
Location: uk/sticks

PostPosted: Tue Aug 13, 2019 9:20 am    Post subject: distcc and PyQt5 unhappy together Reply with quote

I'm running updates on Pi3B+ and noticed that I think none of the qt packages used distcc. With some, distcc failed to distribute jobs, with some it reported that it got a different result and is running it localy.
Not a biggie, update's just finishing (overnight affair), though I'm curious, what gives?

The worry is dev-util/cmake-3.15.2 which fails with error:
Code:
-- Detecting CXX compile features - done
-- Checking if compiler supports C11 _Thread_local
-- Checking if compiler supports C11 _Thread_local - yes
-- Checking if compiler supports needed C++17 constructs
-- Checking if compiler supports needed C++17 constructs - yes
-- Checking if compiler supports C++ make_unique
-- Checking if compiler supports C++ make_unique - no
-- Checking if compiler supports C++ unique_ptr
-- Checking if compiler supports C++ unique_ptr - no
CMake Error at CMakeLists.txt:92 (message):
  The C++ compiler does not support C++11 (e.g.  std::unique_ptr).


-- Configuring incomplete, errors occurred!


I'm a little lost here.
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1066

PostPosted: Tue Aug 13, 2019 9:59 am    Post subject: Re: distcc and PyQt5 unhappy together Reply with quote

erg_samowzbudnik wrote:
I'm running updates on Pi3B+ and noticed that I think none of the qt packages used distcc. With some, distcc failed to distribute jobs, with some it reported that it got a different result and is running it localy.
Not a biggie, update's just finishing (overnight affair), though I'm curious, what gives?

The worry is dev-util/cmake-3.15.2 which fails with error:
Code:
-- Detecting CXX compile features - done
-- Checking if compiler supports C11 _Thread_local
-- Checking if compiler supports C11 _Thread_local - yes
-- Checking if compiler supports needed C++17 constructs
-- Checking if compiler supports needed C++17 constructs - yes
-- Checking if compiler supports C++ make_unique
-- Checking if compiler supports C++ make_unique - no
-- Checking if compiler supports C++ unique_ptr
-- Checking if compiler supports C++ unique_ptr - no
CMake Error at CMakeLists.txt:92 (message):
  The C++ compiler does not support C++11 (e.g.  std::unique_ptr).


-- Configuring incomplete, errors occurred!


I'm a little lost here.


Not sure about this, but could it be a problem with toolchain or some other applications in the system set. It probably would help if you can post emerge --info, as well you can maybe mention if this update was part of a bigger update, e.g. to system.
Back to top
View user's profile Send private message
erg_samowzbudnik
Tux's lil' helper
Tux's lil' helper


Joined: 09 Sep 2011
Posts: 83
Location: uk/sticks

PostPosted: Tue Aug 13, 2019 10:51 am    Post subject: Reply with quote

LIsLinuxIsSogood:

I have just done a world update. Also gcc-8.3.0 updated to gcc-9.1.0. Had to pull it from NeddySeagoons's binhost as it wouldn't compile on my Pi.

Then I did run emerge --oneshot libtool as advised, then the rest of the world update.

beforehand running update I've keyworded ~arm64 in me make.conf

here it is:
Code:
emerge --info
Portage 2.3.71 (python 3.6.9-final-0, default/linux/arm64/17.0, gcc-9.1.0, glibc-2.29-r4, 4.19.58-v8+ aarch64)
=================================================================
System uname: Linux-4.19.58-v8+-aarch64-with-gentoo-2.6
KiB Mem:      991356 total,    160392 free
KiB Swap:    2097148 total,   2089980 free
Timestamp of repository gentoo: Mon, 12 Aug 2019 09:00:01 +0000
Head commit of repository gentoo: a0d12b2b077bcedf38b68a1821b1a82452c9cd9a
sh bash 5.0_p7
ld GNU ld (Gentoo 2.32 p2) 2.32.0
distcc 3.3.2 aarch64-unknown-linux-gnu [enabled]
app-shells/bash:          5.0_p7::gentoo
dev-lang/perl:            5.30.0::gentoo
dev-lang/python:          2.7.16::gentoo, 3.6.9::gentoo
dev-util/cmake:           3.14.6::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            8.3.0-r1::gentoo, 9.1.0-r1::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts:
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes

ACCEPT_KEYWORDS="arm64 ~arm64"
ACCEPT_LICENSE="@FREE"
CBUILD="aarch64-unknown-linux-gnu"
CFLAGS="-march=armv8-a+crc -mtune=cortex-a53 -ftree-vectorize -O2 -pipe -fomit-frame-pointer"
CHOST="aarch64-unknown-linux-gnu"
CONFIG_PROTECT="/boot/cmdline.txt /boot/config.txt /etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=armv8-a+crc -mtune=cortex-a53 -ftree-vectorize -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distcc distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j16 -l4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="acl arm64 berkdb bzip2 cli crypt cxx dri egl fortran gdbm gles1 gles2 iconv ipv6 libtirpc ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_ARM="crc32 edsp neon thumb thumb2 v4 v5 v6 v7 v8 vfp vfp-d32 vfpv3 vfpv4" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="fbdev vc4" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


[Moderator edit: fixed confused [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
erg_samowzbudnik
Tux's lil' helper
Tux's lil' helper


Joined: 09 Sep 2011
Posts: 83
Location: uk/sticks

PostPosted: Tue Aug 13, 2019 11:21 am    Post subject: Reply with quote

Does it help in figuring it out?:

Code:
equery uses gcc
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for sys-devel/gcc-9.2.0:
 U I
 + + cxx       : Build support for C++ (bindings, extra libraries, code generation, ...)
 - - d         : Enable support for the D programming language
 - - debug     : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see
                 https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
 + - doc       : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
 + + fortran   : Add support for fortran
 - - go        : Build the GCC Go language frontend.
 - - graphite  : Add support for the framework for loop optimizations based on a polyhedral intermediate representation
 - - lto       : Build using Link Time Optimizations (LTO)
 + + nls       : Add Native Language Support (using gettext - GNU locale utilities)
 + + nptl      : Enable support for Native POSIX Threads Library, the new threading module (requires linux-2.6 or better usually)
 - - objc      : Build support for the Objective C code language
 - - objc++    : Build support for the Objective C++ language
 - - objc-gc   : Build support for the Objective C code language Garbage Collector
 + + openmp    : Build support for the OpenMP (support parallel computing), requires >=sys-devel/gcc-4.2 built with USE="openmp"
 + - pch       : Enable precompiled header support for faster compilation at the expense of disk space and memory
                 (>=sys-devel/gcc-3.4 only)
 - - pgo       : Build GCC using Profile Guided Optimization (PGO)
 - - pie       : Build programs as Position Independent Executables (a security hardening technique)
 + - sanitize  : Build support for various sanitizer functions (ASAN/TSAN/etc...)
 + - ssp       : Build packages with stack smashing protector on by default
 - - systemtap : enable systemtap static probe points
 - - test      : Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be
                 toggled independently)
 - - vanilla   : Do not add extra patches which change default behaviour; DO NOT USE THIS ON A GLOBAL SCALE as the severity of the
                 meaning changes drastically
 + - vtv       : Build support for virtual table verification (a C++ hardening feature)


[Moderator edit: fixed confused [quote] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1066

PostPosted: Tue Aug 13, 2019 9:35 pm    Post subject: Reply with quote

erg_samowzbudnik wrote:
Does it help in figuring it out?:

Code:
equery uses gcc
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for sys-devel/gcc-9.2.0:
 U I
 + + cxx       : Build support for C++ (bindings, extra libraries, code generation, ...)
 - - d         : Enable support for the D programming language
 - - debug     : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see
                 https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
 + - doc       : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
 + + fortran   : Add support for fortran
 - - go        : Build the GCC Go language frontend.
 - - graphite  : Add support for the framework for loop optimizations based on a polyhedral intermediate representation
 - - lto       : Build using Link Time Optimizations (LTO)
 + + nls       : Add Native Language Support (using gettext - GNU locale utilities)
 + + nptl      : Enable support for Native POSIX Threads Library, the new threading module (requires linux-2.6 or better usually)
 - - objc      : Build support for the Objective C code language
 - - objc++    : Build support for the Objective C++ language
 - - objc-gc   : Build support for the Objective C code language Garbage Collector
 + + openmp    : Build support for the OpenMP (support parallel computing), requires >=sys-devel/gcc-4.2 built with USE="openmp"
 + - pch       : Enable precompiled header support for faster compilation at the expense of disk space and memory
                 (>=sys-devel/gcc-3.4 only)
 - - pgo       : Build GCC using Profile Guided Optimization (PGO)
 - - pie       : Build programs as Position Independent Executables (a security hardening technique)
 + - sanitize  : Build support for various sanitizer functions (ASAN/TSAN/etc...)
 + - ssp       : Build packages with stack smashing protector on by default
 - - systemtap : enable systemtap static probe points
 - - test      : Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be
                 toggled independently)
 - - vanilla   : Do not add extra patches which change default behaviour; DO NOT USE THIS ON A GLOBAL SCALE as the severity of the
                 meaning changes drastically
 + - vtv       : Build support for virtual table verification (a C++ hardening feature)


[Moderator edit: fixed confused [quote] tags to preserve output layout. -Hu]


erg_samowzbudnik, this probably is not the problem, although it does help me (ha ha) I do not think I have enough knowledge about the compilers to tell you!

I will defer hopefully someone can answer about why features are lacking for the C++11 compiler that would allow either distcc or gcc/g++ to compile the executable code.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13997

PostPosted: Wed Aug 14, 2019 1:31 am    Post subject: Reply with quote

This is probably the same problem as clang compilation faile (support C++11). As mike155 noted in that topic, that issue is a CMake bug. It incorrectly greps the output of the compiler for the string warning and, if found, assumes the test failed. The correct way to do this would be to structure the test so that the compiler's exit code tells whether the test failed.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum