§2024-04-6

real    366m54.853s
user    2502m24.319s
sys     95m7.117s

on Orgpi58g is

real	542m23.450s
user	2193m2.131s
sys	     635m25.492s

but

alexlai@opi516G:~/build/mongo/build/install/bin$ ./mongod --version
29359 src/third_party/tcmalloc/dist/tcmalloc/system-alloc.cc:739] MmapAligned() failed - unable to allocate with tag (hint=0xde780000000, size=1073741824, alignment=1073741824) - is something limiting address placement?
29359 src/third_party/tcmalloc/dist/tcmalloc/arena.cc:48] CHECK in Alloc: FATAL ERROR: Out of memory trying to allocate internal tcmalloc data (bytes=131072, object-size=640); is something preventing mmap from succeeding (sandbox, VSS limitations)?
Aborted (core dumped)

alexlai@opi516G:~$ cat /etc/os-release 
PRETTY_NAME="Ubuntu 22.04.4 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.4 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
alexlai@opi516G:~$ uname -a
Linux opi516G 6.1.43-rockchip-rk3588 #1.0.8 SMP Fri Feb  2 18:34:56 CST 2024 aarch64 aarch64 aarch64 GNU/Linux
$ sudo apt install build-essential   <-- already installed
...
build-essential is already the newest version (12.9ubuntu3).

$ sudo apt install libcurl4-openssl-dev  <-- this will fail on Debian, then do the following line, else on ubuntu then skip

$ sudo apt install liblzma-dev   <-- for Debian
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
liblzma-dev is already the newest version (5.4.1-0.2).
liblzma-dev set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 61 not upgraded.
alexlai@opi516G:~$ python3 --version
Python 3.10.12

$ sudo apt install python3.10-venv
$ python3 -m venv ~/PYTHON-3.10.12  --prompt mongo # Optional (venv_path can be a path of your choice)
$ source ~/PYTHON-3.10.12/bin/activate
$ which python3
/home/alexlai/PYTHON-3.10.12/bin/python3
$ which pip3
/home/alexlai/PYTHON-3.10.12/bin/pip3

(mongo) alexlai@opi516G:~$ pip3 install 'poetry==1.5.1'
...
Successfully installed SecretStorage-3.3.3 attrs-23.2.0 build-0.10.0 cachecontrol-0.12.14 certifi-2024.2.2 cffi-1.16.0 charset-normalizer-3.3.2 cleo-2.1.0 crashtest-0.4.1 cryptography-42.0.5 distlib-0.3.8 dulwich-0.21.7 filelock-3.13.3 html5lib-1.1 idna-3.6 importlib-metadata-7.1.0 installer-0.7.0 jaraco.classes-3.4.0 jeepney-0.8.0 jsonschema-4.21.1 jsonschema-specifications-2023.12.1 keyring-23.13.1 lockfile-0.12.2 more-itertools-10.2.0 msgpack-1.0.8 packaging-24.0 pexpect-4.9.0 pkginfo-1.10.0 platformdirs-3.11.0 poetry-1.5.1 poetry-core-1.6.1 poetry-plugin-export-1.5.0 ptyprocess-0.7.0 pycparser-2.22 pyproject-hooks-1.0.0 rapidfuzz-3.7.0 referencing-0.34.0 requests-2.31.0 requests-toolbelt-1.0.0 rpds-py-0.18.0 shellingham-1.5.4 six-1.16.0 tomli-2.0.1 tomlkit-0.12.4 trov

(mongo) alexlai@opi516G:~$ which poetry
/home/alexlai/PYTHON-3.10.12/bin/poetry
(mongo) alexlai@opi516G:~$ poetry --version
Poetry (version 1.5.1)
(mongo) alexlai@opi516G:~$ pip3 list
Package                   Version
------------------------- ---------
attrs                     23.2.0
build                     0.10.0
CacheControl              0.12.14
certifi                   2024.2.2
cffi                      1.16.0
charset-normalizer        3.3.2
cleo                      2.1.0
crashtest                 0.4.1
cryptography              42.0.5
distlib                   0.3.8
dulwich                   0.21.7
filelock                  3.13.3
html5lib                  1.1
idna                      3.6
importlib_metadata        7.1.0
installer                 0.7.0
jaraco.classes            3.4.0
jeepney                   0.8.0
jsonschema                4.21.1
jsonschema-specifications 2023.12.1
keyring                   23.13.1
lockfile                  0.12.2
more-itertools            10.2.0
msgpack                   1.0.8
packaging                 24.0
pexpect                   4.9.0
pip                       22.0.2
pkginfo                   1.10.0
platformdirs              3.11.0
poetry                    1.5.1
poetry-core               1.6.1
poetry-plugin-export      1.5.0
ptyprocess                0.7.0
pycparser                 2.22
pyproject_hooks           1.0.0
rapidfuzz                 3.7.0
referencing               0.34.0
requests                  2.31.0
requests-toolbelt         1.0.0
rpds-py                   0.18.0
SecretStorage             3.3.3
setuptools                59.6.0
shellingham               1.5.4
six                       1.16.0
tomli                     2.0.1
tomlkit                   0.12.4
trove-classifiers         2024.3.25
urllib3                   1.26.18
virtualenv                20.25.1
webencodings              0.5.1
zipp                      3.18.1
(mongo) alexlai@opi516G:~$ python3 -m poetry install --no-root --sync    <-- 2024-04-06 I skipped this one

