Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: No compatible architectures found for build #29

Open
MaxOrelus opened this issue Jun 7, 2019 · 0 comments
Open

error: No compatible architectures found for build #29

MaxOrelus opened this issue Jun 7, 2019 · 0 comments

Comments

@MaxOrelus
Copy link

MaxOrelus commented Jun 7, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant