Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 940265 - [guru] sys-fs/dwarfs-0.10.1 fails to compile: fatal: unable to access : Could not resolve host: github.com
Summary: [guru] sys-fs/dwarfs-0.10.1 fails to compile: fatal: unable to access : Could...
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Reva Denis
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-26 11:14 UTC by Agostino Sarubbo
Modified: 2024-10-29 22:14 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,55.72 KB, text/plain)
2024-09-26 11:14 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-09-26 11:14:55 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-fs/dwarfs-0.10.1 fails to compile.
Discovered on: amd64 (internal ref: guru_ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-09-26 11:14:56 UTC
Created attachment 903821 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-09-26 11:14:57 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


-- Could NOT find range-v3 (missing: range-v3_DIR)
FAILED: range-v3-populate-prefix/src/range-v3-populate-stamp/range-v3-populate-download /var/tmp/portage/sys-fs/dwarfs-0.10.1/work/dwarfs-0.10.1_build/_deps/range-v3-subbuild/range-v3-populate-prefix/src/range-v3-populate-stamp/range-v3-populate-download 
fatal: unable to access 'https://github.com/ericniebler/range-v3.git/': Could not resolve host: github.com
Comment 3 nathanvalletmarseille 2024-10-28 12:03:04 UTC
The failure occurs because the ebuild tries to access the network and FEATURES=network-sandbox prevents it. This is because the cmake script tries to clone dependencies if they're not found, and dev-cpp/range-v3, which is one of those dependencies, isn't in the ebuild dependency list, so it tries to fetch it.
Comment 4 Larry the Git Cow gentoo-dev 2024-10-29 22:14:52 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=80a89cbf9aeffbcba5077fb6f9aaa73788d44c38

commit 80a89cbf9aeffbcba5077fb6f9aaa73788d44c38
Author:     Nathan VALLET <nathanvalletmarseille@gmail.com>
AuthorDate: 2024-10-29 11:45:32 +0000
Commit:     David Roman <davidroman96@gmail.com>
CommitDate: 2024-10-29 14:07:28 +0000

    sys-fs/dwarfs: add missing dev-cpp/range-v3 dependency to prevent it from being pulled by the network when building
    
    Closes: https://bugs.gentoo.org/940265
    Signed-off-by: Nathan VALLET <nathanvalletmarseille@gmail.com>
    Closes: https://github.com/gentoo/guru/pull/254
    Signed-off-by: David Roman <davidroman96@gmail.com>

 sys-fs/dwarfs/dwarfs-0.10.1-r1.ebuild | 110 ++++++++++++++++++++++++++++++++++
 1 file changed, 110 insertions(+)