From: Sergey Bolshakov <sbolshakov@altlinux.ru> To: devel@lists.altlinux.org Subject: Re: [devel] Сборка пакетов для armh/aarch64 в хэшере на хосте x86_64 Date: Fri, 26 Jan 2018 15:25:31 +0300 Message-ID: <m3bmhgbydg.fsf@hammer.malta.altlinux.ru> (raw) In-Reply-To: <171805014.240.1516353512542.JavaMail.taf@taf.office.telnet> (Alexei Takaseev's message of "Fri, 19 Jan 2018 17:18:37 +0800 (IRKT)") [-- Attachment #1: Type: text/plain, Size: 898 bytes --] >>>>> "Alexei" == Alexei Takaseev <alexei-W/DNgjy8krs@public.gmane.org> writes: > Добрый день! > Пытаюсь по инструкции с https://www.altlinux.org/Ports/arm/BuildHowto наладить > у себя сборку своих пакетов под архитектуры armh/aarch64 (в рамках объявленной > в скором будущем обязательности поддержки этих платформ), но что-то не выходит > каменный цветок. > По инструкции прописал /proc/sys/fs/binfmt_misc (кстати, там нет данных под > aarch64), далее создал каталоги /mnt/DISK/virtuals/{aarch64,armh}, в них положил > apt.conf такого содержания: У меня в /etc/binfmt.d/ есть два таких вот: [-- Attachment #2: qemu-aarch64-static.conf --] [-- Type: text/plain, Size: 205 bytes --] :aarch64:M::\x7f\x45\x4c\x46\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-aarch64.static:F [-- Attachment #3: qemu-armh-static.conf --] [-- Type: text/plain, Size: 190 bytes --] :armh:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-armh.static:F [-- Attachment #4: Type: text/plain, Size: 1362 bytes --] При этом для ядер >= 4.8 становится ненужным указывать --with-qemu= [skipped] > Но при попытке запуска инициализации хэшера получаю такое: > $ hsh --with-qemu=arm --target=armh --apt-config=/mnt/DISK/virtuals/armh/apt.conf /mnt/DISK/virtuals/armh --initroot-only > Чтение списков пакетов... > Построение дерева зависимостей... > Пакет setup присутствует в базе данных, но не имеет доступной версии. > Как правило это означает, что хотя пакет упоминается в списке зависимостей, > он отсутствует в репозитории, был вытеснен, либо в sources.list нет адреса > репози�E: Для пакета setup не найдено подходящего кандидата для установки > hsh-initroot: Failed to calculate package file list. > hsh-initroot: Failed to generate initial package file list. > Такое ощущение, что apt игнорирует пакеты noarch в репозитории. Как > это можно победить? echo 'arch_compat: x86_64: noarch' > ~/.rpmrc или [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #5: mkaptbox.diff --] [-- Type: text/x-patch, Size: 423 bytes --] --- /usr/bin/mkaptbox~ 2017-11-22 08:04:18.000000000 +0300 +++ /usr/bin/mkaptbox 2018-01-26 15:12:19.818852241 +0300 @@ -216,7 +216,7 @@ [ ! -f "$f" ] || install -pm600 $verbose -- "$f" "$aptbox_home/" >&2 done - echo "arch_compat: $current_arch: ${target:-$def_target}" >> "$aptbox_home/.rpmrc" + echo "arch_compat: $current_arch: ${target:-$def_target} noarch" >> "$aptbox_home/.rpmrc" fi # create wrappers. [-- Attachment #6: Type: text/plain, Size: 5 bytes --] --
next prev parent reply other threads:[~2018-01-26 12:25 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-01-19 9:18 ` Alexei Takaseev 2018-01-20 14:10 ` Антон Мидюков 2018-01-22 20:27 ` Michael Shigorin 2018-01-26 12:25 ` Sergey Bolshakov [this message] 2018-01-29 10:20 ` Alexei Takaseev
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=m3bmhgbydg.fsf@hammer.malta.altlinux.ru \ --to=sbolshakov@altlinux.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