[ovirt-devel] VDSM fails 'autogen.sh' when shallow cloning - is that expected?

Sandro Bonazzola sbonazzo at redhat.com
Wed Apr 13 08:27:09 UTC 2016


On Tue, Apr 12, 2016 at 8:37 PM, Yaniv Kaul <ykaul at redhat.com> wrote:

> Probably fails because of:
> git describe
> fatal: No names found, cannot describe anything.
>

Yes. I think autogen.sh and configure.ac shouldn't rely on git for package
versioning.
The automation/build-artifacs.sh script can take care of adding suffixes to
rpm release if needed at build time.
Version should be statically defined within configure.ac.



>
>
>
> On Tue, Apr 12, 2016 at 9:32 PM, Yaniv Kaul <ykaul at redhat.com> wrote:
>
>> Cloning VDSM with the following command:
>> git clone -b master --depth 1 git://gerrit.ovirt.org/vdsm
>>
>> Which works, but then I can't run ./autogen.sh succesfully:
>> mini at ykaul-mini:/tmp/github/vdsmshallow$ ./autogen.sh  |less
>> fatal: No names found, cannot describe anything.
>> fatal: No names found, cannot describe anything.
>> fatal: No names found, cannot describe anything.
>> fatal: No names found, cannot describe anything.
>> fatal: No names found, cannot describe anything.
>> fatal: No names found, cannot describe anything.
>> fatal: No names found, cannot describe anything.
>> fatal: No names found, cannot describe anything.
>> fatal: No names found, cannot describe anything.
>> fatal: No names found, cannot describe anything.
>> fatal: No names found, cannot describe anything.
>> fatal: No names found, cannot describe anything.
>> fatal: No names found, cannot describe anything.
>> fatal: No names found, cannot describe anything.
>> fatal: No names found, cannot describe anything.
>> fatal: No names found, cannot describe anything.
>> fatal: No names found, cannot describe anything.
>> fatal: No names found, cannot describe anything.
>> fatal: No names found, cannot describe anything.
>> fatal: No names found, cannot describe anything.
>> fatal: No names found, cannot describe anything.
>> fatal: No names found, cannot describe anything.
>> fatal: No names found, cannot describe anything.
>> fatal: No names found, cannot describe anything.
>> fatal: No names found, cannot describe anything.
>> fatal: No names found, cannot describe anything.
>> fatal: No names found, cannot describe anything.
>> fatal: No names found, cannot describe anything.
>> fatal: No names found, cannot describe anything.
>> fatal: No names found, cannot describe anything.
>> fatal: No names found, cannot describe anything.
>> fatal: No names found, cannot describe anything.
>> fatal: No names found, cannot describe anything.
>> fatal: No names found, cannot describe anything.
>> fatal: No names found, cannot describe anything.
>> fatal: No names found, cannot describe anything.
>> fatal: No names found, cannot describe anything.
>> fatal: No names found, cannot describe anything.
>> fatal: No names found, cannot describe anything.
>> fatal: No names found, cannot describe anything.
>> fatal: No names found, cannot describe anything.
>> fatal: No names found, cannot describe anything.
>> I am going to run ./configure with no arguments - if you wish
>> to pass any to it, please specify them on the ./autogen.sh command line.
>> configure: error: package version not defined
>>
>> As the difference is 1:10 in data size and I only wish to work on the
>> tip, this could be very useful to me.
>> Any ideas?
>>
>
>
> _______________________________________________
> Devel mailing list
> Devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
>



-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20160413/0a1f1e2f/attachment-0001.html>


More information about the Devel mailing list