Skip to contentSkip to conversation

osstest: install libnl3 packages

PATCH In review Roger Pau Monne 4 participants 6 messages Jul 1, 2015 – Aug 5, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 osstest: install libnl3 packages

Install the libnl3 packages needed by the remus code. Those are available on both Wheezy and Jessie, although the Wheezy ones are too old.

Cc Ian Jackson <[email protected]>
Cc Ian Campbell <[email protected]>
Cc Shriram Rajagopalan <[email protected]>
Cc Yang Hongyang <[email protected]>
---
 ts-xen-build-prep | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)
ts-xen-build-prep +1 -7
index 9a3b523..034377e 100755
@@ -206,14 +206,8 @@ sub prep () {
                       autoconf automake libtool xsltproc
                       libxml2-utils libxml2-dev
                       libdevmapper-dev w3c-dtd-xhtml libxml-xpath-perl
-                      ccache nasm checkpolicy);
+                      ccache nasm checkpolicy libnl-3-dev libnl-route-3-dev);
 
-    if ($ho->{Suite} =~ m/wheezy|squeeze|lenny/) {
-	push(@packages, "libnl-dev");
-    } else {
-	# jessie (>jessie?)
-	push(@packages, "libnl-route-3-dev");
-    }
     target_install_packages($ho, @packages);
     target_cmd_root($ho, "chmod -R a+r /usr/share/git-core/templates");
     # workaround for Debian #595728
Signature · 7 lines
1.9.5 (Apple Git-50.3)


_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
#1 lore raw
Quoted 2 lines · Roger Pau Monne

Install the libnl3 packages needed by the remus code. Those are available on both Wheezy and Jessie, although the Wheezy ones are too old.

Thanks!

Quoted 15 lines
Cc Ian Jackson <[email protected]>
Cc Ian Campbell <[email protected]>
Cc Shriram Rajagopalan <[email protected]>
Cc Yang Hongyang <[email protected]>
---
  ts-xen-build-prep | 8 +-------
  1 file changed, 1 insertion(+), 7 deletions(-)
ts-xen-build-prep +0 -0
index 9a3b523..034377e 100755

ts-xen-build-prep sub prep () { · line 211

Quoted 7 lines
ts-xen-build-prep +1 -2
@@ -206,14 +206,8 @@ sub prep () {
                        autoconf automake libtool xsltproc
                        libxml2-utils libxml2-dev
                        libdevmapper-dev w3c-dtd-xhtml libxml-xpath-perl
-                      ccache nasm checkpolicy);
+                      ccache nasm checkpolicy libnl-3-dev libnl-route-3-dev);
 
-    if ($ho->{Suite} =~ m/wheezy|squeeze|lenny/) {

What about squeeze|lenny?

Quoted 9 lines
ts-xen-build-prep +0 -5
-	push(@packages, "libnl-dev");
-    } else {
-	# jessie (>jessie?)
-	push(@packages, "libnl-route-3-dev");
-    }
      target_install_packages($ho, @packages);
      target_cmd_root($ho, "chmod -R a+r /usr/share/git-core/templates");
      # workaround for Debian #595728
Signature · 7 lines
Thanks,
Yang.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
#2 lore raw
In reply to Roger Pau Monne

Roger Pau Monne writes ("[PATCH] osstest: install libnl3 packages"):

Quoted 2 lines

Install the libnl3 packages needed by the remus code. Those are available on both Wheezy and Jessie, although the Wheezy ones are too old.

This patch implicitly drops support for lenny and squeeze. I think you should mention that in the commit message.

Personally I have no objection to that but it ought to be mentioned explicitly, both so that people can object and so that anyone trying to fix it up later can find the commit easily.

Ian.

Acked-by
#3 lore raw
Quoted 7 lines · Ian Jackson

Roger Pau Monne writes ("[PATCH] osstest: install libnl3 packages"):

Quoted 3 lines

Install the libnl3 packages needed by the remus code. Those are available on
both Wheezy and Jessie, although the Wheezy ones are too old.

This patch implicitly drops support for lenny and squeeze. I think you should mention that in the commit message.

I added your "This patch...squeeze." sentence to the commit message, acked it and pushed to pretest.

There was a conflict with the addition of ebtables, the result is below.

commit 2ff90f75e5b40152998b69900adf1985382409bf

Author: Roger Pau Monne <[email protected]>
Date:   Wed Jul 1 17:12:25 2015 +0200

osstest: install libnl3 packages

Install the libnl3 packages needed by the remus code. Those are available on both Wheezy and Jessie, although the Wheezy ones are too old.

This patch implicitly drops support for lenny and squeeze.

