From: Aleksey Avdeev <solo@solin.spb.ru>
To: "devel@ where you _can_ ask" <devel-newbies@lists.altlinux.org>
Subject: Re: [newbies] откуда ошибка?
Date: Mon, 05 Oct 2009 22:38:34 +0400
Message-ID: <4ACA3D2A.9010103@solin.spb.ru> (raw)
In-Reply-To: <4ACA3A53.90708@rambler.ru>
[-- Attachment #1: Type: text/plain, Size: 2933 bytes --]
05.10.2009 22:26, Kharitonov A. Dmitry пишет:
> Aleksey Avdeev wrote:
>> 05.10.2009 22:06, Kharitonov A. Dmitry пишет:
>>
>>> сборщик обнаглел немного
>>> http://git.altlinux.org/tasks/13746/task/log
>>>
>>> 2009-Oct-04 16:40:01 :: task #13746 for 4.0 started:
>>> #1 build 1.8.0.1-alt2.0.M40.1 from
>>> /people/kharpost/packages/lightsquid-admin.git
>>> 2009-Oct-04 16:40:01 :: created pkg.tar for lightsquid-admin.git tag
>>> 1.8.0.1-alt2.0.M40.1
>>> 2009-Oct-04 16:40:02 :: [x86_64] lightsquid-admin.git
>>> 1.8.0.1-alt2.0.M40.1: build start
>>> 2009-Oct-04 16:40:02 :: [i586] lightsquid-admin.git
>>> 1.8.0.1-alt2.0.M40.1: build start
>>> 2009-Oct-04 16:40:56 :: [x86_64] lightsquid-admin.git
>>> 1.8.0.1-alt2.0.M40.1: build OK
>>>
>> ^^^^^^^^
>>
>>> 2009-Oct-04 16:40:58 :: [i586] lightsquid-admin.git
>>> 1.8.0.1-alt2.0.M40.1: build OK
>>>
>> ^^^^^^^^
>>
>>> 2009-Oct-04 16:41:01 :: build check OK
>>> 2009-Oct-04 16:41:02 :: plan OK
>>> 2009-Oct-04 16:41:02 :: version check OK
>>> 2009-Oct-04 16:42:27 :: created test repo
>>> 2009-Oct-04 16:42:32 :: dependencies check OK
>>> ---8<---8<---
>>> <13>Oct 4 16:42:58 rpmi: libapt-0.5.15lorg2-alt18.M40.1 installed
>>> <13>Oct 4 16:42:58 rpmi: apt-0.5.15lorg2-alt18.M40.1 installed
>>> /root/tmp/rpm-tmp.6115: line 1: gpasswd: command not found
>>> /root/tmp/rpm-tmp.6115: line 2: gpasswd: command not found
>>> /root/tmp/rpm-tmp.6115: line 3: gpasswd: command not found
>>> error: execution of %pre scriptlet from
>>> lightsquid-admin-apache-1.8.0.1-alt2.0.M40.1 failed, exit status 127
>>> error: install: %pre scriptlet failed (2), skipping
>>>
>> ...
>>
>>> На кого вешать багу? Того кто видит или кто не видит?
>>>
>>
>> Всё верно: сломана не сборка, а устонавливаемость в минимальный chroot
>> -- локальный hasher её не выполняет. (Т. е. всё взрывается уже после
>> сборки).
>>
>> Пакету надо требовать shadow-groups, раз он использует его компоненты.
>>
> Значит багу вешать на хашер. В моём понимании если ошибка есть, то её
> должна отслеживать все, и, наоборот.
В данном случаи -- нет, т. к. целостности репозитория и
устанавлеваемости свежесобранных пакетов от хашера никто не требует: это
не его задача! Т. е. сборка в репозиторий выглядит так (упрощённо):
1. Запуск hasher для сборки в целевой репозиторий:
1.1. Сборка пакета.
1.2. sisyphus_check -- _быстрая_ проверка на корректность сборки пакета,
_без_ доступа к целевому репозиторию.
2. Проверки уровня репозитория (требуют доступа к целевому репозиторию):
2.1. Проверка на устонавливаемость (то что у тебя сейчас взорвалось).
2.3. Проверка на анметы (или как-их-там-правильно)
...
4. Помещение собранного в целевой репозиторий.
В краце: проверки уровня репозитория -- это выше чем уровень хашера.
--
С уважением. Алексей.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 553 bytes --]
prev parent reply other threads:[~2009-10-05 18:38 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-05 18:06 Kharitonov A. Dmitry
2009-10-05 18:05 ` Aleksey Avdeev
2009-10-05 18:26 ` Kharitonov A. Dmitry
2009-10-05 18:35 ` Grigory Batalov
2009-10-05 18:46 ` Kharitonov A. Dmitry
2009-10-05 18:39 ` Aleksey Avdeev
2009-10-05 19:29 ` Kharitonov A. Dmitry
2009-10-05 19:31 ` Aleksey Avdeev
2009-10-06 3:59 ` Kharitonov A. Dmitry
2009-10-05 19:56 ` Grigory Batalov
2009-10-05 20:21 ` Kharitonov A. Dmitry
2009-10-05 21:31 ` Grigory Batalov
2009-10-05 21:45 ` Alexey I. Froloff
2009-10-06 3:20 ` Kharitonov A. Dmitry
2009-10-06 9:07 ` Alexey I. Froloff
2009-10-06 11:19 ` Kharitonov A. Dmitry
2009-10-06 11:27 ` Alexey I. Froloff
2009-10-06 11:54 ` Kharitonov A. Dmitry
2009-10-06 12:01 ` Alexey I. Froloff
2009-10-06 12:17 ` Kharitonov A. Dmitry
2009-10-06 12:19 ` Alexey I. Froloff
2009-10-06 11:36 ` Aleksey Avdeev
2009-10-07 4:12 ` Kharitonov A. Dmitry
2009-10-07 4:07 ` Aleksey Avdeev
2009-10-07 4:23 ` Kharitonov A. Dmitry
2009-10-07 4:22 ` Aleksey Avdeev
2009-10-07 7:29 ` Kharitonov A. Dmitry
2009-10-07 13:28 ` Kharitonov A. Dmitry
2009-10-06 9:21 ` Timur Batyrshin
2009-10-05 18:38 ` Aleksey Avdeev [this message]
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=4ACA3D2A.9010103@solin.spb.ru \
--to=solo@solin.spb.ru \
--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