[devel] not real rebuild errors, cf. --query-repackage; Re: rpm-4.13.0.1-alt2: Sisyphus/x86_64 test rebuild failed
Ivan Zakharyaschev
imz на altlinux.org
Вт Июл 3 10:21:51 MSK 2018
На самом деле, если собирать через gear --hasher -- hsh, то для этих
пакетов (на которые я повлиял --
https://lists.altlinux.org/pipermail/sisyphus-cybertalk/2018-July/103961.html
) всё успешно.
Например, для rpm:
(Правда, для rpm я эти добавки в сборочную среду отключу, патч сейчас
пришлю -- ради бутстрапа и вообще, а другим питоновским пакетам эти
добавки не помешают, кроме setuptools, где я уже отключил):
Building target platforms: x86_64
Building for target x86_64
Wrote: /usr/src/in/srpm/rpm-4.13.0.1-alt2.src.rpm
<13>Jul 3 07:04:28 rpmi: python3-module-pkg_resources-1:39.2.0-alt5.S1
1530501248 installed
<13>Jul 3 07:04:28 rpmi: python-tools-2to3-2.7.14-alt7 1530486275
installed
<13>Jul 3 07:04:28 rpmi: python-module-pkg_resources-1:39.2.0-alt5.S1
1530501248 installed
<13>Jul 3 07:04:28 rpmi: python-module-setuptools-1:39.2.0-alt5.S1
1530501248 installed
<13>Jul 3 07:04:28 rpmi: python3-module-setuptools-1:39.2.0-alt5.S1
1530501248 installed
Installing rpm-4.13.0.1-alt2.src.rpm
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.21110
Или пробую -- тоже успешно:
$ hsh --apt-config=/home/imz/.hasher/sisyphus/apt.conf
--without-stuff --query-repackage
/ALT/Sisyphus/files/SRPMS/rpm-4.13.0.1-alt2.src.rpm
...
<13>Jul 3 07:14:41 rpmi: python-module-setuptools-1:39.2.0-alt5.S1
1530501248 installed
<13>Jul 3 07:14:41 rpmi: python3-module-setuptools-1:39.2.0-alt5.S1
1530501248 installed
....
Installing rpm-4.13.0.1-alt2.src.rpm
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.61500
...
Нельзя при тестовой пересборке так делать, чтобы получить результаты ближе
к тому, с чем столкнётся мейнтейнер, пытаясь собрать очередной релиз
пакета? (Также можно это учесть в скриптах пересборки для сертификации.)
Хотя в моих вчерашних экспериментах --query-repackage не всегда помогал
(если я правильно помню), но подробности не могу вспомнить, к тому же мне
это показалось странным.
On Tue, 3 Jul 2018, ALT beekeeper wrote:
> Package: rpm-4.13.0.1-alt2
> Status: Sisyphus/x86_64 test rebuild failed
> Cannot build this package.
> Please investigate.
> Excerpt from build log:
>
> <86>Jul 3 02:29:23 userdel[115421]: delete user 'rooter'
> <86>Jul 3 02:29:23 userdel[115421]: removed group 'rooter' owned by 'rooter'
> <86>Jul 3 02:29:23 userdel[115421]: removed shadow group 'rooter' owned by 'rooter'
> <86>Jul 3 02:29:23 groupadd[115428]: group added to /etc/group: name=rooter, GID=528
> <86>Jul 3 02:29:23 groupadd[115428]: group added to /etc/gshadow: name=rooter
> <86>Jul 3 02:29:23 groupadd[115428]: new group: name=rooter, GID=528
> <86>Jul 3 02:29:23 useradd[115433]: new user: name=rooter, UID=528, GID=528, home=/root, shell=/bin/bash
> <86>Jul 3 02:29:23 userdel[115444]: delete user 'builder'
> <86>Jul 3 02:29:23 userdel[115444]: removed group 'builder' owned by 'builder'
> <86>Jul 3 02:29:23 userdel[115444]: removed shadow group 'builder' owned by 'builder'
> <86>Jul 3 02:29:23 groupadd[115453]: group added to /etc/group: name=builder, GID=529
> <86>Jul 3 02:29:23 groupadd[115453]: group added to /etc/gshadow: name=builder
> <86>Jul 3 02:29:23 groupadd[115453]: new group: name=builder, GID=529
> <86>Jul 3 02:29:23 useradd[115462]: new user: name=builder, UID=529, GID=529, home=/usr/src, shell=/bin/bash
> <13>Jul 3 02:29:28 rpmi: libexpat-2.2.4-alt1 1503305341 installed
> <13>Jul 3 02:29:28 rpmi: libgdbm-1.8.3-alt10 1454943313 installed
> <13>Jul 3 02:29:28 rpmi: autoconf_2.50-2:2.59-alt11 1449525230 installed
> <13>Jul 3 02:29:28 rpmi: libmemcached-1.0.18-alt2 1527933590 installed
> <13>Jul 3 02:29:28 rpmi: liblzo2-2.08-alt1 1405435908 installed
> <13>Jul 3 02:29:28 rpmi: lua5.3-5.3.4-alt2 1505285816 installed
> <13>Jul 3 02:29:28 rpmi: liblz4-1:1.8.1.2-alt1 1520474473 installed
> <13>Jul 3 02:29:28 rpmi: libgpg-error-1.31-alt1.S1 1529015796 installed
> <13>Jul 3 02:29:28 rpmi: libgcrypt20-1.7.10-alt1.S1 1529015978 installed
> <13>Jul 3 02:29:28 rpmi: libsystemd-1:238-alt8 1526495096 installed
> <13>Jul 3 02:29:28 rpmi: libdbus-1.10.24-alt4.S1 1518772734 installed
> <13>Jul 3 02:29:28 rpmi: libnettle6-3.4-alt1 1511790158 installed
> <13>Jul 3 02:29:28 rpmi: libarchive13-3.3.1-alt1.S1 1488799499 installed
> <13>Jul 3 02:29:28 rpmi: libelf-devel-0.173-alt1 1530382462 installed
> <13>Jul 3 02:29:28 rpmi: libdw-devel-0.173-alt1 1530382462 installed
> <13>Jul 3 02:29:28 rpmi: libasm-devel-0.173-alt1 1530382462 installed
> <13>Jul 3 02:29:29 rpmi: glibc-devel-static-6:2.27-alt6 1530125885 installed
> <13>Jul 3 02:29:29 rpmi: zlib-devel-1.2.8-alt1 1371079009 installed
> <13>Jul 3 02:29:29 rpmi: zlib-devel-static-1.2.8-alt1 1371079009 installed
> <13>Jul 3 02:29:29 rpmi: libtinfo-devel-6.1.20180407-alt1 1524068795 installed
> <13>Jul 3 02:29:29 rpmi: libncurses-devel-6.1.20180407-alt1 1524068795 installed
> <13>Jul 3 02:29:29 rpmi: python-modules-curses-2.7.14-alt7 1530486275 installed
> <13>Jul 3 02:29:29 rpmi: libverto-0.3.0-alt1_5 1525957716 installed
> <13>Jul 3 02:29:29 rpmi: libkeyutils-1.5.10-alt1 1489994069 installed
> <13>Jul 3 02:29:29 rpmi: libcom_err-1.44.2-alt1 1528233217 installed
> <13>Jul 3 02:29:29 rpmi: libtasn1-4.13-alt2 1521133848 installed
> <13>Jul 3 02:29:29 rpmi: libp11-kit-0.23.9-alt5 1525798241 installed
> <13>Jul 3 02:29:29 rpmi: ca-certificates-2017.11.22-alt3 1515521666 installed
> <13>Jul 3 02:29:29 rpmi: ca-trust-0.1.1-alt2 1515595785 installed
> <13>Jul 3 02:29:29 rpmi: p11-kit-trust-0.23.9-alt5 1525798241 installed
> <13>Jul 3 02:29:30 rpmi: libcrypto10-1.0.2o-alt1 1522836697 installed
> <86>Jul 3 02:29:30 groupadd[129372]: group added to /etc/group: name=_keytab, GID=499
> <86>Jul 3 02:29:30 groupadd[129372]: group added to /etc/gshadow: name=_keytab
> <86>Jul 3 02:29:30 groupadd[129372]: new group: name=_keytab, GID=499
> <13>Jul 3 02:29:30 rpmi: libkrb5-1.16-alt1.S1 1516715375 installed
> <13>Jul 3 02:29:30 rpmi: libssl10-1.0.2o-alt1 1522836697 installed
> <13>Jul 3 02:29:30 rpmi: rpm-build-python3-0.1.13-alt1 1530500929 installed
> <13>Jul 3 02:29:30 rpmi: python3-3.6.5-alt1 1528894178 installed
> <13>Jul 3 02:29:30 rpmi: python3-base-3.6.5-alt1 1528894178 installed
> <13>Jul 3 02:29:30 rpmi: libpython3-3.6.5-alt1 1528894178 installed
> <13>Jul 3 02:29:30 rpmi: libtirpc-1.0.2-alt2 1516108441 installed
> <13>Jul 3 02:29:30 rpmi: libnsl2-1.1.0-alt1_1 1511548748 installed
> <13>Jul 3 02:29:30 rpmi: python-modules-compiler-2.7.14-alt7 1530486275 installed
> <13>Jul 3 02:29:30 rpmi: python-modules-email-2.7.14-alt7 1530486275 installed
> <13>Jul 3 02:29:30 rpmi: python-modules-unittest-2.7.14-alt7 1530486275 installed
> <13>Jul 3 02:29:30 rpmi: python-modules-nis-2.7.14-alt7 1530486275 installed
> <13>Jul 3 02:29:30 rpmi: python-modules-encodings-2.7.14-alt7 1530486275 installed
> <13>Jul 3 02:29:31 rpmi: python-modules-2.7.14-alt7 1530486275 installed
> <13>Jul 3 02:29:31 rpmi: python-modules-xml-2.7.14-alt7 1530486275 installed
> <13>Jul 3 02:29:31 rpmi: python-modules-hotshot-2.7.14-alt7 1530486275 installed
> <13>Jul 3 02:29:31 rpmi: python-modules-bsddb-2.7.14-alt7 1530486275 installed
> <13>Jul 3 02:29:31 rpmi: python-modules-ctypes-2.7.14-alt7 1530486275 installed
> <13>Jul 3 02:29:31 rpmi: python-modules-multiprocessing-2.7.14-alt7 1530486275 installed
> <13>Jul 3 02:29:31 rpmi: python-modules-logging-2.7.14-alt7 1530486275 installed
> <13>Jul 3 02:29:31 rpmi: python-2.7.14-alt7 1530486275 installed
> <13>Jul 3 02:29:31 rpmi: python-modules-distutils-2.7.14-alt7 1530486275 installed
> <13>Jul 3 02:29:31 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548748 installed
> <13>Jul 3 02:29:31 rpmi: python-dev-2.7.14-alt7 1530486275 installed
> <13>Jul 3 02:29:31 rpmi: python3-dev-3.6.5-alt1 1528894178 installed
> <13>Jul 3 02:29:31 rpmi: binutils-devel-1:2.30.0-alt1 1527783179 installed
> <13>Jul 3 02:29:31 rpmi: elfutils-devel-0.173-alt1 1530382462 installed
> <13>Jul 3 02:29:31 rpmi: libarchive-devel-3.3.1-alt1.S1 1488799499 installed
> <13>Jul 3 02:29:31 rpmi: libdbus-devel-1.10.24-alt4.S1 1518772734 installed
> <13>Jul 3 02:29:31 rpmi: liblua5.3-devel-5.3.4-alt2 1505285816 installed
> <13>Jul 3 02:29:31 rpmi: liblzo2-devel-2.08-alt1 1405435908 installed
> <13>Jul 3 02:29:31 rpmi: libmemcached-devel-1.0.18-alt2 1527933590 installed
> <13>Jul 3 02:29:31 rpmi: automake_1.9-1:1.9.6-alt6 1449516872 installed
> <13>Jul 3 02:29:32 rpmi: libreadline-devel-7.0.3-alt2 1526988921 installed
> <13>Jul 3 02:29:32 rpmi: bzlib-devel-1:1.0.6-alt5 1508883138 installed
> <13>Jul 3 02:29:32 rpmi: libselinux-devel-1:2.7-alt1 1527510798 installed
> <13>Jul 3 02:29:32 rpmi: libpopt-devel-1:1.16-alt1 1500322984 installed
> <13>Jul 3 02:29:32 rpmi: libmagic-devel-4.26-alt13 1490157134 installed
> <13>Jul 3 02:29:32 rpmi: liblzma-devel-5.2.3-alt2 1517075184 installed
> <13>Jul 3 02:29:32 rpmi: libdb4.7-devel-4.7.25-alt9 1490438456 installed
> <13>Jul 3 02:29:32 rpmi: libcap-devel-1:2.25-alt1 1490633683 installed
> <13>Jul 3 02:29:32 rpmi: libbeecrypt-devel-4.2.1-alt7 1302194536 installed
> <13>Jul 3 02:29:32 rpmi: libacl-devel-2.2.52.0.52.33f0-alt2 1511850751 installed
> <13>Jul 3 02:29:32 rpmi: fakechroot-2.19-alt1 1487767618 installed
> error: failed build dependencies:
> python-module-setuptools is needed by rpm-4.13.0.1-alt2
> python3-module-setuptools is needed by rpm-4.13.0.1-alt2
> Installing rpm-4.13.0.1-alt2.src.rpm
> Building target platforms: x86_64
> Building for target x86_64
> Command exited with non-zero status 1
> 0.40user 0.02system 0:00.80elapsed 53%CPU (0avgtext+0avgdata 12768maxresident)k
> 0inputs+0outputs (0major+7240minor)pagefaults 0swaps
> hsh-rebuild: rebuild of `rpm-4.13.0.1-alt2.src.rpm' failed.
> Command exited with non-zero status 1
> 12.95user 2.23system 0:18.80elapsed 80%CPU (0avgtext+0avgdata 127352maxresident)k
> 680inputs+0outputs (0major+414780minor)pagefaults 0swaps
>
> --
> Sincerely yours,
> ALT beekeeper
>
Подробная информация о списке рассылки Devel