ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Kirill A. Shutemov" <kirill@shutemov.name>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] forced noarch
Date: Wed, 23 Dec 2009 22:33:37 +0200
Message-ID: <cc557aab0912231233se10cecdr4ed91ba815df41ba@mail.gmail.com> (raw)
In-Reply-To: <20091223191938.GZ9864@altlinux.org>

2009/12/23 Alexey Tourbin <at@altlinux.ru>:
> On Wed, Dec 23, 2009 at 04:17:09PM +0200, Kirill A. Shutemov wrote:
>> 2009/12/22 Alexey Tourbin <at@altlinux.ru>:
>> > 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  gb-task-check-noarch-i: force noarch by extensional equality
>> >> [...]
>> >> > 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=~/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.  How many packages in current
>> >> repository would fail to pass the check?
>> >
>> > Why do you think it's too hard?  Basically, 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.
>
> Can you specify a package (from the list) which is identical on i586
> and x86_64, but should not be made noarch because it assumes e.g.
> little-endian architecture?

At least all packages which contain GNU message catalog files(*.mo):

$ for p in `cat ~/tmp/force-noarch`; do rpm -qpl $p | grep -q
'^/usr/share/locale/.*\.mo' && echo $p ; done
bison-runtime-2.4.1-alt2.i586.rpm
celestia-common-1.6.0-alt4.i586.rpm
comix-4.0.4-alt1.1.i586.rpm
gftp-common-2.0.18stable-alt5.i586.rpm
gkrellm-ss-common-2.6-alt1.i586.rpm
gnome-utils-common-2.28.1-alt2.i586.rpm
gramps-3.1.2-alt1.1.i586.rpm
gwenview-i18n-1.4.2-alt1.i586.rpm
installer-ltsp-0.1-alt2.5.7.i586.rpm
installer-ltsp-school-0.4-alt5.3.i586.rpm
installer-server-0.2-alt2.i586.rpm
installer-server-lite-0.2-alt1.i586.rpm
libgtk-engines-default-common-2.18.4-alt1.i586.rpm
remount_rw-0.2-alt1.i586.rpm
sugar-pippy-activity-25-alt3.1.i586.rpm
virt-manager-0.8.2-alt2.i586.rpm

Who knows what else.

>> I think we should postpone the idea untill Sisyphus will have at
>> least one non-x86 arch and one big-endian arch.
>
> i586 and x86_64 are "different enough" except for endianness.
> Look how they are different:
> 1) file paths are different (lib - lib64);
> 2) native binaries are different (elf32 - elf64);
> 3) sizeof(void*) == sizeof(long) is different.
>
> How they are common:
> 1) sizeof(int) is the same (32 bit),
> 2) both are little endian.
> Which means that certain host data structures (and thus certain binary
> file formats) might have the same representation.


  reply	other threads:[~2009-12-23 20:33 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-21 23:36 ` [devel] noarch and /usr/share (packages/aptitude: tags/0.4.5-alt5) Alexey Tourbin
2009-12-22  8:05   ` Alexey Tourbin
2009-12-22 12:12     ` Michael Shigorin
2009-12-22 17:57       ` Alexey Tourbin
2009-12-23 12:00         ` Michael Shigorin
2009-12-23 18:48           ` Alexey Tourbin
2009-12-22 18:18     ` [devel] forced noarch Dmitry V. Levin
2009-12-22 18:54       ` Alexey Tourbin
2009-12-22 19:02         ` Damir Shayhutdinov
2009-12-22 19:06           ` Alexey Tourbin
2009-12-23 14:17         ` Kirill A. Shutemov
2009-12-23 19:19           ` Alexey Tourbin
2009-12-23 20:33             ` Kirill A. Shutemov [this message]
2009-12-23 21:23               ` Alexey Tourbin
2009-12-23  0:49       ` [devel] packages with non-identical /usr/share Alexey Tourbin
2009-12-23 11:57         ` Michael Shigorin
2009-12-23  2:11       ` [devel] forced noarch Alexey Tourbin
2009-12-23 11:12         ` Dmitry V. Levin
2009-12-23 12:38           ` Damir Shayhutdinov
2009-12-23 12:47             ` Michael Shigorin
2009-12-23 13:11             ` Dmitry V. Levin
2009-12-23 13:17               ` Damir Shayhutdinov
2009-12-23 13:52                 ` Dmitry V. Levin
2009-12-23 20:11           ` Alexey Tourbin
2009-12-23 22:30             ` Alexey Tourbin
2009-12-24  0:26               ` Alexey Tourbin
2009-12-27  1:09     ` [devel] forcing arch/noarch Dmitry V. Levin
2009-12-27  1:53       ` Alexey Tourbin
2009-12-27  9:50         ` Денис Смирнов
2009-12-28  0:44         ` Dmitry V. Levin
2009-12-28 17:23         ` [devel] suggesting arch/noarch Michael Shigorin
2009-12-29  0:47           ` Alexey Tourbin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cc557aab0912231233se10cecdr4ed91ba815df41ba@mail.gmail.com \
    --to=kirill@shutemov.name \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git