From: Anton Midyukov <antohami@altlinux.org>
To: devel-newbies@lists.altlinux.org
Subject: Re: [newbies] Как собирать пакеты
Date: Sat, 31 May 2025 22:34:06 +0300
Message-ID: <90c097f5-a50e-4e5b-b367-ed22d1ad1b6b@altlinux.org> (raw)
In-Reply-To: <c2bd14d1-10f2-4dac-8977-7ca73c4a1f2f@yandex.ru>
31.05.2025 22:25, Арсений Васильев пишет:
> Нашел пакет, с которым можно повозиться для начала. Лог пакета prboom лежит в директории последних ошибок сборки, решил это поправить. Окружение для сборки устанавливал по статье "Сборка пакетов start" из ALT Linux Wiki. Все поставил, настроил, запустил сборку в hasher командой:
>
> gear --hasher -- hsh --no-sisyphus-check -v
>
> как написано в статье, сборка пошла. Проблема в том, что ошибки моей сборки не совпадают с ошибками из лога:
>
> /space/beehive/logs/Sisyphus/x86_64/latest/error/prboom-2.5.0-alt0.3.2
>
> Тут вопрос. На сколько я понял hasher это среда сборки пакетов, которая не должна зависеть от того в какой системе я ее запускаю, правильно ли я понимаю? Я запускал сборку на виртуалке в simply linux, только обновил пакеты и поставил окружение. В моей сборки ругается ld, в логе - ошибка при компиляции.
> Нужно ли собирать пакеты под Сизиф в системе, которая обновляется из Сизифа? Можно ли работать на виртуальной машине или hasher с ней не дружит?
>
Имеет значение тот репозиторий, из которого в hasher ставятся пакеты. В вашем случае вы, вероятно, не указали использовать другой apt.conf, так что использовался системный, то есть не сизифный. Нужно использовать опцию --apt-config путь_до_конфига_apt
При использовании команды
builder-useradd имя_пользователя
пользователю добавляются в ~/apt/ варианты конфигов под актуальные репозитории.
На виртуальной машине работать, разумеется, можно.
--
best regards, Anton Midyukov <antohami@altlinux.org>
next parent reply other threads:[~2025-05-31 19:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-31 19:34 ` Anton Midyukov [this message]
2025-06-06 13:42 ` Anton Midyukov
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=90c097f5-a50e-4e5b-b367-ed22d1ad1b6b@altlinux.org \
--to=antohami@altlinux.org \
--cc=devel-newbies@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
devel@ where you _can_ ask
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel-newbies/0 devel-newbies/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-newbies devel-newbies/ http://lore.altlinux.org/devel-newbies \
devel-newbies@lists.altlinux.org devel-newbies@lists.altlinux.ru devel-newbies@lists.altlinux.com
public-inbox-index devel-newbies
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel-newbies
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git