All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/8] package/python-psutil: add host variant
@ 2020-03-23 10:49 yegorslists at googlemail.com
  2020-03-23 10:49 ` [Buildroot] [PATCH 2/8] package/python-regex: new package yegorslists at googlemail.com
                   ` (7 more replies)
  0 siblings, 8 replies; 24+ messages in thread
From: yegorslists at googlemail.com @ 2020-03-23 10:49 UTC (permalink / raw)
  To: buildroot

From: Fabrice Fontaine <fontaine.fabrice@gmail.com>

host-python-psutil for host-python3 is needed for mongodb >= 4.1.8

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
---
 package/python-psutil/python-psutil.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/python-psutil/python-psutil.mk b/package/python-psutil/python-psutil.mk
index 62a94f3c41..cfb015cfe6 100644
--- a/package/python-psutil/python-psutil.mk
+++ b/package/python-psutil/python-psutil.mk
@@ -11,4 +11,8 @@ PYTHON_PSUTIL_SETUP_TYPE = setuptools
 PYTHON_PSUTIL_LICENSE = BSD-3-Clause
 PYTHON_PSUTIL_LICENSE_FILES = LICENSE
 
+# Needed to build mongodb
+HOST_PYTHON_PSUTIL_NEEDS_HOST_PYTHON = python3
+
 $(eval $(python-package))
+$(eval $(host-python-package))
-- 
2.17.0

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

* [Buildroot] [PATCH 2/8] package/python-regex: new package
  2020-03-23 10:49 [Buildroot] [PATCH 1/8] package/python-psutil: add host variant yegorslists at googlemail.com
@ 2020-03-23 10:49 ` yegorslists at googlemail.com
  2020-04-24 12:58   ` Thomas Petazzoni
  2020-03-23 10:49 ` [Buildroot] [PATCH 3/8] package/python3-regex: add special package variant for the host build yegorslists at googlemail.com
                   ` (6 subsequent siblings)
  7 siblings, 1 reply; 24+ messages in thread
From: yegorslists at googlemail.com @ 2020-03-23 10:49 UTC (permalink / raw)
  To: buildroot

From: Yegor Yefremov <yegorslists@googlemail.com>

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
 package/Config.in                      |  1 +
 package/python-regex/Config.in         |  6 ++++++
 package/python-regex/python-regex.hash |  3 +++
 package/python-regex/python-regex.mk   | 14 ++++++++++++++
 4 files changed, 24 insertions(+)
 create mode 100644 package/python-regex/Config.in
 create mode 100644 package/python-regex/python-regex.hash
 create mode 100644 package/python-regex/python-regex.mk

diff --git a/package/Config.in b/package/Config.in
index cba756d9f1..802a775831 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1111,6 +1111,7 @@ menu "External python modules"
 	source "package/python-raven/Config.in"
 	source "package/python-redis/Config.in"
 	source "package/python-reentry/Config.in"
+	source "package/python-regex/Config.in"
 	source "package/python-remi/Config.in"
 	source "package/python-request-id/Config.in"
 	source "package/python-requests/Config.in"
diff --git a/package/python-regex/Config.in b/package/python-regex/Config.in
new file mode 100644
index 0000000000..5f582d085a
--- /dev/null
+++ b/package/python-regex/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_REGEX
+	bool "python-regex"
+	help
+	  Alternative regular expression module, to replace re.
+
+	  https://bitbucket.org/mrabarnett/mrab-regex
diff --git a/package/python-regex/python-regex.hash b/package/python-regex/python-regex.hash
new file mode 100644
index 0000000000..9e256263a9
--- /dev/null
+++ b/package/python-regex/python-regex.hash
@@ -0,0 +1,3 @@
+# md5, sha256 from https://pypi.org/pypi/regex/json
+md5  ac88a9c036e626ae4d436e69f35f50cf  regex-2020.2.20.tar.gz
+sha256  9e9624440d754733eddbcd4614378c18713d2d9d0dc647cf9c72f64e39671be5  regex-2020.2.20.tar.gz
diff --git a/package/python-regex/python-regex.mk b/package/python-regex/python-regex.mk
new file mode 100644
index 0000000000..9f86638765
--- /dev/null
+++ b/package/python-regex/python-regex.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-regex
+#
+################################################################################
+
+PYTHON_REGEX_VERSION = 2020.2.20
+PYTHON_REGEX_SOURCE = regex-$(PYTHON_REGEX_VERSION).tar.gz
+PYTHON_REGEX_SITE = https://files.pythonhosted.org/packages/e8/76/8ac7f467617b9cfbafcef3c76df6f22b15de654a62bea719792b00a83195
+PYTHON_REGEX_SETUP_TYPE = setuptools
+PYTHON_REGEX_LICENSE = CNRI-Python
+
+$(eval $(python-package))
+$(eval $(host-python-package))
-- 
2.17.0

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

* [Buildroot] [PATCH 3/8] package/python3-regex: add special package variant for the host build
  2020-03-23 10:49 [Buildroot] [PATCH 1/8] package/python-psutil: add host variant yegorslists at googlemail.com
  2020-03-23 10:49 ` [Buildroot] [PATCH 2/8] package/python-regex: new package yegorslists at googlemail.com
@ 2020-03-23 10:49 ` yegorslists at googlemail.com
  2020-03-24 21:50   ` Romain Naour
  2020-04-24 12:59   ` Thomas Petazzoni
  2020-03-23 10:49 ` [Buildroot] [PATCH 4/8] package/python3-cheetah: add special host variant yegorslists at googlemail.com
                   ` (5 subsequent siblings)
  7 siblings, 2 replies; 24+ messages in thread
From: yegorslists at googlemail.com @ 2020-03-23 10:49 UTC (permalink / raw)
  To: buildroot

From: Yegor Yefremov <yegorslists@googlemail.com>

Needed to build mongodb.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
 package/python3-regex/python3-regex.hash |  1 +
 package/python3-regex/python3-regex.mk   | 17 +++++++++++++++++
 2 files changed, 18 insertions(+)
 create mode 120000 package/python3-regex/python3-regex.hash
 create mode 100644 package/python3-regex/python3-regex.mk

diff --git a/package/python3-regex/python3-regex.hash b/package/python3-regex/python3-regex.hash
new file mode 120000
index 0000000000..274f4dc277
--- /dev/null
+++ b/package/python3-regex/python3-regex.hash
@@ -0,0 +1 @@
+../python-regex/python-regex.hash
\ No newline at end of file
diff --git a/package/python3-regex/python3-regex.mk b/package/python3-regex/python3-regex.mk
new file mode 100644
index 0000000000..a2f67a144a
--- /dev/null
+++ b/package/python3-regex/python3-regex.mk
@@ -0,0 +1,17 @@
+################################################################################
+#
+# python3-regex
+#
+################################################################################
+
+# Please keep in sync with
+# package/python-regex/python-regex.mk
+PYTHON3_REGEX_VERSION = 2020.2.20
+PYTHON3_REGEX_SOURCE = regex-$(PYTHON3_REGEX_VERSION).tar.gz
+PYTHON3_REGEX_SITE = https://files.pythonhosted.org/packages/e8/76/8ac7f467617b9cfbafcef3c76df6f22b15de654a62bea719792b00a83195
+PYTHON3_REGEX_SETUP_TYPE = setuptools
+PYTHON3_REGEX_LICENSE = CNRI-Python
+HOST_PYTHON3_REGEX_DL_SUBDIR = python-regex
+HOST_PYTHON3_REGEX_NEEDS_HOST_PYTHON = python3
+
+$(eval $(host-python-package))
-- 
2.17.0

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

* [Buildroot] [PATCH 4/8] package/python3-cheetah: add special host variant
  2020-03-23 10:49 [Buildroot] [PATCH 1/8] package/python-psutil: add host variant yegorslists at googlemail.com
  2020-03-23 10:49 ` [Buildroot] [PATCH 2/8] package/python-regex: new package yegorslists at googlemail.com
  2020-03-23 10:49 ` [Buildroot] [PATCH 3/8] package/python3-regex: add special package variant for the host build yegorslists at googlemail.com
@ 2020-03-23 10:49 ` yegorslists at googlemail.com
  2020-04-24 13:00   ` Thomas Petazzoni
  2020-03-23 10:49 ` [Buildroot] [PATCH 5/8] package/python3-requests: " yegorslists at googlemail.com
                   ` (4 subsequent siblings)
  7 siblings, 1 reply; 24+ messages in thread
From: yegorslists at googlemail.com @ 2020-03-23 10:49 UTC (permalink / raw)
  To: buildroot

From: Yegor Yefremov <yegorslists@googlemail.com>

Needed to build mongodb.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
 package/python3-cheetah/python-cheetah.mk    | 18 ++++++++++++++++++
 package/python3-cheetah/python3-cheetah.hash |  1 +
 2 files changed, 19 insertions(+)
 create mode 100644 package/python3-cheetah/python-cheetah.mk
 create mode 120000 package/python3-cheetah/python3-cheetah.hash

diff --git a/package/python3-cheetah/python-cheetah.mk b/package/python3-cheetah/python-cheetah.mk
new file mode 100644
index 0000000000..8876f8d735
--- /dev/null
+++ b/package/python3-cheetah/python-cheetah.mk
@@ -0,0 +1,18 @@
+################################################################################
+#
+# python3-cheetah
+#
+################################################################################
+
+# Please keep in sync with
+# package/python-cheetah/python-cheetah.mk
+PYTHON3_CHEETAH_VERSION = 3.2.4
+PYTHON3_CHEETAH_SOURCE = Cheetah3-$(PYTHON3_CHEETAH_VERSION).tar.gz
+PYTHON3_CHEETAH_SITE = https://files.pythonhosted.org/packages/4e/72/e6a7d92279e3551db1b68fd336fd7a6e3d2f2ec742bf486486e6150d77d2
+PYTHON3_CHEETAH_LICENSE = MIT
+PYTHON3_CHEETAH_LICENSE_FILES = LICENSE
+PYTHON3_CHEETAH_SETUP_TYPE = setuptools
+HOST_PYTHON3_CHEETAH_DL_SUBDIR = python-cheetah
+HOST_PYTHON3_CHEETAH_NEEDS_HOST_PYTHON = python3
+
+$(eval $(host-python-package))
diff --git a/package/python3-cheetah/python3-cheetah.hash b/package/python3-cheetah/python3-cheetah.hash
new file mode 120000
index 0000000000..c29a76ea80
--- /dev/null
+++ b/package/python3-cheetah/python3-cheetah.hash
@@ -0,0 +1 @@
+../python-cheetah/python-cheetah.hash
\ No newline at end of file
-- 
2.17.0

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

