From: Ivan Zakharyaschev <imz@altlinux.org> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: Re: [devel] I: возможный откат Сизифа на состояние от 20180626 Date: Thu, 5 Jul 2018 18:53:20 +0300 (MSK) Message-ID: <alpine.LFD.2.20.1807051848250.3504@imap.altlinux.org> (raw) In-Reply-To: <20180705080013.GB3150@altlinux.org> [-- Attachment #1: Type: text/plain, Size: 1907 bytes --] On Thu, 5 Jul 2018, Dmitry V. Levin wrote: > On Wed, Jul 04, 2018 at 10:31:00PM +0300, Ivan Zakharyaschev wrote: > > On Wed, 4 Jul 2018, Dmitry V. Levin wrote: > [...] > > > Есть прогресс какой-нибудь? > > > У нас уже 2 дня результаты тестовой пересборки лишены смысла. > > > > Посмотрел hasher, собираюсь рпедложить изменение. > > К сожалению, никакого предложения не получил; пока воткнул хак, > на который мне больно смотреть, и который исчезнет после ребута. Хотел предложить такое, как в патче. (Сохранять PACKAGER при --query-repackage). Мне надо ещё протестировать, как оно работает. > Очередная тестовая пересборка выдала 439 пакетов с новой однотипной ошибкой сборки: > pkg_resources.DistributionNotFound: The 'idna<2.7,>=2.5' distribution was not found Это уже похоже на реальную проблему (после моих измениний в сумме пакеты пересобирались, т.е. это не мешало работе мейнтейнеров, но beehive не мог). А с тех пор, как они пересобирались локально в hasher, я вроде изменений не вносил в Sisyphus, и эта новая ошибка связана, наверное, не с моими изменениями, а чем-то в районе requests. > Смотрите, что происходит последние несколько дней с пересобираемостью Сизифа: > 0627: +188 -12 (606): setup.rb:1400:in `install_gemspec': undefined method `to_ruby' for nil:NilClass > 0629: +295 -192 (713): pkg_resources.DistributionNotFound: The 'setuptools' distribution was not found > 0703: +442 -30 (1066): error: failed build dependencies: python-module-setuptools > 0705: +325 -496 (894): pkg_resources.DistributionNotFound: The 'idna<2.7,>=2.5' distribution was not found > > Я теперь уже не понимаю, какие именно пакеты мне точечно откатывать. > Мне не хотелось бы откатывать весь Сизиф на 0626, конечно. > Но если завтрашняя тестовая пересборка покажет, что проблемы, созданные > за последние несколько дней, не были исправлены, то другого варианта у меня нет. -- Best regards, Ivan [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: Type: text/x-patch; name=0001-save-PACKAGER-in-during-query-repackage.patch, Size: 1074 bytes --] From 357fde47190c9cd7bed1b4b5d23f36a19c2e52ed Mon Sep 17 00:00:00 2001 From: Ivan Zakharyaschev <imz@altlinux.org> Date: Thu, 5 Jul 2018 18:42:12 +0300 Subject: [PATCH] save PACKAGER in during --query-repackage PACKAGER is already set to the original value during normal hasher operation when building new packages. But the original value was lost with --query-repackage, and so the resulting rebuilt packages always differed from what the results of normal hasher operation would be. --- hasher/hsh-rebuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hasher/hsh-rebuild b/hasher/hsh-rebuild index e9eedf9..59de7fc 100755 --- a/hasher/hsh-rebuild +++ b/hasher/hsh-rebuild @@ -215,6 +215,10 @@ if [ -z "$nodeps" ]; then create_entry_header cat >>"$entry" <<__EOF__ cd "\$HOME/in/srpm" +packager=\$(rpmquery -p --qf '%{PACKAGER}' *) +cat >>"\$HOME/.rpmmacros" <<EOF +%packager \$packager +EOF ${rpmi:-$def_rpmi} -i -- * cd \`rpm --eval %_specdir\` sed '/^buildrequires(pre):[[:space:]]*/I!d;s///' *.spec | -- 2.10.4
next prev parent reply other threads:[~2018-07-05 15:53 UTC|newest] Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-07-03 7:21 ` [devel] not real rebuild errors, cf. --query-repackage; Re: rpm-4.13.0.1-alt2: Sisyphus/x86_64 test rebuild failed Ivan Zakharyaschev 2018-07-03 8:40 ` Dmitry V. Levin 2018-07-03 9:08 ` Ivan Zakharyaschev 2018-07-03 10:31 ` Dmitry V. Levin 2018-07-03 15:20 ` Ivan Zakharyaschev 2018-07-03 16:16 ` Ivan Zakharyaschev 2018-07-04 18:45 ` Dmitry V. Levin 2018-07-04 19:31 ` Ivan Zakharyaschev 2018-07-05 8:00 ` [devel] I: возможный откат Сизифа на состояние от 20180626 Dmitry V. Levin 2018-07-05 8:48 ` Vitaly Lipatov 2018-07-05 9:07 ` Dmitry V. Levin 2018-07-05 9:15 ` Sergey V Turchin 2018-07-05 9:22 ` Dmitry V. Levin 2018-07-05 9:33 ` Sergey V Turchin 2018-07-05 9:43 ` Michael Shigorin 2018-07-05 9:58 ` Dmitry V. Levin 2018-07-05 11:09 ` Michael Shigorin 2018-07-05 13:28 ` Anton Farygin 2018-07-05 13:26 ` Anton Farygin 2018-07-05 15:53 ` Ivan Zakharyaschev [this message] 2018-07-05 16:18 ` Ivan Zakharyaschev 2018-07-10 7:46 ` Ivan Zakharyaschev 2018-07-11 10:00 ` Ivan Zakharyaschev 2018-07-05 21:20 ` [devel] откат python*-module-idna для починки sphinx Dmitry V. Levin 2018-07-05 21:48 ` Dmitry V. Levin 2018-07-06 6:05 ` Vladimir Didenko 2018-07-06 9:40 ` [devel] python-requests Dmitry V. Levin 2018-07-06 10:00 ` Ivan Zakharyaschev 2018-07-06 10:10 ` Dmitry V. Levin 2018-07-06 10:29 ` Ivan Zakharyaschev 2018-07-06 8:30 ` [devel] откат python*-module-idna для починки sphinx Andrey Cherepanov 2018-07-06 8:59 ` Anton Farygin 2018-07-06 10:00 ` Dmitry V. Levin 2018-07-03 9:39 ` [devel] not real rebuild errors, cf. --query-repackage; Re: rpm-4.13.0.1-alt2: Sisyphus/x86_64 test rebuild failed Ivan Zakharyaschev 2018-07-03 10:21 ` Ivan Zakharyaschev 2018-07-03 15:18 ` Vitaly Lipatov 2018-07-03 15:24 ` Ivan Zakharyaschev 2018-07-03 11:16 ` Ivan Zakharyaschev
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=alpine.LFD.2.20.1807051848250.3504@imap.altlinux.org \ --to=imz@altlinux.org \ --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