Package Details: electron24 24.8.8-4

Git Clone URL: https://aur.archlinux.org/electron24.git (read-only, click to copy)
Package Base: electron24
Description: Build cross platform desktop apps with web technologies
Upstream URL: https://electronjs.org
Licenses: MIT, BSD-3-Clause
Submitter: alerque
Maintainer: alerque
Last Packager: alerque
Votes: 1
Popularity: 0.36
First Submitted: 2024-02-07 10:48 (UTC)
Last Updated: 2024-04-24 07:48 (UTC)

Sources (168)

Pinned Comments

alerque commented on 2024-03-12 11:35 (UTC)

Because the same issues come up over and over, here are some FAQs/tips:

  • Check if you still need this. It is in the AUR because it is EOL and removed from Arch official repos since no official packages depend on it. If none of your other packages depend on it, just remove it.
  • If you do still need it and don't want to build it, consider switching to electronNN-bin.
  • If you do build this, yes it takes about 40 Gigs of sources and a lot of CPU to build.
  • Using the chroot build methods recommended by Arch will make this much easier, especially to not run into conflicts with node versions, etc.

alerque commented on 2024-03-04 11:00 (UTC)

Thanks for disowning this @sidicer.

I have updated the source handling using the method recently adopted for the electron versions currently in [extra]. It still requires about 30Gigs of sources, but the technique is friendlier to building using makepkg instead of makechrootpkg, and even in the chroot case saves some re-downloads because more of the sources are cached by makepkg properly.

I also started hosting this in my user repository if anybody wants the non-bin version without the disk, network, and CPU overhead required to build this.

Latest Comments

1 2 Next › Last »

alerque commented on 2024-03-12 11:35 (UTC)

Because the same issues come up over and over, here are some FAQs/tips:

  • Check if you still need this. It is in the AUR because it is EOL and removed from Arch official repos since no official packages depend on it. If none of your other packages depend on it, just remove it.
  • If you do still need it and don't want to build it, consider switching to electronNN-bin.
  • If you do build this, yes it takes about 40 Gigs of sources and a lot of CPU to build.
  • Using the chroot build methods recommended by Arch will make this much easier, especially to not run into conflicts with node versions, etc.

alerque commented on 2024-03-04 11:00 (UTC)

Thanks for disowning this @sidicer.

I have updated the source handling using the method recently adopted for the electron versions currently in [extra]. It still requires about 30Gigs of sources, but the technique is friendlier to building using makepkg instead of makechrootpkg, and even in the chroot case saves some re-downloads because more of the sources are cached by makepkg properly.

I also started hosting this in my user repository if anybody wants the non-bin version without the disk, network, and CPU overhead required to build this.

jelly commented on 2024-03-03 13:00 (UTC)

I've taken the liberty of fixing the broken state of this package, I've simply reverted the 2 commits which a) caused the package to not be build b) caused users to upgrade because of the unrequired pkgrel bump.

alerque commented on 2024-03-03 06:47 (UTC) (edited on 2024-03-03 07:08 (UTC) by alerque)

To all the people complaining about the "silent" update to building from source—you are using your package manager wrong! If you use a helper like yay or paru that automatically builds and fills in anything from the AUR and suppress the confirmations then that's on you. Even though they are unsupported by Arch even those have options to prompt for confirmation and review before downloading sources and building things. Or if you want an even safer option then use pacman -Syu instead, then use your helper on the side with confirmation turned on to step through the stuff that would need building.

alerque commented on 2024-03-03 06:44 (UTC) (edited on 2024-03-03 06:52 (UTC) by alerque)

Dude if you don't want to maintain this properly then do not adopt it. The 40Gigs of chromium sources was not incorrect, that's what it takes to build this package. Take it from the person who has been building and packaging this for years in the official repos. Now put it back please. Your last commit needs to be git reverted.

If people want to save bandwidth downloading and building this now that it isn't prebuilt in official repos then switch to using electron24-bin.

If you want a slightly more robust way of handling sources then cherry pick the recent changes from electron23. It's still all the chromium sources, but in a way that is easier for makepkg to cache between builds.

Domain314 commented on 2024-02-21 15:56 (UTC)

Same problem as "lateparty" and "starch2021". src/build/landmines.py: No such file or directory

starch2021 commented on 2024-02-21 11:43 (UTC) (edited on 2024-02-21 11:47 (UTC) by starch2021)

Same problem as "lateparty" for updating from "aur/electron24 24.8.8-2 -> 24.8.8-4". There are lots of messages like "Skipping non-existent file: src/..."

lateparty commented on 2024-02-21 06:47 (UTC)

Trying to install electron24 24.8.8-4 from AUR whilst on 6.6.8.arch-1 but basically everything else up to date, I get the following error: "/home/[user]/.cache/yay/electron24/PKGBUILD: line 187: src/build/landmines.py: No such file or directory" Any help would be appreciated