Skip to content
This repository was archived by the owner on Apr 26, 2025. It is now read-only.
This repository was archived by the owner on Apr 26, 2025. It is now read-only.

error: No compatible architectures found for build #29

@MaxOrelus

Description

@MaxOrelus

I'm trying to build a node application rpm using your npm package. I've filled out all the options concerning arch with x86_64 as that's the platform I'm currently running. I get the following error when I run the npm start.

[root@unknown0800277ccd0f node-app]# uname -m
x86_64
[root@unknown0800277ccd0f node-app]# npm start

> [email protected] start /root/node-app
> node index.js

Creating RPM directory structure at: /root/node-app/tmp-2zFExTn9V
SPEC file created: tmp-2zFExTn9V/SPECS/node-app-0.0.1-1.x86-64.spec
Executing: rpmbuild -bb -vv --buildroot /root/node-app/tmp-2zFExTn9V/BUILDROOT/ tmp-2zFExTn9V/SPECS/node-app-0.0.1-1.x86-64.spec
/root/node-app/index.js:40
    throw err;
    ^

Error: Command failed: rpmbuild -bb -vv --buildroot /root/node-app/tmp-2zFExTn9V/BUILDROOT/ tmp-2zFExTn9V/SPECS/node-app-0.0.1-1.x86-64.spec
error: No compatible architectures found for build

OS I'm build on.

platform:linux
distro:CentOS Linux
release:7
codename:Core
kernel:3.10.0-957.12.2.el7.x86_64
arch:x64
hostname:unknown0800277ccd0f.attlocal.net
codepage:UTF-8
logofile:centos
serial:f5438d6c4f924545873e64ebe3d743a4
build:N/A
servicepack:N/A

Also, I noticed that the keepTemp option has no logic. Whether I set it or not, it still keeps the temp directory. Not sure if that's happening because the builds are failing before it can complete.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions