-
Notifications
You must be signed in to change notification settings - Fork 30
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
Linux atom build failing (Arch Linux) #486
Comments
maybe see #385? |
The fix from #385 does not work when running I also don't have the .atom folder or the node-modules in the atom/apm folder |
(Based on https://github.com/atom-community/atom/blob/master/script/bootstrap.cmd the deprecation error doesn't affect anything.) This is purely a guess because the issue author says the build process has been simplified, but maybe your node version is too recent. Last I remember Atom used an old version of node (based on my build script, v14) (The issue is still open so it seems this probably isn't really a solution.) Though if you're just trying to download Atom (not build), there is https://github.com/atom-community/atom/blob/master/docs/Installation.md which is also mentioned in the issue. |
The important bit of the error from the top of the post is
I'm not sure what would cause that, but if it was just a corrupted download over the network, trying to run it again should resolve it. The second error:
Says you have no Please install General note about Arch: The Arch build process sometimes tries to extract things like |
After I downloaded |
@Aligedchud two things:
You can post the error messages like this, if you want to avoid making super long posts that make it harder to scroll through the issue:
Or post to a pastebin type of site, etc. |
@Aligedchud try building atom after setting the env variable below:
|
Where do I set the env variable or what command would I or do I add it in the |
If you use bash shell run the command below to build atom:
If you use fish shell run the command below to build atom:
|
I ran the command Skipping installation. Specify the --install option to install Atom
Node: v14.21.2
Python: v3.10.9
Installing script runner dependencies
Installing script dependencies
Installing apm
apm 2.6.5-atomic.1.0
npm 6.14.18
node 12.18.3 x64
atom unknown
python 3.10.9
git 2.39.0
Installing modules ✓
Wrote Dependencies Fingerprint: /home/jj/atom/node_modules/.dependencies-fingerprint 9ed133770aba4b33ffc58f81147c949f36cfb49d ##[warning] Failed to dump the symbols via minidump. Error. Ignoring the error... ##[warning] Failed to dump the symbols via minidump. Error. Ignoring the error... ##[warning] Failed to dump the symbols via minidump. Error. Ignoring the error... ##[warning] Failed to dump the symbols via minidump. Error. Ignoring the error... ##[warning] Failed to dump the symbols via minidump. Error. Ignoring the error... ##[warning] Failed to dump the symbols via minidump. Error. Ignoring the error... ##[warning] Failed to dump the symbols via minidump. Error. Ignoring the error... ##[warning] Failed to dump the symbols via minidump. Error. Ignoring the error... ##[warning] Failed to dump the symbols via minidump. Error. Ignoring the error... ##[warning] Failed to dump the symbols via minidump. Error. Ignoring the error... ##[warning] Failed to dump the symbols via minidump. Error. Ignoring the error... ##[warning] Failed to dump the symbols via minidump. Error. Ignoring the error... ##[warning] Failed to dump the symbols via minidump. Error: Failed to write symbol file. ##[warning] Failed to dump the symbols via minidump. Error: Failed to write symbol file. ##[warning] Failed to dump the symbols via minidump. Error: Failed to write symbol file. ##[warning] Failed to dump the symbols via minidump. Error: Failed to write symbol file. ##[warning] Failed to dump the symbols via minidump. Error. Ignoring the error... ##[warning] Failed to dump the symbols via minidump. Error. Ignoring the error... ##[warning] Failed to dump the symbols via minidump. Error. Ignoring the error... ##[warning] Failed to dump the symbols via minidump. Error. Ignoring the error... ##[warning] Failed to dump the symbols via minidump. Error. Ignoring the error... ##[warning] Failed to dump the symbols via minidump. Error. Ignoring the error... ##[warning] Failed to dump the symbols via minidump. Error. Ignoring the error... ##[warning] Failed to dump the symbols via minidump. Error. Ignoring the error... ##[warning] Failed to dump the symbols via minidump. Error. Ignoring the error... ##[warning] Failed to dump the symbols via minidump. Error. Ignoring the error... ##[warning] Failed to dump the symbols via minidump. Error. Ignoring the error... ##[warning] Failed to dump the symbols via minidump. Error. Ignoring the error... ##[warning] Failed to dump the symbols via minidump. Error. Ignoring the error... ##[warning] Failed to dump the symbols via minidump. Error. Ignoring the error... ##[warning] Failed to dump the symbols via minidump. Error. Ignoring the error... ##[warning] Failed to dump the symbols via minidump. Error. Ignoring the error... ##[warning] Failed to dump the symbols via minidump. Error. Ignoring the error... ##[warning] Failed to dump the symbols via minidump. Error. Ignoring the error... Minifying startup script |
@Aligedchud atom was build successfully, you can run it using the executable created in the |
But if you want to install it using the atom scripts, use:
|
So if anyone wants to build and install atom on arch follow the steps below:
sudo pacman -S dpkg # required to build debian package
cd atom
ATOM_RELEASE_VERSION=1.63.0 ATOM_ELECTRON_URL='https://artifacts.electronjs.org/headers/dist' script/build --create-debian-package
pkgname="atom-bin"
pkgver=1.63.0
pkgrel=1
pkgdesc="Community build of the hackable text editor"
arch=("x86_64")
url="https://github.com/atom-community/atom"
license=("MIT")
depends=("libxkbfile" "ripgrep")
provides=("atom" "apm")
source=("atom-amd64.deb")
sha256sums=('SKIP')
prepare() {
bsdtar xf data.tar.xz
}
package() {
mv usr "$pkgdir"
}
|
I did a clean clone of the atom.git and ran the commands above I get this after I run
==> Making package: atom-bin 1.63.0-1 (Sat 14 Jan 2023 10:26:04 PM CST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
==> ERROR: atom-amd64.deb was not found in the build directory and is not a URL.
what's in the atom.out dir: app PKGBUILD: prepare() { package() { |
The build script did not create a debian package, make sure you have
|
I did all of the steps again and get this error at the
❯ makepkg -si
==> Making package: atom-bin 1.63.0-1 (Tue 17 Jan 2023 06:05:18 PM CST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found atom-amd64.deb
==> Validating source files with sha256sums...
atom-amd64.deb ... Skipped
==> Extracting sources...
-> Extracting atom-amd64.deb with bsdtar
==> Starting prepare()...
bsdtar: Error opening archive: Failed to open 'data.tar.xz'
==> ERROR: A failure occurred in prepare().
|
Slight tangent, but I want to mention this here: Now that atom-community/apm#124 is merged, I do intend to update apm at this repo to include that fix, if that's alright. I know more people watch this repo than the |
Hello I am using Arch Linux, kernel version 6.1.3, everything is up to date
The Yay build is not working it has the error message as shown below:
https://imgur.com/a/xYaHe2D
I tried the PKG-BUILD from the AUR link: https://aur.archlinux.org/atom-community-git.git to see if yay was broken
After git cloning it and running command makepkg -f PKGBUILD I get the same error message
The text was updated successfully, but these errors were encountered: