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

Yaniv Kaul ykaul at redhat.com
Wed Apr 13 10:37:36 UTC 2016


On Wed, Apr 13, 2016 at 11:49 AM, Nir Soffer <nsoffer at redhat.com> wrote:

> On Wed, Apr 13, 2016 at 11:27 AM, Sandro Bonazzola <sbonazzo at redhat.com>
> wrote:
> >
> >
> > 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.
>
> Yaniv is using a git clone, so depending on git is fine in this case.
>
> The tarball should not have any dependencies on git.
>
> I think the issue is missing tags - this works:
>
> git clone -b master --depth 1 git://gerrit.ovirt.org/vdsm
> git tag v4.17.999
>

How do I know which tag to use?
Y.


> ./autogen.sh --system
>
> Nir
>
> >
> >
> >>
> >>
> >>
> >>
> >> 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
> >
> > _______________________________________________
> > Devel mailing list
> > Devel at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20160413/a5a3a481/attachment-0001.html>


More information about the Devel mailing list