Skip to content

debian-buster image build failure on ppc64le with qemu #27

@wohali

Description

@wohali

Even with the latest qemu I can easily install (4.1.1-1), building the ppc64le CI image on an amd64 host results in a coredump when running npm:

qemu: uncaught target signal 11 (Segmentation fault) - core dumped
/root/couchdb-ci/bin/apt-dependencies.sh: line 107: 69755 Segmentation fault      npm install npm@latest -g

In normal CI use this isn't necessarily an issue because our workflow builds the main CouchDB tarball on an amd64 image first, which does all the npm work on its own, then hands that to the separate per-platform images to build the rest.

But it does mean we need an override to build the image without npm, so that the build can proceed.

It's worth noting that Nodesource does not provide ppc64le versions of npm/nodejs, so it's coming direct from debian. I'm trying an experiment now to bypass those packages and install from nodejs.org instead, as we were looking at with #26 . We'll see if that works.

/cc @willholley

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions