Skip to contentSkip to conversation

erlang: skip the host library path check

PATCH In review [email protected] 2 participants 2 messages Sep 15, 2015 – Sep 16, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 erlang: skip the host library path check

From: Ting Liu <[email protected]>

Move a previous patch from erlang_R15B.bb to erlang.inc as erlang_R16B03-1 needs it too.

Fix the below error:
ERROR: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities.

---
 meta-openstack/recipes-devtools/erlang/erlang.inc     | 4 +++-
 meta-openstack/recipes-devtools/erlang/erlang_R15B.bb | 1 -
 2 files changed, 3 insertions(+), 2 deletions(-)
meta-openstack/recipes-devtools/erlang/erlang.inc +3 -1
index 8dd2478..8a7bd5a 100644
@@ -8,7 +8,9 @@ LIC_FILES_CHKSUM = "file://EPLICENCE;md5=09f9063ea35bc5bd124df2fda1d9d2c7"
 
 UPSTREAM_VERSION = "${@bb.data.getVar('PV', d, 1).replace('.', '-')}"
 
-SRC_URI = "http://erlang.org/download/otp_src_${UPSTREAM_VERSION}.tar.gz"
+SRC_URI = "http://erlang.org/download/otp_src_${UPSTREAM_VERSION}.tar.gz \
+    file://erlang-fix-build-issue-in-Yocto.patch \
+"
 SRC_URI += "file://fix-wx-configure.patch"
 
 S = "${WORKDIR}/otp_src_${UPSTREAM_VERSION}"
meta-openstack/recipes-devtools/erlang/erlang_R15B.bb +0 -1
index d7fd310..68d144b 100644
@@ -55,6 +55,5 @@ FILES_${PN}-staticdev += "${libdir}/*/*/*/*.a ${libdir}/*/*/*/*/*.a ${libdir}/*/
 
 FILES_${PN}-libs-dbg += " ${libdir}/erlang/*/.debug ${libdir}/erlang/*/*/.debug ${libdir}/erlang/*/*/*/.debug ${libdir}/erlang/*/*/*/*/.debug ${libdir}/erlang/*/*/*/*/*/.debug "
 
-SRC_URI += "file://erlang-fix-build-issue-in-Yocto.patch"
 SRC_URI[md5sum] = "dd6c2a4807551b4a8a536067bde31d73"
 SRC_URI[sha256sum] = "5bc34fc34fc890f84bae7ff1f7c81fbec2c9aa28a0ef51a57d7a8192204d8aa2"
Signature · 1 line
1.9.2
#1 lore raw

merged.

Bruce

Quoted 49 lines · On Tue, Sep 15, 2015 at 1:18 AM, <[email protected]> wrote:

From: Ting Liu <[email protected]>

Move a previous patch from erlang_R15B.bb to erlang.inc as erlang_R16B03-1 needs it too.

Fix the below error:
ERROR: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities.

---
 meta-openstack/recipes-devtools/erlang/erlang.inc     | 4 +++-
 meta-openstack/recipes-devtools/erlang/erlang_R15B.bb | 1 -
 2 files changed, 3 insertions(+), 2 deletions(-)
meta-openstack/recipes-devtools/erlang/erlang.inc +3 -1
index 8dd2478..8a7bd5a 100644
@@ -8,7 +8,9 @@ LIC_FILES_CHKSUM = "file://EPLICENCE;md5=09f9063ea35bc5bd124df2fda1d9d2c7"
 
 UPSTREAM_VERSION = "${@bb.data.getVar('PV', d, 1).replace('.', '-')}"
 
-SRC_URI = "http://erlang.org/download/otp_src_${UPSTREAM_VERSION}.tar.gz"
+SRC_URI = "http://erlang.org/download/otp_src_${UPSTREAM_VERSION}.tar.gz \
+    file://erlang-fix-build-issue-in-Yocto.patch \
+"
 SRC_URI += "file://fix-wx-configure.patch"
 
 S = "${WORKDIR}/otp_src_${UPSTREAM_VERSION}"
meta-openstack/recipes-devtools/erlang/erlang_R15B.bb +0 -2
index d7fd310..68d144b 100644
@@ -55,6 +55,5 @@ FILES_${PN}-staticdev += "${libdir}/*/*/*/*.a ${libdir}/*/*/*/*/*.a ${libdir}/*/
 
 FILES_${PN}-libs-dbg += " ${libdir}/erlang/*/.debug ${libdir}/erlang/*/*/.debug ${libdir}/erlang/*/*/*/.debug ${libdir}/erlang/*/*/*/*/.debug ${libdir}/erlang/*/*/*/*/*/.debug "
 
-SRC_URI += "file://erlang-fix-build-issue-in-Yocto.patch"
 SRC_URI[md5sum] = "dd6c2a4807551b4a8a536067bde31d73"
 SRC_URI[sha256sum] = "5bc34fc34fc890f84bae7ff1f7c81fbec2c9aa28a0ef51a57d7a8192204d8aa2"
--

1.9.2

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"