* [Buildroot] [PATCH 5/8] package/python3-requests: add special host variant
  2020-03-23 10:49 [Buildroot] [PATCH 1/8] package/python-psutil: add host variant yegorslists at googlemail.com
                   ` (2 preceding siblings ...)
  2020-03-23 10:49 ` [Buildroot] [PATCH 4/8] package/python3-cheetah: add special host variant yegorslists at googlemail.com
@ 2020-03-23 10:49 ` yegorslists at googlemail.com
  2020-04-25  9:58   ` Thomas Petazzoni
  2020-03-23 10:49 ` [Buildroot] [PATCH 6/8] package/python3-pyyaml: " yegorslists at googlemail.com
                   ` (3 subsequent siblings)
  7 siblings, 1 reply; 24+ messages in thread
From: yegorslists at googlemail.com @ 2020-03-23 10:49 UTC (permalink / raw)
  To: buildroot

From: Yegor Yefremov <yegorslists@googlemail.com>

Needed to build mongodb.

Also convert python-requests to host package.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
 package/python-requests/python-requests.mk     |  1 +
 package/python3-requests/python3-requests.hash |  1 +
 package/python3-requests/python3-requests.mk   | 18 ++++++++++++++++++
 3 files changed, 20 insertions(+)
 create mode 120000 package/python3-requests/python3-requests.hash
 create mode 100644 package/python3-requests/python3-requests.mk

diff --git a/package/python-requests/python-requests.mk b/package/python-requests/python-requests.mk
index e64db94523..8c012145f3 100644
--- a/package/python-requests/python-requests.mk
+++ b/package/python-requests/python-requests.mk
@@ -12,3 +12,4 @@ PYTHON_REQUESTS_LICENSE = Apache-2.0
 PYTHON_REQUESTS_LICENSE_FILES = LICENSE
 
 $(eval $(python-package))
+$(eval $(host-python-package))
diff --git a/package/python3-requests/python3-requests.hash b/package/python3-requests/python3-requests.hash
new file mode 120000
index 0000000000..19e182d4a6
--- /dev/null
+++ b/package/python3-requests/python3-requests.hash
@@ -0,0 +1 @@
+../python-requests/python-requests.hash
\ No newline at end of file
diff --git a/package/python3-requests/python3-requests.mk b/package/python3-requests/python3-requests.mk
new file mode 100644
index 0000000000..b75b388499
--- /dev/null
+++ b/package/python3-requests/python3-requests.mk
@@ -0,0 +1,18 @@
+################################################################################
+#
+# python3-requests
+#
+################################################################################
+
+# Please keep in sync with
+# package/python-requests/python-requests.mk
+PYTHON3_REQUESTS_VERSION = 2.22.0
+PYTHON3_REQUESTS_SOURCE = requests-$(PYTHON3_REQUESTS_VERSION).tar.gz
+PYTHON3_REQUESTS_SITE = https://files.pythonhosted.org/packages/01/62/ddcf76d1d19885e8579acb1b1df26a852b03472c0e46d2b959a714c90608
+PYTHON3_REQUESTS_SETUP_TYPE = setuptools
+PYTHON3_REQUESTS_LICENSE = Apache-2.0
+PYTHON3_REQUESTS_LICENSE_FILES = LICENSE
+HOST_PYTHON3_REQUESTS_DL_SUBDIR = python-requests
+HOST_PYTHON3_REQUESTS_NEEDS_HOST_PYTHON = python3
+
+$(eval $(host-python-package))
-- 
2.17.0

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

* [Buildroot] [PATCH 6/8] package/python3-pyyaml: add special host variant
  2020-03-23 10:49 [Buildroot] [PATCH 1/8] package/python-psutil: add host variant yegorslists at googlemail.com
                   ` (3 preceding siblings ...)
  2020-03-23 10:49 ` [Buildroot] [PATCH 5/8] package/python3-requests: " yegorslists at googlemail.com
@ 2020-03-23 10:49 ` yegorslists at googlemail.com
  2020-04-21 20:00   ` Ryan Barnett
  2020-04-25  9:59   ` Thomas Petazzoni
  2020-03-23 10:49 ` [Buildroot] [PATCH 7/8] package/python3-psutil: add a " yegorslists at googlemail.com
                   ` (2 subsequent siblings)
  7 siblings, 2 replies; 24+ messages in thread
From: yegorslists at googlemail.com @ 2020-03-23 10:49 UTC (permalink / raw)
  To: buildroot

From: Yegor Yefremov <yegorslists@googlemail.com>

Needed to build mongodb.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
 package/python3-pyyaml/python3-pyyaml.hash |  1 +
 package/python3-pyyaml/python3-pyyaml.mk   | 20 ++++++++++++++++++++
 2 files changed, 21 insertions(+)
 create mode 120000 package/python3-pyyaml/python3-pyyaml.hash
 create mode 100644 package/python3-pyyaml/python3-pyyaml.mk

diff --git a/package/python3-pyyaml/python3-pyyaml.hash b/package/python3-pyyaml/python3-pyyaml.hash
new file mode 120000
index 0000000000..afa4932ecb
--- /dev/null
+++ b/package/python3-pyyaml/python3-pyyaml.hash
@@ -0,0 +1 @@
+../python-pyyaml/python-pyyaml.hash
\ No newline at end of file
diff --git a/package/python3-pyyaml/python3-pyyaml.mk b/package/python3-pyyaml/python3-pyyaml.mk
new file mode 100644
index 0000000000..3026135fca
--- /dev/null
+++ b/package/python3-pyyaml/python3-pyyaml.mk
@@ -0,0 +1,20 @@
+################################################################################
+#
+# python3-pyyaml
+#
+################################################################################
+
+# Please keep in sync with
+# package/python-pyyaml/python-pyyaml.mk
+PYTHON3_PYYAML_VERSION = 5.3
+PYTHON3_PYYAML_SOURCE = PyYAML-$(PYTHON3_PYYAML_VERSION).tar.gz
+PYTHON3_PYYAML_SITE = https://files.pythonhosted.org/packages/3d/d9/ea9816aea31beeadccd03f1f8b625ecf8f645bd66744484d162d84803ce5
+PYTHON3_PYYAML_SETUP_TYPE = distutils
+PYTHON3_PYYAML_LICENSE = MIT
+PYTHON3_PYYAML_LICENSE_FILES = LICENSE
+PYTHON3_PYYAML_DEPENDENCIES = libyaml
+HOST_PYTHON3_PYYAML_DL_SUBDIR = python-pyyaml
+HOST_PYTHON3_PYYAML_NEEDS_HOST_PYTHON = python3
+HOST_PYTHON3_PYYAML_DEPENDENCIES = host-libyaml
+
+$(eval $(host-python-package))
-- 
2.17.0

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

* [Buildroot] [PATCH 7/8] package/python3-psutil: add a special host variant
  2020-03-23 10:49 [Buildroot] [PATCH 1/8] package/python-psutil: add host variant yegorslists at googlemail.com
                   ` (4 preceding siblings ...)
  2020-03-23 10:49 ` [Buildroot] [PATCH 6/8] package/python3-pyyaml: " yegorslists at googlemail.com
@ 2020-03-23 10:49 ` yegorslists at googlemail.com
  2020-04-25 12:02   ` Thomas Petazzoni
  2020-03-23 10:49 ` [Buildroot] [PATCH 8/8] package/mongodb: bump to version 4.2.4 yegorslists at googlemail.com
  2020-04-24 12:57 ` [Buildroot] [PATCH 1/8] package/python-psutil: add host variant Thomas Petazzoni
  7 siblings, 1 reply; 24+ messages in thread
From: yegorslists at googlemail.com @ 2020-03-23 10:49 UTC (permalink / raw)
  To: buildroot

From: Yegor Yefremov <yegorslists@googlemail.com>

Needed to build mongodb.

With this host variant there is no need to enforce host
python in the original package.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
 package/python-psutil/python-psutil.mk     |  3 ---
 package/python3-psutil/python3-psutil.hash |  1 +
 package/python3-psutil/python3-psutil.mk   | 18 ++++++++++++++++++
 3 files changed, 19 insertions(+), 3 deletions(-)
 create mode 120000 package/python3-psutil/python3-psutil.hash
 create mode 100644 package/python3-psutil/python3-psutil.mk

diff --git a/package/python-psutil/python-psutil.mk b/package/python-psutil/python-psutil.mk
index cfb015cfe6..b050547624 100644
--- a/package/python-psutil/python-psutil.mk
+++ b/package/python-psutil/python-psutil.mk
@@ -11,8 +11,5 @@ PYTHON_PSUTIL_SETUP_TYPE = setuptools
 PYTHON_PSUTIL_LICENSE = BSD-3-Clause
 PYTHON_PSUTIL_LICENSE_FILES = LICENSE
 
-# Needed to build mongodb
-HOST_PYTHON_PSUTIL_NEEDS_HOST_PYTHON = python3
-
 $(eval $(python-package))
 $(eval $(host-python-package))
diff --git a/package/python3-psutil/python3-psutil.hash b/package/python3-psutil/python3-psutil.hash
new file mode 120000
index 0000000000..ff688fab28
--- /dev/null
+++ b/package/python3-psutil/python3-psutil.hash
@@ -0,0 +1 @@
+../python-psutil/python-psutil.hash
\ No newline at end of file
diff --git a/package/python3-psutil/python3-psutil.mk b/package/python3-psutil/python3-psutil.mk
new file mode 100644
index 0000000000..9ca0f46681
--- /dev/null
+++ b/package/python3-psutil/python3-psutil.mk
@@ -0,0 +1,18 @@
+################################################################################
+#
+# python3-psutil
+#
+################################################################################
+
+# Please keep in sync with
+# package/python-mako/python-psutil.mk
+PYTHON3_PSUTIL_VERSION = 5.6.7
+PYTHON3_PSUTIL_SOURCE = psutil-$(PYTHON3_PSUTIL_VERSION).tar.gz
+PYTHON3_PSUTIL_SITE = https://files.pythonhosted.org/packages/73/93/4f8213fbe66fc20cb904f35e6e04e20b47b85bee39845cc66a0bcf5ccdcb
+PYTHON3_PSUTIL_SETUP_TYPE = setuptools
+PYTHON3_PSUTIL_LICENSE = BSD-3-Clause
+PYTHON3_PSUTIL_LICENSE_FILES = LICENSE
+HOST_PYTHON3_PSUTIL_DL_SUBDIR = python-psutil
+HOST_PYTHON3_PSUTIL_NEEDS_HOST_PYTHON = python3
+
+$(eval $(host-python-package))
-- 
2.17.0

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

* [Buildroot] [PATCH 8/8] package/mongodb: bump to version 4.2.4
  2020-03-23 10:49 [Buildroot] [PATCH 1/8] package/python-psutil: add host variant yegorslists at googlemail.com
                   ` (5 preceding siblings ...)
  2020-03-23 10:49 ` [Buildroot] [PATCH 7/8] package/python3-psutil: add a " yegorslists at googlemail.com
@ 2020-03-23 10:49 ` yegorslists at googlemail.com
  2020-03-24 22:06   ` Romain Naour
                     ` (2 more replies)
  2020-04-24 12:57 ` [Buildroot] [PATCH 1/8] package/python-psutil: add host variant Thomas Petazzoni
  7 siblings, 3 replies; 24+ messages in thread
From: yegorslists at googlemail.com @ 2020-03-23 10:49 UTC (permalink / raw)
  To: buildroot

From: Fabrice Fontaine <fontaine.fabrice@gmail.com>

- Drop !BR2_PACKAGE_PYTHON3 dependency as SConstruct requires
  host-python3 since version 4.1.10 and:
  https://github.com/mongodb/mongo/commit/8dd6d4755734ed37c1b98dfdefce3ca6bc65f1f6
- host-python-psutil is needed since 4.1.8 and
  https://github.com/mongodb/mongo/commit/ff03811e31851984617d73739de8acc7640b19a2
- Drop unneeded host-python-typing dependency
- C++17 and so gcc 7 is required since 4.1.8 and
  https://github.com/mongodb/mongo/commit/01d84b2565fc9ea9626a55dcf1f3f817968088f2
- Set --disable-minimum-compiler-version-enforcement as mongodb enforces
  gcc >= 8.2 since verson 4.1.8 and
  https://github.com/mongodb/mongo/commit/9ac90b128ebeb1bb431ebe3fe9176cb6142818cb
- Explictly disable ssl if needed as ssl is enabled by default
- Add host-python-cheetah dependency if needed
- Manage new http-client option added in version 4.1.2 and
  https://github.com/mongodb/mongo/commit/4d7dcca91bc2bbde65843fe88c41fa040e0d1877

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Titouan: Fix patch conflicts with master]
Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
 package/mongodb/Config.in    |  8 +++-----
 package/mongodb/mongodb.hash |  2 +-
 package/mongodb/mongodb.mk   | 27 ++++++++++++++++++---------
 3 files changed, 22 insertions(+), 15 deletions(-)

diff --git a/package/mongodb/Config.in b/package/mongodb/Config.in
index 9c5dba8347..493c592413 100644
--- a/package/mongodb/Config.in
+++ b/package/mongodb/Config.in
@@ -8,12 +8,11 @@ config BR2_PACKAGE_MONGODB_ARCH_SUPPORTS
 config BR2_PACKAGE_MONGODB
 	bool "mongodb"
 	depends on BR2_PACKAGE_MONGODB_ARCH_SUPPORTS
-	depends on !BR2_PACKAGE_PYTHON3
 	depends on BR2_TOOLCHAIN_USES_GLIBC # needs glibc malloc_usable_size
 	depends on BR2_USE_WCHAR
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_INSTALL_LIBSTDCPP
-	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_6
+	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17
 	select BR2_PACKAGE_BOOST
 	select BR2_PACKAGE_BOOST_FILESYSTEM
 	select BR2_PACKAGE_BOOST_IOSTREAMS
@@ -35,9 +34,8 @@ config BR2_PACKAGE_MONGODB
 
 	  https://www.mongodb.org/
 
-comment "mongodb needs a glibc toolchain w/ wchar, threads, C++, gcc >= 6"
+comment "mongodb needs a glibc toolchain w/ wchar, threads, C++, gcc >= 7"
 	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
 		!BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_USES_GLIBC || \
-		!BR2_TOOLCHAIN_GCC_AT_LEAST_6
+		!BR2_TOOLCHAIN_GCC_AT_LEAST_7
 	depends on BR2_PACKAGE_MONGODB_ARCH_SUPPORTS
-	depends on !BR2_PACKAGE_PYTHON3
diff --git a/package/mongodb/mongodb.hash b/package/mongodb/mongodb.hash
index f08ffffe3b..01793e02e9 100644
--- a/package/mongodb/mongodb.hash
+++ b/package/mongodb/mongodb.hash
@@ -1,4 +1,4 @@
 # Locally computed:
-sha256 b39c5b7bb77a547804ab6f43f9b5f09add47574356b31512fd1cc641a08b4ea5  mongodb-r4.0.12.tar.gz
+sha256 033839fe43adb13351f9e0ef361d4731d7e917b2d7ad12f09df73e6e9c8bf6db  mongodb-r4.2.4.tar.gz
 sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30  APACHE-2.0.txt
 sha256 09d99ca61eb07873d5334077acba22c33e7f7d0a9fa08c92734e0ac8430d6e27  LICENSE-Community.txt
diff --git a/package/mongodb/mongodb.mk b/package/mongodb/mongodb.mk
index 22ca920e12..f7f8b4bd05 100644
--- a/package/mongodb/mongodb.mk
+++ b/package/mongodb/mongodb.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-MONGODB_VERSION_BASE = 4.0.12
+MONGODB_VERSION_BASE = 4.2.4
 MONGODB_VERSION = r$(MONGODB_VERSION_BASE)
 MONGODB_SITE = $(call github,mongodb,mongo,$(MONGODB_VERSION))
 
@@ -13,9 +13,11 @@ MONGODB_LICENSE_FILES = APACHE-2.0.txt LICENSE-Community.txt
 
 MONGODB_DEPENDENCIES = \
 	boost \
-	host-python-cheetah \
-	host-python-pyyaml \
-	host-python-typing \
+	host-python3-cheetah \
+	host-python3-psutil \
+	host-python3-pyyaml \
+	host-python3-regex \
+	host-python3-requests \
 	host-scons \
 	pcre \
 	snappy \
@@ -29,6 +31,7 @@ MONGODB_SCONS_ENV = CC="$(TARGET_CC)" CXX="$(TARGET_CXX)" \
 	-j"$(PARALLEL_JOBS)"
 
 MONGODB_SCONS_OPTS = \
+	--disable-minimum-compiler-version-enforcement \
 	--disable-warnings-as-errors \
 	--use-system-boost \
 	--use-system-pcre \
@@ -60,21 +63,27 @@ endif
 
 ifeq ($(BR2_PACKAGE_LIBCURL),y)
 MONGODB_DEPENDENCIES += libcurl
-MONGODB_SCONS_OPTS += --enable-free-mon=on
+MONGODB_SCONS_OPTS += \
+	--enable-free-mon=on \
+	--enable-http-client=on
 else
-MONGODB_SCONS_OPTS += --enable-free-mon=off
+MONGODB_SCONS_OPTS += \
+	--enable-free-mon=off \
+	--enable-http-client=off
 endif
 
 ifeq ($(BR2_PACKAGE_OPENSSL),y)
 MONGODB_DEPENDENCIES += openssl
 MONGODB_SCONS_OPTS += \
-	--ssl \
+	--ssl=on \
 	--ssl-provider=openssl
+else
+MONGODB_SCONS_OPTS += --ssl=off
 endif
 
 define MONGODB_BUILD_CMDS
 	(cd $(@D); \
-		$(HOST_DIR)/bin/python $(SCONS) \
+		$(HOST_DIR)/bin/python3 $(SCONS) \
 		$(MONGODB_SCONS_ENV) \
 		$(MONGODB_SCONS_OPTS) \
 		$(MONGODB_SCONS_TARGETS))
@@ -82,7 +91,7 @@ endef
 
 define MONGODB_INSTALL_TARGET_CMDS
 	(cd $(@D); \
-		$(HOST_DIR)/bin/python $(SCONS) \
+		$(HOST_DIR)/bin/python3 $(SCONS) \
 		$(MONGODB_SCONS_ENV) \
 		$(MONGODB_SCONS_OPTS) \
 		--prefix=$(TARGET_DIR)/usr \
-- 
2.17.0

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

* [Buildroot] [PATCH 3/8] package/python3-regex: add special package variant for the host build
  2020-03-23 10:49 ` [Buildroot] [PATCH 3/8] package/python3-regex: add special package variant for the host build yegorslists at googlemail.com
@ 2020-03-24 21:50   ` Romain Naour
  2020-04-24 12:59   ` Thomas Petazzoni
  1 sibling, 0 replies; 24+ messages in thread
From: Romain Naour @ 2020-03-24 21:50 UTC (permalink / raw)
  To: buildroot

Hi Yegor,

Le 23/03/2020 ? 11:49, yegorslists at googlemail.com a ?crit?:
> From: Yegor Yefremov <yegorslists@googlemail.com>
> 
> Needed to build mongodb.
> 
> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
> ---
>  package/python3-regex/python3-regex.hash |  1 +
>  package/python3-regex/python3-regex.mk   | 17 +++++++++++++++++
>  2 files changed, 18 insertions(+)
>  create mode 120000 package/python3-regex/python3-regex.hash
>  create mode 100644 package/python3-regex/python3-regex.mk
> 
> diff --git a/package/python3-regex/python3-regex.hash b/package/python3-regex/python3-regex.hash
> new file mode 120000
> index 0000000000..274f4dc277
> --- /dev/null
> +++ b/package/python3-regex/python3-regex.hash
> @@ -0,0 +1 @@
> +../python-regex/python-regex.hash
> \ No newline at end of file
> diff --git a/package/python3-regex/python3-regex.mk b/package/python3-regex/python3-regex.mk
> new file mode 100644
> index 0000000000..a2f67a144a
> --- /dev/null
> +++ b/package/python3-regex/python3-regex.mk
> @@ -0,0 +1,17 @@
> +################################################################################
> +#
> +# python3-regex
> +#
> +################################################################################
> +
> +# Please keep in sync with
> +# package/python-regex/python-regex.mk
> +PYTHON3_REGEX_VERSION = 2020.2.20
> +PYTHON3_REGEX_SOURCE = regex-$(PYTHON3_REGEX_VERSION).tar.gz
> +PYTHON3_REGEX_SITE = https://files.pythonhosted.org/packages/e8/76/8ac7f467617b9cfbafcef3c76df6f22b15de654a62bea719792b00a83195
> +PYTHON3_REGEX_SETUP_TYPE = setuptools
> +PYTHON3_REGEX_LICENSE = CNRI-Python
> +HOST_PYTHON3_REGEX_DL_SUBDIR = python-regex
> +HOST_PYTHON3_REGEX_NEEDS_HOST_PYTHON = python3

I don't think we should continue to add more python3 packages to provide host
python3 modules. Titouan what is the status of python2 removal ?

Best regards,
Romain

> +
> +$(eval $(host-python-package))
> 

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

* [Buildroot] [PATCH 8/8] package/mongodb: bump to version 4.2.4
  2020-03-23 10:49 ` [Buildroot] [PATCH 8/8] package/mongodb: bump to version 4.2.4 yegorslists at googlemail.com
@ 2020-03-24 22:06   ` Romain Naour
  2020-04-20 22:56   ` Ryan Barnett
  2020-04-25 12:02   ` [Buildroot] " Thomas Petazzoni
  2 siblings, 0 replies; 24+ messages in thread
From: Romain Naour @ 2020-03-24 22:06 UTC (permalink / raw)
  To: buildroot

Hi,

Le 23/03/2020 ? 11:49, yegorslists at googlemail.com a ?crit?:
> From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> 
> - Drop !BR2_PACKAGE_PYTHON3 dependency as SConstruct requires
>   host-python3 since version 4.1.10 and:
>   https://github.com/mongodb/mongo/commit/8dd6d4755734ed37c1b98dfdefce3ca6bc65f1f6
> - host-python-psutil is needed since 4.1.8 and
>   https://github.com/mongodb/mongo/commit/ff03811e31851984617d73739de8acc7640b19a2
> - Drop unneeded host-python-typing dependency
> - C++17 and so gcc 7 is required since 4.1.8 and
>   https://github.com/mongodb/mongo/commit/01d84b2565fc9ea9626a55dcf1f3f817968088f2
> - Set --disable-minimum-compiler-version-enforcement as mongodb enforces
>   gcc >= 8.2 since verson 4.1.8 and
>   https://github.com/mongodb/mongo/commit/9ac90b128ebeb1bb431ebe3fe9176cb6142818cb
> - Explictly disable ssl if needed as ssl is enabled by default
> - Add host-python-cheetah dependency if needed
> - Manage new http-client option added in version 4.1.2 and
>   https://github.com/mongodb/mongo/commit/4d7dcca91bc2bbde65843fe88c41fa040e0d1877

This series superseed the previous one from Titouan:
http://patchwork.ozlabs.org/project/buildroot/list/?series=138894

Best regards,
Romain

> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> [Titouan: Fix patch conflicts with master]
> Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
> ---
>  package/mongodb/Config.in    |  8 +++-----
>  package/mongodb/mongodb.hash |  2 +-
>  package/mongodb/mongodb.mk   | 27 ++++++++++++++++++---------
>  3 files changed, 22 insertions(+), 15 deletions(-)
> 
> diff --git a/package/mongodb/Config.in b/package/mongodb/Config.in
> index 9c5dba8347..493c592413 100644
> --- a/package/mongodb/Config.in
> +++ b/package/mongodb/Config.in
> @@ -8,12 +8,11 @@ config BR2_PACKAGE_MONGODB_ARCH_SUPPORTS
>  config BR2_PACKAGE_MONGODB
>  	bool "mongodb"
>  	depends on BR2_PACKAGE_MONGODB_ARCH_SUPPORTS
> -	depends on !BR2_PACKAGE_PYTHON3
>  	depends on BR2_TOOLCHAIN_USES_GLIBC # needs glibc malloc_usable_size
>  	depends on BR2_USE_WCHAR
>  	depends on BR2_TOOLCHAIN_HAS_THREADS
>  	depends on BR2_INSTALL_LIBSTDCPP
> -	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_6
> +	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17
>  	select BR2_PACKAGE_BOOST
>  	select BR2_PACKAGE_BOOST_FILESYSTEM
>  	select BR2_PACKAGE_BOOST_IOSTREAMS
> @@ -35,9 +34,8 @@ config BR2_PACKAGE_MONGODB
>  
>  	  https://www.mongodb.org/
>  
> -comment "mongodb needs a glibc toolchain w/ wchar, threads, C++, gcc >= 6"
> +comment "mongodb needs a glibc toolchain w/ wchar, threads, C++, gcc >= 7"
>  	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
>  		!BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_USES_GLIBC || \
> -		!BR2_TOOLCHAIN_GCC_AT_LEAST_6
> +		!BR2_TOOLCHAIN_GCC_AT_LEAST_7
>  	depends on BR2_PACKAGE_MONGODB_ARCH_SUPPORTS
> -	depends on !BR2_PACKAGE_PYTHON3
> diff --git a/package/mongodb/mongodb.hash b/package/mongodb/mongodb.hash
> index f08ffffe3b..01793e02e9 100644
> --- a/package/mongodb/mongodb.hash
> +++ b/package/mongodb/mongodb.hash
> @@ -1,4 +1,4 @@
>  # Locally computed:
> -sha256 b39c5b7bb77a547804ab6f43f9b5f09add47574356b31512fd1cc641a08b4ea5  mongodb-r4.0.12.tar.gz
> +sha256 033839fe43adb13351f9e0ef361d4731d7e917b2d7ad12f09df73e6e9c8bf6db  mongodb-r4.2.4.tar.gz
>  sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30  APACHE-2.0.txt
>  sha256 09d99ca61eb07873d5334077acba22c33e7f7d0a9fa08c92734e0ac8430d6e27  LICENSE-Community.txt
> diff --git a/package/mongodb/mongodb.mk b/package/mongodb/mongodb.mk
> index 22ca920e12..f7f8b4bd05 100644
> --- a/package/mongodb/mongodb.mk
> +++ b/package/mongodb/mongodb.mk
> @@ -4,7 +4,7 @@
>  #
>  ################################################################################
>  
> -MONGODB_VERSION_BASE = 4.0.12
> +MONGODB_VERSION_BASE = 4.2.4
>  MONGODB_VERSION = r$(MONGODB_VERSION_BASE)
>  MONGODB_SITE = $(call github,mongodb,mongo,$(MONGODB_VERSION))
>  
> @@ -13,9 +13,11 @@ MONGODB_LICENSE_FILES = APACHE-2.0.txt LICENSE-Community.txt
>  
>  MONGODB_DEPENDENCIES = \
>  	boost \
> -	host-python-cheetah \
> -	host-python-pyyaml \
> -	host-python-typing \
> +	host-python3-cheetah \
> +	host-python3-psutil \
> +	host-python3-pyyaml \
> +	host-python3-regex \
> +	host-python3-requests \
>  	host-scons \
>  	pcre \
>  	snappy \
> @@ -29,6 +31,7 @@ MONGODB_SCONS_ENV = CC="$(TARGET_CC)" CXX="$(TARGET_CXX)" \
>  	-j"$(PARALLEL_JOBS)"
>  
>  MONGODB_SCONS_OPTS = \
> +	--disable-minimum-compiler-version-enforcement \
>  	--disable-warnings-as-errors \
>  	--use-system-boost \
>  	--use-system-pcre \
> @@ -60,21 +63,27 @@ endif
>  
>  ifeq ($(BR2_PACKAGE_LIBCURL),y)
>  MONGODB_DEPENDENCIES += libcurl
> -MONGODB_SCONS_OPTS += --enable-free-mon=on
> +MONGODB_SCONS_OPTS += \
> +	--enable-free-mon=on \
> +	--enable-http-client=on
>  else
> -MONGODB_SCONS_OPTS += --enable-free-mon=off
> +MONGODB_SCONS_OPTS += \
> +	--enable-free-mon=off \
> +	--enable-http-client=off
>  endif
>  
>  ifeq ($(BR2_PACKAGE_OPENSSL),y)
>  MONGODB_DEPENDENCIES += openssl
>  MONGODB_SCONS_OPTS += \
> -	--ssl \
> +	--ssl=on \
>  	--ssl-provider=openssl
> +else
> +MONGODB_SCONS_OPTS += --ssl=off
>  endif
>  
>  define MONGODB_BUILD_CMDS
>  	(cd $(@D); \
> -		$(HOST_DIR)/bin/python $(SCONS) \
> +		$(HOST_DIR)/bin/python3 $(SCONS) \
>  		$(MONGODB_SCONS_ENV) \
>  		$(MONGODB_SCONS_OPTS) \
>  		$(MONGODB_SCONS_TARGETS))
> @@ -82,7 +91,7 @@ endef
>  
>  define MONGODB_INSTALL_TARGET_CMDS
>  	(cd $(@D); \
> -		$(HOST_DIR)/bin/python $(SCONS) \
> +		$(HOST_DIR)/bin/python3 $(SCONS) \
>  		$(MONGODB_SCONS_ENV) \
>  		$(MONGODB_SCONS_OPTS) \
>  		--prefix=$(TARGET_DIR)/usr \
> 

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

* [Buildroot] [PATCH 8/8] package/mongodb: bump to version 4.2.4
  2020-03-23 10:49 ` [Buildroot] [PATCH 8/8] package/mongodb: bump to version 4.2.4 yegorslists at googlemail.com
  2020-03-24 22:06   ` Romain Naour
@ 2020-04-20 22:56   ` Ryan Barnett
  2020-04-21 16:05     ` Ryan Barnett
  2020-04-25 12:02   ` [Buildroot] " Thomas Petazzoni
  2 siblings, 1 reply; 24+ messages in thread
From: Ryan Barnett @ 2020-04-20 22:56 UTC (permalink / raw)
  To: buildroot

Yegor/All,

On Mon, Mar 23, 2020 at 5:54 AM <yegorslists@googlemail.com> wrote:
>
> From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
>
> - Drop !BR2_PACKAGE_PYTHON3 dependency as SConstruct requires
>   host-python3 since version 4.1.10 and:
>   https://github.com/mongodb/mongo/commit/8dd6d4755734ed37c1b98dfdefce3ca6bc65f1f6
> - host-python-psutil is needed since 4.1.8 and
>   https://github.com/mongodb/mongo/commit/ff03811e31851984617d73739de8acc7640b19a2
> - Drop unneeded host-python-typing dependency
> - C++17 and so gcc 7 is required since 4.1.8 and
>   https://github.com/mongodb/mongo/commit/01d84b2565fc9ea9626a55dcf1f3f817968088f2
> - Set --disable-minimum-compiler-version-enforcement as mongodb enforces
>   gcc >= 8.2 since verson 4.1.8 and
>   https://github.com/mongodb/mongo/commit/9ac90b128ebeb1bb431ebe3fe9176cb6142818cb
> - Explictly disable ssl if needed as ssl is enabled by default
> - Add host-python-cheetah dependency if needed
> - Manage new http-client option added in version 4.1.2 and
>   https://github.com/mongodb/mongo/commit/4d7dcca91bc2bbde65843fe88c41fa040e0d1877
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> [Titouan: Fix patch conflicts with master]
> Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
> ---
>  package/mongodb/Config.in    |  8 +++-----
>  package/mongodb/mongodb.hash |  2 +-
>  package/mongodb/mongodb.mk   | 27 ++++++++++++++++++---------
>  3 files changed, 22 insertions(+), 15 deletions(-)

I've run into an error when compiling for an x86-64 bit platform for
the core-i5 architecture:

/tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
/tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(node_data.cpp.o):
relocation R_X86_64_32 against `.bss' can not be used when making a
PIE object; recompile with -fPIC
/tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
/tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(null.cpp.o):
relocation R_X86_64_32 against `.rodata.str1.1' can not be used when
making a PIE object; recompile with -fPIC
/tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
/tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(ostream_wrapper.cpp.o):
relocation R_X86_64_32 against `.bss' can not be used when making a
PIE object; recompile with -fPIC
/tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
/tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(parse.cpp.o):
relocation R_X86_64_32 against `.rodata.str1.1' can not be used when
making a PIE object; recompile with -fPIC
/tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
/tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(parser.cpp.o):
relocation R_X86_64_32 against `.bss' can not be used when making a
PIE object; recompile with -fPIC
/tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
/tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(regex_yaml.cpp.o):
relocation R_X86_64_32 against `.bss' can not be used when making a
PIE object; recompile with -fPIC
/tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
/tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(scanner.cpp.o):
relocation R_X86_64_32 against `.bss' can not be used when making a
PIE object; recompile with -fPIC
/tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
/tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(scantoken.cpp.o):
relocation R_X86_64_32 against `.bss' can not be used when making a
PIE object; recompile with -fPIC
/tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
/tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(simplekey.cpp.o):
relocation R_X86_64_32 against `.bss' can not be used when making a
PIE object; recompile with -fPIC
/tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
/tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(singledocparser.cpp.o):
relocation R_X86_64_32 against `.bss' can not be used when making a
PIE object; recompile with -fPIC
/tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
/tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(stream.cpp.o):
relocation R_X86_64_32 against `.data' can not be used when making a
PIE object; recompile with -fPIC
/tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
/tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(tag.cpp.o):
relocation R_X86_64_32 against `.bss' can not be used when making a
PIE object; recompile with -fPIC
/tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
/tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(binary.cpp.o):
relocation R_X86_64_32S against `.rodata' can not be used when making
a PIE object; recompile with -fPIC
/tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
/tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(directives.cpp.o):
relocation R_X86_64_32 against `.rodata.str1.1' can not be used when
making a PIE object; recompile with -fPIC
/tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
/tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(nodebuilder.cpp.o):
relocation R_X86_64_32S against symbol `_ZTVN4YAML11NodeBuilderE' can
not be used when making a PIE object; recompile with -fPIC
/tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
/tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(scanscalar.cpp.o):
relocation R_X86_64_32 against symbol `_ZGVZN4YAML3Exp5EmptyEvE1e' can
not be used when making a PIE object; recompile with -fPIC
/tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
/tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(scantag.cpp.o):
relocation R_X86_64_32 against `.rodata.str1.1' can not be used when
making a PIE object; recompile with -fPIC
/tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
/tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(exp.cpp.o):
relocation R_X86_64_32 against `.rodata.str1.1' can not be used when
making a PIE object; recompile with -fPIC
/accts

Do you have any ideas of what the issue is?

I have BR2_SHARED_LIBS set along with using the latest stable bootlin
toolchain for x86-64-core-i7 toolchain:

https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-core-i7/tarballs/x86-64-core-i7--glibc--stable-2020.02-2.tar.bz2

Please let me know if you need any more information in order to
recreate the problem.

[...]

Thanks,
-Ryan

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

* [Buildroot] [PATCH 8/8] package/mongodb: bump to version 4.2.4
  2020-04-20 22:56   ` Ryan Barnett
@ 2020-04-21 16:05     ` Ryan Barnett
  2020-04-21 18:38       ` Fabrice Fontaine
  0 siblings, 1 reply; 24+ messages in thread
From: Ryan Barnett @ 2020-04-21 16:05 UTC (permalink / raw)
  To: buildroot

Yegor/All,

On Mon, Apr 20, 2020 at 5:56 PM Ryan Barnett
<ryan.barnett@rockwellcollins.com> wrote:
>
> I've run into an error when compiling for an x86-64 bit platform for
> the core-i5 architecture:
>
> /tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
> /tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(node_data.cpp.o):
> relocation R_X86_64_32 against `.bss' can not be used when making a
> PIE object; recompile with -fPIC
> /tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
> /tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(null.cpp.o):
> relocation R_X86_64_32 against `.rodata.str1.1' can not be used when
> making a PIE object; recompile with -fPIC
> /tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
> /tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(ostream_wrapper.cpp.o):
> relocation R_X86_64_32 against `.bss' can not be used when making a
> PIE object; recompile with -fPIC
> /tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
> /tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(parse.cpp.o):
> relocation R_X86_64_32 against `.rodata.str1.1' can not be used when
> making a PIE object; recompile with -fPIC
> /tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
> /tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(parser.cpp.o):
> relocation R_X86_64_32 against `.bss' can not be used when making a
> PIE object; recompile with -fPIC
> /tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
> /tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(regex_yaml.cpp.o):
> relocation R_X86_64_32 against `.bss' can not be used when making a
> PIE object; recompile with -fPIC
> /tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
> /tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(scanner.cpp.o):
> relocation R_X86_64_32 against `.bss' can not be used when making a
> PIE object; recompile with -fPIC
> /tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
> /tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(scantoken.cpp.o):
> relocation R_X86_64_32 against `.bss' can not be used when making a
> PIE object; recompile with -fPIC
> /tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
> /tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(simplekey.cpp.o):
> relocation R_X86_64_32 against `.bss' can not be used when making a
> PIE object; recompile with -fPIC
> /tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
> /tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(singledocparser.cpp.o):
> relocation R_X86_64_32 against `.bss' can not be used when making a
> PIE object; recompile with -fPIC
> /tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
> /tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(stream.cpp.o):
> relocation R_X86_64_32 against `.data' can not be used when making a
> PIE object; recompile with -fPIC
> /tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
> /tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(tag.cpp.o):
> relocation R_X86_64_32 against `.bss' can not be used when making a
> PIE object; recompile with -fPIC
> /tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
> /tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(binary.cpp.o):
> relocation R_X86_64_32S against `.rodata' can not be used when making
> a PIE object; recompile with -fPIC
> /tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
> /tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(directives.cpp.o):
> relocation R_X86_64_32 against `.rodata.str1.1' can not be used when
> making a PIE object; recompile with -fPIC
> /tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
> /tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(nodebuilder.cpp.o):
> relocation R_X86_64_32S against symbol `_ZTVN4YAML11NodeBuilderE' can
> not be used when making a PIE object; recompile with -fPIC
> /tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
> /tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(scanscalar.cpp.o):
> relocation R_X86_64_32 against symbol `_ZGVZN4YAML3Exp5EmptyEvE1e' can
> not be used when making a PIE object; recompile with -fPIC
> /tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
> /tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(scantag.cpp.o):
> relocation R_X86_64_32 against `.rodata.str1.1' can not be used when
> making a PIE object; recompile with -fPIC
> /tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
> /tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(exp.cpp.o):
> relocation R_X86_64_32 against `.rodata.str1.1' can not be used when
> making a PIE object; recompile with -fPIC
> /accts
>
> Do you have any ideas of what the issue is?
>
> I have BR2_SHARED_LIBS set along with using the latest stable bootlin
> toolchain for x86-64-core-i7 toolchain:
>
> https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-core-i7/tarballs/x86-64-core-i7--glibc--stable-2020.02-2.tar.bz2
>
> Please let me know if you need any more information in order to
> recreate the problem.

Here is the defconfig based on qemu_x86_64_defconfig which will
reproduce the issue:

BR2_x86_64=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
BR2_TOOLCHAIN_EXTERNAL_URL="https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-core-i7/tarballs/x86-64-core-i7--glibc--stable-2020.02-2.tar.bz2"
BR2_TOOLCHAIN_EXTERNAL_GCC_8=y
BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_4=y
BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC=y
BR2_TOOLCHAIN_EXTERNAL_CXX=y
BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY=y
BR2_SYSTEM_DHCP="eth0"
BR2_ROOTFS_POST_BUILD_SCRIPT="board/qemu/x86_64/post-build.sh"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.91"
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86_64/linux.config"
BR2_PACKAGE_MONGODB=y
BR2_TARGET_ROOTFS_EXT2=y
# BR2_TARGET_ROOTFS_TAR is not set
BR2_PACKAGE_HOST_QEMU=y
BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y

Thanks,
-Ryan

---
Ryan Barnett | Sr Systems Engineer | Commercial Avionics
COLLINS AEROSPACE
400 Collins Rd NE, Cedar Rapids, IA 52498 USA
ryan.barnett at collins.com | collinsaerospace.com

CONFIDENTIALITY WARNING: This message may contain proprietary and/or
privileged information of Collins Aerospace and its affiliated
companies. If you are not the intended recipient, please 1) Do not
disclose, copy, distribute or use this message or its contents. 2)
Advise the sender by return email. 3) Delete all copies (including all
attachments) from your computer. Your cooperation is greatly
appreciated.

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

