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

Re: Depending on a -bin package built from the same source version



Hi Sven, hi Eric,

Il 10/03/2013 19:59, Sven Joachim ha scritto:
On 2013-03-10 19:26 +0100, Eric Lavarde wrote:

On 10/03/13 18:48, Antonio Valentino wrote:
Configuration item 'binary:polsarpro Depends:2' has a wrong value:
dependency 'polsarpro-bin (<< ${source:Version}.1~)' does not match grammar


Should I care about it?
Not about the "unknownness" of the package as you're currently packaging it.
But about the wrong version value: you can't combine a placeholder and
other characters.

Why not?


Is it possible that cme is complaining about that.
Is it a cme bug?

Is there a better solution to address the specific problem?
Yes, simply depend on version equality:

	Depends: polsarpro-bin (= ${source:Version})

Remark: you might want to check [1] if a binary:Version placeholder
wouldn't be a better choice.

Assuming that polsarpro is Arch:all and polsarpro-bin is Arch:any, which
seems to be the case here, neither of these options works.

A valid possibility would be to reverse the roles and dependencies:
rename polsarpro to polsarpro-data and polsarpro-bin to polsarpro, then
polsarpro can depend on polsarpro-data (= ${source:Version}).

Cheers,
        Sven



yes I could use polsarpro-data or polsarpro-gui but the problem remains.

The GUI is written in Tcl/Tk and is arch: all and it must depend form the package containing command line programs that is arch: any.

Without command line programs the GUI can't perform any useful task.


regards

--
Antonio Valentino


Reply to: