From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7240B139694 for ; Wed, 2 Aug 2017 21:01:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9B08B1FC002; Wed, 2 Aug 2017 21:00:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 51F4EE0CAE for ; Wed, 2 Aug 2017 21:00:58 +0000 (UTC) Received: from mail-it0-f49.google.com (mail-it0-f49.google.com [209.85.214.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: floppym) by smtp.gentoo.org (Postfix) with ESMTPSA id 7757E3417DF for ; Wed, 2 Aug 2017 21:00:57 +0000 (UTC) Received: by mail-it0-f49.google.com with SMTP id 77so29952706itj.1 for ; Wed, 02 Aug 2017 14:00:57 -0700 (PDT) X-Gm-Message-State: AIVw113nxh+Gl71E/cRNaktDWbg0AlqVActulVK+gMC2itIMlPK+yWi5 pCV+QQqRMadwlDDJwj6W624cjyRt0g== X-Received: by 10.36.3.72 with SMTP id e69mr7373758ite.154.1501707655614; Wed, 02 Aug 2017 14:00:55 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Received: by 10.107.175.210 with HTTP; Wed, 2 Aug 2017 14:00:35 -0700 (PDT) In-Reply-To: <8caeffd7-337d-7fc5-0d93-f02c0f60de15@gentoo.org> References: <8caeffd7-337d-7fc5-0d93-f02c0f60de15@gentoo.org> From: Mike Gilbert Date: Wed, 2 Aug 2017 17:00:35 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [gentoo-dev] [RFC] Update toolchain.eclass to deal with .xz compressed tarball for gcc-6.4.0 To: Gentoo Dev Content-Type: text/plain; charset="UTF-8" X-Archives-Salt: b1853ec8-398e-40f5-8141-f37b896fb1e0 X-Archives-Hash: 595d09cb40ca1ec5453c82390391679f On Wed, Aug 2, 2017 at 4:52 PM, Anthony G. Basile wrote: > Hi everyone, > > Upstream gnu.org used to provide .gz and .bz2 compressed tarballs for > gcc's source code. With gcc-6.4.0 however, they only provide .gz and > .xz. Our toolchain.eclass is written only for .bz2. I'd like to commit > the attached patch to deal with this change. A better fix would > autodetect whether upstream has .bz2 or .xz but I'm not sure how to > proceed with that. Another option would be to move the SRC_URI setting code into the individual ebuilds, instead of setting it in the eclass.