Skip to contentSkip to conversation

Fix broken package config file xenlight.pc.in

PATCH In review Charles Arnold 5 participants 6 messages May 11, 2017 – May 12, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix broken package config file xenlight.pc.in

The Requires line in this config file uses the wrong names for two dependencies.

The package config file for xenctrl is called 'xencontrol' and for blktapctl is called 'xenblktapctl'. Running a command like 'pkg-config --exists xenlight' will fail without this fix.

tools/libxl/xenlight.pc.in +1 -1
index 71d093a0ae..86c38a5634 100644
@@ -9,4 +9,4 @@ Description: The Xenlight library for Xen hypervisor
 Version: @@version@@
 Cflags: -I${includedir}
 Libs: @@libsflag@@${libdir} -lxenlight
-Requires.private: xentoollog,xenevtchn,xenctrl,xenguest,xenstore,blktapctl
+Requires.private: xentoollog,xenevtchn,xencontrol,xenguest,xenstore,xenblktapctl

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

Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · Charles Arnold

The Requires line in this config file uses the wrong names for two dependencies.

The package config file for xenctrl is called 'xencontrol' and for blktapctl is called 'xenblktapctl'. Running a command like 'pkg-config --exists xenlight' will fail without this fix.

Julien this should be in 4.9.

tools/libxl/xenlight.pc.in Description: The Xenlight library for Xen hypervisor · line 12

Quoted 13 lines
tools/libxl/xenlight.pc.in +1 -1
index 71d093a0ae..86c38a5634 100644
@@ -9,4 +9,4 @@ Description: The Xenlight library for Xen hypervisor
 Version: @@version@@
 Cflags: -I${includedir}
 Libs: @@libsflag@@${libdir} -lxenlight
-Requires.private: xentoollog,xenevtchn,xenctrl,xenguest,xenstore,blktapctl
+Requires.private: xentoollog,xenevtchn,xencontrol,xenguest,xenstore,xenblktapctl

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

#2 lore raw

Hi Wei,

Quoted 7 lines · Wei Liu
Quoted 6 lines · Charles Arnold

The Requires line in this config file uses the wrong names for two dependencies.

The package config file for xenctrl is called 'xencontrol' and for blktapctl is called 'xenblktapctl'. Running a command like 'pkg-config --exists xenlight' will fail without this fix.

Quoted 5 lines
Quoted 1 line

Julien this should be in 4.9.

Cheers,

Quoted 14 lines
Quoted 14 lines
tools/libxl/xenlight.pc.in +1 -1
index 71d093a0ae..86c38a5634 100644
@@ -9,4 +9,4 @@ Description: The Xenlight library for Xen hypervisor
 Version: @@version@@
 Cflags: -I${includedir}
 Libs: @@libsflag@@${libdir} -lxenlight
-Requires.private: xentoollog,xenevtchn,xenctrl,xenguest,xenstore,blktapctl
+Requires.private: xentoollog,xenevtchn,xencontrol,xenguest,xenstore,xenblktapctl
Signature · 6 lines
Julien Grall

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#3 lore raw
In reply to Charles Arnold
Quoted 13 lines · Charles Arnold

The Requires line in this config file uses the wrong names for two dependencies.

The package config file for xenctrl is called 'xencontrol' and for blktapctl is called 'xenblktapctl'. Running a command like 'pkg-config --exists xenlight' will fail without this fix.

tools/libxl/xenlight.pc.in +0 -0
index 71d093a0ae..86c38a5634 100644

tools/libxl/xenlight.pc.in Description: The Xenlight library for Xen hypervisor · line 12

Quoted 5 lines
tools/libxl/xenlight.pc.in +1 -1
@@ -9,4 +9,4 @@ Description: The Xenlight library for Xen hypervisor
 Version: @@version@@
 Cflags: -I${includedir}
 Libs: @@libsflag@@${libdir} -lxenlight
-Requires.private: xentoollog,xenevtchn,xenctrl,xenguest,xenstore,blktapctl
+Requires.private: xentoollog,xenevtchn,xencontrol,xenguest,xenstore,xenblktapctl

Shouldn't xenblktapctl be conditional on whether blktap is actually enabled? FreeBSD/NetBSD don't support blktap at all, and on Linux it can be disabled with "--disable-blktap2" IIRC.

Roger.

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

#4 lore raw
Quoted 9 lines · Roger Pau Monné
Quoted 8 lines · Charles Arnold

The Requires line in this config file uses the wrong names for two dependencies.

The package config file for xenctrl is called 'xencontrol' and for blktapctl is called 'xenblktapctl'. Running a command like 'pkg-config --exists xenlight' will fail without this fix.

Quoted 14 lines

tools/libxl/xenlight.pc.in Description: The Xenlight library for Xen hypervisor · line 12

Quoted 10 lines
tools/libxl/xenlight.pc.in +1 -1
index 71d093a0ae..86c38a5634 100644
@@ -9,4 +9,4 @@ Description: The Xenlight library for Xen hypervisor
 Version: @@version@@
 Cflags: -I${includedir}
 Libs: @@libsflag@@${libdir} -lxenlight
-Requires.private: xentoollog,xenevtchn,xenctrl,xenguest,xenstore,blktapctl
+Requires.private: xentoollog,xenevtchn,xencontrol,xenguest,xenstore,xenblktapctl

Shouldn't xenblktapctl be conditional on whether blktap is actually enabled? FreeBSD/NetBSD don't support blktap at all, and on Linux it can be disabled with "--disable-blktap2" IIRC.

You are right. I suggest to take Charles' patch and I'll post another one on top of it handling availability of blktap.

Juergen

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

#5 lore raw
Quoted 25 lines · Juergen Gross
Quoted 9 lines · Roger Pau Monné
Quoted 8 lines · Charles Arnold

The Requires line in this config file uses the wrong names for two dependencies.

The package config file for xenctrl is called 'xencontrol' and for blktapctl is called 'xenblktapctl'. Running a command like 'pkg-config --exists xenlight' will fail without this fix.

Quoted 14 lines

tools/libxl/xenlight.pc.in Description: The Xenlight library for Xen hypervisor · line 12

Quoted 10 lines
tools/libxl/xenlight.pc.in +1 -1
index 71d093a0ae..86c38a5634 100644
@@ -9,4 +9,4 @@ Description: The Xenlight library for Xen hypervisor
 Version: @@version@@
 Cflags: -I${includedir}
 Libs: @@libsflag@@${libdir} -lxenlight
-Requires.private: xentoollog,xenevtchn,xenctrl,xenguest,xenstore,blktapctl
+Requires.private: xentoollog,xenevtchn,xencontrol,xenguest,xenstore,xenblktapctl

Shouldn't xenblktapctl be conditional on whether blktap is actually enabled? FreeBSD/NetBSD don't support blktap at all, and on Linux it can be disabled with "--disable-blktap2" IIRC.

Quoted 3 lines

You are right. I suggest to take Charles' patch and I'll post another one on top of it handling availability of blktap.

OK.

Quoted 3 lines

Juergen

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