Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 659452 - sci-libs/tensorflow-1.9.0_rc1-r2 fails to compile
Summary: sci-libs/tensorflow-1.9.0_rc1-r2 fails to compile
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:
Depends on:
Blocks:
 
Reported: 2018-06-28 02:34 UTC by Renich Bon Ciric
Modified: 2018-07-09 22:37 UTC (History)
0 users

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


Attachments
build log (build.log.gz,165.32 KB, application/gzip)
2018-06-28 02:34 UTC, Renich Bon Ciric
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Renich Bon Ciric 2018-06-28 02:34:52 UTC
Created attachment 537504 [details]
build log

Here's my info:

# emerge --info
Portage 2.3.41 (python 3.5.5-final-0, default/linux/amd64/17.0/desktop/gnome/systemd, gcc-7.3.0, glibc-2.27-r4, 4.17.2-gentoo x86_64)
=================================================================
System uname: Linux-4.17.2-gentoo-x86_64-AMD_Ryzen_7_1800X_Eight-Core_Processor-with-gentoo-2.6
KiB Mem:    65964796 total,  49761984 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Thu, 28 Jun 2018 01:26:10 +0000
Head commit of repository gentoo: 103f1146f5cdac1b616c79e4ac7cf50c68119d47

Head commit of repository bitwig-overlay: 867ea1b0381b2cc855758c8fe6cd428e2714c2c6

Head commit of repository google-cloud-overlay: de4ee164a635fb7aa39bd165e19be9fa35922d1c

Head commit of repository flatpak-overlay: 6a63e062f2fbfa88bb1ea1ab33538747b99158f7

sh bash 4.4_p23
ld GNU ld (Gentoo 2.30 p3) 2.30.0
app-shells/bash:          4.4_p23::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.5.5-r1::gentoo
dev-util/cmake:           3.11.4::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.30-r3::gentoo
sys-devel/gcc:            7.3.0-r3::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r3::gentoo
sys-kernel/linux-headers: 4.17::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

bitwig-overlay
    location: /usr/local/portage/bitwig-overlay
    sync-type: git
    sync-uri: https://github.com/bitwigstudio/bitwig-overlay.git
    masters: gentoo

google-cloud-overlay
    location: /usr/local/portage/google-cloud
    sync-type: git
    sync-uri: https://github.com/MichaelOVertolli/gcloud-Overlay.git
    masters: gentoo

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

eclipse
    location: /var/lib/layman/eclipse
    sync-type: laymansync
    sync-uri: https://github.com/gentoo/eclipse-overlay.git
    masters: gentoo
    priority: 50

flatpak-overlay
    location: /usr/local/portage/flatpak-overlay
    sync-type: git
    sync-uri: https://github.com/fosero/flatpak-overlay.git
    masters: gentoo
    priority: 50

tengine-overlay
    location: /var/lib/layman/tengine-overlay
    sync-type: laymansync
    sync-uri: https://github.com/damex/tengine-overlay.git
    masters: gentoo
    priority: 50

tryton
    location: /var/lib/layman/tryton
    sync-type: laymansync
    sync-uri: https://hg.tryton.org/tryton-overlay
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/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="-mtune=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--complete-graph"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY 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-logs cgroup config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en es en_US es_MX es_LA"
MAKEOPTS="-j17 -l15.0"
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="/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo caps cdda cdr cli colord crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam flac fortran gdbm gif glamor gmp gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv introspection ipv6 jack jpeg lcms ldap libnotify libsecret libtirpc mad mng modules mp3 mp4 mpeg multilib nautilus ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support readline sdl seccomp spell ssl startup-notification svg symlink systemd threads tiff tracker truetype udev udisks unicode upower usb vorbis wayland wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en es en-US es-MX es-LA" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" QEMU_SOFTMMU_TARGETS="arm x86_64 aarch64" QEMU_USER_TARGETS="arm x86_64 aarch64" RUBY_TARGETS="ruby22 ruby23 ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi radeon" 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, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jason Zaman gentoo-dev 2018-06-28 03:14:26 UTC
Hey,
The build.log says that was _rc1-r1 not _rc1-r2, can you try -r2 instead? I fixed a whole bunch of things in it.

Looks like a problem in the mpi parts, can you try with the mpi useflag disabled?

Also -r2 has a system-libs useflag to unbundle a bunch of things. If possible, can you try with that useflag enabled? It works for me but I'd love some more testing.
Comment 2 Renich Bon Ciric 2018-06-28 03:37:45 UTC
(In reply to Jason Zaman from comment #1)
> Hey,
> The build.log says that was _rc1-r1 not _rc1-r2, can you try -r2 instead? I
> fixed a whole bunch of things in it.

OK, will do. Rebuilding right now with mpi disabled.

> Looks like a problem in the mpi parts, can you try with the mpi useflag
> disabled?

Yep. Actually, it just finished building (while writing this) so either r2 or disabling mpi did the job.
 
> Also -r2 has a system-libs useflag to unbundle a bunch of things. If
> possible, can you try with that useflag enabled? It works for me but I'd
> love some more testing.

Definitely. I'll get back to you when done with that one. will start it right now.
Comment 3 Renich Bon Ciric 2018-06-28 03:39:45 UTC
Just to let you know, I tried tensordash and here's what I got:

renich@introdesk ~ $ tensorboard 
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.5/tensorboard", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib64/python3.5/site-packages/pkg_resources/__init__.py", line 3147, in <module>
    @_call_aside
  File "/usr/lib64/python3.5/site-packages/pkg_resources/__init__.py", line 3131, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib64/python3.5/site-packages/pkg_resources/__init__.py", line 3160, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib64/python3.5/site-packages/pkg_resources/__init__.py", line 666, in _build_master
    ws.require(__requires__)
  File "/usr/lib64/python3.5/site-packages/pkg_resources/__init__.py", line 984, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib64/python3.5/site-packages/pkg_resources/__init__.py", line 870, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'wheel>=0.26' distribution was not found and is required by tensorflow

You might want me to open up a new bug for that one, right? Like I said before, I will proceed with the rebuilding using system-libs.
Comment 4 Renich Bon Ciric 2018-06-28 04:49:19 UTC
Comment #3 still happens. I will install dev-python/wheel now, but, as I said, I think this is another bug.
Comment 5 Renich Bon Ciric 2018-06-28 04:49:31 UTC
Thanks a lot!
Comment 6 Jason Zaman gentoo-dev 2018-06-28 05:56:29 UTC
(In reply to Renich Bon Ciric from comment #4)
> Comment #3 still happens. I will install dev-python/wheel now, but, as I
> said, I think this is another bug.

tensorboard is actually not packaged at all. its a separate one which i havent gotten around to yet. I guess I forgot to remove the command when i did the last revbump. Its just like the main() without any of the rest of it. I have no idea why it installs it lol.
Comment 7 Jason Zaman gentoo-dev 2018-07-08 15:45:32 UTC
I've committed tensorflow-1.9.0_rc2. If you still need MPI and that version still fails, please re-open or file a new bug.
Comment 8 Renich Bon Ciric 2018-07-09 22:37:13 UTC
Rebuilding right now...