VDSM fails 'autogen.sh' when shallow cloning - is that expected?

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

Probably fails because of: git describe fatal: No names found, cannot describe anything. On Tue, Apr 12, 2016 at 9:32 PM, Yaniv Kaul <ykaul@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@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?

Trying new clone: $ time git clone https://github.com/oVirt/vdsm.git Cloning into 'vdsm'... remote: Counting objects: 47555, done. remote: Compressing objects: 100% (155/155), done. remote: Total 47555 (delta 76), reused 0 (delta 0), pack-reused 47400 Receiving objects: 100% (47555/47555), 27.16 MiB | 435.00 KiB/s, done. Resolving deltas: 100% (35297/35297), done. Checking connectivity... done. real 0m43.045s user 0m3.650s sys 0m0.555s Are you sure you need to do a shallow clone? Nir On Tue, Apr 12, 2016 at 9:37 PM, Yaniv Kaul <ykaul@redhat.com> wrote:
Probably fails because of: git describe fatal: No names found, cannot describe anything.
On Tue, Apr 12, 2016 at 9:32 PM, Yaniv Kaul <ykaul@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@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel

On Tue, Apr 12, 2016 at 9:46 PM, Nir Soffer <nsoffer@redhat.com> wrote:
Trying new clone:
$ time git clone https://github.com/oVirt/vdsm.git Cloning into 'vdsm'... remote: Counting objects: 47555, done. remote: Compressing objects: 100% (155/155), done. remote: Total 47555 (delta 76), reused 0 (delta 0), pack-reused 47400 Receiving objects: 100% (47555/47555), 27.16 MiB | 435.00 KiB/s, done. Resolving deltas: 100% (35297/35297), done. Checking connectivity... done.
real 0m43.045s user 0m3.650s sys 0m0.555s
Are you sure you need to do a shallow clone?
It might be that the cloud provider of oVirt's gerrit is throttling connections from the office, but the data size is ratio is huge: mini@ykaul-mini:/tmp/github$ time git clone -b master --depth 1 https://github.com/oVirt/vdsm.git Cloning into 'vdsm'... remote: Counting objects: 924, done. remote: Compressing objects: 100% (849/849), done. remote: Total 924 (delta 181), reused 308 (delta 50), pack-reused 0 Receiving objects: 100% (924/924), *1.37 MiB* | 2.39 MiB/s, done. Resolving deltas: 100% (181/181), done. Checking connectivity... done. real 0m2.059s user 0m0.095s sys 0m0.052s mini@ykaul-mini:/tmp/github$ time git clone -b master https://github.com/oVirt/vdsm.git vdsm-full Cloning into 'vdsm-full'... remote: Counting objects: 47555, done. remote: Compressing objects: 100% (155/155), done. remote: Total 47555 (delta 76), reused 0 (delta 0), pack-reused 47400 Receiving objects: 100% (47555/47555), *27.16 MiB* | 8.61 MiB/s, done. Resolving deltas: 100% (35297/35297), done. Checking connectivity... done. real 0m4.795s user 0m2.006s sys 0m0.184s So while I got much nicer speeds now on the non-shallow, I assume the shallow should beat it always. In any case, perhaps I should clone from Github... Y.
Nir
On Tue, Apr 12, 2016 at 9:37 PM, Yaniv Kaul <ykaul@redhat.com> wrote:
Probably fails because of: git describe fatal: No names found, cannot describe anything.
On Tue, Apr 12, 2016 at 9:32 PM, Yaniv Kaul <ykaul@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@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel

On Tue, Apr 12, 2016 at 8:37 PM, Yaniv Kaul <ykaul@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@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@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@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

On Wed, Apr 13, 2016 at 11:27 AM, Sandro Bonazzola <sbonazzo@redhat.com> wrote:
On Tue, Apr 12, 2016 at 8:37 PM, Yaniv Kaul <ykaul@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 ./autogen.sh --system Nir
On Tue, Apr 12, 2016 at 9:32 PM, Yaniv Kaul <ykaul@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@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@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel

On Wed, Apr 13, 2016 at 11:49 AM, Nir Soffer <nsoffer@redhat.com> wrote:
On Wed, Apr 13, 2016 at 11:27 AM, Sandro Bonazzola <sbonazzo@redhat.com> wrote:
On Tue, Apr 12, 2016 at 8:37 PM, Yaniv Kaul <ykaul@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@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@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@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
participants (3)
-
Nir Soffer
-
Sandro Bonazzola
-
Yaniv Kaul