ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Антон Мидюков" <midyukov-anton@ya.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: [devel] armh: Проблема с установкой libcurl в чистый hasher
Date: Fri, 29 May 2020 18:13:53 +0700
Message-ID: <96da6cad-9cfc-47fa-2a70-478a75f85ebf@ya.ru> (raw)

Доброго времени суток

Опять столкнулся с проблемой сборки под 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>



             reply	other threads:[~2020-05-29 11:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-29 11:13 Антон Мидюков [this message]
2020-05-29 12:25 ` Ivan A. Melnikov
2020-05-29 13:00   ` Антон Мидюков

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=96da6cad-9cfc-47fa-2a70-478a75f85ebf@ya.ru \
    --to=midyukov-anton@ya.ru \
    --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