From: Michael Shigorin <mike@osdn.org.ua> To: ALT Devel discussion list <devel@lists.altlinux.org> Subject: [devel] Requires optimization/pruning seems broken Date: Fri, 11 Mar 2011 21:29:59 +0200 Message-ID: <20110311192959.GB7450@osdn.org.ua> (raw) In-Reply-To: <20110309112413.GH25716@altlinux.org> On Wed, Mar 09, 2011 at 02:24:13PM +0300, Alexey Tourbin wrote: > В общем с моей точки зрения тут лучше не философствовать насчёт > сущностей, а рассуждать с точки зрения сохранения гарантий. А кто их давал, кстати? :) > Получим ли мы всегда то же самое, если мы применим оптимизацию? > Да, эмпирически при установке и обновлении пакетов мы всегда > получаем то же самое. Значит, оптимизация корректна. Было: $ hsh-rmchroot ~/hasher/tmpfs $ hsh --initroot-only --apt-config=/home/mike/apt/apt.conf.test ~/hasher/tmpfs >&/dev/null $ hsh-install ~/hasher/tmpfs libwxGTK-devel 2>&1 | grep wx <13>Mar 11 19:24:54 rpmi: libwxGTK-2:2.8.11.0-alt1.svn20100628.3 installed <13>Mar 11 19:24:54 rpmi: wxGTK-2:2.8.11.0-alt1.svn20100628.3 installed <13>Mar 11 19:24:54 rpmi: libwxGTK-devel-2:2.8.11.0-alt1.svn20100628.3 installed Стало: $ hsh-rmchroot ~/hasher/tmpfs $ hsh --initroot-only ~/hasher/tmpfs >&/dev/null $ hsh-install ~/hasher/tmpfs libwxGTK-devel 2>&1 | grep wx <13>Mar 11 19:16:20 rpmi: libwxGTK-devel-2:2.8.11.0-alt1.svn20100628.4 installed --- /home/mike/apt/apt.conf.test Dir::Etc::main "/dev/null"; Dir::Etc::parts "/var/empty"; Dir::Etc::SourceParts "/var/empty"; Dir::Etc::sourcelist "/home/mike/apt/sources.list.test"; --- --- /home/mike/apt/sources.list.test rpm [alt] http://ftp.altlinux.org/pub/distributions/archive/Sisyphus/2010/12/05 x86_64 classic rpm [alt] http://ftp.altlinux.org/pub/distributions/archive/Sisyphus/2010/12/05 noarch classic --- > Если пакет A строго требует пакеты B и C, а пакет B строго > требует пакет C, то удаление из пакета A зависимости на пакет С > логически ничего не меняет: а именно, сохраняется гарантия, что > при установке или обновлении пакета A будет установлен пакет C, > как если бы он был напрямую указан в зависимостях пакета A. > Другими словами, rpm работает правильно, а грабли в других > местах - это грабли в других местах. Тогда поясни, почему пересборки этим rpm (sans -g) хватило для слома пакета: http://git.altlinux.org/people/real/packages/?p=wxGTK.git;a=commitdiff;h=68d12cab85fb7b32ec2d7b0f52065aa2babd05c3 -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/
next prev parent reply other threads:[~2011-03-11 19:29 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-03-09 11:20 [devel] Requires optimization/pruning Michael Shigorin 2011-03-09 11:24 ` Alexey Tourbin 2011-03-09 14:01 ` Денис Смирнов 2011-03-09 15:31 ` Dmitry V. Levin 2011-03-11 19:29 ` Michael Shigorin [this message] 2011-03-11 20:20 ` [devel] Requires optimization/pruning is broken Dmitry V. Levin 2011-03-11 20:27 ` Michael Shigorin 2011-03-11 20:39 ` [devel] Requires optimization/pruning is severely broken Dmitry V. Levin 2011-03-11 20:53 ` REAL 2011-03-11 20:55 ` Dmitry V. Levin 2011-03-11 21:17 ` REAL 2011-03-11 20:37 ` [devel] Requires optimization/pruning is broken Yuri N. Sedunov
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=20110311192959.GB7450@osdn.org.ua \ --to=mike@osdn.org.ua \ --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