[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Dependency logic



Greetings,

In a post to this list about a year ago, someone suggested that complex dependencies such as "(A & B) | C" be handled with: "A | C, B | C". Now this generates a lintian error:

E: petsc2.1.1-dev: package-has-a-duplicate-relation blas-dev | atlas2-base-dev, lapack-dev | atlas2-base-dev
N:
N:   The package seems to declare a relation on another package which is
N:   already implied by other relations it declares, and is therefore
N:   redundant. This is not only sloppy but can break some tools

How else am I supposed to construct this dependency?

IMHO, the right way to do this would be virtual blas-dev and lapack-dev packages provided by atlas2-*, but that poses other problems in this particular case, e.g. the blas- and lapack-compatible libs in atlas2-base are in /usr/lib/atlas, so they require -L/usr/lib/atlas (and still other places for the subarch-specific libs) and are therefore not compatible with blas-dev and lapack-dev, unless Camm is willing to do an /etc/alternatives thing...

Zeen,
--

-Adam P.

GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Welcome to the best software in the world today cafe! <http://lyre.mit.edu/%7Epowell/The_Best_Stuff_In_The_World_Today_Cafe.ogg>




Reply to: