All of lore.kernel.org
 help / color / mirror / Atom feed
* [OE-core][PATCH] icu: upgrade 66.1 -> 67.1
@ 2020-05-01  8:26 Andrej Valek
  2020-05-01  8:32 ` ✗ patchtest: failure for " Patchwork
                   ` (5 more replies)
  0 siblings, 6 replies; 18+ messages in thread
From: Andrej Valek @ 2020-05-01  8:26 UTC (permalink / raw)
  To: openembedded-core; +Cc: Andrej Valek

- 0001-icu-Added-armeb-support.patch - rebased
- 0001-Fix-big-endian-build.patch - removed, already included in new version
- icu-pkgdata-large-cmd.patch - removed, implemented correct size

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
---
 .../icu/icu/0001-Fix-big-endian-build.patch        | 28 -------------
 .../icu/icu/0001-icu-Added-armeb-support.patch     |  6 +--
 .../icu/icu/icu-pkgdata-large-cmd.patch            | 49 ----------------------
 .../icu/{icu_66.1.bb => icu_67.1.bb}               |  7 +---
 4 files changed, 5 insertions(+), 85 deletions(-)
 delete mode 100644 meta/recipes-support/icu/icu/0001-Fix-big-endian-build.patch
 delete mode 100644 meta/recipes-support/icu/icu/icu-pkgdata-large-cmd.patch
 rename meta/recipes-support/icu/{icu_66.1.bb => icu_67.1.bb} (84%)

