Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 908404 - net-im/fractal-5_beta1: attempting network access in src_compile()
Summary: net-im/fractal-5_beta1: attempting network access in src_compile()
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Laurent Morretton
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-12 12:23 UTC by tea
Modified: 2023-11-25 20:37 UTC (History)
4 users (show)

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


Attachments
build log (fractal-5_beta1:20230612-121513.log,12.78 KB, text/plain)
2023-06-12 12:23 UTC, tea
Details
fractal package build log (fractal-build.log,12.61 KB, text/x-log)
2023-10-11 19:09 UTC, Seth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tea 2023-06-12 12:23:51 UTC
Created attachment 863730 [details]
build log

the build tries to download rust dependencies, which fails due to the sandbox.

> [40/41] /usr/bin/env CARGO_HOME=/var/tmp/portage/net-im/fractal-5_beta1/work/fractal-5_beta1-build/cargo-home /usr/bin/cargo build --manifest-path /var/tmp/portage/net-im/fractal-5_beta1/work/
> fractal-5.beta1/Cargo.toml --target-dir /var/tmp/portage/net-im/fractal-5_beta1/work/fractal-5_beta1-build/src --release && cp src/release/fractal src/fractal
>     Updating git repository `https://github.com/A6GibKm/x25519-dalek`
> warning: spurious network error (2 tries remaining): failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)
> warning: spurious network error (1 tries remaining): failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)
> error: failed to load source for dependency `x25519-dalek`
> 
> Caused by:
>   Unable to update https://github.com/A6GibKm/x25519-dalek?rev=9f19028c34107eea87d37bcee2eb2b350ec34cfe#9f19028c
> 
> Caused by:
>   failed to clone into: /var/tmp/portage/net-im/fractal-5_beta1/work/fractal-5_beta1-build/cargo-home/git/db/x25519-dalek-edc7446663fab481
> 
> Caused by:
>   network failure seems to have happened
>   if a proxy or similar is necessary `net.git-fetch-with-cli` may help here
>   https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli
> 
> Caused by:
>   failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)
Comment 1 Seth 2023-10-11 19:09:28 UTC
Created attachment 872588 [details]
fractal package build log

Reproduced issue on current version of gentoo for net-im/fractal-5_beta1 package install attempt
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-11-25 20:37:03 UTC
I've pushed net-im/fractal-5 to ::gentoo now, and it uses cargo.eclass to fetch crates via SRC_URI.