ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
To: ALT Linux Sisyphus mailing list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] i586 rpm setversions regression
Date: Mon, 24 Dec 2012 16:42:46 +0400
Message-ID: <20121224124246.GA24015@glebfm.office.altlinux.ru> (raw)
In-Reply-To: <20121224120523.GA13879@altlinux.org>

[-- Attachment #1: Type: text/plain, Size: 1829 bytes --]

On Mon, Dec 24, 2012 at 04:05:23PM +0400, Alexey Tourbin wrote:
> On Mon, Dec 24, 2012 at 03:28:09PM +0400, Dmitry V. Levin wrote:
> > On Mon, Dec 24, 2012 at 11:55:09AM +0200, Michael Shigorin wrote:
> > > 	Здравствуйте.
> > > Это одного меня так накрыло?
> > 
> > Похоже на
> > http://lists.altlinux.org/pipermail/sisyphus-incominger/2012-December/334059.html
> > т.е. set.c в rpm на i586 сломался на ровном месте.
> 
> [builder@people ~]$ /usr/lib/rpm/setcmp set:kdSxWgTyZxEcQx104N1sOQPFrBU4hMyJgswBQdypWl99UkQfZ7FfVfLes8xXStDq2ZBO04AhAjro2klgZ3IPusa9PpeHQCT4xiF5vDAsf0PvkfkbHFKHGGYt7lk6gVuQUZg05tAONMVt1 set:jhK9a5Z0
> -2
> [builder@people ~]$
> 
> Похоже на проблему перекодирования в меньшую битность (в данном
> случае set:k > set:j).  Кажется, нашел ошибку, только теперь не знаю,
> как проверить - хешер не заводится.

У меня завёлся hasher на i586, в нём собрался rpm с этим патчем.
C этим rpm и corosync собирается и:

[builder@people .in]$ /usr/lib/rpm/setcmp set:kdSxWgTyZxEcQx104N1sOQPFrBU4hMyJgswBQdypWl99UkQfZ7FfVfLes8xXStDq2ZBO04AhAjro2klgZ3IPusa9PpeHQCT4xiF5vDAsf0PvkfkbHFKHGGYt7lk6gVuQUZg05tAONMVt1 set:jhK9a5Z0
1

> --- lib/set.c-
> +++ lib/set.c
> @@ -1107,8 +1107,8 @@ int rpmsetcmp(const char *str1, const ch
>      int c1 = cache_decode_set(str1, Mshift1, &v1);
>      if (c1 < 0)
>  	return -3;
> -    unsigned v1bufA[c1 + 1];
> -    unsigned v1bufB[c1 + 1];
> +    unsigned v1bufA[c1 + SENTINELS];
> +    unsigned v1bufB[c1 + SENTINELS];
>      // decode set2 (on the stack)
>      int len2 = strlen(str2);
>      int c2 = decode_set_size(len2, Mshift2);
> _______________________________________________
> Sisyphus mailing list
> Sisyphus@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/sisyphus

-- 
	glebfm
	Глеб Фотенгауэр-Малиновский


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2012-12-24 12:42 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-24  9:55 [sisyphus] разнос по held packages Michael Shigorin
2012-12-24 10:09 ` Ildar Mulyukov
2012-12-24 10:22   ` Michael Shigorin
2012-12-24 10:30     ` Ildar Mulyukov
2012-12-24 10:29 ` Sergey Bolshakov
2012-12-24 10:39   ` Michael Shigorin
2012-12-24 10:54     ` Turkov Oleg
2012-12-24 11:00 ` Pavel N. Solovyov
2012-12-24 11:00 ` Pavel Vainerman
2012-12-24 11:28 ` [sisyphus] i586 rpm setversions regression Dmitry V. Levin
2012-12-24 12:05   ` Alexey Tourbin
2012-12-24 12:42     ` Gleb Fotengauer-Malinovskiy [this message]
2012-12-24 12:59       ` Alexey Tourbin
2012-12-24 14:26         ` Dmitry V. Levin
2012-12-24 16:38           ` Michael Shigorin
2012-12-24 19:22             ` Gleb Fotengauer-Malinovskiy
2012-12-25  5:49         ` Pavel N. Solovyov
2012-12-25  5:58           ` Sergey
2012-12-25  6:47             ` Pavel N. Solovyov

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=20121224124246.GA24015@glebfm.office.altlinux.ru \
    --to=glebfm@altlinux.org \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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