Cc Ian Jackson <[email protected]>
Cc Ian Campbell <[email protected]>
Cc Shriram Rajagopalan <[email protected]>
Cc Yang Hongyang <[email protected]>
[ ijc -- resolved conflict with addition of ebtables ]
ts-xen-build-prep +2 -7
index 03ad35c..ace8080 100755
@@ -206,14 +206,9 @@ sub prep () {
                       autoconf automake libtool xsltproc
                       libxml2-utils libxml2-dev
                       libdevmapper-dev w3c-dtd-xhtml libxml-xpath-perl
-                      ccache nasm checkpolicy ebtables);
+                      ccache nasm checkpolicy ebtalbes
+                      libnl-3-dev libnl-route-3-dev);
 
-    if ($ho->{Suite} =~ m/wheezy|squeeze|lenny/) {
-	push(@packages, "libnl-dev");
-    } else {
-	# jessie (>jessie?)
-	push(@packages, "libnl-route-3-dev");
-    }
     target_install_packages($ho, @packages);
     target_cmd_root($ho, "chmod -R a+r /usr/share/git-core/templates");
     # workaround for Debian #595728

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#4 lore raw
Quoted 28 lines · Ian Campbell

There was a conflict with the addition of ebtables, the result is below.

commit 2ff90f75e5b40152998b69900adf1985382409bf

Author: Roger Pau Monne <[email protected]>
Date:   Wed Jul 1 17:12:25 2015 +0200

osstest: install libnl3 packages

Install the libnl3 packages needed by the remus code. Those are
available on
both Wheezy and Jessie, although the Wheezy ones are too old.

This patch implicitly drops support for lenny and squeeze.

Cc Ian Jackson <[email protected]>
Cc Ian Campbell <[email protected]>
Cc Shriram Rajagopalan <[email protected]>
Cc Yang Hongyang <[email protected]>
[ ijc -- resolved conflict with addition of ebtables ]
ts-xen-build-prep +0 -0
index 03ad35c..ace8080 100755

ts-xen-build-prep sub prep () { · line 209

Quoted 5 lines
ts-xen-build-prep +1 -1
@@ -206,14 +206,9 @@ sub prep () {
                       autoconf automake libtool xsltproc
                       libxml2-utils libxml2-dev
                       libdevmapper-dev w3c-dtd-xhtml libxml-xpath-perl
-                      ccache nasm checkpolicy ebtables);
+                      ccache nasm checkpolicy ebtalbes

Ahem, fixed that and repushed...

Quoted 12 lines
ts-xen-build-prep +1 -6
+                      libnl-3-dev libnl-route-3-dev);
 
-    if ($ho->{Suite} =~ m/wheezy|squeeze|lenny/) {
-	push(@packages, "libnl-dev");
-    } else {
-	# jessie (>jessie?)
-	push(@packages, "libnl-route-3-dev");
-    }
     target_install_packages($ho, @packages);
     target_cmd_root($ho, "chmod -R a+r /usr/share/git-core/templates");
     # workaround for Debian #595728
Quoted 4 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#5 lore raw
Quoted 26 lines · Ian Campbell
Quoted 25 lines · Ian Campbell

There was a conflict with the addition of ebtables, the result is below.

commit 2ff90f75e5b40152998b69900adf1985382409bf

Author: Roger Pau Monne <[email protected]>
Date:   Wed Jul 1 17:12:25 2015 +0200

osstest: install libnl3 packages

Install the libnl3 packages needed by the remus code. Those are

available on
both Wheezy and Jessie, although the Wheezy ones are too old.

This patch implicitly drops support for lenny and squeeze.

Cc Ian Jackson <[email protected]>
Cc Ian Campbell <[email protected]>
Cc Shriram Rajagopalan <[email protected]>
Cc Yang Hongyang <[email protected]>
[ ijc -- resolved conflict with addition of ebtables ]
Quoted 13 lines

ts-xen-build-prep sub prep () { · line 209

Quoted 11 lines
ts-xen-build-prep +1 -2
index 03ad35c..ace8080 100755
@@ -206,14 +206,9 @@ sub prep () {
                       autoconf automake libtool xsltproc
                       libxml2-utils libxml2-dev
                       libdevmapper-dev w3c-dtd-xhtml libxml-xpath
-perl
-                      ccache nasm checkpolicy ebtables);
+                      ccache nasm checkpolicy ebtalbes

Ahem, fixed that and repushed...

I happened to run a local adhc test with this applied and I got:

virsh: error while loading shared libraries: libnl-route-3.so.200: cannot open shared object file: No such file or directory

because ts-xen-install also needs updating I think. That's more than I am willing/able to fixup on the fly in pretest, so I'm going to back out this patch for now and kill the current flight.

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel