You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Building Atom on 32bit Ubuntu 14.04 results in 64bit binary #12972
Using Ubuntu 14.04 32bit, install nodejs v6 from its official Ubuntu/Debian repository. I was also able to reproduce this with nodejs v4 from the its official repository and npm v3 installed manually (installing the nodejs v4 package provides npm v2, and Atom 1.11.1 refuses to build with npm older than v3; this was not the case for Atom 1.10.2).
Download Atom 1.11.1 and build it with script/build
Expected behavior: Atom should be built for 32bit. Actual behavior: Atom is built for 64bit.
Versions
Tested on two Ubuntu 14.04 32bit machines. Atom version: 1.11.1 (latest stable).
I'm not sure if these are required in this case but anyway:
$ atom --version
Atom : 1.10.2
Electron: 0.37.8
Chrome : 49.0.2623.75
Node : 5.10.0
logs.txt
I can confirm the issue. It is impossible to build Atom 1.11.2 from sources on Slackware x32-bit.
Also, this error in Atom's installation scripts was present in Atom's 1.10.2 sources, but i didn't bother to report (decided to install 1.10.0 version using sbopkg instead).
During compilation from sources process, i noticed a string in console: Downloading electron-v0.37.8-linux-x64.zip
But I'm using x32-bit operating system!
There is an error in installation scripts.
Activity
winstliu commentedon Oct 13, 2016
@nathansobo Possibly a problem with the new build scripts? 1.10 was the last version that worked and also the last version with the old build scripts.
nathansobo commentedon Oct 13, 2016
Possibly. I can't spend time on this right now but if someone wants to investigate I will look at a PR.
Pick the right architecture on linux atom#12972
Merge pull request #1 from flububb/flububb-fix-12972
i-svr commentedon Oct 27, 2016
logs.txt
I can confirm the issue. It is impossible to build Atom 1.11.2 from sources on Slackware x32-bit.
Also, this error in Atom's installation scripts was present in Atom's 1.10.2 sources, but i didn't bother to report (decided to install 1.10.0 version using sbopkg instead).
During compilation from sources process, i noticed a string in console:
Downloading electron-v0.37.8-linux-x64.zip
But I'm using x32-bit operating system!
There is an error in installation scripts.
PS: logs attached.
Ben3eeE commentedon Oct 28, 2016
@i-svr If you want you can test the PR that fixes this issue #13001
hotice commentedon Oct 28, 2016
That fixes it for me on Ubuntu 32bit!