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

Bug 808621

Summary: dev-util/sccache-0.2.15 - error[E0433]: failed to resolve: use of undeclared crate or module reqwest
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Georgy Yakovlev <gyakovlev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/mozilla/sccache/issues/967
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-util:sccache-0.2.15:20210816-181831.log
emerge-history.txt
environment
etc.portage.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-08-16 18:40:36 UTC
error[E0433]: failed to resolve: use of undeclared crate or module `reqwest`
  --> src/azure/blobstore.rs:23:5
   |
23 | use reqwest::r#async::{Client, Request};
   |     ^^^^^^^ use of undeclared crate or module `reqwest`

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j3-20210812-230008

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
clang version 12.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.1
Python 3.9.6
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.54.0 *
The following VMs are available for generation-2:
Available Java Virtual Machines:
  (none found)

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  HEAD of ::gentoo
commit 2b6637eea437a79d365d1e8ccf9129d372e78481
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Aug 16 17:06:33 2021 +0000

    2021-08-16 17:06:31 UTC

emerge -qpvO dev-util/sccache
[ebuild  N    ] dev-util/sccache-0.2.15  USE="azure -debug -dist-client -dist-server -gcs -memcached -redis -s3"
Comment 1 Toralf Förster gentoo-dev 2021-08-16 18:40:37 UTC
Created attachment 733327 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-08-16 18:40:39 UTC
Created attachment 733330 [details]
dev-util:sccache-0.2.15:20210816-181831.log
Comment 3 Toralf Förster gentoo-dev 2021-08-16 18:40:41 UTC
Created attachment 733333 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-08-16 18:40:43 UTC
Created attachment 733336 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-08-16 18:40:44 UTC
Created attachment 733339 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-08-16 18:40:45 UTC
Created attachment 733342 [details]
temp.tar.bz2
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-17 09:32:35 UTC
Ping
Comment 8 Georgy Yakovlev archtester gentoo-dev 2021-10-18 17:45:27 UTC
this only happens with USE=azure, which is hardly relevant.

also sccache seems to be abandoned 
3f318a8 on Mar 10 is latest commit.


I'll see if it's easy to fix, but chances are package will be last-rited.
Comment 9 Larry the Git Cow gentoo-dev 2021-10-18 17:59:21 UTC
The bug has been referenced in the following commit(s):

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

commit 87d7930b379117cd4c95846276ac7026fcd94d08
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2021-10-18 17:57:44 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2021-10-18 17:58:13 +0000

    dev-util/sccache: fix build with USE=azure
    
    Bug: https://bugs.gentoo.org/808621
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 dev-util/sccache/files/reqwest-azure.patch | 11 +++++++++++
 dev-util/sccache/sccache-0.2.15.ebuild     |  2 ++
 2 files changed, 13 insertions(+)