[dm-devel] multipath-tools make rpm failure

Christophe Varoqui christophe.varoqui at free.fr
Thu Oct 22 19:31:02 UTC 2009


On jeu., 2009-10-22 at 10:44 +0200, Eyal Gordon wrote:
> Hello,
> 
> I received the following error while trying to run 'make rpm' for
> multipath-tools. My local git repository is a clone of the upstream
> master branch from today.
> 
> # make rpm
> sed -e "s/__VERSION__//" \
>         multipath-tools.spec.in > multipath-tools.spec
> rpmbuild -bb multipath-tools.spec
> error: line 6: Empty tag: Version:
> make: *** [rpm] Error 1
> 
> 
> After looking at the Makefile and adding echo statements to debug, it
> seems that a ${VERSION} variable is required for the above 'sed'
> statement, but it is not defined.
> 
> Could anyone help me please? 
> 
The make file tries to guess the version from the dirname, which is a
convenient trick for distributors, but admittedly not fair for
developpers.

You can still forge a VERSION value. 0.4.8-git091022 would certainly be
a safe choice.

Regards,
cvaroqui





More information about the dm-devel mailing list