diff --git a/meta/recipes-support/icu/icu/0001-Fix-big-endian-build.patch b/meta/recipes-support/icu/icu/0001-Fix-big-endian-build.patch
deleted file mode 100644
index 91d68848c7..0000000000
--- a/meta/recipes-support/icu/icu/0001-Fix-big-endian-build.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 9be0b489a94b57419202c552022f25cb95bfac51 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Wed, 17 Apr 2019 16:41:58 +0200
-Subject: [PATCH] Fix big-endian build
-
-Bug-report: https://unicode-org.atlassian.net/browse/ICU-20533
-Patch taken from: https://bugs.gentoo.org/682170
-
-it is applied upstream and will be in version 67+
-
-Upstream-Status: Backport [https://github.com/unicode-org/icu/commit/4a3a457b38cd828b7b3fa4fdbc6e2504a57275e9]
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
----
- data/Makefile.in | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
---- a/data/Makefile.in
-+++ b/data/Makefile.in
-@@ -148,7 +148,8 @@ ICUDATA_ARCHIVE = $(firstword $(wildcard
- # and convert it to the current type.
- ifneq ($(ICUDATA_ARCHIVE),)
- ICUDATA_SOURCE_ARCHIVE = $(OUTDIR)/$(ICUDATA_PLATFORM_NAME).dat
--$(ICUDATA_SOURCE_ARCHIVE): $(ICUDATA_ARCHIVE) $(OUTDIR)
-+$(ICUDATA_SOURCE_ARCHIVE): $(ICUDATA_ARCHIVE)
-+	$(MKINSTALLDIRS) $(OUTDIR)
- 	$(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR) $(ICUDATA_ARCHIVE) $(ICUDATA_SOURCE_ARCHIVE)
- endif
- else
diff --git a/meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch b/meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch
index 299689d95c..145efc0e01 100644
--- a/meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch
+++ b/meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch
@@ -13,10 +13,10 @@ Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/i18n/double-conversion-utils.h b/i18n/double-conversion-utils.h
-index 1e44fca..e4f2a8b 100644
+index 8c6a0e1..cf89907 100644
 --- a/i18n/double-conversion-utils.h
 +++ b/i18n/double-conversion-utils.h
-@@ -92,7 +92,7 @@ int main(int argc, char** argv) {
+@@ -115,7 +115,7 @@ int main(int argc, char** argv) {
  //
  // If it prints "correct" then the architecture should be here, in the "correct" section.
  #if defined(_M_X64) || defined(__x86_64__) || \
@@ -24,7 +24,7 @@ index 1e44fca..e4f2a8b 100644
 +    defined(__arm__) || defined(__avr32__) || defined(_M_ARM) || defined(_M_ARM64) || \
      defined(__hppa__) || defined(__ia64__) || \
      defined(__mips__) || \
-     defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__) || \
+     defined(__nios2__) || \
 -- 
 2.7.4
 
diff --git a/meta/recipes-support/icu/icu/icu-pkgdata-large-cmd.patch b/meta/recipes-support/icu/icu/icu-pkgdata-large-cmd.patch
deleted file mode 100644
index e758a623ef..0000000000
--- a/meta/recipes-support/icu/icu/icu-pkgdata-large-cmd.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-pkgdata.cpp: use LARGE_BUFFER_MAX_SIZE for cmd
-
-Use LARGE_BUFFER_MAX_SIZE for cmd rather than SMALL_BUFFER_MAX_SIZE,
-otherwise there was a Segmentation fault error when the command line is
-long, this should be a misplay since other cmd uses
-LARGE_BUFFER_MAX_SIZE.
-
-Upstream-Status: Pending
-
-Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
-Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
----
- tools/pkgdata/pkgdata.cpp | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/tools/pkgdata/pkgdata.cpp b/tools/pkgdata/pkgdata.cpp
-index 60167dd..506dd32 100644
---- a/tools/pkgdata/pkgdata.cpp
-+++ b/tools/pkgdata/pkgdata.cpp
-@@ -1084,7 +1084,7 @@ normal_symlink_mode:
- 
- static int32_t pkg_installLibrary(const char *installDir, const char *targetDir, UBool noVersion) {
-     int32_t result = 0;
--    char cmd[SMALL_BUFFER_MAX_SIZE];
-+    char cmd[LARGE_BUFFER_MAX_SIZE];
- 
-     sprintf(cmd, "cd %s && %s %s %s%s%s",
-             targetDir,
-@@ -1152,7 +1152,7 @@ static int32_t pkg_installLibrary(const char *installDir, const char *targetDir,
- 
- static int32_t pkg_installCommonMode(const char *installDir, const char *fileName) {
-     int32_t result = 0;
--    char cmd[SMALL_BUFFER_MAX_SIZE] = "";
-+    char cmd[LARGE_BUFFER_MAX_SIZE] = "";
- 
-     if (!T_FileStream_file_exists(installDir)) {
-         UErrorCode status = U_ZERO_ERROR;
-@@ -1184,7 +1184,7 @@ static int32_t pkg_installCommonMode(const char *installDir, const char *fileNam
- #endif
- static int32_t pkg_installFileMode(const char *installDir, const char *srcDir, const char *fileListName) {
-     int32_t result = 0;
--    char cmd[SMALL_BUFFER_MAX_SIZE] = "";
-+    char cmd[LARGE_BUFFER_MAX_SIZE] = "";
- 
-     if (!T_FileStream_file_exists(installDir)) {
-         UErrorCode status = U_ZERO_ERROR;
--- 
-1.9.1
-
diff --git a/meta/recipes-support/icu/icu_66.1.bb b/meta/recipes-support/icu/icu_67.1.bb
similarity index 84%
rename from meta/recipes-support/icu/icu_66.1.bb
rename to meta/recipes-support/icu/icu_67.1.bb
index f2bb344e33..58638507c9 100644
--- a/meta/recipes-support/icu/icu_66.1.bb
+++ b/meta/recipes-support/icu/icu_67.1.bb
@@ -22,17 +22,15 @@ DATA_SRC_URI = "https://github.com/unicode-org/icu/releases/download/release-${I
 SRC_URI = "${BASE_SRC_URI};name=code \
            ${DATA_SRC_URI};name=data \
            file://filter.json \
-           file://icu-pkgdata-large-cmd.patch \
            file://fix-install-manx.patch \
-           file://0001-Fix-big-endian-build.patch;apply=no \
            file://0001-icu-Added-armeb-support.patch \
            "
 
 SRC_URI_append_class-target = "\
            file://0001-Disable-LDFLAGSICUDT-for-Linux.patch \
           "
-SRC_URI[code.sha256sum] = "52a3f2209ab95559c1cf0a14f24338001f389615bf00e2585ef3dbc43ecf0a2e"
-SRC_URI[data.sha256sum] = "8be647f738891d2beb79d48f99077b3499948430eae6f1be112553b15ab0243e"
+SRC_URI[code.sha256sum] = "94a80cd6f251a53bd2a997f6f1b5ac6653fe791dfab66e1eb0227740fb86d5dc"
+SRC_URI[data.sha256sum] = "7c16a59cc8c06128b7ecc1dc4fc056b36b17349312829b17408b9e67b05c4a7e"
 
 UPSTREAM_CHECK_REGEX = "icu4c-(?P<pver>\d+(_\d+)+)-src"
 UPSTREAM_CHECK_URI = "https://github.com/unicode-org/icu/releases"
@@ -43,7 +41,6 @@ do_make_icudata_class-target () {
     cd ${S}
     rm -rf data
     cp -a ${WORKDIR}/data .
-    patch -p1 < ${WORKDIR}/0001-Fix-big-endian-build.patch
     AR='${BUILD_AR}' \
     CC='${BUILD_CC}' \
     CPP='${BUILD_CPP}' \
-- 
2.11.0


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* ✗ patchtest: failure for icu: upgrade 66.1 -> 67.1
  2020-05-01  8:26 [OE-core][PATCH] icu: upgrade 66.1 -> 67.1 Andrej Valek
@ 2020-05-01  8:32 ` Patchwork
  2020-05-01  8:45 ` [OE-core][PATCH v2] " Andrej Valek
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 18+ messages in thread
From: Patchwork @ 2020-05-01  8:32 UTC (permalink / raw)
  To: Andrej Valek; +Cc: openembedded-core

== Series Details ==

Series: icu: upgrade 66.1 -> 67.1
Revision: 1
URL   : https://patchwork.openembedded.org/series/23894/
State : failure

== Summary ==


Thank you for submitting this patch series to OpenEmbedded Core. This is
an automated response. Several tests have been executed on the proposed
series by patchtest resulting in the following failures:



* Issue             Series does not apply on top of target branch [test_series_merge_on_head] 
  Suggested fix    Rebase your series on top of targeted branch
  Targeted branch  master (currently at ecca4b97b3)



If you believe any of these test results are incorrect, please reply to the
mailing list (openembedded-core@lists.openembedded.org) raising your concerns.
Otherwise we would appreciate you correcting the issues and submitting a new
version of the patchset if applicable. Please ensure you add/increment the
version number when sending the new version (i.e. [PATCH] -> [PATCH v2] ->
[PATCH v3] -> ...).

---
Guidelines:     https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines
Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest
Test suite:     http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [OE-core][PATCH v2] icu: upgrade 66.1 -> 67.1
  2020-05-01  8:26 [OE-core][PATCH] icu: upgrade 66.1 -> 67.1 Andrej Valek
  2020-05-01  8:32 ` ✗ patchtest: failure for " Patchwork
@ 2020-05-01  8:45 ` Andrej Valek
  2020-05-01  9:02 ` ✗ patchtest: failure for icu: upgrade 66.1 -> 67.1 (rev2) Patchwork
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 18+ messages in thread
From: Andrej Valek @ 2020-05-01  8:45 UTC (permalink / raw)
  To: openembedded-core; +Cc: Andrej Valek

- 0001-icu-Added-armeb-support.patch - rebased
- 0001-Fix-big-endian-build.patch - removed, already included in new version
- icu-pkgdata-large-cmd.patch - removed, implemented correct size

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
---
 .../icu/icu/0001-Fix-big-endian-build.patch        | 28 -------------
 .../icu/icu/0001-icu-Added-armeb-support.patch     |  6 +--
 .../icu/icu/icu-pkgdata-large-cmd.patch            | 49 ----------------------
 .../icu/{icu_66.1.bb => icu_67.1.bb}               |  7 +---
 4 files changed, 5 insertions(+), 85 deletions(-)
 delete mode 100644 meta/recipes-support/icu/icu/0001-Fix-big-endian-build.patch
 delete mode 100644 meta/recipes-support/icu/icu/icu-pkgdata-large-cmd.patch
 rename meta/recipes-support/icu/{icu_66.1.bb => icu_67.1.bb} (84%)

diff --git a/meta/recipes-support/icu/icu/0001-Fix-big-endian-build.patch b/meta/recipes-support/icu/icu/0001-Fix-big-endian-build.patch
deleted file mode 100644
index 91d68848c7..0000000000
--- a/meta/recipes-support/icu/icu/0001-Fix-big-endian-build.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 9be0b489a94b57419202c552022f25cb95bfac51 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Wed, 17 Apr 2019 16:41:58 +0200
-Subject: [PATCH] Fix big-endian build
-
-Bug-report: https://unicode-org.atlassian.net/browse/ICU-20533
-Patch taken from: https://bugs.gentoo.org/682170
-
-it is applied upstream and will be in version 67+
-
-Upstream-Status: Backport [https://github.com/unicode-org/icu/commit/4a3a457b38cd828b7b3fa4fdbc6e2504a57275e9]
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
----
- data/Makefile.in | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
---- a/data/Makefile.in
-+++ b/data/Makefile.in
-@@ -148,7 +148,8 @@ ICUDATA_ARCHIVE = $(firstword $(wildcard
- # and convert it to the current type.
- ifneq ($(ICUDATA_ARCHIVE),)
- ICUDATA_SOURCE_ARCHIVE = $(OUTDIR)/$(ICUDATA_PLATFORM_NAME).dat
--$(ICUDATA_SOURCE_ARCHIVE): $(ICUDATA_ARCHIVE) $(OUTDIR)
-+$(ICUDATA_SOURCE_ARCHIVE): $(ICUDATA_ARCHIVE)
-+	$(MKINSTALLDIRS) $(OUTDIR)
- 	$(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR) $(ICUDATA_ARCHIVE) $(ICUDATA_SOURCE_ARCHIVE)
- endif
- else
diff --git a/meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch b/meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch
index 299689d95c..145efc0e01 100644
--- a/meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch
+++ b/meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch
@@ -13,10 +13,10 @@ Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/i18n/double-conversion-utils.h b/i18n/double-conversion-utils.h
-index 1e44fca..e4f2a8b 100644
+index 8c6a0e1..cf89907 100644
 --- a/i18n/double-conversion-utils.h
 +++ b/i18n/double-conversion-utils.h
-@@ -92,7 +92,7 @@ int main(int argc, char** argv) {
+@@ -115,7 +115,7 @@ int main(int argc, char** argv) {
  //
  // If it prints "correct" then the architecture should be here, in the "correct" section.
  #if defined(_M_X64) || defined(__x86_64__) || \
@@ -24,7 +24,7 @@ index 1e44fca..e4f2a8b 100644
 +    defined(__arm__) || defined(__avr32__) || defined(_M_ARM) || defined(_M_ARM64) || \
      defined(__hppa__) || defined(__ia64__) || \
      defined(__mips__) || \
-     defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__) || \
+     defined(__nios2__) || \
 -- 
 2.7.4
 
diff --git a/meta/recipes-support/icu/icu/icu-pkgdata-large-cmd.patch b/meta/recipes-support/icu/icu/icu-pkgdata-large-cmd.patch
deleted file mode 100644
index e758a623ef..0000000000
--- a/meta/recipes-support/icu/icu/icu-pkgdata-large-cmd.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-pkgdata.cpp: use LARGE_BUFFER_MAX_SIZE for cmd
-
-Use LARGE_BUFFER_MAX_SIZE for cmd rather than SMALL_BUFFER_MAX_SIZE,
-otherwise there was a Segmentation fault error when the command line is
-long, this should be a misplay since other cmd uses
-LARGE_BUFFER_MAX_SIZE.
-
-Upstream-Status: Pending
-
-Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
-Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
----
- tools/pkgdata/pkgdata.cpp | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/tools/pkgdata/pkgdata.cpp b/tools/pkgdata/pkgdata.cpp
-index 60167dd..506dd32 100644
---- a/tools/pkgdata/pkgdata.cpp
-+++ b/tools/pkgdata/pkgdata.cpp
-@@ -1084,7 +1084,7 @@ normal_symlink_mode:
- 
- static int32_t pkg_installLibrary(const char *installDir, const char *targetDir, UBool noVersion) {
-     int32_t result = 0;
--    char cmd[SMALL_BUFFER_MAX_SIZE];
-+    char cmd[LARGE_BUFFER_MAX_SIZE];
- 
-     sprintf(cmd, "cd %s && %s %s %s%s%s",
-             targetDir,
-@@ -1152,7 +1152,7 @@ static int32_t pkg_installLibrary(const char *installDir, const char *targetDir,
- 
- static int32_t pkg_installCommonMode(const char *installDir, const char *fileName) {
-     int32_t result = 0;
--    char cmd[SMALL_BUFFER_MAX_SIZE] = "";
-+    char cmd[LARGE_BUFFER_MAX_SIZE] = "";
- 
-     if (!T_FileStream_file_exists(installDir)) {
-         UErrorCode status = U_ZERO_ERROR;
-@@ -1184,7 +1184,7 @@ static int32_t pkg_installCommonMode(const char *installDir, const char *fileNam
- #endif
- static int32_t pkg_installFileMode(const char *installDir, const char *srcDir, const char *fileListName) {
-     int32_t result = 0;
--    char cmd[SMALL_BUFFER_MAX_SIZE] = "";
-+    char cmd[LARGE_BUFFER_MAX_SIZE] = "";
- 
-     if (!T_FileStream_file_exists(installDir)) {
-         UErrorCode status = U_ZERO_ERROR;
--- 
-1.9.1
-
diff --git a/meta/recipes-support/icu/icu_66.1.bb b/meta/recipes-support/icu/icu_67.1.bb
similarity index 84%
rename from meta/recipes-support/icu/icu_66.1.bb
rename to meta/recipes-support/icu/icu_67.1.bb
index f2bb344e33..58638507c9 100644
--- a/meta/recipes-support/icu/icu_66.1.bb
+++ b/meta/recipes-support/icu/icu_67.1.bb
@@ -22,17 +22,15 @@ DATA_SRC_URI = "https://github.com/unicode-org/icu/releases/download/release-${I
 SRC_URI = "${BASE_SRC_URI};name=code \
            ${DATA_SRC_URI};name=data \
            file://filter.json \
-           file://icu-pkgdata-large-cmd.patch \
            file://fix-install-manx.patch \
-           file://0001-Fix-big-endian-build.patch;apply=no \
            file://0001-icu-Added-armeb-support.patch \
            "
 
 SRC_URI_append_class-target = "\
            file://0001-Disable-LDFLAGSICUDT-for-Linux.patch \
           "
-SRC_URI[code.sha256sum] = "52a3f2209ab95559c1cf0a14f24338001f389615bf00e2585ef3dbc43ecf0a2e"
-SRC_URI[data.sha256sum] = "8be647f738891d2beb79d48f99077b3499948430eae6f1be112553b15ab0243e"
+SRC_URI[code.sha256sum] = "94a80cd6f251a53bd2a997f6f1b5ac6653fe791dfab66e1eb0227740fb86d5dc"
+SRC_URI[data.sha256sum] = "7c16a59cc8c06128b7ecc1dc4fc056b36b17349312829b17408b9e67b05c4a7e"
 
 UPSTREAM_CHECK_REGEX = "icu4c-(?P<pver>\d+(_\d+)+)-src"
 UPSTREAM_CHECK_URI = "https://github.com/unicode-org/icu/releases"
@@ -43,7 +41,6 @@ do_make_icudata_class-target () {
     cd ${S}
     rm -rf data
     cp -a ${WORKDIR}/data .
-    patch -p1 < ${WORKDIR}/0001-Fix-big-endian-build.patch
     AR='${BUILD_AR}' \
     CC='${BUILD_CC}' \
     CPP='${BUILD_CPP}' \
-- 
2.11.0


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* ✗ patchtest: failure for icu: upgrade 66.1 -> 67.1 (rev2)
  2020-05-01  8:26 [OE-core][PATCH] icu: upgrade 66.1 -> 67.1 Andrej Valek
  2020-05-01  8:32 ` ✗ patchtest: failure for " Patchwork
  2020-05-01  8:45 ` [OE-core][PATCH v2] " Andrej Valek
@ 2020-05-01  9:02 ` Patchwork
  2020-05-01 11:39 ` [OE-core][PATCH v3] icu: upgrade 66.1 -> 67.1 Andrej Valek
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 18+ messages in thread
From: Patchwork @ 2020-05-01  9:02 UTC (permalink / raw)
  To: Andrej Valek; +Cc: openembedded-core

== Series Details ==

Series: icu: upgrade 66.1 -> 67.1 (rev2)
Revision: 2
URL   : https://patchwork.openembedded.org/series/23894/
State : failure

== Summary ==


Thank you for submitting this patch series to OpenEmbedded Core. This is
an automated response. Several tests have been executed on the proposed
series by patchtest resulting in the following failures:



* Issue             Series does not apply on top of target branch [test_series_merge_on_head] 
  Suggested fix    Rebase your series on top of targeted branch
  Targeted branch  master (currently at ecca4b97b3)



If you believe any of these test results are incorrect, please reply to the
mailing list (openembedded-core@lists.openembedded.org) raising your concerns.
Otherwise we would appreciate you correcting the issues and submitting a new
version of the patchset if applicable. Please ensure you add/increment the
version number when sending the new version (i.e. [PATCH] -> [PATCH v2] ->
[PATCH v3] -> ...).

---
Guidelines:     https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines
Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest
Test suite:     http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [OE-core][PATCH v3] icu: upgrade 66.1 -> 67.1
  2020-05-01  8:26 [OE-core][PATCH] icu: upgrade 66.1 -> 67.1 Andrej Valek
                   ` (2 preceding siblings ...)
  2020-05-01  9:02 ` ✗ patchtest: failure for icu: upgrade 66.1 -> 67.1 (rev2) Patchwork
@ 2020-05-01 11:39 ` Andrej Valek
  2020-05-05 15:00   ` Richard Purdie
  2020-05-01 12:02 ` ✗ patchtest: failure for icu: upgrade 66.1 -> 67.1 (rev3) Patchwork
  2020-05-01 13:48 ` [OE-core][PATCH] icu: upgrade 66.1 -> 67.1 Andrej Valek
  5 siblings, 1 reply; 18+ messages in thread
From: Andrej Valek @ 2020-05-01 11:39 UTC (permalink / raw)
  To: openembedded-core; +Cc: Andrej Valek

- 0001-icu-Added-armeb-support.patch - rebased
- 0001-Fix-big-endian-build.patch - removed, already included in new version
- icu-pkgdata-large-cmd.patch - removed, implemented correct size

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
---
 .../icu/icu/0001-Fix-big-endian-build.patch        | 28 -------------
 .../icu/icu/0001-icu-Added-armeb-support.patch     |  6 +--
 .../icu/icu/icu-pkgdata-large-cmd.patch            | 49 ----------------------
 .../icu/{icu_66.1.bb => icu_67.1.bb}               |  7 +---
 4 files changed, 5 insertions(+), 85 deletions(-)
 delete mode 100644 meta/recipes-support/icu/icu/0001-Fix-big-endian-build.patch
 delete mode 100644 meta/recipes-support/icu/icu/icu-pkgdata-large-cmd.patch
 rename meta/recipes-support/icu/{icu_66.1.bb => icu_67.1.bb} (84%)

diff --git a/meta/recipes-support/icu/icu/0001-Fix-big-endian-build.patch b/meta/recipes-support/icu/icu/0001-Fix-big-endian-build.patch
deleted file mode 100644
index 91d68848c7..0000000000
--- a/meta/recipes-support/icu/icu/0001-Fix-big-endian-build.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 9be0b489a94b57419202c552022f25cb95bfac51 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Wed, 17 Apr 2019 16:41:58 +0200
-Subject: [PATCH] Fix big-endian build
-
-Bug-report: https://unicode-org.atlassian.net/browse/ICU-20533
-Patch taken from: https://bugs.gentoo.org/682170
-
-it is applied upstream and will be in version 67+
-
-Upstream-Status: Backport [https://github.com/unicode-org/icu/commit/4a3a457b38cd828b7b3fa4fdbc6e2504a57275e9]
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
----
- data/Makefile.in | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
---- a/data/Makefile.in
-+++ b/data/Makefile.in
-@@ -148,7 +148,8 @@ ICUDATA_ARCHIVE = $(firstword $(wildcard
- # and convert it to the current type.
- ifneq ($(ICUDATA_ARCHIVE),)
- ICUDATA_SOURCE_ARCHIVE = $(OUTDIR)/$(ICUDATA_PLATFORM_NAME).dat
--$(ICUDATA_SOURCE_ARCHIVE): $(ICUDATA_ARCHIVE) $(OUTDIR)
-+$(ICUDATA_SOURCE_ARCHIVE): $(ICUDATA_ARCHIVE)
-+	$(MKINSTALLDIRS) $(OUTDIR)
- 	$(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR) $(ICUDATA_ARCHIVE) $(ICUDATA_SOURCE_ARCHIVE)
- endif
- else
diff --git a/meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch b/meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch
index 299689d95c..145efc0e01 100644
--- a/meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch
+++ b/meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch
@@ -13,10 +13,10 @@ Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/i18n/double-conversion-utils.h b/i18n/double-conversion-utils.h
-index 1e44fca..e4f2a8b 100644
+index 8c6a0e1..cf89907 100644
 --- a/i18n/double-conversion-utils.h
 +++ b/i18n/double-conversion-utils.h
-@@ -92,7 +92,7 @@ int main(int argc, char** argv) {
+@@ -115,7 +115,7 @@ int main(int argc, char** argv) {
  //
  // If it prints "correct" then the architecture should be here, in the "correct" section.
  #if defined(_M_X64) || defined(__x86_64__) || \
@@ -24,7 +24,7 @@ index 1e44fca..e4f2a8b 100644
 +    defined(__arm__) || defined(__avr32__) || defined(_M_ARM) || defined(_M_ARM64) || \
      defined(__hppa__) || defined(__ia64__) || \
      defined(__mips__) || \
-     defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__) || \
+     defined(__nios2__) || \
 -- 
 2.7.4
 
diff --git a/meta/recipes-support/icu/icu/icu-pkgdata-large-cmd.patch b/meta/recipes-support/icu/icu/icu-pkgdata-large-cmd.patch
deleted file mode 100644
index e758a623ef..0000000000
--- a/meta/recipes-support/icu/icu/icu-pkgdata-large-cmd.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-pkgdata.cpp: use LARGE_BUFFER_MAX_SIZE for cmd
-
-Use LARGE_BUFFER_MAX_SIZE for cmd rather than SMALL_BUFFER_MAX_SIZE,
-otherwise there was a Segmentation fault error when the command line is
-long, this should be a misplay since other cmd uses
-LARGE_BUFFER_MAX_SIZE.
-
-Upstream-Status: Pending
-
-Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
-Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
----
- tools/pkgdata/pkgdata.cpp | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/tools/pkgdata/pkgdata.cpp b/tools/pkgdata/pkgdata.cpp
-index 60167dd..506dd32 100644
---- a/tools/pkgdata/pkgdata.cpp
-+++ b/tools/pkgdata/pkgdata.cpp
-@@ -1084,7 +1084,7 @@ normal_symlink_mode:
- 
- static int32_t pkg_installLibrary(const char *installDir, const char *targetDir, UBool noVersion) {
-     int32_t result = 0;
--    char cmd[SMALL_BUFFER_MAX_SIZE];
-+    char cmd[LARGE_BUFFER_MAX_SIZE];
- 
-     sprintf(cmd, "cd %s && %s %s %s%s%s",
-             targetDir,
-@@ -1152,7 +1152,7 @@ static int32_t pkg_installLibrary(const char *installDir, const char *targetDir,
- 
- static int32_t pkg_installCommonMode(const char *installDir, const char *fileName) {
-     int32_t result = 0;
--    char cmd[SMALL_BUFFER_MAX_SIZE] = "";
-+    char cmd[LARGE_BUFFER_MAX_SIZE] = "";
- 
-     if (!T_FileStream_file_exists(installDir)) {
-         UErrorCode status = U_ZERO_ERROR;
-@@ -1184,7 +1184,7 @@ static int32_t pkg_installCommonMode(const char *installDir, const char *fileNam
- #endif
- static int32_t pkg_installFileMode(const char *installDir, const char *srcDir, const char *fileListName) {
-     int32_t result = 0;
--    char cmd[SMALL_BUFFER_MAX_SIZE] = "";
-+    char cmd[LARGE_BUFFER_MAX_SIZE] = "";
- 
-     if (!T_FileStream_file_exists(installDir)) {
-         UErrorCode status = U_ZERO_ERROR;
--- 
-1.9.1
-
diff --git a/meta/recipes-support/icu/icu_66.1.bb b/meta/recipes-support/icu/icu_67.1.bb
similarity index 84%
rename from meta/recipes-support/icu/icu_66.1.bb
rename to meta/recipes-support/icu/icu_67.1.bb
index f2bb344e33..58638507c9 100644
--- a/meta/recipes-support/icu/icu_66.1.bb
+++ b/meta/recipes-support/icu/icu_67.1.bb
@@ -22,17 +22,15 @@ DATA_SRC_URI = "https://github.com/unicode-org/icu/releases/download/release-${I
 SRC_URI = "${BASE_SRC_URI};name=code \
            ${DATA_SRC_URI};name=data \
            file://filter.json \
-           file://icu-pkgdata-large-cmd.patch \
            file://fix-install-manx.patch \
-           file://0001-Fix-big-endian-build.patch;apply=no \
            file://0001-icu-Added-armeb-support.patch \
            "
 
 SRC_URI_append_class-target = "\
            file://0001-Disable-LDFLAGSICUDT-for-Linux.patch \
           "
-SRC_URI[code.sha256sum] = "52a3f2209ab95559c1cf0a14f24338001f389615bf00e2585ef3dbc43ecf0a2e"
-SRC_URI[data.sha256sum] = "8be647f738891d2beb79d48f99077b3499948430eae6f1be112553b15ab0243e"
+SRC_URI[code.sha256sum] = "94a80cd6f251a53bd2a997f6f1b5ac6653fe791dfab66e1eb0227740fb86d5dc"
+SRC_URI[data.sha256sum] = "7c16a59cc8c06128b7ecc1dc4fc056b36b17349312829b17408b9e67b05c4a7e"
 
 UPSTREAM_CHECK_REGEX = "icu4c-(?P<pver>\d+(_\d+)+)-src"
 UPSTREAM_CHECK_URI = "https://github.com/unicode-org/icu/releases"
@@ -43,7 +41,6 @@ do_make_icudata_class-target () {
     cd ${S}
     rm -rf data
     cp -a ${WORKDIR}/data .
-    patch -p1 < ${WORKDIR}/0001-Fix-big-endian-build.patch
     AR='${BUILD_AR}' \
     CC='${BUILD_CC}' \
     CPP='${BUILD_CPP}' \
-- 
2.11.0


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* ✗ patchtest: failure for icu: upgrade 66.1 -> 67.1 (rev3)
  2020-05-01  8:26 [OE-core][PATCH] icu: upgrade 66.1 -> 67.1 Andrej Valek
                   ` (3 preceding siblings ...)
  2020-05-01 11:39 ` [OE-core][PATCH v3] icu: upgrade 66.1 -> 67.1 Andrej Valek
@ 2020-05-01 12:02 ` Patchwork
  2020-05-01 13:48 ` [OE-core][PATCH] icu: upgrade 66.1 -> 67.1 Andrej Valek
  5 siblings, 0 replies; 18+ messages in thread
From: Patchwork @ 2020-05-01 12:02 UTC (permalink / raw)
  To: Andrej Valek; +Cc: openembedded-core

== Series Details ==

Series: icu: upgrade 66.1 -> 67.1 (rev3)
Revision: 3
URL   : https://patchwork.openembedded.org/series/23894/
State : failure

== Summary ==


Thank you for submitting this patch series to OpenEmbedded Core. This is
an automated response. Several tests have been executed on the proposed
series by patchtest resulting in the following failures:



* Issue             Series does not apply on top of target branch [test_series_merge_on_head] 
  Suggested fix    Rebase your series on top of targeted branch
  Targeted branch  master (currently at ecca4b97b3)



If you believe any of these test results are incorrect, please reply to the
mailing list (openembedded-core@lists.openembedded.org) raising your concerns.
Otherwise we would appreciate you correcting the issues and submitting a new
version of the patchset if applicable. Please ensure you add/increment the
version number when sending the new version (i.e. [PATCH] -> [PATCH v2] ->
[PATCH v3] -> ...).

---
Guidelines:     https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines
Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest
Test suite:     http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [OE-core][PATCH] icu: upgrade 66.1 -> 67.1
  2020-05-01  8:26 [OE-core][PATCH] icu: upgrade 66.1 -> 67.1 Andrej Valek
                   ` (4 preceding siblings ...)
  2020-05-01 12:02 ` ✗ patchtest: failure for icu: upgrade 66.1 -> 67.1 (rev3) Patchwork
@ 2020-05-01 13:48 ` Andrej Valek
  2020-05-01 13:56   ` Alexander Kanavin
  5 siblings, 1 reply; 18+ messages in thread
From: Andrej Valek @ 2020-05-01 13:48 UTC (permalink / raw)
  To: Alexander Kanavin, openembedded-core

Hello Alex,

I wanted to upgrade ICU to 67.1 release but without success. Locally it was working as well. When I was trying to apply the upgrading patch it failed. I realized that, there are mixed line endings Linux/Windows. I am able to apply patch with "git am --keep-cr", but It's still failing on patchwork.

I was trying to send the patch with different encodings, auto, 7bit, but still without success (3-times). Which kind of " --transfer-encoding=(7bit|8bit|quoted-printable|base64" should I use for it? Is there an another way to submit the patch?

Thank you,
Andrej

-----Original Message-----
From: Andrej Valek <andrej.valek@siemens.com> 
Sent: Friday, May 1, 2020 10:26 AM
To: openembedded-core@lists.openembedded.org
Cc: Valek, Andrej (IOT DS EU SK SI-BP1) <andrej.valek@siemens.com>
Subject: [OE-core][PATCH] icu: upgrade 66.1 -> 67.1

- 0001-icu-Added-armeb-support.patch - rebased
- 0001-Fix-big-endian-build.patch - removed, already included in new version
- icu-pkgdata-large-cmd.patch - removed, implemented correct size

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
---
 .../icu/icu/0001-Fix-big-endian-build.patch        | 28 -------------
 .../icu/icu/0001-icu-Added-armeb-support.patch     |  6 +--
 .../icu/icu/icu-pkgdata-large-cmd.patch            | 49 ----------------------
 .../icu/{icu_66.1.bb => icu_67.1.bb}               |  7 +---
 4 files changed, 5 insertions(+), 85 deletions(-)  delete mode 100644 meta/recipes-support/icu/icu/0001-Fix-big-endian-build.patch
 delete mode 100644 meta/recipes-support/icu/icu/icu-pkgdata-large-cmd.patch
 rename meta/recipes-support/icu/{icu_66.1.bb => icu_67.1.bb} (84%)

diff --git a/meta/recipes-support/icu/icu/0001-Fix-big-endian-build.patch b/meta/recipes-support/icu/icu/0001-Fix-big-endian-build.patch
deleted file mode 100644
index 91d68848c7..0000000000
--- a/meta/recipes-support/icu/icu/0001-Fix-big-endian-build.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 9be0b489a94b57419202c552022f25cb95bfac51 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Wed, 17 Apr 2019 16:41:58 +0200
-Subject: [PATCH] Fix big-endian build
-
-Bug-report: https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Funicode-org.atlassian.net%2Fbrowse%2FICU-20533&amp;data=02%7C01%7Candrej.valek%40siemens.com%7Cf699ca9e0c5e4e6a04f908d7eda96fbb%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239184284814122&amp;sdata=lkF0ueFchcq6kB67u%2BE52DnoJTVlb%2BhD5YtUQKo2TWI%3D&amp;reserved=0
-Patch taken from: https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.gentoo.org%2F682170&amp;data=02%7C01%7Candrej.valek%40siemens.com%7Cf699ca9e0c5e4e6a04f908d7eda96fbb%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239184284814122&amp;sdata=GiOAPhwkklHKkOtWwBWk6RdbyvvHiNGii7U1psFjhx8%3D&amp;reserved=0
-
-it is applied upstream and will be in version 67+
-
-Upstream-Status: Backport [https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Funicode-org%2Ficu%2Fcommit%2F4a3a457b38cd828b7b3fa4fdbc6e2504a57275e9&amp;data=02%7C01%7Candrej.valek%40siemens.com%7Cf699ca9e0c5e4e6a04f908d7eda96fbb%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239184284814122&amp;sdata=sqj%2B6HJBvmGjkMFTUOoW2%2F9pHppNCQDhjp4pufpfSDM%3D&amp;reserved=0]
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
----
- data/Makefile.in | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
---- a/data/Makefile.in
-+++ b/data/Makefile.in
-@@ -148,7 +148,8 @@ ICUDATA_ARCHIVE = $(firstword $(wildcard
- # and convert it to the current type.
- ifneq ($(ICUDATA_ARCHIVE),)
- ICUDATA_SOURCE_ARCHIVE = $(OUTDIR)/$(ICUDATA_PLATFORM_NAME).dat
--$(ICUDATA_SOURCE_ARCHIVE): $(ICUDATA_ARCHIVE) $(OUTDIR)
-+$(ICUDATA_SOURCE_ARCHIVE): $(ICUDATA_ARCHIVE)
-+	$(MKINSTALLDIRS) $(OUTDIR)
- 	$(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR) $(ICUDATA_ARCHIVE) $(ICUDATA_SOURCE_ARCHIVE)
- endif
- else
diff --git a/meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch b/meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch
index 299689d95c..145efc0e01 100644
--- a/meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch
+++ b/meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch
@@ -13,10 +13,10 @@ Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/i18n/double-conversion-utils.h b/i18n/double-conversion-utils.h -index 1e44fca..e4f2a8b 100644
+index 8c6a0e1..cf89907 100644
 --- a/i18n/double-conversion-utils.h
 +++ b/i18n/double-conversion-utils.h
-@@ -92,7 +92,7 @@ int main(int argc, char** argv) {
+@@ -115,7 +115,7 @@ int main(int argc, char** argv) {
  //
  // If it prints "correct" then the architecture should be here, in the "correct" section.
  #if defined(_M_X64) || defined(__x86_64__) || \ @@ -24,7 +24,7 @@ index 1e44fca..e4f2a8b 100644
 +    defined(__arm__) || defined(__avr32__) || defined(_M_ARM) || defined(_M_ARM64) || \
      defined(__hppa__) || defined(__ia64__) || \
      defined(__mips__) || \
-     defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__) || \
+     defined(__nios2__) || \
 --
 2.7.4
 
diff --git a/meta/recipes-support/icu/icu/icu-pkgdata-large-cmd.patch b/meta/recipes-support/icu/icu/icu-pkgdata-large-cmd.patch
deleted file mode 100644
index e758a623ef..0000000000
--- a/meta/recipes-support/icu/icu/icu-pkgdata-large-cmd.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-pkgdata.cpp: use LARGE_BUFFER_MAX_SIZE for cmd
-
-Use LARGE_BUFFER_MAX_SIZE for cmd rather than SMALL_BUFFER_MAX_SIZE, -otherwise there was a Segmentation fault error when the command line is -long, this should be a misplay since other cmd uses -LARGE_BUFFER_MAX_SIZE.
-
-Upstream-Status: Pending
-
-Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
-Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
----
- tools/pkgdata/pkgdata.cpp | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/tools/pkgdata/pkgdata.cpp b/tools/pkgdata/pkgdata.cpp -index 60167dd..506dd32 100644
---- a/tools/pkgdata/pkgdata.cpp
-+++ b/tools/pkgdata/pkgdata.cpp
-@@ -1084,7 +1084,7 @@ normal_symlink_mode:
-
- static int32_t pkg_installLibrary(const char *installDir, const char *targetDir, UBool noVersion) {
-     int32_t result = 0;
--    char cmd[SMALL_BUFFER_MAX_SIZE];
-+    char cmd[LARGE_BUFFER_MAX_SIZE];
- 
-     sprintf(cmd, "cd %s && %s %s %s%s%s",
-             targetDir,
-@@ -1152,7 +1152,7 @@ static int32_t pkg_installLibrary(const char *installDir, const char *targetDir,
-
- static int32_t pkg_installCommonMode(const char *installDir, const char *fileName) {
-     int32_t result = 0;
--    char cmd[SMALL_BUFFER_MAX_SIZE] = "";
-+    char cmd[LARGE_BUFFER_MAX_SIZE] = "";
- 
-     if (!T_FileStream_file_exists(installDir)) {
-         UErrorCode status = U_ZERO_ERROR;
-@@ -1184,7 +1184,7 @@ static int32_t pkg_installCommonMode(const char *installDir, const char *fileNam
- #endif
- static int32_t pkg_installFileMode(const char *installDir, const char *srcDir, const char *fileListName) {
-     int32_t result = 0;
--    char cmd[SMALL_BUFFER_MAX_SIZE] = "";
-+    char cmd[LARGE_BUFFER_MAX_SIZE] = "";
- 
-     if (!T_FileStream_file_exists(installDir)) {
-         UErrorCode status = U_ZERO_ERROR;
---
-1.9.1
-
diff --git a/meta/recipes-support/icu/icu_66.1.bb b/meta/recipes-support/icu/icu_67.1.bb
similarity index 84%
rename from meta/recipes-support/icu/icu_66.1.bb
rename to meta/recipes-support/icu/icu_67.1.bb
index f2bb344e33..58638507c9 100644
--- a/meta/recipes-support/icu/icu_66.1.bb
+++ b/meta/recipes-support/icu/icu_67.1.bb
@@ -22,17 +22,15 @@ DATA_SRC_URI = "https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Funicode-org%2Ficu%2Freleases%2Fdownload%2Frelease-%24&amp;data=02%7C01%7Candrej.valek%40siemens.com%7Cf699ca9e0c5e4e6a04f908d7eda96fbb%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239184284814122&amp;sdata=tOWF0krhT2h0ba16I8RDpLLqZglg4o48ULQg5xW7OjI%3D&amp;reserved=0{I
 SRC_URI = "${BASE_SRC_URI};name=code \
            ${DATA_SRC_URI};name=data \
            file://filter.json \
-           file://icu-pkgdata-large-cmd.patch \
            file://fix-install-manx.patch \
-           file://0001-Fix-big-endian-build.patch;apply=no \
            file://0001-icu-Added-armeb-support.patch \
            "
 
 SRC_URI_append_class-target = "\
            file://0001-Disable-LDFLAGSICUDT-for-Linux.patch \
           "
-SRC_URI[code.sha256sum] = "52a3f2209ab95559c1cf0a14f24338001f389615bf00e2585ef3dbc43ecf0a2e"
-SRC_URI[data.sha256sum] = "8be647f738891d2beb79d48f99077b3499948430eae6f1be112553b15ab0243e"
+SRC_URI[code.sha256sum] = "94a80cd6f251a53bd2a997f6f1b5ac6653fe791dfab66e1eb0227740fb86d5dc"
+SRC_URI[data.sha256sum] = "7c16a59cc8c06128b7ecc1dc4fc056b36b17349312829b17408b9e67b05c4a7e"
 
 UPSTREAM_CHECK_REGEX = "icu4c-(?P<pver>\d+(_\d+)+)-src"
 UPSTREAM_CHECK_URI = "https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Funicode-org%2Ficu%2Freleases&amp;data=02%7C01%7Candrej.valek%40siemens.com%7Cf699ca9e0c5e4e6a04f908d7eda96fbb%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239184284814122&amp;sdata=oc4vNTJru5V9fuwz7ODlmQDVMB8EQF6EkXT1mfGM1gA%3D&amp;reserved=0"
@@ -43,7 +41,6 @@ do_make_icudata_class-target () {
     cd ${S}
     rm -rf data
     cp -a ${WORKDIR}/data .
-    patch -p1 < ${WORKDIR}/0001-Fix-big-endian-build.patch
     AR='${BUILD_AR}' \
     CC='${BUILD_CC}' \
     CPP='${BUILD_CPP}' \
--
2.11.0


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* Re: [OE-core][PATCH] icu: upgrade 66.1 -> 67.1
  2020-05-01 13:48 ` [OE-core][PATCH] icu: upgrade 66.1 -> 67.1 Andrej Valek
@ 2020-05-01 13:56   ` Alexander Kanavin
  2020-05-01 16:52     ` Andrej Valek
  0 siblings, 1 reply; 18+ messages in thread
From: Alexander Kanavin @ 2020-05-01 13:56 UTC (permalink / raw)
  To: Valek, Andrej; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 11193 bytes --]

Hello Andrej,

can you publish the patch in git somewhere so I could take a look at
exactly what goes wrong? Occasionally we have patches that can't make it
through the mailing list for whatever reason, then RP pulls them directly
from git on request.

Alex

On Fri, 1 May 2020 at 15:48, Valek, Andrej <andrej.valek@siemens.com> wrote:

> Hello Alex,
>
> I wanted to upgrade ICU to 67.1 release but without success. Locally it
> was working as well. When I was trying to apply the upgrading patch it
> failed. I realized that, there are mixed line endings Linux/Windows. I am
> able to apply patch with "git am --keep-cr", but It's still failing on
> patchwork.
>
> I was trying to send the patch with different encodings, auto, 7bit, but
> still without success (3-times). Which kind of "
> --transfer-encoding=(7bit|8bit|quoted-printable|base64" should I use for
> it? Is there an another way to submit the patch?
>
> Thank you,
> Andrej
>
> -----Original Message-----
> From: Andrej Valek <andrej.valek@siemens.com>
> Sent: Friday, May 1, 2020 10:26 AM
> To: openembedded-core@lists.openembedded.org
> Cc: Valek, Andrej (IOT DS EU SK SI-BP1) <andrej.valek@siemens.com>
> Subject: [OE-core][PATCH] icu: upgrade 66.1 -> 67.1
>
> - 0001-icu-Added-armeb-support.patch - rebased
> - 0001-Fix-big-endian-build.patch - removed, already included in new
> version
> - icu-pkgdata-large-cmd.patch - removed, implemented correct size
>
> Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
> ---
>  .../icu/icu/0001-Fix-big-endian-build.patch        | 28 -------------
>  .../icu/icu/0001-icu-Added-armeb-support.patch     |  6 +--
>  .../icu/icu/icu-pkgdata-large-cmd.patch            | 49
> ----------------------
>  .../icu/{icu_66.1.bb => icu_67.1.bb}               |  7 +---
>  4 files changed, 5 insertions(+), 85 deletions(-)  delete mode 100644
> meta/recipes-support/icu/icu/0001-Fix-big-endian-build.patch
>  delete mode 100644
> meta/recipes-support/icu/icu/icu-pkgdata-large-cmd.patch
>  rename meta/recipes-support/icu/{icu_66.1.bb => icu_67.1.bb} (84%)
>
> diff --git a/meta/recipes-support/icu/icu/0001-Fix-big-endian-build.patch
> b/meta/recipes-support/icu/icu/0001-Fix-big-endian-build.patch
> deleted file mode 100644
> index 91d68848c7..0000000000
> --- a/meta/recipes-support/icu/icu/0001-Fix-big-endian-build.patch
> +++ /dev/null
> @@ -1,28 +0,0 @@
> -From 9be0b489a94b57419202c552022f25cb95bfac51 Mon Sep 17 00:00:00 2001
> -From: Alexander Kanavin <alex.kanavin@gmail.com>
> -Date: Wed, 17 Apr 2019 16:41:58 +0200
> -Subject: [PATCH] Fix big-endian build
> -
> -Bug-report:
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Funicode-org.atlassian.net%2Fbrowse%2FICU-20533&amp;data=02%7C01%7Candrej.valek%40siemens.com%7Cf699ca9e0c5e4e6a04f908d7eda96fbb%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239184284814122&amp;sdata=lkF0ueFchcq6kB67u%2BE52DnoJTVlb%2BhD5YtUQKo2TWI%3D&amp;reserved=0
> -Patch
> <https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Funicode-org.atlassian.net%2Fbrowse%2FICU-20533&amp;data=02%7C01%7Candrej.valek%40siemens.com%7Cf699ca9e0c5e4e6a04f908d7eda96fbb%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239184284814122&amp;sdata=lkF0ueFchcq6kB67u%2BE52DnoJTVlb%2BhD5YtUQKo2TWI%3D&amp;reserved=0-Patch>
> taken from:
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.gentoo.org%2F682170&amp;data=02%7C01%7Candrej.valek%40siemens.com%7Cf699ca9e0c5e4e6a04f908d7eda96fbb%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239184284814122&amp;sdata=GiOAPhwkklHKkOtWwBWk6RdbyvvHiNGii7U1psFjhx8%3D&amp;reserved=0
> -
> -it is applied upstream and will be in version 67+
> -
> -Upstream-Status: Backport [
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Funicode-org%2Ficu%2Fcommit%2F4a3a457b38cd828b7b3fa4fdbc6e2504a57275e9&amp;data=02%7C01%7Candrej.valek%40siemens.com%7Cf699ca9e0c5e4e6a04f908d7eda96fbb%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239184284814122&amp;sdata=sqj%2B6HJBvmGjkMFTUOoW2%2F9pHppNCQDhjp4pufpfSDM%3D&amp;reserved=0
> ]
> -Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
> ----
> - data/Makefile.in | 3 ++-
> - 1 file changed, 2 insertions(+), 1 deletion(-)
> -
> ---- a/data/Makefile.in
> -+++ b/data/Makefile.in
> -@@ -148,7 +148,8 @@ ICUDATA_ARCHIVE = $(firstword $(wildcard
> - # and convert it to the current type.
> - ifneq ($(ICUDATA_ARCHIVE),)
> - ICUDATA_SOURCE_ARCHIVE = $(OUTDIR)/$(ICUDATA_PLATFORM_NAME).dat
> --$(ICUDATA_SOURCE_ARCHIVE): $(ICUDATA_ARCHIVE) $(OUTDIR)
> -+$(ICUDATA_SOURCE_ARCHIVE): $(ICUDATA_ARCHIVE)
> -+      $(MKINSTALLDIRS) $(OUTDIR)
> -       $(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR)
> $(ICUDATA_ARCHIVE) $(ICUDATA_SOURCE_ARCHIVE)
> - endif
> - else
> diff --git
> a/meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch
> b/meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch
> index 299689d95c..145efc0e01 100644
> --- a/meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch
> +++ b/meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch
> @@ -13,10 +13,10 @@ Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
>  diff --git a/i18n/double-conversion-utils.h
> b/i18n/double-conversion-utils.h -index 1e44fca..e4f2a8b 100644
> +index 8c6a0e1..cf89907 100644
>  --- a/i18n/double-conversion-utils.h
>  +++ b/i18n/double-conversion-utils.h
> -@@ -92,7 +92,7 @@ int main(int argc, char** argv) {
> +@@ -115,7 +115,7 @@ int main(int argc, char** argv) {
>   //
>   // If it prints "correct" then the architecture should be here, in the
> "correct" section.
>   #if defined(_M_X64) || defined(__x86_64__) || \ @@ -24,7 +24,7 @@ index
> 1e44fca..e4f2a8b 100644
>  +    defined(__arm__) || defined(__avr32__) || defined(_M_ARM) ||
> defined(_M_ARM64) || \
>       defined(__hppa__) || defined(__ia64__) || \
>       defined(__mips__) || \
> -     defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__) || \
> +     defined(__nios2__) || \
>  --
>  2.7.4
>
> diff --git a/meta/recipes-support/icu/icu/icu-pkgdata-large-cmd.patch
> b/meta/recipes-support/icu/icu/icu-pkgdata-large-cmd.patch
> deleted file mode 100644
> index e758a623ef..0000000000
> --- a/meta/recipes-support/icu/icu/icu-pkgdata-large-cmd.patch
> +++ /dev/null
> @@ -1,49 +0,0 @@
> -pkgdata.cpp: use LARGE_BUFFER_MAX_SIZE for cmd
> -
> -Use LARGE_BUFFER_MAX_SIZE for cmd rather than SMALL_BUFFER_MAX_SIZE,
> -otherwise there was a Segmentation fault error when the command line is
> -long, this should be a misplay since other cmd uses -LARGE_BUFFER_MAX_SIZE.
> -
> -Upstream-Status: Pending
> -
> -Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
> -Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
> ----
> - tools/pkgdata/pkgdata.cpp | 6 +++---
> - 1 file changed, 3 insertions(+), 3 deletions(-)
> -
> -diff --git a/tools/pkgdata/pkgdata.cpp b/tools/pkgdata/pkgdata.cpp -index
> 60167dd..506dd32 100644
> ---- a/tools/pkgdata/pkgdata.cpp
> -+++ b/tools/pkgdata/pkgdata.cpp
> -@@ -1084,7 +1084,7 @@ normal_symlink_mode:
> -
> - static int32_t pkg_installLibrary(const char *installDir, const char
> *targetDir, UBool noVersion) {
> -     int32_t result = 0;
> --    char cmd[SMALL_BUFFER_MAX_SIZE];
> -+    char cmd[LARGE_BUFFER_MAX_SIZE];
> -
> -     sprintf(cmd, "cd %s && %s %s %s%s%s",
> -             targetDir,
> -@@ -1152,7 +1152,7 @@ static int32_t pkg_installLibrary(const char
> *installDir, const char *targetDir,
> -
> - static int32_t pkg_installCommonMode(const char *installDir, const char
> *fileName) {
> -     int32_t result = 0;
> --    char cmd[SMALL_BUFFER_MAX_SIZE] = "";
> -+    char cmd[LARGE_BUFFER_MAX_SIZE] = "";
> -
> -     if (!T_FileStream_file_exists(installDir)) {
> -         UErrorCode status = U_ZERO_ERROR;
> -@@ -1184,7 +1184,7 @@ static int32_t pkg_installCommonMode(const char
> *installDir, const char *fileNam
> - #endif
> - static int32_t pkg_installFileMode(const char *installDir, const char
> *srcDir, const char *fileListName) {
> -     int32_t result = 0;
> --    char cmd[SMALL_BUFFER_MAX_SIZE] = "";
> -+    char cmd[LARGE_BUFFER_MAX_SIZE] = "";
> -
> -     if (!T_FileStream_file_exists(installDir)) {
> -         UErrorCode status = U_ZERO_ERROR;
> ---
> -1.9.1
> -
> diff --git a/meta/recipes-support/icu/icu_66.1.bb
> b/meta/recipes-support/icu/icu_67.1.bb
> similarity index 84%
> rename from meta/recipes-support/icu/icu_66.1.bb
> rename to meta/recipes-support/icu/icu_67.1.bb
> index f2bb344e33..58638507c9 100644
> --- a/meta/recipes-support/icu/icu_66.1.bb
> +++ b/meta/recipes-support/icu/icu_67.1.bb
> @@ -22,17 +22,15 @@ DATA_SRC_URI = "
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Funicode-org%2Ficu%2Freleases%2Fdownload%2Frelease-%24&amp;data=02%7C01%7Candrej.valek%40siemens.com%7Cf699ca9e0c5e4e6a04f908d7eda96fbb%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239184284814122&amp;sdata=tOWF0krhT2h0ba16I8RDpLLqZglg4o48ULQg5xW7OjI%3D&amp;reserved=0{I
> <https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Funicode-org%2Ficu%2Freleases%2Fdownload%2Frelease-%24&amp;data=02%7C01%7Candrej.valek%40siemens.com%7Cf699ca9e0c5e4e6a04f908d7eda96fbb%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239184284814122&amp;sdata=tOWF0krhT2h0ba16I8RDpLLqZglg4o48ULQg5xW7OjI%3D&amp;reserved=0%7BI>
>  SRC_URI = "${BASE_SRC_URI};name=code \
>             ${DATA_SRC_URI};name=data \
>             file://filter.json \
> -           file://icu-pkgdata-large-cmd.patch \
>             file://fix-install-manx.patch \
> -           file://0001-Fix-big-endian-build.patch;apply=no \
>             file://0001-icu-Added-armeb-support.patch \
>             "
>
>  SRC_URI_append_class-target = "\
>             file://0001-Disable-LDFLAGSICUDT-for-Linux.patch \
>            "
> -SRC_URI[code.sha256sum] =
> "52a3f2209ab95559c1cf0a14f24338001f389615bf00e2585ef3dbc43ecf0a2e"
> -SRC_URI[data.sha256sum] =
> "8be647f738891d2beb79d48f99077b3499948430eae6f1be112553b15ab0243e"
> +SRC_URI[code.sha256sum] =
> "94a80cd6f251a53bd2a997f6f1b5ac6653fe791dfab66e1eb0227740fb86d5dc"
> +SRC_URI[data.sha256sum] =
> "7c16a59cc8c06128b7ecc1dc4fc056b36b17349312829b17408b9e67b05c4a7e"
>
>  UPSTREAM_CHECK_REGEX = "icu4c-(?P<pver>\d+(_\d+)+)-src"
>  UPSTREAM_CHECK_URI = "
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Funicode-org%2Ficu%2Freleases&amp;data=02%7C01%7Candrej.valek%40siemens.com%7Cf699ca9e0c5e4e6a04f908d7eda96fbb%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239184284814122&amp;sdata=oc4vNTJru5V9fuwz7ODlmQDVMB8EQF6EkXT1mfGM1gA%3D&amp;reserved=0
> "
> @@ -43,7 +41,6 @@ do_make_icudata_class-target () {
>      cd ${S}
>      rm -rf data
>      cp -a ${WORKDIR}/data .
> -    patch -p1 < ${WORKDIR}/0001-Fix-big-endian-build.patch
>      AR='${BUILD_AR}' \
>      CC='${BUILD_CC}' \
>      CPP='${BUILD_CPP}' \
> --
> 2.11.0
>
>

[-- Attachment #2: Type: text/html, Size: 14837 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [OE-core][PATCH] icu: upgrade 66.1 -> 67.1
  2020-05-01 13:56   ` Alexander Kanavin
@ 2020-05-01 16:52     ` Andrej Valek
  2020-05-01 22:16       ` Alexander Kanavin
  0 siblings, 1 reply; 18+ messages in thread
From: Andrej Valek @ 2020-05-01 16:52 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 15377 bytes --]

Hello Alex,

I have create a PR (https://github.com/openembedded/openembedded-core/pull/62). You can directly take a look on it there.

As I have already said, the problematic is “0001-Fix-big-endian-build.patch”.

Regards,
Andrej

From: Alexander Kanavin <alex.kanavin@gmail.com>
Sent: Friday, May 1, 2020 3:56 PM
To: Valek, Andrej (IOT DS EU SK SI-BP1) <andrej.valek@siemens.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [OE-core][PATCH] icu: upgrade 66.1 -> 67.1

Hello Andrej,

can you publish the patch in git somewhere so I could take a look at exactly what goes wrong? Occasionally we have patches that can't make it through the mailing list for whatever reason, then RP pulls them directly from git on request.

Alex

On Fri, 1 May 2020 at 15:48, Valek, Andrej <andrej.valek@siemens.com<mailto:andrej.valek@siemens.com>> wrote:
Hello Alex,

I wanted to upgrade ICU to 67.1 release but without success. Locally it was working as well. When I was trying to apply the upgrading patch it failed. I realized that, there are mixed line endings Linux/Windows. I am able to apply patch with "git am --keep-cr", but It's still failing on patchwork.

I was trying to send the patch with different encodings, auto, 7bit, but still without success (3-times). Which kind of " --transfer-encoding=(7bit|8bit|quoted-printable|base64" should I use for it? Is there an another way to submit the patch?

Thank you,
Andrej

-----Original Message-----
From: Andrej Valek <andrej.valek@siemens.com<mailto:andrej.valek@siemens.com>>
Sent: Friday, May 1, 2020 10:26 AM
To: openembedded-core@lists.openembedded.org<mailto:openembedded-core@lists.openembedded.org>
Cc: Valek, Andrej (IOT DS EU SK SI-BP1) <andrej.valek@siemens.com<mailto:andrej.valek@siemens.com>>
Subject: [OE-core][PATCH] icu: upgrade 66.1 -> 67.1

- 0001-icu-Added-armeb-support.patch - rebased
- 0001-Fix-big-endian-build.patch - removed, already included in new version
- icu-pkgdata-large-cmd.patch - removed, implemented correct size

Signed-off-by: Andrej Valek <andrej.valek@siemens.com<mailto:andrej.valek@siemens.com>>
---
 .../icu/icu/0001-Fix-big-endian-build.patch        | 28 -------------
 .../icu/icu/0001-icu-Added-armeb-support.patch     |  6 +--
 .../icu/icu/icu-pkgdata-large-cmd.patch            | 49 ----------------------
 .../icu/{icu_66.1.bb<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ficu_66.1.bb%2F&data=02%7C01%7Candrej.valek%40siemens.com%7C1c724f656fb6408072e008d7edd773f9%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239381926973091&sdata=zxraPp8VjOgyp260MtLNsgAOwb9ggQQb9FH8efsYACE%3D&reserved=0> => icu_67.1.bb<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ficu_67.1.bb%2F&data=02%7C01%7Candrej.valek%40siemens.com%7C1c724f656fb6408072e008d7edd773f9%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239381926983087&sdata=48GrUBg7qV8Mo8IA8ZREi8hXxtvvVgVOKLo7NR9nvyI%3D&reserved=0>}               |  7 +---
 4 files changed, 5 insertions(+), 85 deletions(-)  delete mode 100644 meta/recipes-support/icu/icu/0001-Fix-big-endian-build.patch
 delete mode 100644 meta/recipes-support/icu/icu/icu-pkgdata-large-cmd.patch
 rename meta/recipes-support/icu/{icu_66.1.bb<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ficu_66.1.bb%2F&data=02%7C01%7Candrej.valek%40siemens.com%7C1c724f656fb6408072e008d7edd773f9%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239381926993086&sdata=%2BSKmNDusCLKcUbtirvP7NjYK3qH%2BTZ90o2Oczmwl3fM%3D&reserved=0> => icu_67.1.bb<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ficu_67.1.bb%2F&data=02%7C01%7Candrej.valek%40siemens.com%7C1c724f656fb6408072e008d7edd773f9%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239381926993086&sdata=E7%2FtwzE3NBIxk773FmyMwWk2ECGVJnzru0whkfE43C8%3D&reserved=0>} (84%)

diff --git a/meta/recipes-support/icu/icu/0001-Fix-big-endian-build.patch b/meta/recipes-support/icu/icu/0001-Fix-big-endian-build.patch
deleted file mode 100644
index 91d68848c7..0000000000
--- a/meta/recipes-support/icu/icu/0001-Fix-big-endian-build.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 9be0b489a94b57419202c552022f25cb95bfac51 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com<mailto:alex.kanavin@gmail.com>>
-Date: Wed, 17 Apr 2019 16:41:58 +0200
-Subject: [PATCH] Fix big-endian build
-
-Bug-report: https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Funicode-org.atlassian.net%2Fbrowse%2FICU-20533&amp;data=02%7C01%7Candrej.valek%40siemens.com%7Cf699ca9e0c5e4e6a04f908d7eda96fbb%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239184284814122&amp;sdata=lkF0ueFchcq6kB67u%2BE52DnoJTVlb%2BhD5YtUQKo2TWI%3D&amp;reserved=0
-Patch<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Funicode-org.atlassian.net%2Fbrowse%2FICU-20533&data=02%7C01%7Candrej.valek%40siemens.com%7C1c724f656fb6408072e008d7edd773f9%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239381927003074&sdata=GeQlIuFMvw%2FwXqIFSzvoxFrkwmIWho%2F3QiFZPbHw7DM%3D&reserved=0> taken from: https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.gentoo.org%2F682170&amp;data=02%7C01%7Candrej.valek%40siemens.com%7Cf699ca9e0c5e4e6a04f908d7eda96fbb%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239184284814122&amp;sdata=GiOAPhwkklHKkOtWwBWk6RdbyvvHiNGii7U1psFjhx8%3D&amp;reserved=0<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.gentoo.org%2F682170&data=02%7C01%7Candrej.valek%40siemens.com%7C1c724f656fb6408072e008d7edd773f9%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239381927003074&sdata=ZdebW1mz1AoMB0yhQ69HOT1xQZGO%2Bc8MYabfeY2a5MU%3D&reserved=0>
-
-it is applied upstream and will be in version 67+
-
-Upstream-Status: Backport [https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Funicode-org%2Ficu%2Fcommit%2F4a3a457b38cd828b7b3fa4fdbc6e2504a57275e9&amp;data=02%7C01%7Candrej.valek%40siemens.com%7Cf699ca9e0c5e4e6a04f908d7eda96fbb%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239184284814122&amp;sdata=sqj%2B6HJBvmGjkMFTUOoW2%2F9pHppNCQDhjp4pufpfSDM%3D&amp;reserved=0<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Funicode-org%2Ficu%2Fcommit%2F4a3a457b38cd828b7b3fa4fdbc6e2504a57275e9&data=02%7C01%7Candrej.valek%40siemens.com%7C1c724f656fb6408072e008d7edd773f9%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239381927013074&sdata=psqN6XbYwxBmVx8Rsdbgweeg6Pah65H5ofBwYH9RZME%3D&reserved=0>]
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com<mailto:alex.kanavin@gmail.com>>
----
- data/Makefile.in | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
---- a/data/Makefile.in
-+++ b/data/Makefile.in
-@@ -148,7 +148,8 @@ ICUDATA_ARCHIVE = $(firstword $(wildcard
- # and convert it to the current type.
- ifneq ($(ICUDATA_ARCHIVE),)
- ICUDATA_SOURCE_ARCHIVE = $(OUTDIR)/$(ICUDATA_PLATFORM_NAME).dat
--$(ICUDATA_SOURCE_ARCHIVE): $(ICUDATA_ARCHIVE) $(OUTDIR)
-+$(ICUDATA_SOURCE_ARCHIVE): $(ICUDATA_ARCHIVE)
-+      $(MKINSTALLDIRS) $(OUTDIR)
-       $(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR) $(ICUDATA_ARCHIVE) $(ICUDATA_SOURCE_ARCHIVE)
- endif
- else
diff --git a/meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch b/meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch
index 299689d95c..145efc0e01 100644
--- a/meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch
+++ b/meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch
@@ -13,10 +13,10 @@ Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com<mailto:leimaohui@cn.fujitsu.com>>
  1 file changed, 1 insertion(+), 1 deletion(-)

 diff --git a/i18n/double-conversion-utils.h b/i18n/double-conversion-utils.h -index 1e44fca..e4f2a8b 100644
+index 8c6a0e1..cf89907 100644
 --- a/i18n/double-conversion-utils.h
 +++ b/i18n/double-conversion-utils.h
-@@ -92,7 +92,7 @@ int main(int argc, char** argv) {
+@@ -115,7 +115,7 @@ int main(int argc, char** argv) {
  //
  // If it prints "correct" then the architecture should be here, in the "correct" section.
  #if defined(_M_X64) || defined(__x86_64__) || \ @@ -24,7 +24,7 @@ index 1e44fca..e4f2a8b 100644
 +    defined(__arm__) || defined(__avr32__) || defined(_M_ARM) || defined(_M_ARM64) || \
      defined(__hppa__) || defined(__ia64__) || \
      defined(__mips__) || \
-     defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__) || \
+     defined(__nios2__) || \
 --
 2.7.4

diff --git a/meta/recipes-support/icu/icu/icu-pkgdata-large-cmd.patch b/meta/recipes-support/icu/icu/icu-pkgdata-large-cmd.patch
deleted file mode 100644
index e758a623ef..0000000000
--- a/meta/recipes-support/icu/icu/icu-pkgdata-large-cmd.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-pkgdata.cpp: use LARGE_BUFFER_MAX_SIZE for cmd
-
-Use LARGE_BUFFER_MAX_SIZE for cmd rather than SMALL_BUFFER_MAX_SIZE, -otherwise there was a Segmentation fault error when the command line is -long, this should be a misplay since other cmd uses -LARGE_BUFFER_MAX_SIZE.
-
-Upstream-Status: Pending
-
-Signed-off-by: Robert Yang <liezhi.yang@windriver.com<mailto:liezhi.yang@windriver.com>>
-Signed-off-by: Jackie Huang <jackie.huang@windriver.com<mailto:jackie.huang@windriver.com>>
----
- tools/pkgdata/pkgdata.cpp | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/tools/pkgdata/pkgdata.cpp b/tools/pkgdata/pkgdata.cpp -index 60167dd..506dd32 100644
---- a/tools/pkgdata/pkgdata.cpp
-+++ b/tools/pkgdata/pkgdata.cpp
-@@ -1084,7 +1084,7 @@ normal_symlink_mode:
-
- static int32_t pkg_installLibrary(const char *installDir, const char *targetDir, UBool noVersion) {
-     int32_t result = 0;
--    char cmd[SMALL_BUFFER_MAX_SIZE];
-+    char cmd[LARGE_BUFFER_MAX_SIZE];
-
-     sprintf(cmd, "cd %s && %s %s %s%s%s",
-             targetDir,
-@@ -1152,7 +1152,7 @@ static int32_t pkg_installLibrary(const char *installDir, const char *targetDir,
-
- static int32_t pkg_installCommonMode(const char *installDir, const char *fileName) {
-     int32_t result = 0;
--    char cmd[SMALL_BUFFER_MAX_SIZE] = "";
-+    char cmd[LARGE_BUFFER_MAX_SIZE] = "";
-
-     if (!T_FileStream_file_exists(installDir)) {
-         UErrorCode status = U_ZERO_ERROR;
-@@ -1184,7 +1184,7 @@ static int32_t pkg_installCommonMode(const char *installDir, const char *fileNam
- #endif
- static int32_t pkg_installFileMode(const char *installDir, const char *srcDir, const char *fileListName) {
-     int32_t result = 0;
--    char cmd[SMALL_BUFFER_MAX_SIZE] = "";
-+    char cmd[LARGE_BUFFER_MAX_SIZE] = "";
-
-     if (!T_FileStream_file_exists(installDir)) {
-         UErrorCode status = U_ZERO_ERROR;
---
-1.9.1
-
diff --git a/meta/recipes-support/icu/icu_66.1.bb<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ficu_66.1.bb%2F&data=02%7C01%7Candrej.valek%40siemens.com%7C1c724f656fb6408072e008d7edd773f9%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239381927013074&sdata=8A2U9BNmLsvQBfn%2B7hWB9lEPQ8iFX11RN%2B8GgqMlVUI%3D&reserved=0> b/meta/recipes-support/icu/icu_67.1.bb<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ficu_67.1.bb%2F&data=02%7C01%7Candrej.valek%40siemens.com%7C1c724f656fb6408072e008d7edd773f9%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239381927023064&sdata=sdwWHyP86Q11%2FjPEFcA%2BfVqezaMF%2BSCl01w7QpJSPR4%3D&reserved=0>
similarity index 84%
rename from meta/recipes-support/icu/icu_66.1.bb<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ficu_66.1.bb%2F&data=02%7C01%7Candrej.valek%40siemens.com%7C1c724f656fb6408072e008d7edd773f9%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239381927023064&sdata=dBrO46zYdY2VCSlvidaM2gfLPbUSFziY%2FR5i0mE1rGs%3D&reserved=0>
rename to meta/recipes-support/icu/icu_67.1.bb<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ficu_67.1.bb%2F&data=02%7C01%7Candrej.valek%40siemens.com%7C1c724f656fb6408072e008d7edd773f9%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239381927033058&sdata=g86xWHlgzTBfM4W4Sdt1a7f9K4lf1afDCXmkx5BslBg%3D&reserved=0>
index f2bb344e33..58638507c9 100644
--- a/meta/recipes-support/icu/icu_66.1.bb<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ficu_66.1.bb%2F&data=02%7C01%7Candrej.valek%40siemens.com%7C1c724f656fb6408072e008d7edd773f9%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239381927033058&sdata=eWZxd3AEILxwRQnAyL1rr7hgvKW3pmqrpyZhgcxR28A%3D&reserved=0>
+++ b/meta/recipes-support/icu/icu_67.1.bb<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ficu_67.1.bb%2F&data=02%7C01%7Candrej.valek%40siemens.com%7C1c724f656fb6408072e008d7edd773f9%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239381927043054&sdata=bufGBYU0lwyKjciaA4%2F9YuKtK24mEB6WaukjQ%2BYp%2BoI%3D&reserved=0>
@@ -22,17 +22,15 @@ DATA_SRC_URI = "https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Funicode-org%2Ficu%2Freleases%2Fdownload%2Frelease-%24&amp;data=02%7C01%7Candrej.valek%40siemens.com%7Cf699ca9e0c5e4e6a04f908d7eda96fbb%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239184284814122&amp;sdata=tOWF0krhT2h0ba16I8RDpLLqZglg4o48ULQg5xW7OjI%3D&amp;reserved=0{I<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Funicode-org%2Ficu%2Freleases%2Fdownload%2Frelease-%24&data=02%7C01%7Candrej.valek%40siemens.com%7C1c724f656fb6408072e008d7edd773f9%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239381927043054&sdata=aHkFn%2BSTLY2Md8NXia1oXr5q%2FyQEbtA2Che%2FXBqayvQ%3D&reserved=0>
 SRC_URI = "${BASE_SRC_URI};name=code \
            ${DATA_SRC_URI};name=data \
            file://filter.json \
-           file://icu-pkgdata-large-cmd.patch \
            file://fix-install-manx.patch \
-           file://0001-Fix-big-endian-build.patch;apply=no \
            file://0001-icu-Added-armeb-support.patch \
            "

 SRC_URI_append_class-target = "\
            file://0001-Disable-LDFLAGSICUDT-for-Linux.patch \
           "
-SRC_URI[code.sha256sum] = "52a3f2209ab95559c1cf0a14f24338001f389615bf00e2585ef3dbc43ecf0a2e"
-SRC_URI[data.sha256sum] = "8be647f738891d2beb79d48f99077b3499948430eae6f1be112553b15ab0243e"
+SRC_URI[code.sha256sum] = "94a80cd6f251a53bd2a997f6f1b5ac6653fe791dfab66e1eb0227740fb86d5dc"
+SRC_URI[data.sha256sum] = "7c16a59cc8c06128b7ecc1dc4fc056b36b17349312829b17408b9e67b05c4a7e"

 UPSTREAM_CHECK_REGEX = "icu4c-(?P<pver>\d+(_\d+)+)-src"
 UPSTREAM_CHECK_URI = "https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Funicode-org%2Ficu%2Freleases&amp;data=02%7C01%7Candrej.valek%40siemens.com%7Cf699ca9e0c5e4e6a04f908d7eda96fbb%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239184284814122&amp;sdata=oc4vNTJru5V9fuwz7ODlmQDVMB8EQF6EkXT1mfGM1gA%3D&amp;reserved=0<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Funicode-org%2Ficu%2Freleases&data=02%7C01%7Candrej.valek%40siemens.com%7C1c724f656fb6408072e008d7edd773f9%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239381927053047&sdata=VU1FSQ3KdwZ4RzkUGyyM2bdRmQkLUHnFktqvAJ6KdQQ%3D&reserved=0>"
@@ -43,7 +41,6 @@ do_make_icudata_class-target () {
     cd ${S}
     rm -rf data
     cp -a ${WORKDIR}/data .
-    patch -p1 < ${WORKDIR}/0001-Fix-big-endian-build.patch
     AR='${BUILD_AR}' \
     CC='${BUILD_CC}' \
     CPP='${BUILD_CPP}' \
--
2.11.0

[-- Attachment #2: Type: text/html, Size: 21354 bytes --]

^ permalink raw reply related	[flat|nested] 18+ messages in thread

* Re: [OE-core][PATCH] icu: upgrade 66.1 -> 67.1
  2020-05-01 16:52     ` Andrej Valek
@ 2020-05-01 22:16       ` Alexander Kanavin
  2020-05-02 17:28         ` Andrej Valek
  0 siblings, 1 reply; 18+ messages in thread
From: Alexander Kanavin @ 2020-05-01 22:16 UTC (permalink / raw)
  To: Valek, Andrej; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 15982 bytes --]

Right, I think it's fine to send a patch once more, and then follow up the
patchwork error with a notice that the patch must be applied with --keep-cr
(which I guess patchwork doesn't do).

Alex

On Fri, 1 May 2020 at 18:52, Valek, Andrej <andrej.valek@siemens.com> wrote:

> Hello Alex,
>
>
>
> I have create a PR (
> https://github.com/openembedded/openembedded-core/pull/62). You can
> directly take a look on it there.
>
>
>
> As I have already said, the problematic is
> “0001-Fix-big-endian-build.patch”.
>
>
>
> Regards,
>
> Andrej
>
>
>
> *From:* Alexander Kanavin <alex.kanavin@gmail.com>
> *Sent:* Friday, May 1, 2020 3:56 PM
> *To:* Valek, Andrej (IOT DS EU SK SI-BP1) <andrej.valek@siemens.com>
> *Cc:* openembedded-core@lists.openembedded.org
> *Subject:* Re: [OE-core][PATCH] icu: upgrade 66.1 -> 67.1
>
>
>
> Hello Andrej,
>
>
>
> can you publish the patch in git somewhere so I could take a look at
> exactly what goes wrong? Occasionally we have patches that can't make it
> through the mailing list for whatever reason, then RP pulls them directly
> from git on request.
>
>
>
> Alex
>
>
>
> On Fri, 1 May 2020 at 15:48, Valek, Andrej <andrej.valek@siemens.com>
> wrote:
>
> Hello Alex,
>
> I wanted to upgrade ICU to 67.1 release but without success. Locally it
> was working as well. When I was trying to apply the upgrading patch it
> failed. I realized that, there are mixed line endings Linux/Windows. I am
> able to apply patch with "git am --keep-cr", but It's still failing on
> patchwork.
>
> I was trying to send the patch with different encodings, auto, 7bit, but
> still without success (3-times). Which kind of "
> --transfer-encoding=(7bit|8bit|quoted-printable|base64" should I use for
> it? Is there an another way to submit the patch?
>
> Thank you,
> Andrej
>
> -----Original Message-----
> From: Andrej Valek <andrej.valek@siemens.com>
> Sent: Friday, May 1, 2020 10:26 AM
> To: openembedded-core@lists.openembedded.org
> Cc: Valek, Andrej (IOT DS EU SK SI-BP1) <andrej.valek@siemens.com>
> Subject: [OE-core][PATCH] icu: upgrade 66.1 -> 67.1
>
> - 0001-icu-Added-armeb-support.patch - rebased
> - 0001-Fix-big-endian-build.patch - removed, already included in new
> version
> - icu-pkgdata-large-cmd.patch - removed, implemented correct size
>
> Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
> ---
>  .../icu/icu/0001-Fix-big-endian-build.patch        | 28 -------------
>  .../icu/icu/0001-icu-Added-armeb-support.patch     |  6 +--
>  .../icu/icu/icu-pkgdata-large-cmd.patch            | 49
> ----------------------
>  .../icu/{icu_66.1.bb
> <https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ficu_66.1.bb%2F&data=02%7C01%7Candrej.valek%40siemens.com%7C1c724f656fb6408072e008d7edd773f9%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239381926973091&sdata=zxraPp8VjOgyp260MtLNsgAOwb9ggQQb9FH8efsYACE%3D&reserved=0>
> => icu_67.1.bb
> <https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ficu_67.1.bb%2F&data=02%7C01%7Candrej.valek%40siemens.com%7C1c724f656fb6408072e008d7edd773f9%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239381926983087&sdata=48GrUBg7qV8Mo8IA8ZREi8hXxtvvVgVOKLo7NR9nvyI%3D&reserved=0>}
>              |  7 +---
>  4 files changed, 5 insertions(+), 85 deletions(-)  delete mode 100644
> meta/recipes-support/icu/icu/0001-Fix-big-endian-build.patch
>  delete mode 100644
> meta/recipes-support/icu/icu/icu-pkgdata-large-cmd.patch
>  rename meta/recipes-support/icu/{icu_66.1.bb
> <https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ficu_66.1.bb%2F&data=02%7C01%7Candrej.valek%40siemens.com%7C1c724f656fb6408072e008d7edd773f9%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239381926993086&sdata=%2BSKmNDusCLKcUbtirvP7NjYK3qH%2BTZ90o2Oczmwl3fM%3D&reserved=0>
> => icu_67.1.bb
> <https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ficu_67.1.bb%2F&data=02%7C01%7Candrej.valek%40siemens.com%7C1c724f656fb6408072e008d7edd773f9%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239381926993086&sdata=E7%2FtwzE3NBIxk773FmyMwWk2ECGVJnzru0whkfE43C8%3D&reserved=0>}
> (84%)
>
> diff --git a/meta/recipes-support/icu/icu/0001-Fix-big-endian-build.patch
> b/meta/recipes-support/icu/icu/0001-Fix-big-endian-build.patch
> deleted file mode 100644
> index 91d68848c7..0000000000
> --- a/meta/recipes-support/icu/icu/0001-Fix-big-endian-build.patch
> +++ /dev/null
> @@ -1,28 +0,0 @@
> -From 9be0b489a94b57419202c552022f25cb95bfac51 Mon Sep 17 00:00:00 2001
> -From: Alexander Kanavin <alex.kanavin@gmail.com>
> -Date: Wed, 17 Apr 2019 16:41:58 +0200
> -Subject: [PATCH] Fix big-endian build
> -
> -Bug-report:
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Funicode-org.atlassian.net%2Fbrowse%2FICU-20533&amp;data=02%7C01%7Candrej.valek%40siemens.com%7Cf699ca9e0c5e4e6a04f908d7eda96fbb%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239184284814122&amp;sdata=lkF0ueFchcq6kB67u%2BE52DnoJTVlb%2BhD5YtUQKo2TWI%3D&amp;reserved=0
> -Patch
> <https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Funicode-org.atlassian.net%2Fbrowse%2FICU-20533&data=02%7C01%7Candrej.valek%40siemens.com%7C1c724f656fb6408072e008d7edd773f9%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239381927003074&sdata=GeQlIuFMvw%2FwXqIFSzvoxFrkwmIWho%2F3QiFZPbHw7DM%3D&reserved=0>
> taken from:
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.gentoo.org%2F682170&amp;data=02%7C01%7Candrej.valek%40siemens.com%7Cf699ca9e0c5e4e6a04f908d7eda96fbb%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239184284814122&amp;sdata=GiOAPhwkklHKkOtWwBWk6RdbyvvHiNGii7U1psFjhx8%3D&amp;reserved=0
> <https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.gentoo.org%2F682170&data=02%7C01%7Candrej.valek%40siemens.com%7C1c724f656fb6408072e008d7edd773f9%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239381927003074&sdata=ZdebW1mz1AoMB0yhQ69HOT1xQZGO%2Bc8MYabfeY2a5MU%3D&reserved=0>
> -
> -it is applied upstream and will be in version 67+
> -
> -Upstream-Status: Backport [
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Funicode-org%2Ficu%2Fcommit%2F4a3a457b38cd828b7b3fa4fdbc6e2504a57275e9&amp;data=02%7C01%7Candrej.valek%40siemens.com%7Cf699ca9e0c5e4e6a04f908d7eda96fbb%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239184284814122&amp;sdata=sqj%2B6HJBvmGjkMFTUOoW2%2F9pHppNCQDhjp4pufpfSDM%3D&amp;reserved=0
> <https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Funicode-org%2Ficu%2Fcommit%2F4a3a457b38cd828b7b3fa4fdbc6e2504a57275e9&data=02%7C01%7Candrej.valek%40siemens.com%7C1c724f656fb6408072e008d7edd773f9%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239381927013074&sdata=psqN6XbYwxBmVx8Rsdbgweeg6Pah65H5ofBwYH9RZME%3D&reserved=0>
> ]
> -Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
> ----
> - data/Makefile.in | 3 ++-
> - 1 file changed, 2 insertions(+), 1 deletion(-)
> -
> ---- a/data/Makefile.in
> -+++ b/data/Makefile.in
> -@@ -148,7 +148,8 @@ ICUDATA_ARCHIVE = $(firstword $(wildcard
> - # and convert it to the current type.
> - ifneq ($(ICUDATA_ARCHIVE),)
> - ICUDATA_SOURCE_ARCHIVE = $(OUTDIR)/$(ICUDATA_PLATFORM_NAME).dat
> --$(ICUDATA_SOURCE_ARCHIVE): $(ICUDATA_ARCHIVE) $(OUTDIR)
> -+$(ICUDATA_SOURCE_ARCHIVE): $(ICUDATA_ARCHIVE)
> -+      $(MKINSTALLDIRS) $(OUTDIR)
> -       $(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR)
> $(ICUDATA_ARCHIVE) $(ICUDATA_SOURCE_ARCHIVE)
> - endif
> - else
> diff --git
> a/meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch
> b/meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch
> index 299689d95c..145efc0e01 100644
> --- a/meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch
> +++ b/meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch
> @@ -13,10 +13,10 @@ Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
>  diff --git a/i18n/double-conversion-utils.h
> b/i18n/double-conversion-utils.h -index 1e44fca..e4f2a8b 100644
> +index 8c6a0e1..cf89907 100644
>  --- a/i18n/double-conversion-utils.h
>  +++ b/i18n/double-conversion-utils.h
> -@@ -92,7 +92,7 @@ int main(int argc, char** argv) {
> +@@ -115,7 +115,7 @@ int main(int argc, char** argv) {
>   //
>   // If it prints "correct" then the architecture should be here, in the
> "correct" section.
>   #if defined(_M_X64) || defined(__x86_64__) || \ @@ -24,7 +24,7 @@ index
> 1e44fca..e4f2a8b 100644
>  +    defined(__arm__) || defined(__avr32__) || defined(_M_ARM) ||
> defined(_M_ARM64) || \
>       defined(__hppa__) || defined(__ia64__) || \
>       defined(__mips__) || \
> -     defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__) || \
> +     defined(__nios2__) || \
>  --
>  2.7.4
>
> diff --git a/meta/recipes-support/icu/icu/icu-pkgdata-large-cmd.patch
> b/meta/recipes-support/icu/icu/icu-pkgdata-large-cmd.patch
> deleted file mode 100644
> index e758a623ef..0000000000
> --- a/meta/recipes-support/icu/icu/icu-pkgdata-large-cmd.patch
> +++ /dev/null
> @@ -1,49 +0,0 @@
> -pkgdata.cpp: use LARGE_BUFFER_MAX_SIZE for cmd
> -
> -Use LARGE_BUFFER_MAX_SIZE for cmd rather than SMALL_BUFFER_MAX_SIZE,
> -otherwise there was a Segmentation fault error when the command line is
> -long, this should be a misplay since other cmd uses -LARGE_BUFFER_MAX_SIZE.
> -
> -Upstream-Status: Pending
> -
> -Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
> -Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
> ----
> - tools/pkgdata/pkgdata.cpp | 6 +++---
> - 1 file changed, 3 insertions(+), 3 deletions(-)
> -
> -diff --git a/tools/pkgdata/pkgdata.cpp b/tools/pkgdata/pkgdata.cpp -index
> 60167dd..506dd32 100644
> ---- a/tools/pkgdata/pkgdata.cpp
> -+++ b/tools/pkgdata/pkgdata.cpp
> -@@ -1084,7 +1084,7 @@ normal_symlink_mode:
> -
> - static int32_t pkg_installLibrary(const char *installDir, const char
> *targetDir, UBool noVersion) {
> -     int32_t result = 0;
> --    char cmd[SMALL_BUFFER_MAX_SIZE];
> -+    char cmd[LARGE_BUFFER_MAX_SIZE];
> -
> -     sprintf(cmd, "cd %s && %s %s %s%s%s",
> -             targetDir,
> -@@ -1152,7 +1152,7 @@ static int32_t pkg_installLibrary(const char
> *installDir, const char *targetDir,
> -
> - static int32_t pkg_installCommonMode(const char *installDir, const char
> *fileName) {
> -     int32_t result = 0;
> --    char cmd[SMALL_BUFFER_MAX_SIZE] = "";
> -+    char cmd[LARGE_BUFFER_MAX_SIZE] = "";
> -
> -     if (!T_FileStream_file_exists(installDir)) {
> -         UErrorCode status = U_ZERO_ERROR;
> -@@ -1184,7 +1184,7 @@ static int32_t pkg_installCommonMode(const char
> *installDir, const char *fileNam
> - #endif
> - static int32_t pkg_installFileMode(const char *installDir, const char
> *srcDir, const char *fileListName) {
> -     int32_t result = 0;
> --    char cmd[SMALL_BUFFER_MAX_SIZE] = "";
> -+    char cmd[LARGE_BUFFER_MAX_SIZE] = "";
> -
> -     if (!T_FileStream_file_exists(installDir)) {
> -         UErrorCode status = U_ZERO_ERROR;
> ---
> -1.9.1
> -
> diff --git a/meta/recipes-support/icu/icu_66.1.bb
> <https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ficu_66.1.bb%2F&data=02%7C01%7Candrej.valek%40siemens.com%7C1c724f656fb6408072e008d7edd773f9%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239381927013074&sdata=8A2U9BNmLsvQBfn%2B7hWB9lEPQ8iFX11RN%2B8GgqMlVUI%3D&reserved=0>
> b/meta/recipes-support/icu/icu_67.1.bb
> <https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ficu_67.1.bb%2F&data=02%7C01%7Candrej.valek%40siemens.com%7C1c724f656fb6408072e008d7edd773f9%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239381927023064&sdata=sdwWHyP86Q11%2FjPEFcA%2BfVqezaMF%2BSCl01w7QpJSPR4%3D&reserved=0>
> similarity index 84%
> rename from meta/recipes-support/icu/icu_66.1.bb
> <https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ficu_66.1.bb%2F&data=02%7C01%7Candrej.valek%40siemens.com%7C1c724f656fb6408072e008d7edd773f9%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239381927023064&sdata=dBrO46zYdY2VCSlvidaM2gfLPbUSFziY%2FR5i0mE1rGs%3D&reserved=0>
> rename to meta/recipes-support/icu/icu_67.1.bb
> <https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ficu_67.1.bb%2F&data=02%7C01%7Candrej.valek%40siemens.com%7C1c724f656fb6408072e008d7edd773f9%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239381927033058&sdata=g86xWHlgzTBfM4W4Sdt1a7f9K4lf1afDCXmkx5BslBg%3D&reserved=0>
> index f2bb344e33..58638507c9 100644
> --- a/meta/recipes-support/icu/icu_66.1.bb
> <https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ficu_66.1.bb%2F&data=02%7C01%7Candrej.valek%40siemens.com%7C1c724f656fb6408072e008d7edd773f9%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239381927033058&sdata=eWZxd3AEILxwRQnAyL1rr7hgvKW3pmqrpyZhgcxR28A%3D&reserved=0>
> +++ b/meta/recipes-support/icu/icu_67.1.bb
> <https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ficu_67.1.bb%2F&data=02%7C01%7Candrej.valek%40siemens.com%7C1c724f656fb6408072e008d7edd773f9%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239381927043054&sdata=bufGBYU0lwyKjciaA4%2F9YuKtK24mEB6WaukjQ%2BYp%2BoI%3D&reserved=0>
> @@ -22,17 +22,15 @@ DATA_SRC_URI = "
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Funicode-org%2Ficu%2Freleases%2Fdownload%2Frelease-%24&amp;data=02%7C01%7Candrej.valek%40siemens.com%7Cf699ca9e0c5e4e6a04f908d7eda96fbb%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239184284814122&amp;sdata=tOWF0krhT2h0ba16I8RDpLLqZglg4o48ULQg5xW7OjI%3D&amp;reserved=0{I
> <https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Funicode-org%2Ficu%2Freleases%2Fdownload%2Frelease-%24&data=02%7C01%7Candrej.valek%40siemens.com%7C1c724f656fb6408072e008d7edd773f9%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239381927043054&sdata=aHkFn%2BSTLY2Md8NXia1oXr5q%2FyQEbtA2Che%2FXBqayvQ%3D&reserved=0>
>  SRC_URI = "${BASE_SRC_URI};name=code \
>             ${DATA_SRC_URI};name=data \
>             file://filter.json \
> -           file://icu-pkgdata-large-cmd.patch \
>             file://fix-install-manx.patch \
> -           file://0001-Fix-big-endian-build.patch;apply=no \
>             file://0001-icu-Added-armeb-support.patch \
>             "
>
>  SRC_URI_append_class-target = "\
>             file://0001-Disable-LDFLAGSICUDT-for-Linux.patch \
>            "
> -SRC_URI[code.sha256sum] =
> "52a3f2209ab95559c1cf0a14f24338001f389615bf00e2585ef3dbc43ecf0a2e"
> -SRC_URI[data.sha256sum] =
> "8be647f738891d2beb79d48f99077b3499948430eae6f1be112553b15ab0243e"
> +SRC_URI[code.sha256sum] =
> "94a80cd6f251a53bd2a997f6f1b5ac6653fe791dfab66e1eb0227740fb86d5dc"
> +SRC_URI[data.sha256sum] =
> "7c16a59cc8c06128b7ecc1dc4fc056b36b17349312829b17408b9e67b05c4a7e"
>
>  UPSTREAM_CHECK_REGEX = "icu4c-(?P<pver>\d+(_\d+)+)-src"
>  UPSTREAM_CHECK_URI = "
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Funicode-org%2Ficu%2Freleases&amp;data=02%7C01%7Candrej.valek%40siemens.com%7Cf699ca9e0c5e4e6a04f908d7eda96fbb%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239184284814122&amp;sdata=oc4vNTJru5V9fuwz7ODlmQDVMB8EQF6EkXT1mfGM1gA%3D&amp;reserved=0
> <https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Funicode-org%2Ficu%2Freleases&data=02%7C01%7Candrej.valek%40siemens.com%7C1c724f656fb6408072e008d7edd773f9%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239381927053047&sdata=VU1FSQ3KdwZ4RzkUGyyM2bdRmQkLUHnFktqvAJ6KdQQ%3D&reserved=0>
> "
> @@ -43,7 +41,6 @@ do_make_icudata_class-target () {
>      cd ${S}
>      rm -rf data
>      cp -a ${WORKDIR}/data .
> -    patch -p1 < ${WORKDIR}/0001-Fix-big-endian-build.patch
>      AR='${BUILD_AR}' \
>      CC='${BUILD_CC}' \
>      CPP='${BUILD_CPP}' \
> --
> 2.11.0
>
>

[-- Attachment #2: Type: text/html, Size: 19753 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [OE-core][PATCH] icu: upgrade 66.1 -> 67.1
  2020-05-01 22:16       ` Alexander Kanavin
@ 2020-05-02 17:28         ` Andrej Valek
  2020-05-05  7:56           ` Andrej Valek
  0 siblings, 1 reply; 18+ messages in thread
From: Andrej Valek @ 2020-05-02 17:28 UTC (permalink / raw)
  To: Alexander Kanavin, Richard Purdie, openembedded-core

[-- Attachment #1: Type: text/plain, Size: 16657 bytes --]

Do I have to send the patch again , even if there is no change?

Isn’t it better, that Richard can take this patch from PR, where all sending issues are covered?

Regards,
Andrej

From: openembedded-core@lists.openembedded.org <openembedded-core@lists.openembedded.org> On Behalf Of Alexander Kanavin
Sent: Saturday, May 2, 2020 12:16 AM
To: Valek, Andrej (IOT DS EU SK SI-BP1) <andrej.valek@siemens.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [OE-core][PATCH] icu: upgrade 66.1 -> 67.1

Right, I think it's fine to send a patch once more, and then follow up the patchwork error with a notice that the patch must be applied with --keep-cr (which I guess patchwork doesn't do).

Alex

On Fri, 1 May 2020 at 18:52, Valek, Andrej <andrej.valek@siemens.com<mailto:andrej.valek@siemens.com>> wrote:
Hello Alex,

I have create a PR (https://github.com/openembedded/openembedded-core/pull/62<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenembedded%2Fopenembedded-core%2Fpull%2F62&data=02%7C01%7Candrej.valek%40siemens.com%7C3eaead11a61d47e4f65108d7ee1d4f72%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239681963550368&sdata=nzw2fHdUGxe5f9ZMFXLAGTRv9rUiU3rNAbFfWwET%2BC0%3D&reserved=0>). You can directly take a look on it there.

As I have already said, the problematic is “0001-Fix-big-endian-build.patch”.

Regards,
Andrej

From: Alexander Kanavin <alex.kanavin@gmail.com<mailto:alex.kanavin@gmail.com>>
Sent: Friday, May 1, 2020 3:56 PM
To: Valek, Andrej (IOT DS EU SK SI-BP1) <andrej.valek@siemens.com<mailto:andrej.valek@siemens.com>>
Cc: openembedded-core@lists.openembedded.org<mailto:openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core][PATCH] icu: upgrade 66.1 -> 67.1

Hello Andrej,

can you publish the patch in git somewhere so I could take a look at exactly what goes wrong? Occasionally we have patches that can't make it through the mailing list for whatever reason, then RP pulls them directly from git on request.

Alex

On Fri, 1 May 2020 at 15:48, Valek, Andrej <andrej.valek@siemens.com<mailto:andrej.valek@siemens.com>> wrote:
Hello Alex,

I wanted to upgrade ICU to 67.1 release but without success. Locally it was working as well. When I was trying to apply the upgrading patch it failed. I realized that, there are mixed line endings Linux/Windows. I am able to apply patch with "git am --keep-cr", but It's still failing on patchwork.

I was trying to send the patch with different encodings, auto, 7bit, but still without success (3-times). Which kind of " --transfer-encoding=(7bit|8bit|quoted-printable|base64" should I use for it? Is there an another way to submit the patch?

Thank you,
Andrej

-----Original Message-----
From: Andrej Valek <andrej.valek@siemens.com<mailto:andrej.valek@siemens.com>>
Sent: Friday, May 1, 2020 10:26 AM
To: openembedded-core@lists.openembedded.org<mailto:openembedded-core@lists.openembedded.org>
Cc: Valek, Andrej (IOT DS EU SK SI-BP1) <andrej.valek@siemens.com<mailto:andrej.valek@siemens.com>>
Subject: [OE-core][PATCH] icu: upgrade 66.1 -> 67.1

- 0001-icu-Added-armeb-support.patch - rebased
- 0001-Fix-big-endian-build.patch - removed, already included in new version
- icu-pkgdata-large-cmd.patch - removed, implemented correct size

Signed-off-by: Andrej Valek <andrej.valek@siemens.com<mailto:andrej.valek@siemens.com>>
---
 .../icu/icu/0001-Fix-big-endian-build.patch        | 28 -------------
 .../icu/icu/0001-icu-Added-armeb-support.patch     |  6 +--
 .../icu/icu/icu-pkgdata-large-cmd.patch            | 49 ----------------------
 .../icu/{icu_66.1.bb<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ficu_66.1.bb%2F&data=02%7C01%7Candrej.valek%40siemens.com%7C3eaead11a61d47e4f65108d7ee1d4f72%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239681963560360&sdata=GWvcSqzxYdE3yX7wVcacJ%2FFOlU8KA87O0KVGpWepbOA%3D&reserved=0> => icu_67.1.bb<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ficu_67.1.bb%2F&data=02%7C01%7Candrej.valek%40siemens.com%7C3eaead11a61d47e4f65108d7ee1d4f72%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239681963560360&sdata=ENAQZXZqFOk%2Bz2sEpPcZ31sG%2B3EUKdJ8qBPOyhq3Ros%3D&reserved=0>}               |  7 +---
 4 files changed, 5 insertions(+), 85 deletions(-)  delete mode 100644 meta/recipes-support/icu/icu/0001-Fix-big-endian-build.patch
 delete mode 100644 meta/recipes-support/icu/icu/icu-pkgdata-large-cmd.patch
 rename meta/recipes-support/icu/{icu_66.1.bb<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ficu_66.1.bb%2F&data=02%7C01%7Candrej.valek%40siemens.com%7C3eaead11a61d47e4f65108d7ee1d4f72%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239681963570351&sdata=30YsSyzjtuYUmFVzPRYCjHBYTc6c43biCLGqTmnbF4o%3D&reserved=0> => icu_67.1.bb<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ficu_67.1.bb%2F&data=02%7C01%7Candrej.valek%40siemens.com%7C3eaead11a61d47e4f65108d7ee1d4f72%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239681963580346&sdata=YyWaa9WgrF66P%2B4QTrEjbJTSfVnOxO52L0mxElxmCjE%3D&reserved=0>} (84%)

diff --git a/meta/recipes-support/icu/icu/0001-Fix-big-endian-build.patch b/meta/recipes-support/icu/icu/0001-Fix-big-endian-build.patch
deleted file mode 100644
index 91d68848c7..0000000000
--- a/meta/recipes-support/icu/icu/0001-Fix-big-endian-build.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 9be0b489a94b57419202c552022f25cb95bfac51 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com<mailto:alex.kanavin@gmail.com>>
-Date: Wed, 17 Apr 2019 16:41:58 +0200
-Subject: [PATCH] Fix big-endian build
-
-Bug-report: https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Funicode-org.atlassian.net%2Fbrowse%2FICU-20533&amp;data=02%7C01%7Candrej.valek%40siemens.com%7Cf699ca9e0c5e4e6a04f908d7eda96fbb%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239184284814122&amp;sdata=lkF0ueFchcq6kB67u%2BE52DnoJTVlb%2BhD5YtUQKo2TWI%3D&amp;reserved=0
-Patch<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Funicode-org.atlassian.net%2Fbrowse%2FICU-20533&data=02%7C01%7Candrej.valek%40siemens.com%7C3eaead11a61d47e4f65108d7ee1d4f72%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239681963580346&sdata=5NZl%2FO6mGzRjWHVAkude5TBqYa7ex9n84A1bR%2BsBy5I%3D&reserved=0> taken from: https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.gentoo.org%2F682170&amp;data=02%7C01%7Candrej.valek%40siemens.com%7Cf699ca9e0c5e4e6a04f908d7eda96fbb%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239184284814122&amp;sdata=GiOAPhwkklHKkOtWwBWk6RdbyvvHiNGii7U1psFjhx8%3D&amp;reserved=0<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.gentoo.org%2F682170&data=02%7C01%7Candrej.valek%40siemens.com%7C3eaead11a61d47e4f65108d7ee1d4f72%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239681963590341&sdata=IKD50KPq8GBL7PfPU4U77P5xxA4JxkV7R6onHB2gGjc%3D&reserved=0>
-
-it is applied upstream and will be in version 67+
-
-Upstream-Status: Backport [https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Funicode-org%2Ficu%2Fcommit%2F4a3a457b38cd828b7b3fa4fdbc6e2504a57275e9&amp;data=02%7C01%7Candrej.valek%40siemens.com%7Cf699ca9e0c5e4e6a04f908d7eda96fbb%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239184284814122&amp;sdata=sqj%2B6HJBvmGjkMFTUOoW2%2F9pHppNCQDhjp4pufpfSDM%3D&amp;reserved=0<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Funicode-org%2Ficu%2Fcommit%2F4a3a457b38cd828b7b3fa4fdbc6e2504a57275e9&data=02%7C01%7Candrej.valek%40siemens.com%7C3eaead11a61d47e4f65108d7ee1d4f72%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239681963590341&sdata=JDoRn17e4O%2BN%2FS5VCoS9BD2xqTYItr5GilK3y3Hoyw0%3D&reserved=0>]
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com<mailto:alex.kanavin@gmail.com>>
----
- data/Makefile.in | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
---- a/data/Makefile.in
-+++ b/data/Makefile.in
-@@ -148,7 +148,8 @@ ICUDATA_ARCHIVE = $(firstword $(wildcard
- # and convert it to the current type.
- ifneq ($(ICUDATA_ARCHIVE),)
- ICUDATA_SOURCE_ARCHIVE = $(OUTDIR)/$(ICUDATA_PLATFORM_NAME).dat
--$(ICUDATA_SOURCE_ARCHIVE): $(ICUDATA_ARCHIVE) $(OUTDIR)
-+$(ICUDATA_SOURCE_ARCHIVE): $(ICUDATA_ARCHIVE)
-+      $(MKINSTALLDIRS) $(OUTDIR)
-       $(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR) $(ICUDATA_ARCHIVE) $(ICUDATA_SOURCE_ARCHIVE)
- endif
- else
diff --git a/meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch b/meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch
index 299689d95c..145efc0e01 100644
--- a/meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch
+++ b/meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch
@@ -13,10 +13,10 @@ Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com<mailto:leimaohui@cn.fujitsu.com>>
  1 file changed, 1 insertion(+), 1 deletion(-)

 diff --git a/i18n/double-conversion-utils.h b/i18n/double-conversion-utils.h -index 1e44fca..e4f2a8b 100644
+index 8c6a0e1..cf89907 100644
 --- a/i18n/double-conversion-utils.h
 +++ b/i18n/double-conversion-utils.h
-@@ -92,7 +92,7 @@ int main(int argc, char** argv) {
+@@ -115,7 +115,7 @@ int main(int argc, char** argv) {
  //
  // If it prints "correct" then the architecture should be here, in the "correct" section.
  #if defined(_M_X64) || defined(__x86_64__) || \ @@ -24,7 +24,7 @@ index 1e44fca..e4f2a8b 100644
 +    defined(__arm__) || defined(__avr32__) || defined(_M_ARM) || defined(_M_ARM64) || \
      defined(__hppa__) || defined(__ia64__) || \
      defined(__mips__) || \
-     defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__) || \
+     defined(__nios2__) || \
 --
 2.7.4

diff --git a/meta/recipes-support/icu/icu/icu-pkgdata-large-cmd.patch b/meta/recipes-support/icu/icu/icu-pkgdata-large-cmd.patch
deleted file mode 100644
index e758a623ef..0000000000
--- a/meta/recipes-support/icu/icu/icu-pkgdata-large-cmd.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-pkgdata.cpp: use LARGE_BUFFER_MAX_SIZE for cmd
-
-Use LARGE_BUFFER_MAX_SIZE for cmd rather than SMALL_BUFFER_MAX_SIZE, -otherwise there was a Segmentation fault error when the command line is -long, this should be a misplay since other cmd uses -LARGE_BUFFER_MAX_SIZE.
-
-Upstream-Status: Pending
-
-Signed-off-by: Robert Yang <liezhi.yang@windriver.com<mailto:liezhi.yang@windriver.com>>
-Signed-off-by: Jackie Huang <jackie.huang@windriver.com<mailto:jackie.huang@windriver.com>>
----
- tools/pkgdata/pkgdata.cpp | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/tools/pkgdata/pkgdata.cpp b/tools/pkgdata/pkgdata.cpp -index 60167dd..506dd32 100644
---- a/tools/pkgdata/pkgdata.cpp
-+++ b/tools/pkgdata/pkgdata.cpp
-@@ -1084,7 +1084,7 @@ normal_symlink_mode:
-
- static int32_t pkg_installLibrary(const char *installDir, const char *targetDir, UBool noVersion) {
-     int32_t result = 0;
--    char cmd[SMALL_BUFFER_MAX_SIZE];
-+    char cmd[LARGE_BUFFER_MAX_SIZE];
-
-     sprintf(cmd, "cd %s && %s %s %s%s%s",
-             targetDir,
-@@ -1152,7 +1152,7 @@ static int32_t pkg_installLibrary(const char *installDir, const char *targetDir,
-
- static int32_t pkg_installCommonMode(const char *installDir, const char *fileName) {
-     int32_t result = 0;
--    char cmd[SMALL_BUFFER_MAX_SIZE] = "";
-+    char cmd[LARGE_BUFFER_MAX_SIZE] = "";
-
-     if (!T_FileStream_file_exists(installDir)) {
-         UErrorCode status = U_ZERO_ERROR;
-@@ -1184,7 +1184,7 @@ static int32_t pkg_installCommonMode(const char *installDir, const char *fileNam
- #endif
- static int32_t pkg_installFileMode(const char *installDir, const char *srcDir, const char *fileListName) {
-     int32_t result = 0;
--    char cmd[SMALL_BUFFER_MAX_SIZE] = "";
-+    char cmd[LARGE_BUFFER_MAX_SIZE] = "";
-
-     if (!T_FileStream_file_exists(installDir)) {
-         UErrorCode status = U_ZERO_ERROR;
---
-1.9.1
-
diff --git a/meta/recipes-support/icu/icu_66.1.bb<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ficu_66.1.bb%2F&data=02%7C01%7Candrej.valek%40siemens.com%7C3eaead11a61d47e4f65108d7ee1d4f72%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239681963600338&sdata=qGDpecUgYckUBDVWlwNXcr3y0MBimIsdpccLGvAD1O8%3D&reserved=0> b/meta/recipes-support/icu/icu_67.1.bb<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ficu_67.1.bb%2F&data=02%7C01%7Candrej.valek%40siemens.com%7C3eaead11a61d47e4f65108d7ee1d4f72%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239681963610329&sdata=E6Wk3MzUv9k3M6%2F6QANiSYhgs4zkEk78n6Wngczo6%2Fs%3D&reserved=0>
similarity index 84%
rename from meta/recipes-support/icu/icu_66.1.bb<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ficu_66.1.bb%2F&data=02%7C01%7Candrej.valek%40siemens.com%7C3eaead11a61d47e4f65108d7ee1d4f72%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239681963610329&sdata=78y1xPXO%2Bi99MHB3g17Sk3I8%2FSC0Xsjq5sdIvb01UK4%3D&reserved=0>
rename to meta/recipes-support/icu/icu_67.1.bb<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ficu_67.1.bb%2F&data=02%7C01%7Candrej.valek%40siemens.com%7C3eaead11a61d47e4f65108d7ee1d4f72%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239681963620323&sdata=mf3pOA6%2FOZS%2F5r2yVLSemPFSvlHJnhza9XpyUkRhVwM%3D&reserved=0>
index f2bb344e33..58638507c9 100644
--- a/meta/recipes-support/icu/icu_66.1.bb<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ficu_66.1.bb%2F&data=02%7C01%7Candrej.valek%40siemens.com%7C3eaead11a61d47e4f65108d7ee1d4f72%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239681963620323&sdata=Lvk67DWQUgJ4ZSEvFpO6b3s1U5RUZVoPwYm2r0%2BkjxI%3D&reserved=0>
+++ b/meta/recipes-support/icu/icu_67.1.bb<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ficu_67.1.bb%2F&data=02%7C01%7Candrej.valek%40siemens.com%7C3eaead11a61d47e4f65108d7ee1d4f72%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239681963630318&sdata=a%2FSUVl1%2BPu%2BJU4A3Bi1bMXNcJMawYZV5tnPrPuNGVKY%3D&reserved=0>
@@ -22,17 +22,15 @@ DATA_SRC_URI = "https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Funicode-org%2Ficu%2Freleases%2Fdownload%2Frelease-%24&amp;data=02%7C01%7Candrej.valek%40siemens.com%7Cf699ca9e0c5e4e6a04f908d7eda96fbb%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239184284814122&amp;sdata=tOWF0krhT2h0ba16I8RDpLLqZglg4o48ULQg5xW7OjI%3D&amp;reserved=0{I<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Funicode-org%2Ficu%2Freleases%2Fdownload%2Frelease-%24&data=02%7C01%7Candrej.valek%40siemens.com%7C3eaead11a61d47e4f65108d7ee1d4f72%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239681963630318&sdata=SRPiRKvOdXjt8w0XUqvmtLEXPdsLMnW40i3K3f7E%2BRA%3D&reserved=0>
 SRC_URI = "${BASE_SRC_URI};name=code \
            ${DATA_SRC_URI};name=data \
            file://filter.json \
-           file://icu-pkgdata-large-cmd.patch \
            file://fix-install-manx.patch \
-           file://0001-Fix-big-endian-build.patch;apply=no \
            file://0001-icu-Added-armeb-support.patch \
            "

 SRC_URI_append_class-target = "\
            file://0001-Disable-LDFLAGSICUDT-for-Linux.patch \
           "
-SRC_URI[code.sha256sum] = "52a3f2209ab95559c1cf0a14f24338001f389615bf00e2585ef3dbc43ecf0a2e"
-SRC_URI[data.sha256sum] = "8be647f738891d2beb79d48f99077b3499948430eae6f1be112553b15ab0243e"
+SRC_URI[code.sha256sum] = "94a80cd6f251a53bd2a997f6f1b5ac6653fe791dfab66e1eb0227740fb86d5dc"
+SRC_URI[data.sha256sum] = "7c16a59cc8c06128b7ecc1dc4fc056b36b17349312829b17408b9e67b05c4a7e"

 UPSTREAM_CHECK_REGEX = "icu4c-(?P<pver>\d+(_\d+)+)-src"
 UPSTREAM_CHECK_URI = "https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Funicode-org%2Ficu%2Freleases&amp;data=02%7C01%7Candrej.valek%40siemens.com%7Cf699ca9e0c5e4e6a04f908d7eda96fbb%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239184284814122&amp;sdata=oc4vNTJru5V9fuwz7ODlmQDVMB8EQF6EkXT1mfGM1gA%3D&amp;reserved=0<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Funicode-org%2Ficu%2Freleases&data=02%7C01%7Candrej.valek%40siemens.com%7C3eaead11a61d47e4f65108d7ee1d4f72%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239681963640314&sdata=XOCFTcVSX9EOWIaA0Xg4f6ZFZjbTqHkC8pwnui5C1OQ%3D&reserved=0>"
@@ -43,7 +41,6 @@ do_make_icudata_class-target () {
     cd ${S}
     rm -rf data
     cp -a ${WORKDIR}/data .
-    patch -p1 < ${WORKDIR}/0001-Fix-big-endian-build.patch
     AR='${BUILD_AR}' \
     CC='${BUILD_CC}' \
     CPP='${BUILD_CPP}' \
--
2.11.0

[-- Attachment #2: Type: text/html, Size: 24803 bytes --]

^ permalink raw reply related	[flat|nested] 18+ messages in thread

* Re: [OE-core][PATCH] icu: upgrade 66.1 -> 67.1
  2020-05-02 17:28         ` Andrej Valek
@ 2020-05-05  7:56           ` Andrej Valek
  2020-05-05  8:11             ` Richard Purdie
  0 siblings, 1 reply; 18+ messages in thread
From: Andrej Valek @ 2020-05-05  7:56 UTC (permalink / raw)
  To: Richard Purdie, openembedded-core; +Cc: Alexander Kanavin

[-- Attachment #1: Type: text/plain, Size: 17198 bytes --]

Hello Richard,

Could you please take a look on it?

Thank you,
Andrej

From: Valek, Andrej (IOT DS EU SK SI-BP1)
Sent: Saturday, May 2, 2020 7:28 PM
To: Alexander Kanavin <alex.kanavin@gmail.com>; Richard Purdie <richard.purdie@linuxfoundation.org>; openembedded-core@lists.openembedded.org
Subject: RE: [OE-core][PATCH] icu: upgrade 66.1 -> 67.1

Do I have to send the patch again , even if there is no change?

Isn’t it better, that Richard can take this patch from PR, where all sending issues are covered?

Regards,
Andrej

From: openembedded-core@lists.openembedded.org<mailto:openembedded-core@lists.openembedded.org> <openembedded-core@lists.openembedded.org<mailto:openembedded-core@lists.openembedded.org>> On Behalf Of Alexander Kanavin
Sent: Saturday, May 2, 2020 12:16 AM
To: Valek, Andrej (IOT DS EU SK SI-BP1) <andrej.valek@siemens.com<mailto:andrej.valek@siemens.com>>
Cc: openembedded-core@lists.openembedded.org<mailto:openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core][PATCH] icu: upgrade 66.1 -> 67.1

Right, I think it's fine to send a patch once more, and then follow up the patchwork error with a notice that the patch must be applied with --keep-cr (which I guess patchwork doesn't do).

Alex

On Fri, 1 May 2020 at 18:52, Valek, Andrej <andrej.valek@siemens.com<mailto:andrej.valek@siemens.com>> wrote:
Hello Alex,

I have create a PR (https://github.com/openembedded/openembedded-core/pull/62<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenembedded%2Fopenembedded-core%2Fpull%2F62&data=02%7C01%7Candrej.valek%40siemens.com%7C3eaead11a61d47e4f65108d7ee1d4f72%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239681963550368&sdata=nzw2fHdUGxe5f9ZMFXLAGTRv9rUiU3rNAbFfWwET%2BC0%3D&reserved=0>). You can directly take a look on it there.

As I have already said, the problematic is “0001-Fix-big-endian-build.patch”.

Regards,
Andrej

From: Alexander Kanavin <alex.kanavin@gmail.com<mailto:alex.kanavin@gmail.com>>
Sent: Friday, May 1, 2020 3:56 PM
To: Valek, Andrej (IOT DS EU SK SI-BP1) <andrej.valek@siemens.com<mailto:andrej.valek@siemens.com>>
Cc: openembedded-core@lists.openembedded.org<mailto:openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core][PATCH] icu: upgrade 66.1 -> 67.1

Hello Andrej,

can you publish the patch in git somewhere so I could take a look at exactly what goes wrong? Occasionally we have patches that can't make it through the mailing list for whatever reason, then RP pulls them directly from git on request.

Alex

On Fri, 1 May 2020 at 15:48, Valek, Andrej <andrej.valek@siemens.com<mailto:andrej.valek@siemens.com>> wrote:
Hello Alex,

I wanted to upgrade ICU to 67.1 release but without success. Locally it was working as well. When I was trying to apply the upgrading patch it failed. I realized that, there are mixed line endings Linux/Windows. I am able to apply patch with "git am --keep-cr", but It's still failing on patchwork.

I was trying to send the patch with different encodings, auto, 7bit, but still without success (3-times). Which kind of " --transfer-encoding=(7bit|8bit|quoted-printable|base64" should I use for it? Is there an another way to submit the patch?

Thank you,
Andrej

-----Original Message-----
From: Andrej Valek <andrej.valek@siemens.com<mailto:andrej.valek@siemens.com>>
Sent: Friday, May 1, 2020 10:26 AM
To: openembedded-core@lists.openembedded.org<mailto:openembedded-core@lists.openembedded.org>
Cc: Valek, Andrej (IOT DS EU SK SI-BP1) <andrej.valek@siemens.com<mailto:andrej.valek@siemens.com>>
Subject: [OE-core][PATCH] icu: upgrade 66.1 -> 67.1

- 0001-icu-Added-armeb-support.patch - rebased
- 0001-Fix-big-endian-build.patch - removed, already included in new version
- icu-pkgdata-large-cmd.patch - removed, implemented correct size

Signed-off-by: Andrej Valek <andrej.valek@siemens.com<mailto:andrej.valek@siemens.com>>
---
 .../icu/icu/0001-Fix-big-endian-build.patch        | 28 -------------
 .../icu/icu/0001-icu-Added-armeb-support.patch     |  6 +--
 .../icu/icu/icu-pkgdata-large-cmd.patch            | 49 ----------------------
 .../icu/{icu_66.1.bb<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ficu_66.1.bb%2F&data=02%7C01%7Candrej.valek%40siemens.com%7C3eaead11a61d47e4f65108d7ee1d4f72%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239681963560360&sdata=GWvcSqzxYdE3yX7wVcacJ%2FFOlU8KA87O0KVGpWepbOA%3D&reserved=0> => icu_67.1.bb<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ficu_67.1.bb%2F&data=02%7C01%7Candrej.valek%40siemens.com%7C3eaead11a61d47e4f65108d7ee1d4f72%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239681963560360&sdata=ENAQZXZqFOk%2Bz2sEpPcZ31sG%2B3EUKdJ8qBPOyhq3Ros%3D&reserved=0>}               |  7 +---
 4 files changed, 5 insertions(+), 85 deletions(-)  delete mode 100644 meta/recipes-support/icu/icu/0001-Fix-big-endian-build.patch
 delete mode 100644 meta/recipes-support/icu/icu/icu-pkgdata-large-cmd.patch
 rename meta/recipes-support/icu/{icu_66.1.bb<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ficu_66.1.bb%2F&data=02%7C01%7Candrej.valek%40siemens.com%7C3eaead11a61d47e4f65108d7ee1d4f72%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239681963570351&sdata=30YsSyzjtuYUmFVzPRYCjHBYTc6c43biCLGqTmnbF4o%3D&reserved=0> => icu_67.1.bb<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ficu_67.1.bb%2F&data=02%7C01%7Candrej.valek%40siemens.com%7C3eaead11a61d47e4f65108d7ee1d4f72%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239681963580346&sdata=YyWaa9WgrF66P%2B4QTrEjbJTSfVnOxO52L0mxElxmCjE%3D&reserved=0>} (84%)

diff --git a/meta/recipes-support/icu/icu/0001-Fix-big-endian-build.patch b/meta/recipes-support/icu/icu/0001-Fix-big-endian-build.patch
deleted file mode 100644
index 91d68848c7..0000000000
--- a/meta/recipes-support/icu/icu/0001-Fix-big-endian-build.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 9be0b489a94b57419202c552022f25cb95bfac51 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com<mailto:alex.kanavin@gmail.com>>
-Date: Wed, 17 Apr 2019 16:41:58 +0200
-Subject: [PATCH] Fix big-endian build
-
-Bug-report: https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Funicode-org.atlassian.net%2Fbrowse%2FICU-20533&amp;data=02%7C01%7Candrej.valek%40siemens.com%7Cf699ca9e0c5e4e6a04f908d7eda96fbb%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239184284814122&amp;sdata=lkF0ueFchcq6kB67u%2BE52DnoJTVlb%2BhD5YtUQKo2TWI%3D&amp;reserved=0
-Patch<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Funicode-org.atlassian.net%2Fbrowse%2FICU-20533&data=02%7C01%7Candrej.valek%40siemens.com%7C3eaead11a61d47e4f65108d7ee1d4f72%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239681963580346&sdata=5NZl%2FO6mGzRjWHVAkude5TBqYa7ex9n84A1bR%2BsBy5I%3D&reserved=0> taken from: https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.gentoo.org%2F682170&amp;data=02%7C01%7Candrej.valek%40siemens.com%7Cf699ca9e0c5e4e6a04f908d7eda96fbb%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239184284814122&amp;sdata=GiOAPhwkklHKkOtWwBWk6RdbyvvHiNGii7U1psFjhx8%3D&amp;reserved=0<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.gentoo.org%2F682170&data=02%7C01%7Candrej.valek%40siemens.com%7C3eaead11a61d47e4f65108d7ee1d4f72%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239681963590341&sdata=IKD50KPq8GBL7PfPU4U77P5xxA4JxkV7R6onHB2gGjc%3D&reserved=0>
-
-it is applied upstream and will be in version 67+
-
-Upstream-Status: Backport [https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Funicode-org%2Ficu%2Fcommit%2F4a3a457b38cd828b7b3fa4fdbc6e2504a57275e9&amp;data=02%7C01%7Candrej.valek%40siemens.com%7Cf699ca9e0c5e4e6a04f908d7eda96fbb%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239184284814122&amp;sdata=sqj%2B6HJBvmGjkMFTUOoW2%2F9pHppNCQDhjp4pufpfSDM%3D&amp;reserved=0<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Funicode-org%2Ficu%2Fcommit%2F4a3a457b38cd828b7b3fa4fdbc6e2504a57275e9&data=02%7C01%7Candrej.valek%40siemens.com%7C3eaead11a61d47e4f65108d7ee1d4f72%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239681963590341&sdata=JDoRn17e4O%2BN%2FS5VCoS9BD2xqTYItr5GilK3y3Hoyw0%3D&reserved=0>]
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com<mailto:alex.kanavin@gmail.com>>
----
- data/Makefile.in | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
---- a/data/Makefile.in
-+++ b/data/Makefile.in
-@@ -148,7 +148,8 @@ ICUDATA_ARCHIVE = $(firstword $(wildcard
- # and convert it to the current type.
- ifneq ($(ICUDATA_ARCHIVE),)
- ICUDATA_SOURCE_ARCHIVE = $(OUTDIR)/$(ICUDATA_PLATFORM_NAME).dat
--$(ICUDATA_SOURCE_ARCHIVE): $(ICUDATA_ARCHIVE) $(OUTDIR)
-+$(ICUDATA_SOURCE_ARCHIVE): $(ICUDATA_ARCHIVE)
-+      $(MKINSTALLDIRS) $(OUTDIR)
-       $(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR) $(ICUDATA_ARCHIVE) $(ICUDATA_SOURCE_ARCHIVE)
- endif
- else
diff --git a/meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch b/meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch
index 299689d95c..145efc0e01 100644
--- a/meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch
+++ b/meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch
@@ -13,10 +13,10 @@ Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com<mailto:leimaohui@cn.fujitsu.com>>
  1 file changed, 1 insertion(+), 1 deletion(-)

 diff --git a/i18n/double-conversion-utils.h b/i18n/double-conversion-utils.h -index 1e44fca..e4f2a8b 100644
+index 8c6a0e1..cf89907 100644
 --- a/i18n/double-conversion-utils.h
 +++ b/i18n/double-conversion-utils.h
-@@ -92,7 +92,7 @@ int main(int argc, char** argv) {
+@@ -115,7 +115,7 @@ int main(int argc, char** argv) {
  //
  // If it prints "correct" then the architecture should be here, in the "correct" section.
  #if defined(_M_X64) || defined(__x86_64__) || \ @@ -24,7 +24,7 @@ index 1e44fca..e4f2a8b 100644
 +    defined(__arm__) || defined(__avr32__) || defined(_M_ARM) || defined(_M_ARM64) || \
      defined(__hppa__) || defined(__ia64__) || \
      defined(__mips__) || \
-     defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__) || \
+     defined(__nios2__) || \
 --
 2.7.4

diff --git a/meta/recipes-support/icu/icu/icu-pkgdata-large-cmd.patch b/meta/recipes-support/icu/icu/icu-pkgdata-large-cmd.patch
deleted file mode 100644
index e758a623ef..0000000000
--- a/meta/recipes-support/icu/icu/icu-pkgdata-large-cmd.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-pkgdata.cpp: use LARGE_BUFFER_MAX_SIZE for cmd
-
-Use LARGE_BUFFER_MAX_SIZE for cmd rather than SMALL_BUFFER_MAX_SIZE, -otherwise there was a Segmentation fault error when the command line is -long, this should be a misplay since other cmd uses -LARGE_BUFFER_MAX_SIZE.
-
-Upstream-Status: Pending
-
-Signed-off-by: Robert Yang <liezhi.yang@windriver.com<mailto:liezhi.yang@windriver.com>>
-Signed-off-by: Jackie Huang <jackie.huang@windriver.com<mailto:jackie.huang@windriver.com>>
----
- tools/pkgdata/pkgdata.cpp | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/tools/pkgdata/pkgdata.cpp b/tools/pkgdata/pkgdata.cpp -index 60167dd..506dd32 100644
---- a/tools/pkgdata/pkgdata.cpp
-+++ b/tools/pkgdata/pkgdata.cpp
-@@ -1084,7 +1084,7 @@ normal_symlink_mode:
-
- static int32_t pkg_installLibrary(const char *installDir, const char *targetDir, UBool noVersion) {
-     int32_t result = 0;
--    char cmd[SMALL_BUFFER_MAX_SIZE];
-+    char cmd[LARGE_BUFFER_MAX_SIZE];
-
-     sprintf(cmd, "cd %s && %s %s %s%s%s",
-             targetDir,
-@@ -1152,7 +1152,7 @@ static int32_t pkg_installLibrary(const char *installDir, const char *targetDir,
-
- static int32_t pkg_installCommonMode(const char *installDir, const char *fileName) {
-     int32_t result = 0;
--    char cmd[SMALL_BUFFER_MAX_SIZE] = "";
-+    char cmd[LARGE_BUFFER_MAX_SIZE] = "";
-
-     if (!T_FileStream_file_exists(installDir)) {
-         UErrorCode status = U_ZERO_ERROR;
-@@ -1184,7 +1184,7 @@ static int32_t pkg_installCommonMode(const char *installDir, const char *fileNam
- #endif
- static int32_t pkg_installFileMode(const char *installDir, const char *srcDir, const char *fileListName) {
-     int32_t result = 0;
--    char cmd[SMALL_BUFFER_MAX_SIZE] = "";
-+    char cmd[LARGE_BUFFER_MAX_SIZE] = "";
-
-     if (!T_FileStream_file_exists(installDir)) {
-         UErrorCode status = U_ZERO_ERROR;
---
-1.9.1
-
diff --git a/meta/recipes-support/icu/icu_66.1.bb<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ficu_66.1.bb%2F&data=02%7C01%7Candrej.valek%40siemens.com%7C3eaead11a61d47e4f65108d7ee1d4f72%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239681963600338&sdata=qGDpecUgYckUBDVWlwNXcr3y0MBimIsdpccLGvAD1O8%3D&reserved=0> b/meta/recipes-support/icu/icu_67.1.bb<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ficu_67.1.bb%2F&data=02%7C01%7Candrej.valek%40siemens.com%7C3eaead11a61d47e4f65108d7ee1d4f72%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239681963610329&sdata=E6Wk3MzUv9k3M6%2F6QANiSYhgs4zkEk78n6Wngczo6%2Fs%3D&reserved=0>
similarity index 84%
rename from meta/recipes-support/icu/icu_66.1.bb<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ficu_66.1.bb%2F&data=02%7C01%7Candrej.valek%40siemens.com%7C3eaead11a61d47e4f65108d7ee1d4f72%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239681963610329&sdata=78y1xPXO%2Bi99MHB3g17Sk3I8%2FSC0Xsjq5sdIvb01UK4%3D&reserved=0>
rename to meta/recipes-support/icu/icu_67.1.bb<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ficu_67.1.bb%2F&data=02%7C01%7Candrej.valek%40siemens.com%7C3eaead11a61d47e4f65108d7ee1d4f72%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239681963620323&sdata=mf3pOA6%2FOZS%2F5r2yVLSemPFSvlHJnhza9XpyUkRhVwM%3D&reserved=0>
index f2bb344e33..58638507c9 100644
--- a/meta/recipes-support/icu/icu_66.1.bb<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ficu_66.1.bb%2F&data=02%7C01%7Candrej.valek%40siemens.com%7C3eaead11a61d47e4f65108d7ee1d4f72%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239681963620323&sdata=Lvk67DWQUgJ4ZSEvFpO6b3s1U5RUZVoPwYm2r0%2BkjxI%3D&reserved=0>
+++ b/meta/recipes-support/icu/icu_67.1.bb<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ficu_67.1.bb%2F&data=02%7C01%7Candrej.valek%40siemens.com%7C3eaead11a61d47e4f65108d7ee1d4f72%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239681963630318&sdata=a%2FSUVl1%2BPu%2BJU4A3Bi1bMXNcJMawYZV5tnPrPuNGVKY%3D&reserved=0>
@@ -22,17 +22,15 @@ DATA_SRC_URI = "https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Funicode-org%2Ficu%2Freleases%2Fdownload%2Frelease-%24&amp;data=02%7C01%7Candrej.valek%40siemens.com%7Cf699ca9e0c5e4e6a04f908d7eda96fbb%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239184284814122&amp;sdata=tOWF0krhT2h0ba16I8RDpLLqZglg4o48ULQg5xW7OjI%3D&amp;reserved=0{I<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Funicode-org%2Ficu%2Freleases%2Fdownload%2Frelease-%24&data=02%7C01%7Candrej.valek%40siemens.com%7C3eaead11a61d47e4f65108d7ee1d4f72%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239681963630318&sdata=SRPiRKvOdXjt8w0XUqvmtLEXPdsLMnW40i3K3f7E%2BRA%3D&reserved=0>
 SRC_URI = "${BASE_SRC_URI};name=code \
            ${DATA_SRC_URI};name=data \
            file://filter.json \
-           file://icu-pkgdata-large-cmd.patch \
            file://fix-install-manx.patch \
-           file://0001-Fix-big-endian-build.patch;apply=no \
            file://0001-icu-Added-armeb-support.patch \
            "

 SRC_URI_append_class-target = "\
            file://0001-Disable-LDFLAGSICUDT-for-Linux.patch \
           "
-SRC_URI[code.sha256sum] = "52a3f2209ab95559c1cf0a14f24338001f389615bf00e2585ef3dbc43ecf0a2e"
-SRC_URI[data.sha256sum] = "8be647f738891d2beb79d48f99077b3499948430eae6f1be112553b15ab0243e"
+SRC_URI[code.sha256sum] = "94a80cd6f251a53bd2a997f6f1b5ac6653fe791dfab66e1eb0227740fb86d5dc"
+SRC_URI[data.sha256sum] = "7c16a59cc8c06128b7ecc1dc4fc056b36b17349312829b17408b9e67b05c4a7e"

 UPSTREAM_CHECK_REGEX = "icu4c-(?P<pver>\d+(_\d+)+)-src"
 UPSTREAM_CHECK_URI = "https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Funicode-org%2Ficu%2Freleases&amp;data=02%7C01%7Candrej.valek%40siemens.com%7Cf699ca9e0c5e4e6a04f908d7eda96fbb%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239184284814122&amp;sdata=oc4vNTJru5V9fuwz7ODlmQDVMB8EQF6EkXT1mfGM1gA%3D&amp;reserved=0<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Funicode-org%2Ficu%2Freleases&data=02%7C01%7Candrej.valek%40siemens.com%7C3eaead11a61d47e4f65108d7ee1d4f72%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637239681963640314&sdata=XOCFTcVSX9EOWIaA0Xg4f6ZFZjbTqHkC8pwnui5C1OQ%3D&reserved=0>"
@@ -43,7 +41,6 @@ do_make_icudata_class-target () {
     cd ${S}
     rm -rf data
     cp -a ${WORKDIR}/data .
-    patch -p1 < ${WORKDIR}/0001-Fix-big-endian-build.patch
     AR='${BUILD_AR}' \
     CC='${BUILD_CC}' \
     CPP='${BUILD_CPP}' \
--
2.11.0

[-- Attachment #2: Type: text/html, Size: 25930 bytes --]

^ permalink raw reply related	[flat|nested] 18+ messages in thread

* Re: [OE-core][PATCH] icu: upgrade 66.1 -> 67.1
  2020-05-05  7:56           ` Andrej Valek
@ 2020-05-05  8:11             ` Richard Purdie
  2020-05-05  8:13               ` Andrej Valek
  0 siblings, 1 reply; 18+ messages in thread
From: Richard Purdie @ 2020-05-05  8:11 UTC (permalink / raw)
  To: Valek, Andrej, openembedded-core; +Cc: Alexander Kanavin

On Tue, 2020-05-05 at 07:56 +0000, Valek, Andrej wrote:
> Hello Richard,
>  
> Could you please take a look on it?

I will. Keep in mind that I've multiple people asking me to help
understand why their patches fail in testing and I can only deal with
so many at once. As soon as something needs extra work like this does,
it makes it harder to get around to.

Cheers,

Richard




^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [OE-core][PATCH] icu: upgrade 66.1 -> 67.1
  2020-05-05  8:11             ` Richard Purdie
@ 2020-05-05  8:13               ` Andrej Valek
  2020-05-05 10:09                 ` Richard Purdie
  0 siblings, 1 reply; 18+ messages in thread
From: Andrej Valek @ 2020-05-05  8:13 UTC (permalink / raw)
  To: Richard Purdie, openembedded-core; +Cc: Alexander Kanavin

I know, why the patch is failing, because of mixed line endings.

I have already created a PR, where all patches fit as well. So you can take the patches from there instead of mailing list.

Regards,
Andrej

-----Original Message-----
From: Richard Purdie <richard.purdie@linuxfoundation.org> 
Sent: Tuesday, May 5, 2020 10:11 AM
To: Valek, Andrej (IOT DS EU SK SI-BP1) <andrej.valek@siemens.com>; openembedded-core@lists.openembedded.org
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Subject: Re: [OE-core][PATCH] icu: upgrade 66.1 -> 67.1

On Tue, 2020-05-05 at 07:56 +0000, Valek, Andrej wrote:
> Hello Richard,
>  
> Could you please take a look on it?

I will. Keep in mind that I've multiple people asking me to help understand why their patches fail in testing and I can only deal with so many at once. As soon as something needs extra work like this does, it makes it harder to get around to.

Cheers,

Richard




^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [OE-core][PATCH] icu: upgrade 66.1 -> 67.1
  2020-05-05  8:13               ` Andrej Valek
@ 2020-05-05 10:09                 ` Richard Purdie
  0 siblings, 0 replies; 18+ messages in thread
From: Richard Purdie @ 2020-05-05 10:09 UTC (permalink / raw)
  To: Valek, Andrej, openembedded-core; +Cc: Alexander Kanavin

On Tue, 2020-05-05 at 08:13 +0000, Valek, Andrej wrote:
> I know, why the patch is failing, because of mixed line endings.
> 
> I have already created a PR, where all patches fit as well. So you
> can take the patches from there instead of mailing list.

To be clear, I mean that I have a lot of requests from other people
about failing patches. There is a kernel reproducible builds issue, a
glib in meta-gplv2 issue, libinput, libacl-native and so on.

With yours I understand it needs to come from a git repo. You're using
github rather than poky-contrib so its not part of my normal workflow
and I personally hate the github UI to review a patch.

My point being I'll get to it but I'm struggling to keep up with the
problems with the patches already in master-next and that having
something outside "normal" just makes things harder and much as I wish
otherwise, lower down the queue.

Anyhow, I've added it locally so it will make the next round of testing
as its easier to "sort this" than discuss it.

Cheers,

Richard



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [OE-core][PATCH v3] icu: upgrade 66.1 -> 67.1
  2020-05-01 11:39 ` [OE-core][PATCH v3] icu: upgrade 66.1 -> 67.1 Andrej Valek
@ 2020-05-05 15:00   ` Richard Purdie
  2020-05-05 19:26     ` Alexander Kanavin
  2020-05-07  5:05     ` Khem Raj
  0 siblings, 2 replies; 18+ messages in thread
From: Richard Purdie @ 2020-05-05 15:00 UTC (permalink / raw)
  To: openembedded-core; +Cc: Andrej Valek

On Fri, 2020-05-01 at 13:39 +0200, Andrej Valek wrote:
> - 0001-icu-Added-armeb-support.patch - rebased
> - 0001-Fix-big-endian-build.patch - removed, already included in new
> version
> - icu-pkgdata-large-cmd.patch - removed, implemented correct size
> 
> Signed-off-by: Andrej Valek <andrej.valek@siemens.com>

This is failing to build on arm native machines:

https://autobuilder.yoctoproject.org/typhoon/#/builders/97/builds/1187
(and other arm native builds)

Cheers,

Richard


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [OE-core][PATCH v3] icu: upgrade 66.1 -> 67.1
  2020-05-05 15:00   ` Richard Purdie
@ 2020-05-05 19:26     ` Alexander Kanavin
  2020-05-07  5:05     ` Khem Raj
  1 sibling, 0 replies; 18+ messages in thread
From: Alexander Kanavin @ 2020-05-05 19:26 UTC (permalink / raw)
  To: Richard Purdie; +Cc: OE-core, Andrej Valek

[-- Attachment #1: Type: text/plain, Size: 935 bytes --]

I think this might be a more serious issue with hash equiv (or maybe
something in the icu recipe), as reverting the change produced the same
error (linking error due to symbols in libvte pointing to wrong icu
version).

https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/926

Alex

On Tue, 5 May 2020 at 17:00, Richard Purdie <
richard.purdie@linuxfoundation.org> wrote:

> On Fri, 2020-05-01 at 13:39 +0200, Andrej Valek wrote:
> > - 0001-icu-Added-armeb-support.patch - rebased
> > - 0001-Fix-big-endian-build.patch - removed, already included in new
> > version
> > - icu-pkgdata-large-cmd.patch - removed, implemented correct size
> >
> > Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
>
> This is failing to build on arm native machines:
>
> https://autobuilder.yoctoproject.org/typhoon/#/builders/97/builds/1187
> (and other arm native builds)
>
> Cheers,
>
> Richard
>
> 
>

[-- Attachment #2: Type: text/html, Size: 1606 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [OE-core][PATCH v3] icu: upgrade 66.1 -> 67.1
  2020-05-05 15:00   ` Richard Purdie
  2020-05-05 19:26     ` Alexander Kanavin
@ 2020-05-07  5:05     ` Khem Raj
  1 sibling, 0 replies; 18+ messages in thread
From: Khem Raj @ 2020-05-07  5:05 UTC (permalink / raw)
  To: Richard Purdie
  Cc: Patches and discussions about the oe-core layer, Andrej Valek

also fails to build nodejs-native see

https://errors.yoctoproject.org/Errors/Details/410591/

On Tue, May 5, 2020 at 8:00 AM Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
>
> On Fri, 2020-05-01 at 13:39 +0200, Andrej Valek wrote:
> > - 0001-icu-Added-armeb-support.patch - rebased
> > - 0001-Fix-big-endian-build.patch - removed, already included in new
> > version
> > - icu-pkgdata-large-cmd.patch - removed, implemented correct size
> >
> > Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
>
> This is failing to build on arm native machines:
>
> https://autobuilder.yoctoproject.org/typhoon/#/builders/97/builds/1187
> (and other arm native builds)
>
> Cheers,
>
> Richard
>
> 

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2020-05-07  5:06 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-01  8:26 [OE-core][PATCH] icu: upgrade 66.1 -> 67.1 Andrej Valek
2020-05-01  8:32 ` ✗ patchtest: failure for " Patchwork
2020-05-01  8:45 ` [OE-core][PATCH v2] " Andrej Valek
2020-05-01  9:02 ` ✗ patchtest: failure for icu: upgrade 66.1 -> 67.1 (rev2) Patchwork
2020-05-01 11:39 ` [OE-core][PATCH v3] icu: upgrade 66.1 -> 67.1 Andrej Valek
2020-05-05 15:00   ` Richard Purdie
2020-05-05 19:26     ` Alexander Kanavin
2020-05-07  5:05     ` Khem Raj
2020-05-01 12:02 ` ✗ patchtest: failure for icu: upgrade 66.1 -> 67.1 (rev3) Patchwork
2020-05-01 13:48 ` [OE-core][PATCH] icu: upgrade 66.1 -> 67.1 Andrej Valek
2020-05-01 13:56   ` Alexander Kanavin
2020-05-01 16:52     ` Andrej Valek
2020-05-01 22:16       ` Alexander Kanavin
2020-05-02 17:28         ` Andrej Valek
2020-05-05  7:56           ` Andrej Valek
2020-05-05  8:11             ` Richard Purdie
2020-05-05  8:13               ` Andrej Valek
2020-05-05 10:09                 ` Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.