* [Buildroot] [PATCH 8/8] package/mongodb: bump to version 4.2.4
  2020-04-21 16:05     ` Ryan Barnett
@ 2020-04-21 18:38       ` Fabrice Fontaine
  2020-04-21 19:38         ` [Buildroot] [External] " Ryan Barnett
  0 siblings, 1 reply; 24+ messages in thread
From: Fabrice Fontaine @ 2020-04-21 18:38 UTC (permalink / raw)
  To: buildroot

Hi Ryan,

Le mar. 21 avr. 2020 ? 18:06, Ryan Barnett <ryan.barnett@collins.com> a ?crit :
>
> Yegor/All,
>
> On Mon, Apr 20, 2020 at 5:56 PM Ryan Barnett
> <ryan.barnett@rockwellcollins.com> wrote:
> >
> > I've run into an error when compiling for an x86-64 bit platform for
> > the core-i5 architecture:
> >
> > /tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
> > /tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(node_data.cpp.o):
> > relocation R_X86_64_32 against `.bss' can not be used when making a
> > PIE object; recompile with -fPIC
> > /tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
> > /tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(null.cpp.o):
> > relocation R_X86_64_32 against `.rodata.str1.1' can not be used when
> > making a PIE object; recompile with -fPIC
> > /tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
> > /tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(ostream_wrapper.cpp.o):
> > relocation R_X86_64_32 against `.bss' can not be used when making a
> > PIE object; recompile with -fPIC
> > /tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
> > /tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(parse.cpp.o):
> > relocation R_X86_64_32 against `.rodata.str1.1' can not be used when
> > making a PIE object; recompile with -fPIC
> > /tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
> > /tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(parser.cpp.o):
> > relocation R_X86_64_32 against `.bss' can not be used when making a
> > PIE object; recompile with -fPIC
> > /tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
> > /tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(regex_yaml.cpp.o):
> > relocation R_X86_64_32 against `.bss' can not be used when making a
> > PIE object; recompile with -fPIC
> > /tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
> > /tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(scanner.cpp.o):
> > relocation R_X86_64_32 against `.bss' can not be used when making a
> > PIE object; recompile with -fPIC
> > /tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
> > /tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(scantoken.cpp.o):
> > relocation R_X86_64_32 against `.bss' can not be used when making a
> > PIE object; recompile with -fPIC
> > /tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
> > /tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(simplekey.cpp.o):
> > relocation R_X86_64_32 against `.bss' can not be used when making a
> > PIE object; recompile with -fPIC
> > /tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
> > /tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(singledocparser.cpp.o):
> > relocation R_X86_64_32 against `.bss' can not be used when making a
> > PIE object; recompile with -fPIC
> > /tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
> > /tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(stream.cpp.o):
> > relocation R_X86_64_32 against `.data' can not be used when making a
> > PIE object; recompile with -fPIC
> > /tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
> > /tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(tag.cpp.o):
> > relocation R_X86_64_32 against `.bss' can not be used when making a
> > PIE object; recompile with -fPIC
> > /tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
> > /tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(binary.cpp.o):
> > relocation R_X86_64_32S against `.rodata' can not be used when making
> > a PIE object; recompile with -fPIC
> > /tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
> > /tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(directives.cpp.o):
> > relocation R_X86_64_32 against `.rodata.str1.1' can not be used when
> > making a PIE object; recompile with -fPIC
> > /tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
> > /tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(nodebuilder.cpp.o):
> > relocation R_X86_64_32S against symbol `_ZTVN4YAML11NodeBuilderE' can
> > not be used when making a PIE object; recompile with -fPIC
> > /tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
> > /tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(scanscalar.cpp.o):
> > relocation R_X86_64_32 against symbol `_ZGVZN4YAML3Exp5EmptyEvE1e' can
> > not be used when making a PIE object; recompile with -fPIC
> > /tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
> > /tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(scantag.cpp.o):
> > relocation R_X86_64_32 against `.rodata.str1.1' can not be used when
> > making a PIE object; recompile with -fPIC
> > /tmp/mongodb-buildhost/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/8.4.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
> > /tmp/mongodb-buildhost/x86_64-buildroot-linux-gnu/sysroot/lib/../lib64/libyaml-cpp.a(exp.cpp.o):
> > relocation R_X86_64_32 against `.rodata.str1.1' can not be used when
> > making a PIE object; recompile with -fPIC
> > /accts
> >
> > Do you have any ideas of what the issue is?
> >
> > I have BR2_SHARED_LIBS set along with using the latest stable bootlin
> > toolchain for x86-64-core-i7 toolchain:
> >
> > https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-core-i7/tarballs/x86-64-core-i7--glibc--stable-2020.02-2.tar.bz2
> >
> > Please let me know if you need any more information in order to
> > recreate the problem.
>
> Here is the defconfig based on qemu_x86_64_defconfig which will
> reproduce the issue:
>
> BR2_x86_64=y
> BR2_TOOLCHAIN_EXTERNAL=y
> BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
> BR2_TOOLCHAIN_EXTERNAL_URL="https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-core-i7/tarballs/x86-64-core-i7--glibc--stable-2020.02-2.tar.bz2"
> BR2_TOOLCHAIN_EXTERNAL_GCC_8=y
> BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_4=y
> BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC=y
> BR2_TOOLCHAIN_EXTERNAL_CXX=y
> BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY=y
> BR2_SYSTEM_DHCP="eth0"
> BR2_ROOTFS_POST_BUILD_SCRIPT="board/qemu/x86_64/post-build.sh"
> BR2_LINUX_KERNEL=y
> BR2_LINUX_KERNEL_CUSTOM_VERSION=y
> BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.91"
> BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
> BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86_64/linux.config"
> BR2_PACKAGE_MONGODB=y
> BR2_TARGET_ROOTFS_EXT2=y
> # BR2_TARGET_ROOTFS_TAR is not set
> BR2_PACKAGE_HOST_QEMU=y
> BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y
Thanks for this defconfig, I was able to reproduce your issue.
The patch that fixes it is available here:
https://patchwork.ozlabs.org/project/buildroot/patch/20200421183543.4135516-1-fontaine.fabrice at gmail.com
>
> Thanks,
> -Ryan
>
> ---
> Ryan Barnett | Sr Systems Engineer | Commercial Avionics
> COLLINS AEROSPACE
> 400 Collins Rd NE, Cedar Rapids, IA 52498 USA
> ryan.barnett at collins.com | collinsaerospace.com
>
> CONFIDENTIALITY WARNING: This message may contain proprietary and/or
> privileged information of Collins Aerospace and its affiliated
> companies. If you are not the intended recipient, please 1) Do not
> disclose, copy, distribute or use this message or its contents. 2)
> Advise the sender by return email. 3) Delete all copies (including all
> attachments) from your computer. Your cooperation is greatly
> appreciated.
Best Regards,

Fabrice

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

* [Buildroot] [External] Re: [PATCH 8/8] package/mongodb: bump to version 4.2.4
  2020-04-21 18:38       ` Fabrice Fontaine
@ 2020-04-21 19:38         ` Ryan Barnett
  0 siblings, 0 replies; 24+ messages in thread
From: Ryan Barnett @ 2020-04-21 19:38 UTC (permalink / raw)
  To: buildroot

Fabrice/Peter,

On Tue, Apr 21, 2020 at 1:37 PM Fabrice Fontaine
<fontaine.fabrice@gmail.com> wrote:
>
> Hi Ryan,
>
> Le mar. 21 avr. 2020 ? 18:06, Ryan Barnett <ryan.barnett@collins.com> a ?crit :
>
> Thanks for this defconfig, I was able to reproduce your issue.
> The patch that fixes it is available here:
> https://patchwork.ozlabs.org/project/buildroot/patch/20200421183543.4135516-1-fontaine.fabrice at gmail.com

The patch fixed the issue I was having. While I investigated the
version mongodb issue, I ran across this buildroot bug which contained
the patch you proposed:

https://bugs.busybox.net/show_bug.cgi?id=12681

Peter - while testing the build of mongodb on the latest LTS tag, I
found that mongodb doesn't build there as well and also requires a
patch to fix the build of that version (given in the bug report). What
approach do we want to take for fixing mongodb on the 2020.02 LTS tag?
Bump the version with the patchset proposed or add a patch to mongodb
to fix building of mongodb version 4.0.12?

Thanks,
-Ryan

---
Ryan Barnett | Sr Systems Engineer | Commercial Avionics
COLLINS AEROSPACE
400 Collins Rd NE, Cedar Rapids, IA 52498 USA
ryan.barnett at collins.com | collinsaerospace.com

CONFIDENTIALITY WARNING: This message may contain proprietary and/or
privileged information of Collins Aerospace and its affiliated
companies. If you are not the intended recipient, please 1) Do not
disclose, copy, distribute or use this message or its contents. 2)
Advise the sender by return email. 3) Delete all copies (including all
attachments) from your computer. Your cooperation is greatly
appreciated.

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

* [Buildroot] [PATCH 6/8] package/python3-pyyaml: add special host variant
  2020-03-23 10:49 ` [Buildroot] [PATCH 6/8] package/python3-pyyaml: " yegorslists at googlemail.com
@ 2020-04-21 20:00   ` Ryan Barnett
  2020-04-23  6:55     ` Yegor Yefremov
  2020-04-25  9:59   ` Thomas Petazzoni
  1 sibling, 1 reply; 24+ messages in thread
From: Ryan Barnett @ 2020-04-21 20:00 UTC (permalink / raw)
  To: buildroot

Yegor,

I've been working on testing that your patch series builds/works to
fix the issue with MongoDB not compiling with Buildroot 2020.02.
Please see my feedback in regards to your current patch set below:

On Mon, Mar 23, 2020 at 5:50 AM <yegorslists@googlemail.com> wrote:
>
> From: Yegor Yefremov <yegorslists@googlemail.com>
>
> Needed to build mongodb.
>
> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
> ---
>  package/python3-pyyaml/python3-pyyaml.hash |  1 +
>  package/python3-pyyaml/python3-pyyaml.mk   | 20 ++++++++++++++++++++
>  2 files changed, 21 insertions(+)
>  create mode 120000 package/python3-pyyaml/python3-pyyaml.hash
>  create mode 100644 package/python3-pyyaml/python3-pyyaml.mk
>
> diff --git a/package/python3-pyyaml/python3-pyyaml.hash b/package/python3-pyyaml/python3-pyyaml.hash
> new file mode 120000
> index 0000000000..afa4932ecb
> --- /dev/null
> +++ b/package/python3-pyyaml/python3-pyyaml.hash
> @@ -0,0 +1 @@
> +../python-pyyaml/python-pyyaml.hash
> \ No newline at end of file
> diff --git a/package/python3-pyyaml/python3-pyyaml.mk b/package/python3-pyyaml/python3-pyyaml.mk
> new file mode 100644
> index 0000000000..3026135fca
> --- /dev/null
> +++ b/package/python3-pyyaml/python3-pyyaml.mk
> @@ -0,0 +1,20 @@
> +################################################################################
> +#
> +# python3-pyyaml
> +#
> +################################################################################
> +
> +# Please keep in sync with
> +# package/python-pyyaml/python-pyyaml.mk
> +PYTHON3_PYYAML_VERSION = 5.3

This currently does not work as python-pyyaml has been bumped to version 5.3.1.

https://patchwork.ozlabs.org/project/buildroot/patch/20200326100404.82191-1-james.hilliard1 at gmail.com/

Changing version to 5.3.1 fixes this.

Thanks,
-Ryan

---
Ryan Barnett | Sr Systems Engineer | Commercial Avionics
COLLINS AEROSPACE
400 Collins Rd NE, Cedar Rapids, IA 52498 USA
ryan.barnett at collins.com | collinsaerospace.com

CONFIDENTIALITY WARNING: This message may contain proprietary and/or
privileged information of Collins Aerospace and its affiliated
companies. If you are not the intended recipient, please 1) Do not
disclose, copy, distribute or use this message or its contents. 2)
Advise the sender by return email. 3) Delete all copies (including all
attachments) from your computer. Your cooperation is greatly
appreciated.

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

* [Buildroot] [PATCH 6/8] package/python3-pyyaml: add special host variant
  2020-04-21 20:00   ` Ryan Barnett
