From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 MIME-Version: 1.0 In-Reply-To: <20091222185423.GS9864@altlinux.org> References: <20091221154028.9681B2D7602E@ssh.git.orion.altlinux.org> <20091221233616.GN9864@altlinux.org> <20091222080556.GP9864@altlinux.org> <20091222181849.GB23811@wo.int.altlinux.org> <20091222185423.GS9864@altlinux.org> Date: Wed, 23 Dec 2009 16:17:09 +0200 Message-ID: From: "Kirill A. Shutemov" To: ALT Linux Team development discussions Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [devel] forced noarch X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Dec 2009 14:17:26 -0000 Archived-At: List-Archive: List-Post: 2009/12/22 Alexey Tourbin : > On Tue, Dec 22, 2009 at 09:18:49PM +0300, Dmitry V. Levin wrote: >> On Tue, Dec 22, 2009 at 11:05:56AM +0300, Alexey Tourbin wrote: >> [...] >> > http://git.altlinux.org/people/at/packages/girar-builder.git >> > 642af655 =C2=A0gb-task-check-noarch-i: force noarch by extensional equ= ality >> [...] >> > 3) Cannot make arch package with identical files and deps. >> > E.g. cannot make arch perl module which should be noarch. >> > >> > [at@people 17774]$ PATH=3D~/git.alt/girar-builder:$PATH gb-task-check-= noarch-i 5 >> > error (#5): perl-Net-IP-1.25-alt2.i586.rpm should be noarch >> >> This restriction looks too hard. =C2=A0How many packages in current >> repository would fail to pass the check? > > Why do you think it's too hard? =C2=A0Basically, it says "if the list > of files is the same, and ***md5 sums*** are identical, and deps > are identical, the package must be noarch then". I don't think that it's a good idea. There are only two architectures in Sisyphus - i586 and x86_64, which are similar. It's not enough to be sure, that package is really noarch. I think we should postpone the idea untill Sisyphus will have at least one non-x86 arch and one big-endian arch.