Poetry could not find a pyproject.toml file in /home/alexlai or its parents
$ mkdir -p build && cd $_
$ git clone https://github.com/mongodb/mongo.git && cd mongo
$ git checkout FATAL ERROR: Out of memory trying to allocate internal tcmalloc data -b test
Updating files: 100% (10380/10380), done.
Switched to a new branch 'test'

$ git tags
(mongo) alexlai@opi516G:~/build/mongo$ git checkout r8.0.0-rc0 -b test
Switched to a new branch 'test'
#!/bin/bash

# -j number of CPUS, no plus 2, odroid-n2 -j 6, odroid-hc4 -j4, orangePi5 -j 8
# execute form git clone https://github.com/mongodb/mongo.git && cd mongo
# under python3 eviromental control
# git checkout r7.0.0-rc8 -b test
# time python3 buildscripts/scons.py install-core -j6 --ssl --linker=gold CFLAGS="-march=armv8-a+crc -mtune=generic" --disable-warnings-as-errors >log 2>&1 &
# time python3 buildscripts/scons.py install-core -j8 --ssl --linker=gold CFLAGS="-march=armv8-a+crc -mtune='cortex-a73.cortex-a53' " --disable-warnings-as-errors >log 2>&1 &

# time python3 buildscripts/scons.py install-core -j8 --ssl CC=gcc-8 CXX=g++-8 CCFLAGS="-march=armv8-a+crc -mtune=cortex-a53" \
#       --install-mode=hygienic --install-action=hardlink --separate-debug archive-core{,-debug} --disable-warnings-as-errors >log 2>&1 &

time python3 buildscripts/scons.py install-core -j8 --ssl CCFLAGS="-march=armv8-a+crc -mtune=cortex-a53" --linker=gold \
        --install-mode=hygienic --install-action=hardlink --separate-debug archive-core{,-debug} --disable-warnings-as-errors >log 2>&1 &


# CFLAGS="-march=armv8-a+crc -mtune='cortex-a73.cortex-a53' " 2023-07-25
#
#   install-mongod
#   install-mongos
#   install-core (includes only mongod and mongos)
#   install-servers (includes all server components)
#   install-devcore (includes mongod, mongos, and jstestshell (formerly mongo shell))
#   install-all (includes a complete end-user distribution and tests)
#    install-all-meta (absolutely everything that can be built and installed)
#
$ tail -f log
• Installing yapf (0.26.0)
  • Installing types-setuptools (57.4.12)
  • Installing webencodings (0.5.1): Skipped for the following reason: Already installed
  • Installing six (1.16.0): Skipped for the following reason: Already installed
  • Installing urllib3 (1.26.18): Skipped for the following reason: Already installed
  • Installing shrub-py (1.1.4)

Detected one or more packages are out of date. Try running:
    export PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring
    /home/alexlai/PYTHON-3.10.12/bin/python3 -m poetry install --no-root --sync

Then,

(mongo) alexlai@opi516G:~/build/mongo$ export PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring        
(mongo) alexlai@opi516G:~/build/mongo$ poetry install --no-root --sync
Installing dependencies from lock file

