ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Sviataslau Svirydau <Sviataslau_Svirydau@epam.com>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: Re: [devel] hasher: wrong buildtime
Date: Mon, 27 Dec 2004 18:12:23 +0200
Message-ID: <41D03467.5050300@epam.com> (raw)
In-Reply-To: <20041223222929.GC27174@basalt.office.altlinux.org>

Dmitry V. Levin wrote:
> Hi,
> 
> On Thu, Dec 23, 2004 at 10:30:26PM +0200, Sviataslau Svirydau wrote:
> 
>>Что-то sisyphus_check муд(р)ит со временем...
>>Мои действия:
>>- на локальной машине (сизиф почти свежий) rpmbuild -bs subversion.spec
>>- копирую полученный src.rpm на другоу машину (Master2.4), начинаю 
>>собирать в хэшере (в окружении Master2.4)
>>- получаю:
>>
>>/.in/subversion-1.1.2-alt1.src.rpm: wrong BUILDTIME: Thu Dec 23 23:05:54 
>>MSK 2004
>>ERROR: you have problems with buildtime
>>
>>- в это время на той машине Thu Dec 23 22:07:46 EET 2004, на локальной - 
>>точно такое же время.
>>На обоих машинах:
>>$ grep ZONE /etc/sysconfig/clock
>>ZONE=Europe/Minsk
> 
> 
> Забавный эффект.
> 
> А что у вас говорит
> $ /usr/lib/hasher-priv/chrootuid2.sh path-to-workdir/chroot /bin/sh -ex sisyphus_check /.in 2>&1 |egrep '(current_time|rpm_buildtime)='
> где path-to-workdir - это то же, что и в hsh(1)?

Ничего не понимаю...
В пятницу все снова работало... сегодня работало.. буквально 10 минут 
назад пересобирал пакет - работало все (сегодня сделал новый workdir)...
А вот сейчас опять выскочило:

$ hsh ~/build24/ apr-0.9.5-alt0.3.M24.1.src.rpm
Components: hasher
Processing pkglists... hasher done
Processing srclists...  hasher done
Creating component releases... done
Updating global release file... done
Appending MD5Sum... hasher done
All your base are belong to us!!!
/.in/apr-0.9.5-alt0.3.M24.1.src.rpm: wrong BUILDTIME: Mon Dec 27 
19:04:11 MSK 2004
ERROR: you have problems with buildtime
rebuild: apr-0.9.5-alt0.3.M24.1.src.rpm: sisyphus_check failed.

$ /usr/lib/hasher-priv/chrootuid2.sh ~/build24/chroot /bin/sh -ex 
sisyphus_check /.in 2>&1 |egrep '(current_time|rpm_buildtime)='
+ current_time=1104163404
rpm_buildtime=%{buildtime:shescape};
rpm_buildtime=1104163451;
rpm_buildtime=1104163451;
++ rpm_buildtime=1104163451


$ rpmquery -p apr-0.9.5-alt0.3.M24.1.src.rpm --qf '%{buildtime:shescape}\n'
1104163451
$ rpmquery -p apr-0.9.5-alt0.3.M24.1.src.rpm --qf '%{buildtime:date}\n'
Mon 27 Dec 2004 06:04:11 PM EET



-- 
Best Regards,
Sviataslau Svirydau <Sviataslau_Svirydau at epam.com>
phone:  +375 (17) 210 1662, ext. 1503
fax:    +375 (17) 210 1168
mobile: +375 (29) 641 4214
-- 
Coronation, n.:
	The ceremony of investing a sovereign with the outward and visible
	signs of his divine right to be blown skyhigh with a dynamite bomb.
		-- Ambrose Bierce, "The Devil's Dictionary"


  reply	other threads:[~2004-12-27 16:12 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-23 20:30 Sviataslau Svirydau
2004-12-23 22:29 ` Dmitry V. Levin
2004-12-27 16:12   ` Sviataslau Svirydau [this message]
2004-12-27 16:15     ` Sviataslau Svirydau
2004-12-27 16:26     ` Dmitry V. Levin
2004-12-27 16:39       ` Sviataslau Svirydau
2004-12-27 17:27         ` Dmitry V. Levin
2004-12-27 19:13     ` Вячеслав Диконов
2004-12-27 19:45       ` Alexey Voinov
2004-12-27 19:59         ` Вячеслав Диконов
2004-12-27 20:15           ` Alexey Voinov
2004-12-28  4:43             ` [JT] " Denis Klykvin
2004-12-27 20:15           ` Alexey I. Froloff
2004-12-27 20:14       ` Alexey I. Froloff
2004-12-27 20:50         ` Вячеслав Диконов
2004-12-28  1:32           ` Alexey I. Froloff
2004-12-28  7:59             ` Вячеслав Диконов
2004-12-28 18:22               ` Andrey Rahmatullin
2004-12-29  8:00                 ` Вячеслав Диконов
2004-12-29  8:08                   ` [devel] [JT] FIN with AYB? Michael Shigorin

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=41D03467.5050300@epam.com \
    --to=sviataslau_svirydau@epam.com \
    --cc=devel@altlinux.ru \
    /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