X11, fontpostinst i kolejność instalacji
Mariusz Mazur
mmazur w kernel.pl
Wto, 25 Paź 2005, 11:56:21 CEST
On wtorek 25 października 2005 07:49, Jakub Bogusz wrote:
> Na dodawaniu zwykłego "Requires" tam, gdzie zależność potrzebna jest
> tylko do skryptu.
Czyli musimy dodać jawny Req od rzeczy, która jest wymagana (np. jakiś skrypt
do zarządzania fontami, czy tam stylami do docbooka, czy czymkolwiek),
zamiast ślepego PreReqa na paczkę zawierającą owy skrypt. Imho to nawet ma
sens i jest bardziej eleganckie (już pomijając fakt, że w takim wypadku nie
musimy się przejmować rzeczywistą lokalizacją owego skryptu, gdyż zależymy od
niego, a nie od jego paczki; wywalenie generowania zależności od nazw paczek
było pierwszą rzeczą, jaką zrobiłem w Th, bo to generuje cholerne problemy
przy próbach upgrejdów po dłuższym czasie).
> Tak było, ale już ich nie ma - pętle powinny rozwiązywać odpowiednie
> Requires().... gdyby działały.
Tzn. jak powinny rozwiązywać i gdzie masz przykład, że nie działają?
> > Muszę od jeffa wyciągnąć czemu on właściwie te prereqi wywalił.
>
> AFAIK jako nadmiarowe w stosunku do Requires().
01:54 < mmazur> jbj, looks like we're bringing back prereqs
(rpm-kill-prereq.patch). Again, why did you got rid of them?
01:55 < jbj> mmazur: bye-bye then, fork away. I have nothing more to say about
prereq's.
01:56 < mmazur> Yeah, farewell to you too, but don't you have any rationale
around?
01:57 < jbj> and I did *not* get rid of prere's. I used all Requires:, not
just
Prereq:'s, in a tsort, and implemented loop snipping for idjit
distro maintainers who don't know how to do QA correctly.
01:57 < jbj> any rationale for what?
01:58 < jbj> don't you have perhaps even a hint of symptom before asking
repeatedly for why changed?
01:59 < jbj> and I strongly suggest you get the loops out of your distro.
02:02 < mmazur> We've got some general complaining goin on on our devel list.
02:02 < mmazur> A quick translation from qboosh:
02:03 < mmazur> "It's rpm we should be fixing, not patching half of our 9500
speces. Especially considering that we can't do workaround for
loops."
02:04 < mmazur> jbj, so currently what is being recognized by rpm except
standard R:?
02:18 < jbj> mmazur: define "recognized". there is no current usage of
RPMSENSE_PREREQ. in rpmtsOrder. nor has there been any need for
many many years.
02:19 < jbj> the token "PreReq:" (and "BuildPreReq:") are still "recognized".
02:19 < jbj> by the spec file parser to be ultra precise.
02:20 < jbj> I refuse to participate further in a conversation on PreReq:
without any hint whatsoever of what the issue is.
02:21 < jbj> The mathematics of a topological sort very very clearly has no
"PreReq:" and the implementation in rpmtsOrder() is commented
step
for step with the algorithm from Knuth vol I.
02:23 < jbj> The endless fascination and mistrust is preventing attempting
topological sort of erasures. and -- if you insist on reverting
my
changes -- then I insist that you do not call whatever PLD is
packaging "rpm-4.4.3".
02:24 < jbj> call it rpmpld, or call it 4.4.2, I don't give a sh*t.
02:30 < jbj> mmazur: hint: look carefully at %_dependency_whiteout. and tell
the whinere to Fuck off!
02:32 < jbj> for a real data point: I have snipped all dependency loops in
major distributions in less than an hour. it just ain't that hard
to do. And you can quoute me to the whiners: "Fuck off!"
--
Każdy człowiek, który naprawdę żyje, nie ma charakteru, nie może go mieć.
Charakter jest zawsze martwy, otacza cię zgniła struktura przeniesiona z
przeszłości. Jeżeli działasz zgodnie z charakterem wtedy nie działasz w ogóle
- jedynie mechanicznie reagujesz. { Osho }
Więcej informacji o liście dyskusyjnej pld-devel-pl