tools: Fix pkg-config file for libxenstore
PATCH 1/1 tools: Fix pkg-config file for libxenstore
There is no dependency on libxenctrl.
---
CC: Ian Jackson <[email protected]>
CC: Wei Liu <[email protected]>
CC: Juergen Gross <[email protected]>
CC: Jan Beulich <[email protected]>
This has been fixed in Xen 4.15 by the uselibs.mk logic, but 4.14 and older cause everything linking against libxenstore to also try linking against libxenctrl. It also causes RPM to create unexpected dependencies between subpackages, which is a problem when trying to separate the stable and unstable libs.
--- tools/xenstore/xenstore.pc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/xenstore/xenstore.pc.in +1 -1
@@ -8,4 +8,4 @@ Version: @@version@@ Cflags: -I${includedir} @@cflagslocal@@ Libs: @@libsflag@@${libdir} -lxenstore Libs.private: -ldl -Requires.private: xenevtchn,xencontrol,xengnttab,xentoolcore +Requires.private: xenevtchn,xengnttab,xentoolcore
Signature · 1 line
2.11.0
Quoted 24 lines · Andrew Cooper
There is no dependency on libxenctrl.
Fixes 1b008e99 ("tools: provide pkg-config file for libxenstore")Signed-off-by Andrew Cooper <[email protected]>---
CC: Ian Jackson <[email protected]>
CC: Wei Liu <[email protected]>
CC: Juergen Gross <[email protected]>
CC: Jan Beulich <[email protected]>This has been fixed in Xen 4.15 by the uselibs.mk logic, but 4.14 and older cause everything linking against libxenstore to also try linking against libxenctrl. It also causes RPM to create unexpected dependencies between subpackages, which is a problem when trying to separate the stable and unstable libs.
--- tools/xenstore/xenstore.pc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/xenstore/xenstore.pc.in +0
-0
tools/xenstore/xenstore.pc.in Version: @@version@@ · line 11
Quoted 5 lines
tools/xenstore/xenstore.pc.in +1
-1@@ -8,4 +8,4 @@ Version: @@version@@ Cflags: -I${includedir} @@cflagslocal@@ Libs: @@libsflag@@${libdir} -lxenstore Libs.private: -ldl -Requires.private: xenevtchn,xencontrol,xengnttab,xentoolcore +Requires.private: xenevtchn,xengnttab,xentoolcore
Any reason you are keeping xenevtchn and xengnttab?
Juergen
Quoted 22 lines · Jürgen Groß
Quoted 21 lines · Andrew Cooper
There is no dependency on libxenctrl.
Fixes 1b008e99 ("tools: provide pkg-config file for libxenstore")Signed-off-by Andrew Cooper <[email protected]>---
CC: Ian Jackson <[email protected]>
CC: Wei Liu <[email protected]>
CC: Juergen Gross <[email protected]>
CC: Jan Beulich <[email protected]>This has been fixed in Xen 4.15 by the uselibs.mk logic, but 4.14 and older
cause everything linking against libxenstore to also try linking against libxenctrl. It also causes RPM to create unexpected dependencies between
subpackages, which is a problem when trying to separate the stable and unstable libs.
---
tools/xenstore/xenstore.pc.in| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 13 lines
tools/xenstore/xenstore.pc.in Version: @@version@@ · line 11
Quoted 11 lines
tools/xenstore/xenstore.pc.in +0
-0@@ -8,4 +8,4 @@ Version: @@version@@Cflags: -I${includedir} @@cflagslocal@@
Libs: @@libsflag@@${libdir} -lxenstore
Libs.private: -ldltools/xenstore/xenstore.pc.in +1
-1-Requires.private: xenevtchn,xencontrol,xengnttab,xentoolcore +Requires.private: xenevtchn,xengnttab,xentoolcoreAny reason you are keeping xenevtchn and xengnttab?
Oh - good point. I misread uselibs. Its only toolcore who's dependency remains in 4.15.
I'll send out a v2.
~Andrew
PATCH v2 1/1 tools: Fix pkg-config file for libxenstore
In reply to Andrew CooperThere are no dependenices on evtchn, ctrl or gnttab.
---
CC: Ian Jackson <[email protected]>
CC: Wei Liu <[email protected]>
CC: Juergen Gross <[email protected]>
CC: Jan Beulich <[email protected]>
v2:
* Drop xenevtchn and xengnttab as well
This has been fixed in Xen 4.15 by the uselibs.mk logic, but 4.14 and older cause everything linking against libxenstore to also try linking against libxenctrl. It also causes RPM to create unexpected dependencies between subpackages, which is a problem when trying to separate the stable and unstable libs.
--- tools/xenstore/xenstore.pc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/xenstore/xenstore.pc.in +1 -1
@@ -8,4 +8,4 @@ Version: @@version@@ Cflags: -I${includedir} @@cflagslocal@@ Libs: @@libsflag@@${libdir} -lxenstore Libs.private: -ldl -Requires.private: xenevtchn,xencontrol,xengnttab,xentoolcore +Requires.private: xentoolcore
Signature · 1 line
2.11.0
Quoted 4 lines · Andrew Cooper
There are no dependenices on evtchn, ctrl or gnttab.
Fixes 1b008e99 ("tools: provide pkg-config file for libxenstore")Signed-off-by Andrew Cooper <[email protected]>
Juergen
Quoted 4 lines · Andrew Cooper
There are no dependenices on evtchn, ctrl or gnttab.
Fixes 1b008e99 ("tools: provide pkg-config file for libxenstore")Signed-off-by Andrew Cooper <[email protected]>
Wei Liu writes ("Re: [PATCH v2 for-4.14] tools: Fix pkg-config file for libxenstore"):
Quoted 7 lines · Andrew Cooper
Quoted 4 lines
There are no dependenices on evtchn, ctrl or gnttab.
Fixes 1b008e99 ("tools: provide pkg-config file for libxenstore")Signed-off-by Andrew Cooper <[email protected]>Acked-by Wei Liu <[email protected]>
Having slept on this and I am not convinced that this warrants backporting. I prefer to take a generally cautious approach to changes to packaging and the build system, as this is much less disruptive to downstreams.
Ian.