[Pkg-lustre-maintainers] Status of 1.6.2 packaging?

Niklas Edmundsson Niklas.Edmundsson at hpc2n.umu.se
Thu Sep 13 13:32:01 UTC 2007


On Thu, 13 Sep 2007, Goswin von Brederlow wrote:

>> However, I'm getting this a bit into the build process:
>>
>> dpkg-deb: parse error, in file `debian/lustre-dev/DEBIAN/control' near
>> line 6 package `lustre-dev':
>>  `Depends' field, reference to `lustre-utils': error in version:
>> version string is empty
>>
>> And debian/lustre-dev/DEBIAN/control has:
>> Depends: lustre-utils (=  )
>>
>> as opposed to debian/control:
>> Depends: lustre-utils (= ${binary:Version})
>>
>> Any ideas on why? As this is on Ubuntu Dapper, might the reason be
>> that the packaging uses some feature not present in the debhelper
>> etc. utils? Suggestions on workaround(s)?
>>
>> I'm slightly unclued on the finer details of debian packaging, so
>> please bear with me ;)
>
> Try to run dh_gencontrol -p lustre-dev manualy or the underlying
> dpkg-gencontrol call and see where it goes wrong. At a glance I wouold
> guess your dpkg-dev is too old for ${binary:Version} or
> something. Cant think how that could be though. I build on etch/stable
> just fine.

It seems that dpkg-dev in Ubuntu Dapper LTS is too old:
$ dpkg-gencontrol -plustre-dev -ldebian/changelog -isp -Tdebian/lustre-dev.substvars -Pdebian/lustre-dev
dpkg-gencontrol: warning: unknown substitution variable ${binary:Version}

The version of dpkg-dev in Ubuntu Dapper is 1.13.11ubuntu7.

Should I just hack the control file locally and hard-code the version 
number, or are there other substitution variables that yields the same 
result that can be used?

It would be really nice if the packaging would work out-of-the-box on 
Ubuntu LTS too, but I can live with a bit of tweaking if it's 
impossible to fix in a good way.

/Nikke
-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  Niklas Edmundsson, Admin @ {acc,hpc2n}.umu.se     |    nikke at hpc2n.umu.se
---------------------------------------------------------------------------
  When all else fails, read the manual.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



More information about the Pkg-lustre-maintainers mailing list