Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 641134 - sci-physics/root-6.12.04 : requires internet connection to build
Summary: sci-physics/root-6.12.04 : requires internet connection to build
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Guilherme Amadio
URL:
Whiteboard:
Keywords:
: 641536 641582 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-12-15 15:12 UTC by Toralf Förster
Modified: 2020-03-15 13:28 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.83 KB, text/plain)
2017-12-15 15:12 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,130.62 KB, text/plain)
2017-12-15 15:12 UTC, Toralf Förster
Details
environment (environment,190.32 KB, text/plain)
2017-12-15 15:13 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.73 KB, application/x-bzip)
2017-12-15 15:13 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,14.81 KB, application/x-bzip)
2017-12-15 15:13 UTC, Toralf Förster
Details
LZ4-download-err.log (LZ4-download-err.log,2.66 KB, text/plain)
2017-12-15 15:13 UTC, Toralf Förster
Details
LZ4-download-out.log (LZ4-download-out.log,887 bytes, text/plain)
2017-12-15 15:13 UTC, Toralf Förster
Details
sci-physics:root-6.12.04:20171215-141810.log (sci-physics:root-6.12.04:20171215-141810.log,16.93 KB, text/plain)
2017-12-15 15:13 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,45.39 KB, application/x-bzip)
2017-12-15 15:13 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-12-15 15:12:53 UTC
-- SysLibs: rt;dl;curses;-lpthread;/usr/lib/libz.so
-- Targeting X86
-- Could NOT find Z3 (missing: Z3_LIBRARIES Z3_INCLUDE_DIR) (Required is at least version "4.5")
-- Clang version: 5.0.0
-- Cling version (from VERSION file): ROOT_0.6~dev
-- Cling will look for C++ headers in '/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include/g++-v7:/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include/g++-v7/x86_64-pc-linux-gnu:/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include/g++-v7/backward' at runtime.

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-gnome-systemd_abi32+64_20171210-105947

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)
  [3]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.6.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv sci-physics/root
[ebuild  N    ] sci-physics/root-6.12.04  USE="X asimage examples fortran gdml gsl ldap math minuit opengl python roofit ssl tbb threads tiff tmva unuran xml -R (-aqua) -avahi -davix -emacs -fftw -fits -graphviz -http -jemalloc -kerberos -libcxx -memstat -mysql -odbc -oracle -postgres (-prefix) -pythia6 -pythia8 (-qt4) -root7 -shadow -sqlite -table {-test} -vc -xinetd -xrootd" PYTHON_SINGLE_TARGET="python3_5 -python2_7 -python3_4 -python3_6" PYTHON_TARGETS="python2_7 python3_5 -python3_4 -python3_6"
Comment 1 Toralf Förster gentoo-dev 2017-12-15 15:12:56 UTC
Created attachment 510156 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-12-15 15:12:59 UTC
Created attachment 510158 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-12-15 15:13:02 UTC
Created attachment 510160 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-12-15 15:13:05 UTC
Created attachment 510162 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-12-15 15:13:08 UTC
Created attachment 510164 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-12-15 15:13:11 UTC
Created attachment 510166 [details]
LZ4-download-err.log
Comment 7 Toralf Förster gentoo-dev 2017-12-15 15:13:14 UTC
Created attachment 510168 [details]
LZ4-download-out.log
Comment 8 Toralf Förster gentoo-dev 2017-12-15 15:13:17 UTC
Created attachment 510170 [details]
sci-physics:root-6.12.04:20171215-141810.log
Comment 9 Toralf Förster gentoo-dev 2017-12-15 15:13:20 UTC
Created attachment 510172 [details]
temp.tbz2
Comment 10 Guilherme Amadio gentoo-dev 2017-12-15 15:30:20 UTC
Looking at the log, I see that the real problem is that LZ4 failed to be downloaded. 

In summary, ROOT needs xxhash headers (bundled in LZ4), but these headers are not part of app-arch/lz4, and xxhash itself is not yet in Gentoo. That means that we must build ROOT with its bundled version of LZ4, which then requires an internet connection to download.

This problem will be resolved upstream and the ebuilds updated soon after. In the mean time, it's better to just tolerate this so that users can get the latest release of ROOT in Gentoo.

Upstream issue: https://sft.its.cern.ch/jira/browse/ROOT-9099
Comment 11 Guilherme Amadio gentoo-dev 2017-12-15 15:30:28 UTC
Looking at the log, I see that the real problem is that LZ4 failed to be downloaded. 

In summary, ROOT needs xxhash headers (bundled in LZ4), but these headers are not part of app-arch/lz4, and xxhash itself is not yet in Gentoo. That means that we must build ROOT with its bundled version of LZ4, which then requires an internet connection to download.

This problem will be resolved upstream and the ebuilds updated soon after. In the mean time, it's better to just tolerate this so that users can get the latest release of ROOT in Gentoo.

Upstream issue: https://sft.its.cern.ch/jira/browse/ROOT-9099
Comment 12 Guilherme Amadio gentoo-dev 2017-12-18 09:24:59 UTC
*** Bug 641536 has been marked as a duplicate of this bug. ***
Comment 13 Benda Xu gentoo-dev 2017-12-19 07:29:10 UTC
Hi Guilherme, thanks for looking into this.  Shall we carry a patch to the build system in Gentoo for a while?
Comment 14 Guilherme Amadio gentoo-dev 2017-12-19 10:17:24 UTC
(In reply to Benda Xu from comment #13)
> Hi Guilherme, thanks for looking into this.  Shall we carry a patch to the
> build system in Gentoo for a while?

Hi Benda, yes, we could, but I already asked the xxHash developer to tag a new release so that I can package it in Gentoo, and add xxhash and lz4 as dependencies of ROOT, which will make this problem go away. The LZ4 integration in ROOT is currently mixed with xxHash, so it's not optimal, but I will fix the build system upstream later too.
Comment 15 Guilherme Amadio gentoo-dev 2017-12-19 10:18:08 UTC
Of course, if a patch shows up, I will apply upstream and in Gentoo :-)
Comment 16 Guilherme Amadio gentoo-dev 2017-12-19 10:31:00 UTC
*** Bug 641582 has been marked as a duplicate of this bug. ***
Comment 17 Francesco Turco 2020-03-15 13:28:15 UTC
Upstream bug has been closed two years ago.