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

Goswin von Brederlow brederlo at informatik.uni-tuebingen.de
Thu Sep 13 18:08:06 UTC 2007


Niklas Edmundsson <Niklas.Edmundsson at hpc2n.umu.se> writes:

> 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.

1.13.25.

> 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?

I would update dpkg or supply the subsitution variable manually.

> 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.

If you can make a nice patch to support it then it can be included but
it is not one of my priorities and I won't download Ubuntu to test it.

> /Nikke

MfG
        Goswin



More information about the Pkg-lustre-maintainers mailing list