Closed sujay1844 closed 3 years ago
Update: even aura
gives the same error. So I don't the issue is with the AUR helper here.
Your logs say:
==> Missing dependencies:
-> libgccjit
Did you try to install libgccjit first?
that is because libgccjit
had an error and didn't install. You can see it in this part of the log:-
../../../gcc-10.2.0/libcpp/expr.c:802:18: error: format not a string literal and no format arguments [-Werror=format-security]
802 | 0, message);
| ^
../../../gcc-10.2.0/libcpp/expr.c:805:39: error: format not a string literal and no format arguments [-Werror=format-security]
805 | virtual_location, 0, message);
| ^
cc1plus: some warnings being treated as errors
make[2]: *** [Makefile:224: expr.o] Error 1
make[2]: Leaving directory '/home/sujay1844/.cache/paru/clone/libgccjit/src/libgccjit-build/build-x86_64-pc-linux-gnu/libcpp'
make[1]: *** [Makefile:2850: all-build-libcpp] Error 2
make[1]: Leaving directory '/home/sujay1844/.cache/paru/clone/libgccjit/src/libgccjit-build'
make: *** [Makefile:940: all] Error 2
==> ERROR: A failure occurred in build().
This is extract is from line 2620
to 2632
in the log file
I see, I just tried and I can't reproduce the issue. libgccjit is not related to this repo though, you could comment on the corresponding AUR package instead: https://aur.archlinux.org/packages/libgccjit/
I would make sure that you are using the correct version of gcc and that you are not compiling the package with custom flags.
When I checked the AUR package, it's flagged as out-dated
Yes there is a 10.3.0 available version now -- still though, that should not make any difference
aur/libgccjit 10.2.0-2 [+17 ~2.20] [Out-of-date: 2021-04-17]
Just-In-Time Compilation using GCC.
This is the version in the AUR. How do I install 10.3.0
? I can't find a github repo for libgccjit
Why do you need 10.3.0? Emacs will work with 10.2.0 just fine.
libgccjit is not related to this repo though, you could comment on the corresponding AUR package instead: https://aur.archlinux.org/packages/libgccjit/
I submitted a bug report Let's see what happens.
I checked your bug report and as highlighted in my comment above, it looks like you are compiling libgccjit with custom flags (you could check CPPFLAGS). This flag is not set by the PKGBUILD, so it is something on your side.
I will close that issue since it is not related to this emacs-gcc-wayland-devel-builder.
(FYI: I'm a complete noob to emacs) I'm getting the following error when I try to install the AUR package using
paru -S emacs-gcc-wayland-devel-bin
. I thought the issue was withparu
but then I tried usingyay
and got the same error. The error.log (When usingparu
) The last few lines of the error.logThis is my system information:-