nickva commented on PR #58: URL: https://github.com/apache/couchdb-ci/pull/58#issuecomment-1796830961
It's still complaining ``` 69.4 Reading package lists... 169.9 Building dependency tree... 170.1 Reading state information... 170.3 The following additional packages will be installed: 170.3 libc-ares2 libnode108 libuv1 node-acorn node-busboy node-cjs-module-lexer 170.3 node-undici node-xtend 170.3 Suggested packages: 170.3 npm 170.3 Recommended packages: 170.3 nodejs-doc 170.4 The following NEW packages will be installed: 170.4 libc-ares2 libnode108 libuv1 node-acorn node-busboy node-cjs-module-lexer 170.4 node-undici node-xtend nodejs 170.4 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. 170.4 Need to get 11.3 MB of archives. 170.4 After this operation, 53.4 MB of additional disk space will be used. 170.4 Get:1 http://deb.debian.org/debian bookworm/main amd64 libc-ares2 amd64 1.18.1-3 [102 kB] 170.5 Get:2 http://deb.debian.org/debian bookworm/main amd64 libuv1 amd64 1.44.2-1 [140 kB] 170.5 Get:3 http://deb.debian.org/debian bookworm/main amd64 node-xtend all 4.0.2-3 [3932 B] 170.5 Get:4 http://deb.debian.org/debian bookworm/main amd64 nodejs amd64 18.13.0+dfsg1-1 [304 kB] 170.5 Get:5 http://deb.debian.org/debian bookworm/main amd64 node-acorn all 8.8.1+ds+~cs25.17.7-2 [128 kB] 170.5 Get:6 http://deb.debian.org/debian bookworm/main amd64 node-cjs-module-lexer all 1.2.2+dfsg-5 [30.1 kB] 170.5 Get:7 http://deb.debian.org/debian bookworm/main amd64 node-busboy all 1.6.0+~cs2.6.0-2 [16.9 kB] 170.5 Get:8 http://deb.debian.org/debian bookworm/main amd64 node-undici all 5.15.0+dfsg1+~cs20.10.9.3-1+deb12u1 [284 kB] 170.6 Get:9 http://deb.debian.org/debian bookworm/main amd64 libnode108 amd64 18.13.0+dfsg1-1 [10.3 MB] 171.6 debconf: delaying package configuration, since apt-utils is not installed 171.6 Fetched 11.3 MB in 1s (10.4 MB/s) 171.7 Selecting previously unselected package libc-ares2:amd64. (Reading database ... 27059 files and directories currently installed.) 171.7 Preparing to unpack .../0-libc-ares2_1.18.1-3_amd64.deb ... 171.7 Unpacking libc-ares2:amd64 (1.18.1-3) ... 171.7 Selecting previously unselected package libuv1:amd64. 171.7 Preparing to unpack .../1-libuv1_1.44.2-1_amd64.deb ... 171.7 Unpacking libuv1:amd64 (1.44.2-1) ... 171.7 Selecting previously unselected package node-xtend. 171.7 Preparing to unpack .../2-node-xtend_4.0.2-3_all.deb ... 171.7 Unpacking node-xtend (4.0.2-3) ... 171.8 Selecting previously unselected package nodejs. 171.8 Preparing to unpack .../3-nodejs_18.13.0+dfsg1-1_amd64.deb ... 171.8 Unpacking nodejs (18.13.0+dfsg1-1) ... 171.8 Selecting previously unselected package node-acorn. 171.8 Preparing to unpack .../4-node-acorn_8.8.1+ds+~cs25.17.7-2_all.deb ... 171.8 Unpacking node-acorn (8.8.1+ds+~cs25.17.7-2) ... 171.9 Selecting previously unselected package node-cjs-module-lexer. 171.9 Preparing to unpack .../5-node-cjs-module-lexer_1.2.2+dfsg-5_all.deb ... 171.9 Unpacking node-cjs-module-lexer (1.2.2+dfsg-5) ... 171.9 Selecting previously unselected package node-busboy. 171.9 Preparing to unpack .../6-node-busboy_1.6.0+~cs2.6.0-2_all.deb ... 171.9 Unpacking node-busboy (1.6.0+~cs2.6.0-2) ... 171.9 Selecting previously unselected package node-undici. 171.9 Preparing to unpack .../7-node-undici_5.15.0+dfsg1+~cs20.10.9.3-1+deb12u1_all.deb ... 171.9 Unpacking node-undici (5.15.0+dfsg1+~cs20.10.9.3-1+deb12u1) ... 171.9 Selecting previously unselected package libnode108:amd64. 172.0 Preparing to unpack .../8-libnode108_18.13.0+dfsg1-1_amd64.deb ... 172.0 Unpacking libnode108:amd64 (18.13.0+dfsg1-1) ... 172.4 Setting up node-cjs-module-lexer (1.2.2+dfsg-5) ... 172.4 Setting up libc-ares2:amd64 (1.18.1-3) ... 172.4 Setting up libuv1:amd64 (1.44.2-1) ... 172.4 Setting up node-xtend (4.0.2-3) ... 172.4 Setting up node-busboy (1.6.0+~cs2.6.0-2) ... 172.5 Setting up node-undici (5.15.0+dfsg1+~cs20.10.9.3-1+deb12u1) ... 172.5 Setting up node-acorn (8.8.1+ds+~cs25.17.7-2) ... 172.5 Setting up libnode108:amd64 (18.13.0+dfsg1-1) ... 172.5 Setting up nodejs (18.13.0+dfsg1-1) ... 172.5 update-alternatives: using /usr/bin/nodejs to provide /usr/bin/js (js) in auto mode 172.5 Processing triggers for man-db (2.11.2-2) ... 172.8 Processing triggers for libc-bin (2.36-9+deb12u3) ... 173.0 error: externally-managed-environment 173.0 173.0 × This environment is externally managed 173.0 ╰─> To install Python packages system-wide, try apt install 173.0 python3-xyz, where xyz is the package you are trying to 173.0 install. 173.0 173.0 If you wish to install a non-Debian-packaged Python package, 173.0 create a virtual environment using python3 -m venv path/to/venv. 173.0 Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make 173.0 sure you have python3-full installed. 173.0 173.0 If you wish to install a non-Debian packaged Python application, 173.0 it may be easiest to use pipx install xyz, which will manage a 173.0 virtual environment for you. Make sure you have pipx installed. 173.0 173.0 See /usr/share/doc/python3.11/README.venv for more information. 173.0 173.0 note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages. 173.0 hint: See PEP 668 for the detailed specification. ------ debian-bookworm:52 -------------------- 51 | # This allows us to use the same Dockerfile for building SM 52 | >>> RUN ERLANGVERSION=$erlangversion \ 53 | >>> ELIXIRVERSION=$elixirversion \ 54 | >>> NODEVERSION=$nodeversion \ 55 | >>> /root/couchdb-ci/bin/install-dependencies.sh $js $erlang 56 | -------------------- ERROR: failed to solve: process "/bin/sh -c ERLANGVERSION=$erlangversion ELIXIRVERSION=$elixirversion NODEVERSION=$nodeversion /root/couchdb-ci/bin/install-dependencies.sh $js $erlang" did not complete successfully: exit code: 1 ``` That's with diff: ```diff --- a/bin/apt-dependencies.sh +++ b/bin/apt-dependencies.sh @@ -118,7 +118,12 @@ EOF fi # rest of python dependencies -pip3 --default-timeout=10000 install --upgrade sphinx_rtd_theme nose requests hypothesis==3.79.0 +if [ "${VERSION_CODENAME}" != "bookworm" ]; then + # On Debian bookworm, need the --break-system-package to into to default system location + pip3 --default-timeout=10000 install --break-system-packages --upgrade sphinx_rtd_theme nose requests hypothesis==3.79.0 +else + pip3 --default-timeout=10000 install --upgrade sphinx_rtd_theme nose requests hypothesis==3.79.0 +fi # relaxed lintian rules for CouchDB mkdir -p /usr/share/lintian/profiles/couchdb diff --git a/dockerfiles/debian-bookworm b/dockerfiles/debian-bookworm index 13bcbf7..fd6c82f 100644 --- a/dockerfiles/debian-bookworm +++ b/dockerfiles/debian-bookworm @@ -33,7 +33,7 @@ ARG erlang=erlang # Select version of Node, Erlang and Elixir ARG erlangversion=24.3.4.14 ARG elixirversion=v1.15.7 -ARG nodeversion=18 +ARG nodeversion=14 # Create Jenkins user and group RUN groupadd --gid 910 jenkins; \ ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
