[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [OSSTEST PATCH] build: fix configuration of libvirt


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jim Fehlig <jfehlig@xxxxxxxx>
  • Date: Wed, 12 Feb 2020 17:31:59 -0700
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=inyXM8yP7f/Ph4+UpRKUWr5aDwsbv96o5jGNFlS0YuA=; b=lN59bbVEXcfxsvdApQdUVu/hvlhyH/IYVY/PXpf01RRGs+q7p7xSFHKVTg5z4SX4B74XrPV5mRfC5PC505/goAIHZfRAl+IIOiJ9dKWQ+LP562bbswStMLcdIx+t8ql2ss/Ah5qqb3IgFIvvr43tiS45i9Iv3ecME3mjgKuZQlDNNBjo5yMpzHM7ldTQhnjGce8ADnjAWZ07egdwtuThGT5rK8Qx9znb7rLsegptCBIStx1FW9mB/ZUun7EUebeOoF9U4ELFFB5hGXUnY/2qIPk2VSESuF9+am8etJnmXBNdbF1pjcIuPSn3bf/ZPy0xM++8XfDK8m6QMyT/Jp2eSg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aSfX4jLU5f3+LY2ffDy3RYxerCosn72S/+3RLwqodgvVY6gtPsYeC6PWcGpsuumlSMLHqgfb0r1BmG8JTq2kDJbhe/V24/GJfjKpE6vc2a1+9Epi34s2E7WVcuC9rVvJCx87B05Qn57323jCK2/L24wtDTXAVsubeVErXqWmewyp650a9PWVVD9Q0jGeh5tn/SWvTxOV8a0EpukM1kx3Opafu3w/efu08s7dmbPSBs3l6RR7t0Ijg9xEB+JxptGp/tQOQgjZl4lEKXYR1xNFeZszngXXxE2Q5eehcScdIbQlugAm4D/4pfk6NzQw+UdfFaJzVcP2DEwAp8m3cYCWBA==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=jfehlig@xxxxxxxx;
  • Cc: Jim Fehlig <jfehlig@xxxxxxxx>
  • Delivery-date: Thu, 13 Feb 2020 00:34:00 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

libvirt.git commit 2621d48f00 removed the last traces of gnulib, which
also removed the '--no-git' option from autogen.sh. Unknown options are
now passed to the configure script, which quickly fails with

  configure: error: unrecognized option: `--no-git'

Remove the gnulib handling from ts-libvirt-build, including the '--no-git'
option to autogen.sh. While at it remove configure options no longer
supported by the libvirt configure script.

Signed-off-by: Jim Fehlig <jfehlig@xxxxxxxx>
---

I have poor perl skills, but hopefully this fixes the latest build
failures of the libvirt test project, e.g.

http://logs.test-lab.xenproject.org/osstest/logs/146921/build-amd64-libvirt/6.ts-libvirt-build.log


 ts-libvirt-build | 16 ++++------------
 1 file changed, 4 insertions(+), 12 deletions(-)

diff --git a/ts-libvirt-build b/ts-libvirt-build
index e799f003..ac5afcf2 100755
--- a/ts-libvirt-build
+++ b/ts-libvirt-build
@@ -26,8 +26,7 @@ tsreadconfig();
 selectbuildhost(\@ARGV);
 builddirsprops();
 
-our %submodmap = qw(gnulib gnulib
-                    keycodemapdb keycodemapdb);
+our %submodmap = qw(keycodemapdb keycodemapdb);
 our $submodules;
 
 sub libvirtd_init ();
@@ -50,12 +49,6 @@ sub config() {
     }
     die "no xen prefix" unless $xenprefix;
 
-    # Uses --no-git because otherwise autogen.sh will undo
-    # submodulefixup's attempts to honour
-    # revision_libvirt_gnulib. This in turn requires that we specify
-    # --gnulib-srcdir, but ./autogen.sh doesn't propagate
-    # --gnulib-srcdir to ./bootstap so we use GNULIB_SRCDIR directly.
-    my $gnulib = submodule_find($submodules, "gnulib");
     target_cmd_build($ho, 3600, $builddir, <<END);
         cd libvirt
        mkdir build
@@ -63,10 +56,9 @@ sub config() {
         CFLAGS="-g -I$xenprefix/include/" \\
         LDFLAGS="-g -L$xenprefix/lib/ -Wl,-rpath-link=$xenprefix/lib/" \\
         PKG_CONFIG_PATH="$xenprefix/lib/pkgconfig/" \\
-        GNULIB_SRCDIR=$builddir/libvirt/$gnulib->{Path} \\
-            ../autogen.sh --no-git \\
-                         --with-libxl --without-xen --without-xenapi 
--without-selinux \\
-                         --without-lxc --without-vbox --without-uml \\
+            ../autogen.sh \\
+                         --with-libxl --without-selinux \\
+                         --without-lxc --without-vbox \\
                          --without-qemu --without-openvz --without-vmware \\
                          --sysconfdir=/etc --localstatedir=/var #/
 END
-- 
2.25.0


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.