20846/18874: Use standard yarn install process for debian12/ubuntu2204 20846-yarn-install
authorBrett Smith <brett.smith@curii.com>
Fri, 29 Dec 2023 18:26:57 +0000 (13:26 -0500)
committerBrett Smith <brett.smith@curii.com>
Fri, 29 Dec 2023 18:33:48 +0000 (13:33 -0500)
commit0cf9290575e7533921b5f0f0698194d8df0b4975
treed64a1720b77668b01cecdd60aca8c8dee1fe51e0
parent1facbe1b9a0f41f7a86e9cae8a78926364ed69f6
20846/18874: Use standard yarn install process for debian12/ubuntu2204

Pre-commit, these builds are failing with:

node[6]: ../src/node_platform.cc:61:std::unique_ptr<long unsigned int> node::WorkerThreadsTaskRunner::DelayedTaskScheduler::Start(): Assertion `(0) == (uv_thread_create(t.get(), start_thread, this))' failed.
 1: 0xa1ae50 node::Abort() [node]
 2: 0xa1aece  [node]
 3: 0xa8c40a node::WorkerThreadsTaskRunner::WorkerThreadsTaskRunner(int) [node]
 4: 0xa8c4da node::NodePlatform::NodePlatform(int, v8::TracingController*) [node]
 5: 0x9eaa69 node::InitializeOncePerProcess(int, char**) [node]
 6: 0x9eaf61 node::Start(int, char**) [node]
 7: 0x7f2c67c75d90  [/lib/x86_64-linux-gnu/libc.so.6]
 8: 0x7f2c67c75e40 __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6]
 9: 0x982005  [node]
Aborted (core dumped)
The command '/bin/sh -c env -C /usr/local/node-v12.22.12-linux-x64/bin PATH="$PATH:." ./npm install -g yarn' returned a non-zero code: 134

I think this is most likely due to a Linux/libc incompatibility between
the host system (Debian 11, I think) and Debian 12/Ubuntu 22.04. I
don't *think* it's because I changed the yarn install invocation. But, I
have to be sure. This commit is me checking. If I'm wrong, and the build
really does work this way, I will be very unhappy about it.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
build/package-build-dockerfiles/debian12/Dockerfile
build/package-build-dockerfiles/ubuntu2204/Dockerfile