@ 2020-04-23  6:55     ` Yegor Yefremov
  0 siblings, 0 replies; 24+ messages in thread
From: Yegor Yefremov @ 2020-04-23  6:55 UTC (permalink / raw)
  To: buildroot

Hi Ryan,

On Tue, Apr 21, 2020 at 10:00 PM Ryan Barnett <ryan.barnett@collins.com> wrote:
>
> Yegor,
>
> I've been working on testing that your patch series builds/works to
> fix the issue with MongoDB not compiling with Buildroot 2020.02.
> Please see my feedback in regards to your current patch set below:
>
> On Mon, Mar 23, 2020 at 5:50 AM <yegorslists@googlemail.com> wrote:
> >
> > From: Yegor Yefremov <yegorslists@googlemail.com>
> >
> > Needed to build mongodb.
> >
> > Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
> > ---
> >  package/python3-pyyaml/python3-pyyaml.hash |  1 +
> >  package/python3-pyyaml/python3-pyyaml.mk   | 20 ++++++++++++++++++++
> >  2 files changed, 21 insertions(+)
> >  create mode 120000 package/python3-pyyaml/python3-pyyaml.hash
> >  create mode 100644 package/python3-pyyaml/python3-pyyaml.mk
> >
> > diff --git a/package/python3-pyyaml/python3-pyyaml.hash b/package/python3-pyyaml/python3-pyyaml.hash
> > new file mode 120000
> > index 0000000000..afa4932ecb
> > --- /dev/null
> > +++ b/package/python3-pyyaml/python3-pyyaml.hash
> > @@ -0,0 +1 @@
> > +../python-pyyaml/python-pyyaml.hash
> > \ No newline at end of file
> > diff --git a/package/python3-pyyaml/python3-pyyaml.mk b/package/python3-pyyaml/python3-pyyaml.mk
> > new file mode 100644
> > index 0000000000..3026135fca
> > --- /dev/null
> > +++ b/package/python3-pyyaml/python3-pyyaml.mk
> > @@ -0,0 +1,20 @@
> > +################################################################################
> > +#
> > +# python3-pyyaml
> > +#
> > +################################################################################
> > +
> > +# Please keep in sync with
> > +# package/python-pyyaml/python-pyyaml.mk
> > +PYTHON3_PYYAML_VERSION = 5.3
>
> This currently does not work as python-pyyaml has been bumped to version 5.3.1.
>
> https://patchwork.ozlabs.org/project/buildroot/patch/20200326100404.82191-1-james.hilliard1 at gmail.com/
>
> Changing version to 5.3.1 fixes this.

Thanks for your feedback and testing. The problem is, there is still
no agreement on how to proceed. One way is to create python3-*
packages and the other is to remove Python2 support (see comments to
my patch [1]).

[1] https://patchwork.ozlabs.org/project/buildroot/patch/20200323104909.16765-3-yegorslists at googlemail.com/

Regards,
Yegor

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

* [Buildroot] [PATCH 1/8] package/python-psutil: add host variant
  2020-03-23 10:49 [Buildroot] [PATCH 1/8] package/python-psutil: add host variant yegorslists at googlemail.com
                   ` (6 preceding siblings ...)
  2020-03-23 10:49 ` [Buildroot] [PATCH 8/8] package/mongodb: bump to version 4.2.4 yegorslists at googlemail.com
@ 2020-04-24 12:57 ` Thomas Petazzoni
  7 siblings, 0 replies; 24+ messages in thread
From: Thomas Petazzoni @ 2020-04-24 12:57 UTC (permalink / raw)
  To: buildroot

On Mon, 23 Mar 2020 11:49:02 +0100
yegorslists at googlemail.com wrote:

> From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> 
> host-python-psutil for host-python3 is needed for mongodb >= 4.1.8
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
> ---
>  package/python-psutil/python-psutil.mk | 4 ++++
>  1 file changed, 4 insertions(+)

