From: Led <led@altlinux.ru> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: Re: [devel] [#91829] FAILED kernel-image-3.0.git=3.0.68-alt1 Date: Tue, 5 Mar 2013 05:20:24 +0200 Message-ID: <201303050520.24178.led@altlinux.ru> (raw) In-Reply-To: <20130305001125.GA13820@altlinux.org> [-- Attachment #1: Type: text/plain, Size: 2434 bytes --] On Tuesday 05 March 2013 02:11:25 Dmitry V. Levin wrote: > On Tue, Mar 05, 2013 at 12:16:56AM +0200, Led wrote: > > On Monday 04 March 2013 23:59:58 Dmitry V. Levin wrote: > > > On Mon, Mar 04, 2013 at 11:28:51PM +0200, Led wrote: > > > > On Monday 04 March 2013 23:21:26 Girar Builder robot wrote: > > > > > http://git.altlinux.org/tasks/91829/logs/events.1.1.log > > > > > /.out/firmware-kernel-led-ws-3.0.68-alt1.x86_64.rpm: forbidden > > > > > dependencies: kernel-image-led-ws sisyphus_check: check-deps ERROR: > > > > > package dependencies violation > > > > > hsh-rebuild: pkg.tar: sisyphus_check failed. > > > > > > > > В чём смысл этого "violation"? > > > > > > Смысл в том, что userspace-пакеты не должны иметь зависимость на > > > kernelspace-пакеты. Другое дело, что firmware-kernel-led-ws - это, > > > очевидно, практически такой же kernelspace-пакет, как и > > > kernel-modules-*-led-ws, > > > > Естественно. Никому другому, кроме как соответствующему kernel-image-* он > > не нужен. > > > > > но sisyphus_check этому не обучен. > > > > Может можно как-то обучить? > > Да, например, можно пропатчить sisyphus_check.d/100-check-deps :) Ну, например так как (во вложении)? > > > А заодно обучить, чтобы не считал ошибкой зависимость > > kernel-modules-foo-* от kernel-modules-bar-*, собранных из одного > > src.rpm. А с этим что делать? Здесь тоже весёлая ситуация: kernel-modules-foo-%flavour Requires: kernel-image-%flavour = %version-%release Requires: kernel-modules-bar-%flavour = %version-%release Шибко умный rpm говорит, что kernel-modules-bar-%flavour и так уже требует "kernel-image-%flavour = %version-%release", и выкидывает зависимость "kernel-image-%flavour = %version-%release" Потом приходит sisyphus_check (тоже умный) и говорит: "а хде у тебя в kernel-modules-foo-%flavour зависимость на "kernel-image-%flavour = %version-%release"? нету? тогда иди нафиг!" Кого здесь патчить? -- Led [-- Attachment #2: 100-check-deps.diff --] [-- Type: text/x-diff, Size: 356 bytes --] --- 100-check-deps.orig 2013-01-24 02:43:53.000000000 +0200 +++ 100-check-deps 2013-03-05 04:22:24.502917098 +0200 @@ -62,7 +62,7 @@ rc=1 fi - [ -n "${rpm_name##kernel-*}" ] || + [ -z "${rpm_name##kernel-*}" -o -z "${rpm_name##firmware-*}" ] && return $rc if bad=$(printf %s "$rpm_deps" |cut -d' ' -f1 |egrep '^kernel-(image|modules)'); then
next prev parent reply other threads:[~2013-03-05 3:20 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-03-04 21:28 ` Led 2013-03-04 21:46 ` Alexey Gladkov 2013-03-04 21:58 ` Led 2013-03-04 21:59 ` Dmitry V. Levin 2013-03-04 22:16 ` Led 2013-03-05 0:11 ` Dmitry V. Levin 2013-03-05 3:20 ` Led [this message] 2013-03-05 8:03 ` Michael Shigorin 2013-03-19 14:52 ` Dmitry V. Levin 2013-03-04 22:20 ` Alexey Gladkov
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=201303050520.24178.led@altlinux.ru \ --to=led@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