Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 788064

Summary: sci-libs/tensorflow-estimator-2.4.0 requires FEATURES="-network-sandbox" in order to build
Product: Gentoo Linux Reporter: ppdplayer
Component: Current packagesAssignee: Jason Zaman <perfinion>
Status: RESOLVED FIXED    
Severity: normal CC: bertrand, bugzilla, gentoo, jstein, picnic.sun, soap
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=793743
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 922374    
Attachments: Build log with network-sandbox on
emerge --info tensorflow-estimator built with FEATURES="-network-sandbox"

Description ppdplayer 2021-05-04 02:23:37 UTC
When building sci-libs/tensorflow-estimator, bazel attempts to contact github.com during the initial setup phase. This results in a build failure if FEATURES="network-sandbox" is set.

Reproducible: Always
Comment 1 ppdplayer 2021-05-04 02:24:27 UTC
Created attachment 705882 [details]
Build log with network-sandbox on
Comment 2 ppdplayer 2021-05-04 02:28:31 UTC
Created attachment 705885 [details]
emerge --info tensorflow-estimator built with FEATURES="-network-sandbox"
Comment 3 otrocorreoinutil 2021-05-15 02:05:41 UTC
I was having problems to rebuild tensorflow-estimator after updating to python3.8 and removing python3.7. Finally solved with the FEATURES="-network-sandbox"
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-22 05:11:23 UTC
Is 2.5.0 any better?
Comment 5 Bertrand Jacquin 2023-12-30 17:07:51 UTC
(In reply to Sam James from comment #4)
> Is 2.5.0 any better?

I'm afraid not. Note this also happen with sci-libs/tensorflow 2.12.0 with USE=-python
Comment 6 Larry the Git Cow gentoo-dev 2024-02-24 12:52:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f57039ebc84c40eddf9f6a63afbbf86a8b3c42da

commit f57039ebc84c40eddf9f6a63afbbf86a8b3c42da
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2024-02-24 12:47:06 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2024-02-24 12:47:06 +0000

    sci-libs/tensorflow: treeclean
    
    Bug: https://bugs.gentoo.org/807625
    Closes: https://bugs.gentoo.org/906609
    Closes: https://bugs.gentoo.org/905673
    Closes: https://bugs.gentoo.org/913731
    Closes: https://bugs.gentoo.org/882617
    Closes: https://bugs.gentoo.org/881445
    Closes: https://bugs.gentoo.org/915621
    Closes: https://bugs.gentoo.org/909002
    Closes: https://bugs.gentoo.org/705712
    Closes: https://bugs.gentoo.org/873295
    Closes: https://bugs.gentoo.org/907031
    Closes: https://bugs.gentoo.org/909003
    Closes: https://bugs.gentoo.org/909767
    Closes: https://bugs.gentoo.org/913534
    Closes: https://bugs.gentoo.org/818766
    Closes: https://bugs.gentoo.org/830167
    Closes: https://bugs.gentoo.org/854354
    Closes: https://bugs.gentoo.org/851573
    Closes: https://bugs.gentoo.org/780468
    Closes: https://bugs.gentoo.org/910029
    Closes: https://bugs.gentoo.org/897228
    Closes: https://bugs.gentoo.org/844196
    Closes: https://bugs.gentoo.org/910030
    Closes: https://bugs.gentoo.org/897230
    Closes: https://bugs.gentoo.org/788064
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 profiles/package.mask                              |   1 -
 sci-libs/tensorflow/Manifest                       |  57 --
 ...dd-rules-docker-http_archive-bazel-toolch.patch |  37 -
 ...emlib-Latest-absl-LTS-has-split-cord-libs.patch |  32 -
 ...Must-link-against-libm-for-round-and-log2.patch |  29 -
 ...ensorflow_cc-Add-systemlib-nsync-linkopts.patch |  35 -
 ...systemlib-Updates-for-Abseil-20220623-LTS.patch |  71 --
 ...0006-systemlib-Update-targets-for-absl_py.patch |  24 -
 ...temlib-Add-well_known_types_py_pb2-target.patch |  28 -
 ...-0008-Relax-setup.py-version-requirements.patch |  86 --
 ....0-0009-systemlib-update-targets-for-absl.patch | 365 --------
 ...010-systemlib-fix-missing-osx-in-pybind11.patch |  25 -
 ...temlib-fix-missing-LICENSE-in-flatbuffers.patch |  25 -
 ...nstallation-remove-cp_local_config_python.patch |  68 --
 ...2.15.0-0013-build-use-non-hermetic-python.patch | 990 ---------------------
 sci-libs/tensorflow/metadata.xml                   |  15 -
 sci-libs/tensorflow/tensorflow-2.15.0.ebuild       | 464 ----------
 17 files changed, 2352 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ac253c38358ac6ee16fab79bdcfb5314633436e

commit 9ac253c38358ac6ee16fab79bdcfb5314633436e
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2024-02-24 12:45:32 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2024-02-24 12:45:32 +0000

    sci-libs/tensorflow-estimator: treeclean
    
    Closes: https://bugs.gentoo.org/910030
    Closes: https://bugs.gentoo.org/897230
    Closes: https://bugs.gentoo.org/788064
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 profiles/package.mask                              |   1 -
 sci-libs/tensorflow-estimator/Manifest             |   3 -
 ...ude-extractor_wrapper-and-generator_wrapp.patch |  29 -
 ...te-TF-Estimator-to-use-new-TF-API-Generat.patch | 703 ---------------------
 sci-libs/tensorflow-estimator/metadata.xml         |  16 -
 .../tensorflow-estimator-2.15.0.ebuild             |  80 ---
 6 files changed, 832 deletions(-)