I have not applied, because this commit is essentially reverted by
PATCH 7/8 in this series
(http://patchwork.ozlabs.org/project/buildroot/patch/20200323104909.16765-7-yegorslists at googlemail.com/),
leaving the host-python-psutil package unused. So I've marked as Rejected.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

* [Buildroot] [PATCH 2/8] package/python-regex: new package
  2020-03-23 10:49 ` [Buildroot] [PATCH 2/8] package/python-regex: new package yegorslists at googlemail.com
@ 2020-04-24 12:58   ` Thomas Petazzoni
  0 siblings, 0 replies; 24+ messages in thread
From: Thomas Petazzoni @ 2020-04-24 12:58 UTC (permalink / raw)
  To: buildroot

On Mon, 23 Mar 2020 11:49:03 +0100
yegorslists at googlemail.com wrote:

> From: Yegor Yefremov <yegorslists@googlemail.com>
> 
> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>

I have applied to master, but after dropping the host variant of this
package, which would not be used at the end of this series.

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

* [Buildroot] [PATCH 3/8] package/python3-regex: add special package variant for the host build
  2020-03-23 10:49 ` [Buildroot] [PATCH 3/8] package/python3-regex: add special package variant for the host build yegorslists at googlemail.com
  2020-03-24 21:50   ` Romain Naour
@ 2020-04-24 12:59   ` Thomas Petazzoni
  1 sibling, 0 replies; 24+ messages in thread
From: Thomas Petazzoni @ 2020-04-24 12:59 UTC (permalink / raw)
  To: buildroot

On Mon, 23 Mar 2020 11:49:04 +0100
yegorslists at googlemail.com wrote:

> From: Yegor Yefremov <yegorslists@googlemail.com>
> 
> Needed to build mongodb.
> 
> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
> ---
>  package/python3-regex/python3-regex.hash |  1 +
>  package/python3-regex/python3-regex.mk   | 17 +++++++++++++++++
>  2 files changed, 18 insertions(+)
>  create mode 120000 package/python3-regex/python3-regex.hash
>  create mode 100644 package/python3-regex/python3-regex.mk

Like Romain, I don't really like that we're adding more and more
duplicated packages for host-python3, but we don't really have a good
solution today. And since the mid-term plan is to get rid of Python
2.x, I don't think it's very useful to implement an alternate solution
now.

> +# Please keep in sync with
> +# package/python-regex/python-regex.mk

I've put this comment on one line, and also added the comment in
package/python-regex/python-regex.mk.

Applied with this change. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

* [Buildroot] [PATCH 4/8] package/python3-cheetah: add special host variant
  2020-03-23 10:49 ` [Buildroot] [PATCH 4/8] package/python3-cheetah: add special host variant yegorslists at googlemail.com
@ 2020-04-24 13:00   ` Thomas Petazzoni
  0 siblings, 0 replies; 24+ messages in thread
From: Thomas Petazzoni @ 2020-04-24 13:00 UTC (permalink / raw)
  To: buildroot

On Mon, 23 Mar 2020 11:49:05 +0100
yegorslists at googlemail.com wrote:

> From: Yegor Yefremov <yegorslists@googlemail.com>
> 
> Needed to build mongodb.
> 
> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
> ---
>  package/python3-cheetah/python-cheetah.mk    | 18 ++++++++++++++++++

The name of the .mk file was wrong, it should have been python3-cheetah.mk.

With your version of the patch, check-package was complaining quite
loudly:

package/python3-cheetah/python-cheetah.mk:9: possible typo: PYTHON3_CHEETAH_VERSION -> *PYTHON_CHEETAH*
package/python3-cheetah/python-cheetah.mk:10: possible typo: PYTHON3_CHEETAH_SOURCE -> *PYTHON_CHEETAH*
package/python3-cheetah/python-cheetah.mk:11: possible typo: PYTHON3_CHEETAH_SITE -> *PYTHON_CHEETAH*
package/python3-cheetah/python-cheetah.mk:12: possible typo: PYTHON3_CHEETAH_LICENSE -> *PYTHON_CHEETAH*
package/python3-cheetah/python-cheetah.mk:13: possible typo: PYTHON3_CHEETAH_LICENSE_FILES -> *PYTHON_CHEETAH*
package/python3-cheetah/python-cheetah.mk:14: possible typo: PYTHON3_CHEETAH_SETUP_TYPE -> *PYTHON_CHEETAH*
package/python3-cheetah/python-cheetah.mk:15: possible typo: HOST_PYTHON3_CHEETAH_DL_SUBDIR -> *PYTHON_CHEETAH*
package/python3-cheetah/python-cheetah.mk:16: possible typo: HOST_PYTHON3_CHEETAH_NEEDS_HOST_PYTHON -> *PYTHON_CHEETAH

> +# Please keep in sync with
> +# package/python-cheetah/python-cheetah.mk

This comment fits on one line. And I've added the corresponding comment
in package/python-cheetah/python-cheetah.mk.

Applied with these changes. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

* [Buildroot] [PATCH 5/8] package/python3-requests: add special host variant
  2020-03-23 10:49 ` [Buildroot] [PATCH 5/8] package/python3-requests: " yegorslists at googlemail.com
@ 2020-04-25  9:58   ` Thomas Petazzoni
  0 siblings, 0 replies; 24+ messages in thread
From: Thomas Petazzoni @ 2020-04-25  9:58 UTC (permalink / raw)
  To: buildroot

On Mon, 23 Mar 2020 11:49:06 +0100
yegorslists at googlemail.com wrote:

> From: Yegor Yefremov <yegorslists@googlemail.com>
> 
> Needed to build mongodb.
> 
> Also convert python-requests to host package.
> 
> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
> ---
>  package/python-requests/python-requests.mk     |  1 +
>  package/python3-requests/python3-requests.hash |  1 +
>  package/python3-requests/python3-requests.mk   | 18 ++++++++++++++++++
>  3 files changed, 20 insertions(+)
>  create mode 120000 package/python3-requests/python3-requests.hash
>  create mode 100644 package/python3-requests/python3-requests.mk
> 
> diff --git a/package/python-requests/python-requests.mk b/package/python-requests/python-requests.mk
> index e64db94523..8c012145f3 100644
> --- a/package/python-requests/python-requests.mk
> +++ b/package/python-requests/python-requests.mk
> @@ -12,3 +12,4 @@ PYTHON_REQUESTS_LICENSE = Apache-2.0
>  PYTHON_REQUESTS_LICENSE_FILES = LICENSE
>  
>  $(eval $(python-package))
> +$(eval $(host-python-package))

There was no need to add a host variant to python-requests, only
host-python3-requests is needed. However, I've added a comment in this
file to indicate that the version needs to stay in sync with the one in
python3-requests.

> +# Please keep in sync with
> +# package/python-requests/python-requests.mk
> +PYTHON3_REQUESTS_VERSION = 2.22.0
> +PYTHON3_REQUESTS_SOURCE = requests-$(PYTHON3_REQUESTS_VERSION).tar.gz
> +PYTHON3_REQUESTS_SITE = https://files.pythonhosted.org/packages/01/62/ddcf76d1d19885e8579acb1b1df26a852b03472c0e46d2b959a714c90608

I've updated to be in sync with python-requests, which is at 2.23.0.

Applied with those changes. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

* [Buildroot] [PATCH 6/8] package/python3-pyyaml: add special host variant
  2020-03-23 10:49 ` [Buildroot] [PATCH 6/8] package/python3-pyyaml: " yegorslists at googlemail.com
  2020-04-21 20:00   ` Ryan Barnett
@ 2020-04-25  9:59   ` Thomas Petazzoni
  1 sibling, 0 replies; 24+ messages in thread
From: Thomas Petazzoni @ 2020-04-25  9:59 UTC (permalink / raw)
  To: buildroot

On Mon, 23 Mar 2020 11:49:07 +0100
yegorslists at googlemail.com wrote:

>  package/python3-pyyaml/python3-pyyaml.hash |  1 +
>  package/python3-pyyaml/python3-pyyaml.mk   | 20 ++++++++++++++++++++

I've modified python-pyyaml.mk to indicate that its version should stay
in sync with python3-pyyaml.

> +# Please keep in sync with
> +# package/python-pyyaml/python-pyyaml.mk
> +PYTHON3_PYYAML_VERSION = 5.3
> +PYTHON3_PYYAML_SOURCE = PyYAML-$(PYTHON3_PYYAML_VERSION).tar.gz
> +PYTHON3_PYYAML_SITE = https://files.pythonhosted.org/packages/3d/d9/ea9816aea31beeadccd03f1f8b625ecf8f645bd66744484d162d84803ce5

Updated to use the same version as python-pyyaml, i.e version 5.3.1.

> +PYTHON3_PYYAML_SETUP_TYPE = distutils
> +PYTHON3_PYYAML_LICENSE = MIT
> +PYTHON3_PYYAML_LICENSE_FILES = LICENSE
> +PYTHON3_PYYAML_DEPENDENCIES = libyaml

This line was not needed, since there is no target version of
python3-pyyaml, so I dropped this line.

Applied with those changes. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

* [Buildroot] [PATCH 7/8] package/python3-psutil: add a special host variant
  2020-03-23 10:49 ` [Buildroot] [PATCH 7/8] package/python3-psutil: add a " yegorslists at googlemail.com
@ 2020-04-25 12:02   ` Thomas Petazzoni
  0 siblings, 0 replies; 24+ messages in thread
From: Thomas Petazzoni @ 2020-04-25 12:02 UTC (permalink / raw)
  To: buildroot

On Mon, 23 Mar 2020 11:49:08 +0100
yegorslists at googlemail.com wrote:

> diff --git a/package/python-psutil/python-psutil.mk b/package/python-psutil/python-psutil.mk
> index cfb015cfe6..b050547624 100644
> --- a/package/python-psutil/python-psutil.mk
> +++ b/package/python-psutil/python-psutil.mk
> @@ -11,8 +11,5 @@ PYTHON_PSUTIL_SETUP_TYPE = setuptools
>  PYTHON_PSUTIL_LICENSE = BSD-3-Clause
>  PYTHON_PSUTIL_LICENSE_FILES = LICENSE
>  
> -# Needed to build mongodb
> -HOST_PYTHON_PSUTIL_NEEDS_HOST_PYTHON = python3

I dropped this chunk, since I did not apply PATCH 1/8. I've however
added a comment in python-psutil.mk to tell that the version should be
kept in sync with python3-psutil.

> +# Please keep in sync with
> +# package/python-mako/python-psutil.mk
                   ^^^^^ should have been psutil

> +PYTHON3_PSUTIL_VERSION = 5.6.7
> +PYTHON3_PSUTIL_SOURCE = psutil-$(PYTHON3_PSUTIL_VERSION).tar.gz
> +PYTHON3_PSUTIL_SITE = https://files.pythonhosted.org/packages/73/93/4f8213fbe66fc20cb904f35e6e04e20b47b85bee39845cc66a0bcf5ccdcb

I've updated the version and site to be in sync with python-psutil.

Applied with those changes. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

* [Buildroot] [PATCH 8/8] package/mongodb: bump to version 4.2.4
  2020-03-23 10:49 ` [Buildroot] [PATCH 8/8] package/mongodb: bump to version 4.2.4 yegorslists at googlemail.com
  2020-03-24 22:06   ` Romain Naour
  2020-04-20 22:56   ` Ryan Barnett
@ 2020-04-25 12:02   ` Thomas Petazzoni
  2 siblings, 0 replies; 24+ messages in thread
From: Thomas Petazzoni @ 2020-04-25 12:02 UTC (permalink / raw)
  To: buildroot

On Mon, 23 Mar 2020 11:49:09 +0100
yegorslists at googlemail.com wrote:

> From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> 
> - Drop !BR2_PACKAGE_PYTHON3 dependency as SConstruct requires
>   host-python3 since version 4.1.10 and:
>   https://github.com/mongodb/mongo/commit/8dd6d4755734ed37c1b98dfdefce3ca6bc65f1f6
> - host-python-psutil is needed since 4.1.8 and
>   https://github.com/mongodb/mongo/commit/ff03811e31851984617d73739de8acc7640b19a2
> - Drop unneeded host-python-typing dependency
> - C++17 and so gcc 7 is required since 4.1.8 and
>   https://github.com/mongodb/mongo/commit/01d84b2565fc9ea9626a55dcf1f3f817968088f2
> - Set --disable-minimum-compiler-version-enforcement as mongodb enforces
>   gcc >= 8.2 since verson 4.1.8 and
>   https://github.com/mongodb/mongo/commit/9ac90b128ebeb1bb431ebe3fe9176cb6142818cb
> - Explictly disable ssl if needed as ssl is enabled by default
> - Add host-python-cheetah dependency if needed
> - Manage new http-client option added in version 4.1.2 and
>   https://github.com/mongodb/mongo/commit/4d7dcca91bc2bbde65843fe88c41fa040e0d1877
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> [Titouan: Fix patch conflicts with master]
> Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
> ---
>  package/mongodb/Config.in    |  8 +++-----
>  package/mongodb/mongodb.hash |  2 +-
>  package/mongodb/mongodb.mk   | 27 ++++++++++++++++++---------
>  3 files changed, 22 insertions(+), 15 deletions(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

end of thread, other threads:[~2020-04-25 12:02 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-23 10:49 [Buildroot] [PATCH 1/8] package/python-psutil: add host variant yegorslists at googlemail.com
2020-03-23 10:49 ` [Buildroot] [PATCH 2/8] package/python-regex: new package yegorslists at googlemail.com
2020-04-24 12:58   ` Thomas Petazzoni
2020-03-23 10:49 ` [Buildroot] [PATCH 3/8] package/python3-regex: add special package variant for the host build yegorslists at googlemail.com
2020-03-24 21:50   ` Romain Naour
2020-04-24 12:59   ` Thomas Petazzoni
2020-03-23 10:49 ` [Buildroot] [PATCH 4/8] package/python3-cheetah: add special host variant yegorslists at googlemail.com
2020-04-24 13:00   ` Thomas Petazzoni
2020-03-23 10:49 ` [Buildroot] [PATCH 5/8] package/python3-requests: " yegorslists at googlemail.com
2020-04-25  9:58   ` Thomas Petazzoni
2020-03-23 10:49 ` [Buildroot] [PATCH 6/8] package/python3-pyyaml: " yegorslists at googlemail.com
2020-04-21 20:00   ` Ryan Barnett
2020-04-23  6:55     ` Yegor Yefremov
2020-04-25  9:59   ` Thomas Petazzoni
2020-03-23 10:49 ` [Buildroot] [PATCH 7/8] package/python3-psutil: add a " yegorslists at googlemail.com
2020-04-25 12:02   ` Thomas Petazzoni
2020-03-23 10:49 ` [Buildroot] [PATCH 8/8] package/mongodb: bump to version 4.2.4 yegorslists at googlemail.com
2020-03-24 22:06   ` Romain Naour
2020-04-20 22:56   ` Ryan Barnett
2020-04-21 16:05     ` Ryan Barnett
2020-04-21 18:38       ` Fabrice Fontaine
2020-04-21 19:38         ` [Buildroot] [External] " Ryan Barnett
2020-04-25 12:02   ` [Buildroot] " Thomas Petazzoni
2020-04-24 12:57 ` [Buildroot] [PATCH 1/8] package/python-psutil: add host variant Thomas Petazzoni

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.