Package operations: 122 installs, 16 updates, 0 removals

  • Installing jmespath (1.0.1)
  • Installing python-dateutil (2.8.2)
  • Installing botocore (1.34.40)
  • Updating pycparser (2.22 -> 2.21)
  • Installing s3transfer (0.10.0)
  • Installing boto3 (1.34.40)
  • Updating rpds-py (0.18.0 -> 0.17.1)
  • Installing smmap (5.0.1)
  • Installing asn1crypto (1.5.1)
  • Updating cryptography (42.0.5 -> 36.0.2)
  • Installing dnspython (2.5.0)
  • Installing exceptiongroup (1.2.0)
  • Installing gitdb (4.0.11)
  • Installing h11 (0.14.0)
  • Installing markupsafe (2.1.5)
  • Installing outcome (1.3.0.post0)
  • Installing pymongo-auth-aws (1.1.0)
  • Installing pyparsing (2.4.0)
  • Updating referencing (0.34.0 -> 0.33.0)
  • Updating setuptools (59.6.0 -> 58.1.0)
  • Installing sniffio (1.3.0)
  • Installing sortedcontainers (2.4.0)
  • Installing typing-extensions (4.9.0)
  • Installing wrapt (1.16.0)
  • Updating zipp (3.18.1 -> 3.17.0)
  • Installing automat (22.10.0)
  • Installing click (7.1.2)
  • Installing constantly (23.10.4)
  • Installing deprecated (1.2.14)
  • Installing distro (1.5.0)
  • Updating filelock (3.13.3 -> 3.13.1)
  • Installing gitpython (3.1.41)
  • Installing greenlet (3.0.3)
  • Installing hyperlink (21.0.0)
  • Updating importlib-metadata (7.1.0 -> 6.11.0)
  • Installing incremental (22.10.0)
  • Installing itsdangerous (2.1.2)
  • Updating jaraco-classes (3.4.0 -> 3.3.1)
  • Installing jinja2 (3.1.3)
  • Installing lazy-object-proxy (1.10.0)
  • Updating msgpack (1.0.8 -> 1.0.7)
  • Installing oauthlib (3.2.2)
  • Installing oscrypto (1.3.0)
  • Updating packaging (24.0 -> 21.3)
  • Installing protobuf (4.25.2)
  • Installing pyasn1 (0.5.1)
  • Installing pydantic (1.10.14)
  • Installing pymongo (4.3.3)
  • Installing pysocks (1.7.1)
  • Updating rapidfuzz (3.7.0 -> 3.6.1)
  • Installing trio (0.24.0)
  • Installing werkzeug (2.3.7)
  • Installing wsproto (1.2.0)
  • Installing zope-interface (5.0.0)
  • Installing argcomplete (3.2.2): Pending...
  • Installing argcomplete (3.2.2): Downloading... 0%
  • Installing argcomplete (3.2.2)
  • Installing astroid (2.15.8)
  • Installing backoff (2.2.1)
  • Installing bottle (0.12.25)
  • Installing decorator (5.1.1)
  • Installing defusedxml (0.7.1)
  • Installing dill (0.3.8)
  • Installing enum-compat (0.0.3)
  • Installing flask (2.0.3)
  • Installing isort (5.13.2)
  • Installing mccabe (0.7.0)
  • Installing mongo-tooling-metrics (1.0.8)
  • Installing mypy-extensions (1.0.0)
  • Installing ocspbuilder (0.10.2)
  • Installing opentelemetry-api (1.22.0)
  • Installing opentelemetry-proto (1.22.0)
  • Installing opentelemetry-semantic-conventions (0.43b0)
  • Installing passlib (1.7.4)
  • Installing pathspec (0.12.1)
  • Updating pkginfo (1.10.0 -> 1.9.6)
  • Installing psutil (5.8.0)
  • Installing py (1.11.0)
  • Installing pyasn1-modules (0.3.0)
  • Installing pyjwt (2.3.0)
  • Installing pynacl (1.5.0)
  • Installing pyopenssl (22.0.0)
  • Installing pyyaml (5.3.1)
  • Installing requests-oauthlib (1.3.1)
  • Installing sentinels (1.0.0)
  • Installing snowballstemmer (2.2.0)
  • Installing sqlalchemy (2.0.26)
  • Installing structlog (23.1.0)
  • Installing tenacity (8.2.3)
  • Updating tomlkit (0.12.4 -> 0.12.3)
  • Installing trio-websocket (0.11.1)
  • Updating trove-classifiers (2024.3.25 -> 2024.1.31)
  • Installing twisted (21.2.0)
  • Installing types-urllib3 (1.26.25.14)
  • Installing userpath (1.9.1)
  • Updating virtualenv (20.25.1 -> 20.25.0)
  • Installing websocket-client (1.7.0)
  • Installing cheetah3 (3.2.6.post1): Preparing...
  • Installing colorama (0.4.6)
  • Installing curatorbin (1.2.3): Downloading... 2%
  • Installing curatorbin (1.2.3): Downloading... 5%
  • Installing curatorbin (1.2.3): Downloading... 8%
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing curatorbin (1.2.3): Downloading... 10%
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing curatorbin (1.2.3): Downloading... 13%
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing curatorbin (1.2.3): Downloading... 17%
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing curatorbin (1.2.3): Downloading... 20%
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing curatorbin (1.2.3): Downloading... 24%
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing colorama (0.4.6)
  • Installing curatorbin (1.2.3): Downloading... 24%
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing cheetah3 (3.2.6.post1): Installing...
  • Installing colorama (0.4.6)
  • Installing curatorbin (1.2.3): Downloading... 24%
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing colorama (0.4.6)
  • Installing curatorbin (1.2.3): Downloading... 24%
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing cheetah3 (3.2.6.post1)
  • Installing colorama (0.4.6)
  • Installing curatorbin (1.2.3): Downloading... 24%
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing curatorbin (1.2.3): Downloading... 30%
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing curatorbin (1.2.3): Downloading... 40%
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing curatorbin (1.2.3): Downloading... 41%
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing curatorbin (1.2.3): Downloading... 49%
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing curatorbin (1.2.3): Downloading... 50%
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing curatorbin (1.2.3): Downloading... 53%
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing curatorbin (1.2.3): Downloading... 60%
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing curatorbin (1.2.3): Downloading... 66%
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing curatorbin (1.2.3): Downloading... 70%
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing curatorbin (1.2.3): Downloading... 78%
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing curatorbin (1.2.3): Downloading... 82%
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing curatorbin (1.2.3): Downloading... 85%
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing curatorbin (1.2.3): Downloading... 90%
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing curatorbin (1.2.3): Downloading... 98%
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing curatorbin (1.2.3): Downloading... 100%
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing curatorbin (1.2.3): Installing...
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing curatorbin (1.2.3)
  • Installing docker (6.1.3)
  • Installing evergreen-lint (0.1.5)
  • Installing evergreen-py (3.6.22)
  • Installing gdbmongo (0.14.0)
  • Installing geckodriver-autoinstaller (0.1.0)
  • Installing googleapis-common-protos (1.62.0)
  • Installing inject (5.2.0)
  • Installing jira (3.1.1)
  • Installing ldaptor (19.0.0)
  • Installing memory-profiler (0.61.0)
  • Installing mock (5.1.0)
  • Installing mongo-ninja-python (1.11.1.7)
  • Installing mongomock (4.1.2)
  • Installing mypy (1.3.0)
  • Installing networkx (3.2.1)
  • Installing ocspresponder (0.5.0)
  • Installing opentelemetry-exporter-otlp-proto-common (1.22.0)
  • Installing opentelemetry-sdk (1.22.0)
  • Installing pipx (1.4.3)
  • Installing pkce (1.0.3)
  • Installing proxy-protocol (0.7.5)
  • Installing puremagic (1.20)
  • Installing pydocstyle (6.3.0)
  • Installing pygithub (1.56)
  • Installing pykmip (0.10.0)
  • Installing pylint (2.17.4)
  • Installing regex (2021.11.10)
  • Installing requests-oauth (0.4.1)
  • Installing retry (0.9.2)
  • Installing selenium (4.17.2)
  • Installing service-identity (18.1.0)
  • Installing shrub-py (1.1.4)
  • Installing tabulate (0.9.0)
  • Installing tqdm (4.66.2)
  • Installing types-pyyaml (6.0.12.12)
  • Installing types-requests (2.31.0.1)
  • Installing types-setuptools (57.4.12)
  • Installing unittest-xml-reporting (3.0.4)
  • Installing yamllint (1.32.0)
  • Installing yapf (0.26.0)
  
(mongo) alexlai@opi516G:~/build/mongo$ ~/script/buildMongo.sh   <-- then run again!!
I’m trying to build MongoDB on an ODRIOD N2 with Armbian+Yunohost so I can install Wekan. (Usually I’m on Arch, but Yunohost is .deb orientated).

I’m trying to follow these 37 instructions, but python3 buildscripts/scons.py --ssl CC=gcc-8 CXX=g++-8 CCFLAGS="-march=armv8-a+crc -mtune=cortex-a53" --install-mode=hygienic --install-action=hardlink --separate-debug archive-core{,-debug} (note; switched to a53 not a72) slows the system down to just above a freeze within 5 minutes of work.

Are there any options I could set to see if that would help the build continue without locking the N2 up?

$ pip3 install -r etc/pip/compile-requirements.txt ???