From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 129245 invoked by alias); 9 May 2016 16:43:18 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 129189 invoked by uid 89); 9 May 2016 16:43:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Singles, singles, Sound, sweeping X-HELO: mail-in-05.arcor-online.net Received: from mail-in-05.arcor-online.net (HELO mail-in-05.arcor-online.net) (151.189.21.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Mon, 09 May 2016 16:43:07 +0000 Received: from mail-in-11-z2.arcor-online.net (mail-in-11-z2.arcor-online.net [151.189.8.28]) by mx.arcor.de (Postfix) with ESMTP id 3r3SqX3xZSznc8 for ; Mon, 9 May 2016 18:43:04 +0200 (CEST) Received: from mail-in-09.arcor-online.net (mail-in-09.arcor-online.net [151.189.21.49]) by mail-in-11-z2.arcor-online.net (Postfix) with ESMTP id 84CE031B627 for ; Mon, 9 May 2016 18:43:04 +0200 (CEST) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-09.arcor-online.net 3r3SqX2xrzzB2tJ Received: from Gertrud (p54B46F42.dip0.t-ipconnect.de [84.180.111.66]) (Authenticated sender: stromeko@arcor.de) by mail-in-09.arcor-online.net (Postfix) with ESMTPSA id 3r3SqX2xrzzB2tJ for ; Mon, 9 May 2016 18:43:04 +0200 (CEST) From: Achim Gratz To: cygwin-apps@cygwin.com Subject: Re: Dedup x86/x86_64 --> noarch References: <87zistg99v.fsf@Rainer.invalid> <571B539D.4050304@dronecode.org.uk> <87r3dwo1aj.fsf@Rainer.invalid> <20160423153230.GK15916@calimero.vinschen.de> <87mvoknxew.fsf@Rainer.invalid> Date: Mon, 09 May 2016 16:43:00 -0000 In-Reply-To: (Jon Turney's message of "Mon, 9 May 2016 15:38:23 +0100") Message-ID: <87d1ovqj1q.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2016-05/txt/msg00019.txt.bz2 Jon Turney writes: > I think 'generally' is over-stating the case, the vast majority of > source packages should be arch-less. I said "not generally", which I think makes a slightly less sweeping statement. In any case, I just wanted to point out that some of the existing source packages have differences between the two arches that are not all trivial to remove (texlive, for whatever reason seems to have arch specific source archives, for instance). > If the source package really is arch-specific, then it should be > marked so with ARCH [1] This is currently making the whole build including all sub-packages noarch. There is currently no way to specify arch on a sub-package granularity and the source package is implied by cygport anyway. > If it contains arch-specific patches, they should be made conditional > on ARCH. Yes, that's the way to go in this case. That wouldn't work in cases where the sources themselves are already different, unless you suggest that the source archive itself should be arch-dependent. In that case we'd have the interesting problem that cygport needs to recognize that it should package the source for the other arch in the same source package just to make the result non-arch-specific. > But yes, this is not straightforward because the way we generate > source packages at the moment means there is no guarantee that the > same source package is used to build the different arch variants. That is fixable as long as it can be done by cygport. I'm more worried about those packages that still use a different packaging system (I know of Jari's, and maybe one or the other odd package is still built by hand) Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds