[devel] armh: Проблема с установкой libcurl в чистый hasher
Антон Мидюков
midyukov-anton на ya.ru
Пт Май 29 14:13:53 MSK 2020
Доброго времени суток
Опять столкнулся с проблемой сборки под armh. Теперь сборка
vm/regular-jeos-systemd.tar и vm/regular-jeos-sysv.tar
После долгих мучений определил, что проблема в установке libcurl в
чистый hasher. Чтобы воспроизвести проблему:
Создаём пустой hasher для armh
$ hsh --with-qemu=arm --apt-config=$HOME/apt/apt.conf.sisyphus.armh
--target=armh --initroot-only ~/hasher
<86>May 29 10:18:07 userdel[2539906]: delete user 'rooter'
<86>May 29 10:18:07 userdel[2539906]: removed group 'rooter' owned by
'rooter'
<86>May 29 10:18:07 userdel[2539906]: removed shadow group 'rooter'
owned by 'rooter'
<86>May 29 10:18:07 groupadd[2539917]: group added to /etc/group:
name=rooter, GID=504
<86>May 29 10:18:07 groupadd[2539917]: group added to /etc/gshadow:
name=rooter
<86>May 29 10:18:07 groupadd[2539917]: new group: name=rooter, GID=504
<86>May 29 10:18:07 useradd[2539926]: new user: name=rooter, UID=504,
GID=504, home=/root, shell=/bin/bash
<86>May 29 10:18:07 userdel[2539943]: delete user 'builder'
<86>May 29 10:18:07 userdel[2539943]: removed group 'builder' owned by
'builder'
<86>May 29 10:18:07 userdel[2539943]: removed shadow group 'builder'
owned by 'builder'
<86>May 29 10:18:07 groupadd[2539954]: group added to /etc/group:
name=builder, GID=505
<86>May 29 10:18:07 groupadd[2539954]: group added to /etc/gshadow:
name=builder
<86>May 29 10:18:07 groupadd[2539954]: new group: name=builder, GID=505
<86>May 29 10:18:07 useradd[2539963]: new user: name=builder, UID=505,
GID=505, home=/usr/src, shell=/bin/bash
Пробуем установить libcurl:
$ hsh-install libcurl
installing package libidn2-2.3.0-alt1.armh needs 380KB on the /
filesystem
installing package publicsuffix-list-dafsa-20200401-alt1.noarch
needs 480KB on the / filesystem
installing package libpsl-0.21.0-alt2.armh needs 528KB on the /
filesystem
installing package libnghttp2-1.40.0-alt1.armh needs 656KB on the /
filesystem
installing package libverto-0.3.0-alt1_7.armh needs 724KB on the /
filesystem
installing package libkeyutils-1.6-alt2.armh needs 768KB on the /
filesystem
installing package libcom_err-1.44.6-alt1.armh needs 844KB on the /
filesystem
installing package libbrotlicommon-1.0.7-alt1.armh needs 992KB on
the / filesystem
installing package libbrotlidec-1.0.7-alt1.armh needs 2MB on the /
filesystem
installing package libp11-kit-0.23.15-alt1.armh needs 2MB on the /
filesystem
installing package libtasn1-4.16.0-alt1.armh needs 2MB on the /
filesystem
installing package rpm-macros-alternatives-0.5.1-alt1.noarch needs
2MB on the / filesystem
installing package alternatives-0.5.1-alt1.noarch needs 3MB on the /
filesystem
installing package ca-certificates-2020.01.23-alt1.noarch needs 4MB
on the / filesystem
installing package ca-trust-0.1.2-alt1.noarch needs 4MB on the /
filesystem
installing package p11-kit-trust-0.23.15-alt1.armh needs 4MB on the
/ filesystem
installing package libcrypto1.1-1.1.1g-alt1.armh needs 6MB on the /
filesystem
installing package libssl1.1-1.1.1g-alt1.armh needs 6MB on the /
filesystem
installing package libkrb5-1.17.1-alt1.armh needs 8MB on the /
filesystem
installing package libsasl2-3-2.1.27-alt2.armh needs 9MB on the /
filesystem
installing package libldap-2.4.48-alt3.armh needs 10MB on the /
filesystem
installing package libcurl-7.70.0-alt1.armh needs 10MB on the /
filesystem
hsh-install: Packages installation failed.
Объезд в изменении порядка установки.
Сначала:
$ hsh-install libssl1.1
<13>May 29 10:22:40 rpmi: libp11-kit-0.23.15-alt1
sisyphus+226408.100.2.1 1590256496 installed
<13>May 29 10:22:40 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1
1590150696 installed
<13>May 29 10:22:40 rpmi: rpm-macros-alternatives-0.5.1-alt1
sisyphus+226946.100.1.1 1554830426 installed
<13>May 29 10:22:40 rpmi: alternatives-0.5.1-alt1
sisyphus+226946.100.1.1 1554830426 installed
<13>May 29 10:22:40 rpmi: ca-certificates-2020.01.23-alt1
sisyphus+244791.300.2.1 1580285500 installed
<13>May 29 10:22:40 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1
1561653823 installed
<13>May 29 10:22:40 rpmi: p11-kit-trust-0.23.15-alt1
sisyphus+226408.100.2.1 1590256496 installed
<13>May 29 10:22:40 rpmi: libcrypto1.1-1.1.1g-alt1
sisyphus+249982.60.8.1 1590254433 installed
<13>May 29 10:22:40 rpmi: libssl1.1-1.1.1g-alt1 sisyphus+249982.60.8.1
1590254433 installed
Затем:
$ hsh-install libcurl
<13>May 29 10:22:56 rpmi: libidn2-2.3.0-alt1 1574635920 installed
<13>May 29 10:22:56 rpmi: publicsuffix-list-dafsa-20200401-alt1
sisyphus+249161.100.1.1 1585815856 installed
<13>May 29 10:22:56 rpmi: libpsl-0.21.0-alt2 sisyphus+237083.100.1.1
1590138818 installed
<13>May 29 10:22:56 rpmi: libnghttp2-1.40.0-alt1 sisyphus+244416.100.1.1
1590126752 installed
<13>May 29 10:22:56 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1
1590184649 installed
<13>May 29 10:22:56 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1
1590062319 installed
<13>May 29 10:22:56 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1
1589888603 installed
<86>May 29 10:22:56 groupadd[2541893]: group added to /etc/group:
name=_keytab, GID=499
<86>May 29 10:22:56 groupadd[2541893]: group added to /etc/gshadow:
name=_keytab
<86>May 29 10:22:56 groupadd[2541893]: new group: name=_keytab, GID=499
<13>May 29 10:22:56 rpmi: libkrb5-1.17.1-alt1 sisyphus+242784.100.1.1
1590076078 installed
<86>May 29 10:22:56 groupadd[2541905]: group added to /etc/group:
name=sasl, GID=498
<86>May 29 10:22:56 groupadd[2541905]: group added to /etc/gshadow:
name=sasl
<86>May 29 10:22:56 groupadd[2541905]: new group: name=sasl, GID=498
<13>May 29 10:22:56 rpmi: libsasl2-3-2.1.27-alt2 sisyphus+228101.100.1.1
1589881157 installed
<13>May 29 10:22:56 rpmi: libldap-2.4.48-alt3 sisyphus+238816.100.1.1
1590250618 installed
<13>May 29 10:22:56 rpmi: libbrotlicommon-1.0.7-alt1
sisyphus+226738.100.2.1 1590085638 installed
<13>May 29 10:22:56 rpmi: libbrotlidec-1.0.7-alt1
sisyphus+226738.100.2.1 1590085638 installed
<13>May 29 10:22:56 rpmi: libcurl-7.70.0-alt1 sisyphus+251607.100.1.1
1589879663 installed
Есть у кого-нибудь идеи, почему такое происходит?
--
С уважением, Антон Мидюков <antohami на altlinux.org>
Подробная информация о списке рассылки Devel