Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 823641 - dev-lang/rust-bin: invalid url for rust-src
Summary: dev-lang/rust-bin: invalid url for rust-src
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Georgy Yakovlev
URL:
Whiteboard:
Keywords: EBUILD, PATCH
Depends on:
Blocks:
 
Reported: 2021-11-13 22:22 UTC by dm9pZCAq
Modified: 2021-11-13 22:57 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dm9pZCAq 2021-11-13 22:22:43 UTC
for now MY_SRC_URI expands to
https://static.rust-lang.org/dist//2021-11-01/rust-src-1.56.1.tar.xz
but here is extra slash       ----^
and http response for this url is 404

to fix this MY_SRC_URI should be changed to:
MY_SRC_URI="${RUST_TOOLCHAIN_BASEURL%/}/2021-11-01/rust-src-${PV}.tar.xz"
Comment 1 Larry the Git Cow gentoo-dev 2021-11-13 22:44:48 UTC
The bug has been closed via the following commit(s):

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

commit 813a6aba4c0c24560f58f9c125e3c89efb4342cb
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2021-11-13 22:42:50 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2021-11-13 22:44:40 +0000

    dev-lang/rust-bin: fix src_uri
    
    Closes: https://bugs.gentoo.org/823641
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 dev-lang/rust-bin/rust-bin-1.56.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 2 Georgy Yakovlev archtester gentoo-dev 2021-11-13 22:44:58 UTC
thanks for catching.
I had one in manifest already before using variables and missed it.