Bug#163666: debian-policy: Unclear result with [arch] and |
Hi,
>>"Michal" == Michal 'hramrach' Suchanek <hramrach_l@centrum.cz> writes:
Michal> In section 7.1 the Debain Policy manual says that 'pkg
Michal> (version) [arch]' is ignored for calculating dependencies.
Michal> This is not really clear as discussed in bug 160129.
I am missing something; reading the bug report seemed to me to
be unrelated to pkg (version) [arch] construct; they seemed to be
talkign about pkg | arch, which is wrong.
Michal> One could think that 'pkg [arch] | otherpkg' is interpreted
Michal> as 'otherpkg' in !arch case because 'pkg [arch]' is ignored.
OK
Michal> On the other hand, 'pkg [arch]' can be easily implemented in
Michal> logic as 'arch IMPLIES pkg',
Umm. I am not sure this says what you think it says.
Michal> which is true for !arch and makes the dependency appear
Michal> 'ignored' in the simple case w/o |. But 'pkg [arch] |
Michal> otherpkg' would be always true for !arch this way and no
Michal> dependency on otherpkg ever required.
I am not sure I understand this paragraph.
Michal> I'd appreciate if the documentation described implemented
Michal> behavior clearly.
If someone suggests alternate working, I'd be happy to include
it (provided that I understand it ;-)
manoj
--
Remember, an int is not always 16 bits. I'm not sure, but if the
80386 is one step closer to Intel's slugfest with the CPU curve that
is asymptotically approaching a real machine, perhaps an int has been
implemented as 32 bits by some Unix vendors...? Derek Terveer
Manoj Srivastava <srivasta@debian.org> <http://www.debian.org/%7Esrivasta/>
1024R/C7261095 print CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C
Reply to: