xmlrpc-c: fix Makefile macro error
PATCH 1/1 xmlrpc-c: fix Makefile macro error
This error caused the curl library not to be linked.
--- .../0003-Fix-Makefile-macro-error.patch | 26 +++++++++++++++++++ .../xmlrpc-c/xmlrpc-c_1.54.02.bb | 1 + 2 files changed, 27 insertions(+) create mode 100644 meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0003-Fix-Makefile-macro-error.patch
meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0003-Fix-Makefile-macro-error.patch new file +26 -0
@@ -0,0 +1,26 @@ +From bb4057f06dd4a0b7823c1952b14cee7882664f1b Mon Sep 17 00:00:00 2001 +From: Arthur She <[email protected]> +Date: Mon, 24 Aug 2020 20:50:58 -0700 +Subject: [PATCH] Fix Makefile macro error + +The libcurl will not be liked due to this error. +--- + src/Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/Makefile b/src/Makefile +index 1cdf8b0..acd04dd 100644 +--- a/src/Makefile ++++ b/src/Makefile +@@ -57,7 +57,7 @@ ifeq ($(MUST_BUILD_CURL_CLIENT),yes) + TRANSPORT_MODS += $(BLDDIR)/lib/curl_transport/xmlrpc_curl_transport + TRANSPORT_MODS += $(BLDDIR)/lib/curl_transport/curltransaction + TRANSPORT_MODS += $(BLDDIR)/lib/curl_transport/curlmulti +- TRANSPORT_LIBDEP += $(shell $CURL_CONFIG --libs) ++ TRANSPORT_LIBDEP += $(shell $(CURL_CONFIG) --libs) + TRANSPORT_INCLUDES += -Isrcdir/lib/curl_transport + endif + ifeq ($(MUST_BUILD_LIBWWW_CLIENT),yes) +-- +2.25.1 +
meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.54.02.bb +1 -0
@@ -8,6 +8,7 @@ LIC_FILES_CHKSUM = "file://doc/COPYING;md5=aefbf81ba0750f02176b6f86752ea951" SRC_URI = "git://github.com/mirror/xmlrpc-c.git \ file://0001-test-cpp-server_abyss-Fix-build-with-clang-libc.patch \ file://0002-fix-formatting-issues.patch \ + file://0003-Fix-Makefile-macro-error.patch \ " #Release 1.54.02
Signature · 1 line
2.25.1
Quoted 26 lines · Arthur She
This error caused the curl library not to be linked.
Signed-off-by Arthur She <[email protected]>--- .../0003-Fix-Makefile-macro-error.patch | 26 +++++++++++++++++++ .../xmlrpc-c/xmlrpc-c_1.54.02.bb | 1 + 2 files changed, 27 insertions(+) create mode 100644 meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0003-Fix-Makefile-macro-error.patchmeta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0003-Fix-Makefile-macro-error.patch new file +10
-0@@ -0,0 +1,26 @@ +From bb4057f06dd4a0b7823c1952b14cee7882664f1b Mon Sep 17 00:00:00 2001 +From: Arthur She <[email protected]> +Date: Mon, 24 Aug 2020 20:50:58 -0700 +Subject: [PATCH] Fix Makefile macro error + +The libcurl will not be liked due to this error. +--- + src/Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) +
meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0003-Fix-Makefile-macro-error.patch line 20
Quoted 10 lines
meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0003-Fix-Makefile-macro-error.patch new file +10
-0+diff --git a/src/Makefile b/src/Makefile +index 1cdf8b0..acd04dd 100644 +--- a/src/Makefile ++++ b/src/Makefile +@@ -57,7 +57,7 @@ ifeq ($(MUST_BUILD_CURL_CLIENT),yes) + TRANSPORT_MODS += $(BLDDIR)/lib/curl_transport/xmlrpc_curl_transport + TRANSPORT_MODS += $(BLDDIR)/lib/curl_transport/curltransaction + TRANSPORT_MODS += $(BLDDIR)/lib/curl_transport/curlmulti +- TRANSPORT_LIBDEP += $(shell $CURL_CONFIG --libs) ++ TRANSPORT_LIBDEP += $(shell $(CURL_CONFIG) --libs)
do we then point CURL_CONFIG to PKGCONFIG or pkgconfig ? I think it would be better to do so as well while here.
Quoted 22 lines
meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0003-Fix-Makefile-macro-error.patch new file +6
-0+ TRANSPORT_INCLUDES += -Isrcdir/lib/curl_transport + endif + ifeq ($(MUST_BUILD_LIBWWW_CLIENT),yes) +-- +2.25.1 +meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.54.02.bb +1
-1@@ -8,6 +8,7 @@ LIC_FILES_CHKSUM = "file://doc/COPYING;md5=aefbf81ba0750f02176b6f86752ea951" SRC_URI = "git://github.com/mirror/xmlrpc-c.git \ file://0001-test-cpp-server_abyss-Fix-build-with-clang-libc.patch \ file://0002-fix-formatting-issues.patch \ + file://0003-Fix-Makefile-macro-error.patch \ " #Release 1.54.02 --2.25.1
Hi Khem,
I am not sure I understand what you mean.
Could you share some more details?
Thanks,
Arthur
Quoted 71 lines · Khem Raj
Quoted 9 lines · Arthur She
This error caused the curl library not to be linked.
Signed-off-by Arthur She <[email protected]>--- .../0003-Fix-Makefile-macro-error.patch | 26 +++++++++++++++++++ .../xmlrpc-c/xmlrpc-c_1.54.02.bb | 1 + 2 files changed, 27 insertions(+) create mode 100644
meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0003-Fix-Makefile-macro-error.patchQuoted 2 lines
diff --git
a/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0003-Fix-Makefile-macro-error.patchb/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0003-Fix-Makefile-macro-error.patchQuoted 4 lines
new file mode 100644
index 000000000..e0be24bf7
---/dev/null
+++
b/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0003-Fix-Makefile-macro-error.patchQuoted 11 lines
meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0003-Fix-Makefile-macro-error.patch new file +10
-0@@ -0,0 +1,26 @@ +From bb4057f06dd4a0b7823c1952b14cee7882664f1b Mon Sep 17 00:00:00 2001 +From: Arthur She <[email protected]> +Date: Mon, 24 Aug 2020 20:50:58 -0700 +Subject: [PATCH] Fix Makefile macro error + +The libcurl will not be liked due to this error. +--- + src/Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) +meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0003-Fix-Makefile-macro-error.patch line 20
Quoted 10 lines
meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0003-Fix-Makefile-macro-error.patch new file +10
-0+diff --git a/src/Makefile b/src/Makefile +index 1cdf8b0..acd04dd 100644 +--- a/src/Makefile ++++ b/src/Makefile +@@ -57,7 +57,7 @@ ifeq ($(MUST_BUILD_CURL_CLIENT),yes) + TRANSPORT_MODS += $(BLDDIR)/lib/curl_transport/xmlrpc_curl_transport + TRANSPORT_MODS += $(BLDDIR)/lib/curl_transport/curltransaction + TRANSPORT_MODS += $(BLDDIR)/lib/curl_transport/curlmulti +- TRANSPORT_LIBDEP += $(shell $CURL_CONFIG --libs) ++ TRANSPORT_LIBDEP += $(shell $(CURL_CONFIG) --libs)do we then point
CURL_CONFIGto PKGCONFIG or pkgconfig ? I think it would be better to do so as well while here.Review
Quoted 7 lines
meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0003-Fix-Makefile-macro-error.patch new file +6
-0+ TRANSPORT_INCLUDES += -Isrcdir/lib/curl_transport + endif + ifeq ($(MUST_BUILD_LIBWWW_CLIENT),yes) +-- +2.25.1 +(quoted diff) +0
-0b/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.54.02.bb
meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.54.02.bb LIC_FILES_CHKSUM =
Quoted 4 lines
index
c1f0b78ca..eec945824100644meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.54.02.bb +0
-0@@ -8,6 +8,7 @@ LIC_FILES_CHKSUM ="file://doc/COPYING;md5=aefbf81ba0750f02176b6f86752ea951"
meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.54.02.bb LIC_FILES_CHKSUM = "file://doc/COPYING;md5=aefbf81ba0750f02176b6f86752ea951" · line 13
Quoted 2 lines
meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.54.02.bb +0
-0SRC_URI = "git://github.com/mirror/xmlrpc-c.git \file://0001-test-cpp-server_abyss-Fix-build-with-clang-libc.patch \
Quoted 9 lines
meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.54.02.bb +1
-1file://0002-fix-formatting-issues.patch \ + file://0003-Fix-Makefile-macro-error.patch \ " #Release 1.54.02 --2.25.1
Quoted 5 lines · Arthur She
Hi Khem,
I am not sure I understand what you mean.
Could you share some more details?
We have replaced many of these config files with pkgconfig calls, since they do not work reliably in cross compile envs
but I don't see this being done for curl-config yet so perhaps it does work ok in cross builds.
Quoted 68 lines
Thanks,
ArthurQuoted 64 lines · Khem Raj
Quoted 26 lines · Arthur She
This error caused the curl library not to be linked.
Signed-off-by Arthur She <[email protected]>--- .../0003-Fix-Makefile-macro-error.patch | 26 +++++++++++++++++++ .../xmlrpc-c/xmlrpc-c_1.54.02.bb | 1 + 2 files changed, 27 insertions(+) create mode 100644 meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0003-Fix-Makefile-macro-error.patchmeta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0003-Fix-Makefile-macro-error.patch new file +10
-0@@ -0,0 +1,26 @@ +From bb4057f06dd4a0b7823c1952b14cee7882664f1b Mon Sep 17 00:00:00 2001 +From: Arthur She <[email protected]> +Date: Mon, 24 Aug 2020 20:50:58 -0700 +Subject: [PATCH] Fix Makefile macro error + +The libcurl will not be liked due to this error. +--- + src/Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) +meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0003-Fix-Makefile-macro-error.patch line 20
Quoted 10 lines
meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0003-Fix-Makefile-macro-error.patch new file +10
-0+diff --git a/src/Makefile b/src/Makefile +index 1cdf8b0..acd04dd 100644 +--- a/src/Makefile ++++ b/src/Makefile +@@ -57,7 +57,7 @@ ifeq ($(MUST_BUILD_CURL_CLIENT),yes) + TRANSPORT_MODS += $(BLDDIR)/lib/curl_transport/xmlrpc_curl_transport + TRANSPORT_MODS += $(BLDDIR)/lib/curl_transport/curltransaction + TRANSPORT_MODS += $(BLDDIR)/lib/curl_transport/curlmulti +- TRANSPORT_LIBDEP += $(shell $CURL_CONFIG --libs) ++ TRANSPORT_LIBDEP += $(shell $(CURL_CONFIG) --libs)do we then point
CURL_CONFIGto PKGCONFIG or pkgconfig ? I think it would be better to do so as well while here.Quoted 22 lines
meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0003-Fix-Makefile-macro-error.patch new file +6
-0+ TRANSPORT_INCLUDES += -Isrcdir/lib/curl_transport + endif + ifeq ($(MUST_BUILD_LIBWWW_CLIENT),yes) +-- +2.25.1 +meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.54.02.bb +1
-1@@ -8,6 +8,7 @@ LIC_FILES_CHKSUM = "file://doc/COPYING;md5=aefbf81ba0750f02176b6f86752ea951" SRC_URI = "git://github.com/mirror/xmlrpc-c.git \ file://0001-test-cpp-server_abyss-Fix-build-with-clang-libc.patch \ file://0002-fix-formatting-issues.patch \ + file://0003-Fix-Makefile-macro-error.patch \ " #Release 1.54.02 --2.25.1
We built curl and xmlrpc-c for arm and aarch64 architectures. Except for the Makefile macro error of xmlrpc-c-1.54.02, everything works fine so far.
Could you give me an example of the config files with pkgconfig calls?
Thanks,
Arthur
Quoted 92 lines · Khem Raj
Quoted 5 lines · Arthur She
Hi Khem,
I am not sure I understand what you mean.
Could you share some more details?We have replaced many of these config files with pkgconfig calls, since they do not work reliably in cross compile envs
but I don't see this being done for curl-config yet so perhaps it does work ok in cross builds.Quoted 6 lines
Thanks,
ArthurQuoted 2 lines · Khem Raj
On Mon, Aug 24, 2020 at 9:08 PM Arthur She <[email protected]>
Quoted 6 lines · wrote:
Quoted 6 lines
Quoted 6 lines
This error caused the curl library not to be linked.
Signed-off-by Arthur She <[email protected]>--- .../0003-Fix-Makefile-macro-error.patch | 26+++++++++++++++++++
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
.../xmlrpc-c/xmlrpc-c_1.54.02.bb | 1 + 2 files changed, 27 insertions(+) create mode 100644
meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0003-Fix-Makefile-macro-error.patchQuoted 2 lines
Quoted 2 lines
Quoted 2 lines
diff --git
a/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0003-Fix-Makefile-macro-error.patchb/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0003-Fix-Makefile-macro-error.patchQuoted 4 lines
Quoted 4 lines
Quoted 4 lines
new file mode 100644
index 000000000..e0be24bf7
---/dev/null
+++
b/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0003-Fix-Makefile-macro-error.patchQuoted 2 lines
Quoted 2 lines
Review line 1
Quoted 2 lines
(quoted diff) +1
-0@@ -0,0 +1,26 @@ +From bb4057f06dd4a0b7823c1952b14cee7882664f1b Mon Sep 17 00:00:002001
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0003-Fix-Makefile-macro-error.patch new file +7
-0+From: Arthur She <[email protected]> +Date: Mon, 24 Aug 2020 20:50:58 -0700 +Subject: [PATCH] Fix Makefile macro error + +The libcurl will not be liked due to this error. +--- + src/Makefile | 2 +-Quoted 8 lines
Quoted 8 lines
meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0003-Fix-Makefile-macro-error.patch
Quoted 8 lines
meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0003-Fix-Makefile-macro-error.patch new file +8
-0+ 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/Makefile b/src/Makefile +index 1cdf8b0..acd04dd 100644 +--- a/src/Makefile ++++ b/src/Makefile +@@ -57,7 +57,7 @@ ifeq ($(MUST_BUILD_CURL_CLIENT),yes) + TRANSPORT_MODS +=$(BLDDIR)/lib/curl_transport/xmlrpc_curl_transport
Quoted 8 lines
Quoted 8 lines
meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0003-Fix-Makefile-macro-error.patch line 20
Quoted 4 lines
meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0003-Fix-Makefile-macro-error.patch new file +4
-0+ TRANSPORT_MODS += $(BLDDIR)/lib/curl_transport/curltransaction + TRANSPORT_MODS += $(BLDDIR)/lib/curl_transport/curlmulti +- TRANSPORT_LIBDEP += $(shell $CURL_CONFIG --libs) ++ TRANSPORT_LIBDEP += $(shell $(CURL_CONFIG) --libs)do we then point
CURL_CONFIGto PKGCONFIG or pkgconfig ? I think it would be better to do so as well while here.Quoted 7 lines
Quoted 7 lines
Review
Quoted 7 lines
meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0003-Fix-Makefile-macro-error.patch new file +6
-0+ TRANSPORT_INCLUDES += -Isrcdir/lib/curl_transport + endif + ifeq ($(MUST_BUILD_LIBWWW_CLIENT),yes) +-- +2.25.1 +(quoted diff) +0
-0b/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.54.02.bb
Quoted 4 lines
Quoted 4 lines
meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.54.02.bb LIC_FILES_CHKSUM =
Quoted 4 lines
index
c1f0b78ca..eec945824100644meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.54.02.bb +0
-0@@ -8,6 +8,7 @@ LIC_FILES_CHKSUM ="file://doc/COPYING;md5=aefbf81ba0750f02176b6f86752ea951"
Quoted 2 lines
Quoted 2 lines
meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.54.02.bb LIC_FILES_CHKSUM = "file://doc/COPYING;md5=aefbf81ba0750f02176b6f86752ea951" · line 13
Quoted 2 lines
meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.54.02.bb +0
-0SRC_URI = "git://github.com/mirror/xmlrpc-c.git \file://0001-test-cpp-server_abyss-Fix-build-with-clang-libc.patch \
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.54.02.bb +1
-1file://0002-fix-formatting-issues.patch \ + file://0003-Fix-Makefile-macro-error.patch \ " #Release 1.54.02 --2.25.1
Quoted 6 lines · Arthur She
We built curl and xmlrpc-c for arm and aarch64 architectures.
Except for theMakefilemacro error of xmlrpc-c-1.54.02, everything works fine so far.Could you give me an example of the config files with pkgconfig calls?
see meta/recipes-support/gnupg/gnupg/0002-use-pkgconfig-instead-of-npth-config.patch
Quoted 86 lines
Thanks,
ArthurQuoted 81 lines · Khem Raj
Quoted 5 lines · Arthur She
Hi Khem,
I am not sure I understand what you mean.
Could you share some more details?We have replaced many of these config files with pkgconfig calls, since they do not work reliably in cross compile envs
but I don't see this being done for curl-config yet so perhaps it does work ok in cross builds.Quoted 68 lines
Thanks,
ArthurQuoted 64 lines · Khem Raj
Quoted 26 lines · Arthur She
This error caused the curl library not to be linked.
Signed-off-by Arthur She <[email protected]>--- .../0003-Fix-Makefile-macro-error.patch | 26 +++++++++++++++++++ .../xmlrpc-c/xmlrpc-c_1.54.02.bb | 1 + 2 files changed, 27 insertions(+) create mode 100644 meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0003-Fix-Makefile-macro-error.patchmeta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0003-Fix-Makefile-macro-error.patch new file +10
-0@@ -0,0 +1,26 @@ +From bb4057f06dd4a0b7823c1952b14cee7882664f1b Mon Sep 17 00:00:00 2001 +From: Arthur She <[email protected]> +Date: Mon, 24 Aug 2020 20:50:58 -0700 +Subject: [PATCH] Fix Makefile macro error + +The libcurl will not be liked due to this error. +--- + src/Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) +meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0003-Fix-Makefile-macro-error.patch line 20
Quoted 10 lines
meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0003-Fix-Makefile-macro-error.patch new file +10
-0+diff --git a/src/Makefile b/src/Makefile +index 1cdf8b0..acd04dd 100644 +--- a/src/Makefile ++++ b/src/Makefile +@@ -57,7 +57,7 @@ ifeq ($(MUST_BUILD_CURL_CLIENT),yes) + TRANSPORT_MODS += $(BLDDIR)/lib/curl_transport/xmlrpc_curl_transport + TRANSPORT_MODS += $(BLDDIR)/lib/curl_transport/curltransaction + TRANSPORT_MODS += $(BLDDIR)/lib/curl_transport/curlmulti +- TRANSPORT_LIBDEP += $(shell $CURL_CONFIG --libs) ++ TRANSPORT_LIBDEP += $(shell $(CURL_CONFIG) --libs)do we then point
CURL_CONFIGto PKGCONFIG or pkgconfig ? I think it would be better to do so as well while here.Quoted 22 lines
meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0003-Fix-Makefile-macro-error.patch new file +6
-0+ TRANSPORT_INCLUDES += -Isrcdir/lib/curl_transport + endif + ifeq ($(MUST_BUILD_LIBWWW_CLIENT),yes) +-- +2.25.1 +meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.54.02.bb +1
-1@@ -8,6 +8,7 @@ LIC_FILES_CHKSUM = "file://doc/COPYING;md5=aefbf81ba0750f02176b6f86752ea951" SRC_URI = "git://github.com/mirror/xmlrpc-c.git \ file://0001-test-cpp-server_abyss-Fix-build-with-clang-libc.patch \ file://0002-fix-formatting-issues.patch \ + file://0003-Fix-Makefile-macro-error.patch \ " #Release 1.54.02 --2.25.1