Package Details: electron19 19.1.9-5

Git Clone URL: https://aur.archlinux.org/electron19.git (read-only, click to copy)
Package Base: electron19
Description: Build cross platform desktop apps with web technologies
Upstream URL: https://electronjs.org/
Licenses: custom, MIT
Submitter: alerque
Maintainer: Drew
Last Packager: alerque
Votes: 8
Popularity: 0.90
First Submitted: 2023-06-22 20:07 (UTC)
Last Updated: 2023-06-22 20:07 (UTC)

Sources (14)

Latest Comments

shore commented on 2024-01-05 14:41 (UTC)

half an hour and its still downloading........

Drew commented on 2023-08-16 13:22 (UTC)

@PiousMinion

So you already have electron19, but it is outdated and you were trying to upgrade it? I'm not sure how outdated your local version is, but one option is to simply ignore the upgrade and use the currently installed version. If you use an AUR helper, you should be able to configure it so it never tries to upgrade this package. You could also check the electron changelog to see if you're missing any security fixes.

Normally, pacman -Qi electron would tell you what depends on the current package in the "Required By" section. You can also run pactree -r electron19 to see all transitive dependents. Is it possible you manually installed electron19 directly because you were trying to build or run an electron app that was not installed via pacman?

Personally, I'm not very tolerant of AUR packages that won't build in a clean chroot. If I don't know why I have it, I usually just run pacman -Rsc <package> and check the list of things it says it will uninstall. If I don't care about those packages, I just execute the removal. But this is destructive and you may lose something that you need later. It's a practice I developed because I decided I am willing to take that risk in order to avoid perpetual inconvenience.

PiousMinion commented on 2023-08-15 01:50 (UTC)

@Drew Thank you for taking the time to look at it. I think 'electron19' was a dependency of something else I was tinkering with, but I forget what. "pacman -Qi electron19" didn't help and idk if there is a way to easily check if any AUR packages require it, so I might just remove the package and see what breaks. :P I'll let you know what breaks and if the bin package fixed it. Thanks again. :D

Drew commented on 2023-08-14 16:42 (UTC)

@PiousMinion

Thanks for the report. I have reproduced the error in a clean chroot. Until this is fixed, you may want to try installing the binary package, electron19-bin, to see if that works for your use case. Please let me know if you try that and it works.

There is a compilation error where the compiler is telling us the C++ code is not valid. It seems there are features used in the code that only some compilers support. So this might be a version compatibility issue with clang. I'm not exactly sure.

From my initial research, it is not obvious to me how to fix the problem. When I get some more time, I'll look into messing around with older versions to see if I can get it to build, and maybe post in some support forums somewhere. I'm not a C++ expert; in my day job I mainly write rust and some bash and python, so I can't make any promises. It would be nice if someone with more experience could chime in.

I am not the original maintainer of this package btw. I took it over since it was orphaned and I wanted to make sure a package with this many dependents at least had someone to look after it and make sure it doesn't get abused by a malicious packager. You can find the original maintainers in the PKGBUILD:

I may reach out to them if I get stuck, but I'm guessing they abandoned it because they don't want the headache.

PiousMinion commented on 2023-08-13 23:38 (UTC)

I haven't been able to get this to build.

Here is my build log. http://ix.io/4Dov

Any tips would be greatly appreciated.

Drew commented on 2023-07-16 21:40 (UTC) (edited on 2023-07-16 21:40 (UTC) by Drew)

Someone flagged the package as out-of-date. I have unflagged it, since it is already at the final release. If you have a problem building this package, please add a comment with the error message.

Electron 19.x.y has reached end-of-support as per the project's support policy. Developers and applications are encouraged to upgrade to a newer version of Electron.

https://github.com/electron/electron/releases/tag/v19.1.9