Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 655600 - =dev-lang/rust-bin-1.29.2 - please use .tar.xz for SRC_URI and sources
Summary: =dev-lang/rust-bin-1.29.2 - please use .tar.xz for SRC_URI and sources
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Rust Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-12 18:04 UTC by tt_1
Modified: 2018-10-20 09:45 UTC (History)
0 users

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 tt_1 2018-05-12 18:04:19 UTC
It would be great to save a reasonable amount of bandwith when fetching the stages, and as upstream hosts them anyway, it should be no problem to change the src_uri of all of those three to .tar.xz

As fare as I'm concerned, untar performance is higher for low end devices with xz compression. Which would be the only case I can imagine this to be usefull.
Comment 1 tt_1 2018-05-13 13:27:32 UTC
It would be nice to have it for the source as well, but it is mainly the stage0's which are wasting the bandwith, where it goes from 70mb with xz and 180mb with gz compression.
Comment 2 Dirkjan Ochtman (RETIRED) gentoo-dev 2018-05-14 14:40:56 UTC
dev-util/cargo-0.27.0, dev-lang/rust-1.26.0 and dev-lang/rust-bin-1.26.0 use the xz-compressed tarballs where available.
Comment 3 Larry the Git Cow gentoo-dev 2018-05-14 14:41:10 UTC
The bug has been closed via the following commit(s):

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

commit 71eba02631d5129e1e4c2729f4234727d7bac498
Author:     Dirkjan Ochtman <djc@gentoo.org>
AuthorDate: 2018-05-14 13:37:00 +0000
Commit:     Dirkjan Ochtman <djc@gentoo.org>
CommitDate: 2018-05-14 14:38:35 +0000

    dev-lang/rust: version bump to 1.26.0
    
    Use LLVM_TARGETS to decide which targets to build for bundled LLVM. Use
    xz-compressed tarballs where possible to limit bandwidth/storage.
    
    Fixes: https://bugs.gentoo.org/627288
    Fixes: https://bugs.gentoo.org/655600
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-lang/rust/Manifest           |   4 +
 dev-lang/rust/rust-1.26.0.ebuild | 181 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 185 insertions(+)
Comment 4 tt_1 2018-10-18 17:59:55 UTC
reopening because tar.gz is back with =dev-lang/rust-1.29.2

reason is that the new eclass defaults to tar.gz while constructing the download url.
Comment 5 Dirkjan Ochtman (RETIRED) gentoo-dev 2018-10-19 19:19:24 UTC
Fixed again.
Comment 6 tt_1 2018-10-19 20:51:54 UTC
reopening because tar.gz is back with =dev-lang/rust-bin-1.29.2

reason: more coffee? :-)
Comment 7 tt_1 2018-10-20 09:45:19 UTC
Yesterday portage wanted to download the tar.gz for rust-bin-1.29.2, today it's going to use tar.xz, no idea why this happened.