Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 832760 - sci-libs/tensorflow-2.7.0 FTBFS with grpc-1.43.0: undefined references to `absl::lts_20211102::Mutex::~Mutex()'
Summary: sci-libs/tensorflow-2.7.0 FTBFS with grpc-1.43.0: undefined references to `ab...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jason Zaman
URL:
Whiteboard:
Keywords:
: 830679 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-02-05 16:59 UTC by Benda Xu
Modified: 2022-02-08 05:17 UTC (History)
1 user (show)

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


Attachments
build.log.xz (build.log.xz,31.83 KB, application/x-xz)
2022-02-05 17:00 UTC, Benda Xu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benda Xu gentoo-dev 2022-02-05 16:59:37 UTC
Like bug 817212, tensorflow-2.7.0 cannot be built with grpc-1.43.0.

Portage 3.0.30 (python 3.9.10-final-0, default/linux/amd64/17.1/no-multilib/prefix/kernel-3.2+, gcc-11.2.0, glibc-2.34-r7, 5.10.0-9-amd64 x86_64)
=================================================================
System uname: Linux-5.10.0-9-amd64-x86_64-AMD_EPYC_7702_64-Core_Processor-with-glibc2.34
KiB Mem:  1056703176 total, 256592596 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Fri, 04 Feb 2022 22:36:55 +0000
Head commit of repository gentoo: 3f100ef6c4b1a493434214603c10006a5160466f

Head commit of repository pypi-sci: 4010d52580c19af63d0221d80a4b0283c11a0e14

Timestamp of repository sage-on-gentoo: Thu, 03 Feb 2022 04:36:47 +0000
Head commit of repository sage-on-gentoo: b97ad467b184d353b2f00687bd7edb075a2b1810

sh bash 5.1_p16
ld GNU ld (Gentoo 2.37_p1 p2) 2.37
distcc 3.4 x86_64-pc-linux-gnu [disabled]
app-misc/pax-utils:        1.3.3::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.0-r6::gentoo
dev-lang/python:           2.7.18_p13::gentoo, 3.8.12_p1::gentoo, 3.9.10-r1::gentoo
dev-lang/rust:             1.58.1::gentoo
dev-lang/rust-bin:         1.58.1::gentoo
dev-util/cmake:            3.22.2::gentoo
dev-util/meson:            0.60.3::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/openrc:           0.44.10::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.37_p1-r2::gentoo
sys-devel/binutils-config: 5.4::gentoo
sys-devel/clang:           13.0.1::gentoo
sys-devel/gcc:             8.4.0-r2::gentoo, 9.3.0-r2::gentoo, 10.3.1_p20211126::gentoo, 11.2.0::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.6-r6::gentoo
sys-devel/lld:             13.0.1::gentoo
sys-devel/llvm:            11.1.0::gentoo, 13.0.1::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.16::gentoo (virtual/os-headers)
sys-libs/glibc:            2.34-r7::gentoo
Repositories:

gentoo
    location: /srv/repos/gentoo
    sync-type: git
    sync-uri: https://mirrors.tuna.tsinghua.edu.cn/git/gentoo-portage.git
    priority: -1000

Inanna
    location: /home/zongyu/mine/Inanna
    masters: gentoo

localrepo
    location: /srv/repos/localrepo
    masters: gentoo

pypi-sci
    location: /srv/repos/pypi-sci
    sync-type: git
    sync-uri: https://github.com/jiegec/gentoo-pypi-sci.git
    masters: gentoo

sage-on-gentoo
    location: /srv/repos/sage-on-gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/sage-on-gentoo.git
    masters: gentoo

spark-overlay
    location: /home/zongyu/mine/spark-overlay
    masters: gentoo

tauon
    location: /home/heroxbd/art/hack/tauon
    masters: gentoo

R_Overlay
    location: /srv/repos/R_Overlay
    masters: gentoo
    priority: 50

science
    location: /srv/repos/science
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=znver2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/gentoo/etc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.8/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /opt/gentoo/etc/env.d /opt/gentoo/etc/gentoo-release"
CONFIG_SHELL="/opt/gentoo/bin/sh"
CXXFLAGS="-O2 -pipe -march=znver2"
DISTDIR="/srv/repos/gentoo/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH 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 -march=znver2"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live candy config-protect-if-modified distlocks ebuild-locks fixlafiles force-prefix ipc-sandbox merge-sync multilib-strict network-sandbox parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sfperms strict unknown-features-warn unmerge-logs unmerge-orphans"
FFLAGS="-O2 -pipe -march=znver2"
GENTOO_MIRRORS="http://mirrors4.tuna.tsinghua.edu.cn/gentoo"
LC_ALL="C.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-l256 -j256"
PKGDIR="/srv/repos/gentoo/binpkgs"
PORTAGE_CONFIGROOT="/opt/gentoo/"
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="/tmp"
SHELL="/opt/gentoo/bin/zsh"
USE="X acl amd64 byte-compile bzip2 cli crypt dri eselect-ldso fortran gdbm iconv ipv6 libglvnd libtirpc ncurses nls nptl openmp pcre prefix readline seccomp split-usr ssl threads unicode zlib" ABI_X86="64" ADA_TARGET="gnat_2020" 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_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="dummy" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LANG, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

Reproducible: Always
Comment 1 Benda Xu gentoo-dev 2022-02-05 17:00:59 UTC
Created attachment 764412 [details]
build.log.xz
Comment 2 Benda Xu gentoo-dev 2022-02-05 17:44:32 UTC
Confirmed also on Gentoo vanilla.
Comment 3 Benda Xu gentoo-dev 2022-02-05 17:52:50 UTC
masking

>=net-libs/grpc-1.42 
>=dev-cpp/abseil-cpp-20210325 

let tensorflow build again.
Comment 4 Jason Zaman gentoo-dev 2022-02-07 22:24:57 UTC
Can you try TF-2.8.0 now? I just pushed it to the tree and it works against grpc-1.43 and the newest abseil-cpp.
Comment 5 Benda Xu gentoo-dev 2022-02-08 05:16:55 UTC
Tensorflow-2.8 works well.  Thanks Jason!
Comment 6 Benda Xu gentoo-dev 2022-02-08 05:17:59 UTC
*** Bug 830679 has been marked as a duplicate of this bug. ***