Package Details: emacs-pgtk-git 30.0.50.171650-2

Git Clone URL: https://aur.archlinux.org/emacs-pgtk-git.git (read-only, click to copy)
Package Base: emacs-pgtk-git
Description: GNU Emacs. Development branch, with PGTK enabled.
Upstream URL: http://www.gnu.org/software/emacs/
Licenses: GPL3
Conflicts: emacs
Provides: emacs
Replaces: emacs
Submitter: VitalyR
Maintainer: VitalyR
Last Packager: VitalyR
Votes: 1
Popularity: 0.000000
First Submitted: 2022-04-20 15:42 (UTC)
Last Updated: 2024-09-24 05:09 (UTC)

Required by (314)

Sources (2)

Latest Comments

1 2 Next › Last »

toogad commented on 2024-10-01 00:52 (UTC)

I ended up doing what urugang suggested below: setting +MOLD="NO", and then manually do

makepkg -s

then install using yay or pacman -U

toogad commented on 2024-09-28 17:07 (UTC) (edited on 2024-09-28 17:08 (UTC) by toogad)

I encountered the same error. Below is where I think the error was documented in config.log:

configure:9307: $? = 1

configure:9327: checking whether the C compiler works

configure:9349: sccache gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fuse-ld=gold -g -ffile-prefix-map=/home/kai/.cache/yay/emacs-pgtk-git/src=/usr/src/debug/emacs-pgtk-git -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto conftest.c >&5

/usr/bin/ld.gold: pack-relative-relocs: unknown -z option

/usr/bin/ld.gold: use the --help option for usage information

collect2: error: ld returned 1 exit status

configure:9353: $? = 1

configure:9394: result: no

configure: failed program was:

| / confdefs.h /

| #define PACKAGE_NAME "GNU Emacs"

| #define PACKAGE_TARNAME "emacs"

| #define PACKAGE_VERSION "31.0.50"

| #define PACKAGE_STRING "GNU Emacs 31.0.50"

| #define PACKAGE_BUGREPORT "bug-gnu-emacs@gnu.org"

| #define PACKAGE_URL "https://www.gnu.org/software/emacs/"

| #define HAVE_PDUMPER 1

| #define GC_REMEMBER_LAST_MARKED 1

| / end confdefs.h. /

| int

| main (void)

| {

|

| ;

| return 0;

| }

configure:9399: error: in '/home/kai/.cache/yay/emacs-pgtk-git/src/emacs-git':

configure:9401: error: C compiler cannot create executables

See 'config.log' for more details

VitalyR commented on 2024-09-27 15:06 (UTC)

@Naokotani Thank you for the report! Could you please provide the detailed error message? If it's too long, feel free to paste it into a GitHub Gist.

Naokotani commented on 2024-09-27 13:34 (UTC)

When I try to install I get an C compiler cannot create executable error. I tested the compilers and they seem to work on my system.

urugang commented on 2024-06-12 15:06 (UTC)

it seems mold not support -z option. so i do not use mold.

+MOLD="NO"        # Use the mold linker.
sccache gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fuse-ld=gold -fuse-ld=gold -g -ffile-prefix-map=/mnt/data/cache/paru/clone/emacs-pgtk-git/src=/usr/src/debug/emacs-pgtk-git -flto=auto  -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now          -Wl,-z,pack-relative-relocs -flto=auto /tmp/a.c
/usr/bin/ld.gold: pack-relative-relocs: unknown -z option

VitalyR commented on 2024-06-04 06:28 (UTC)

@kelvie This shouldn't happen since the makedepends is already set: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=emacs-pgtk-git#n152.

kelvie commented on 2024-06-04 04:14 (UTC)

This is missing sccache as a makedepends (at least when I installed it with yay).

VitalyR commented on 2023-06-21 05:35 (UTC)

@Galizur updated, thanks for your report!

Galizur commented on 2023-06-20 08:13 (UTC)

Hello, could you add tree-sitter as an optional dependency? It is merged in the master branch, and I believe it gets built with support by default, if you have the tree-sitter package installed, but an easy "on-off" switch like you have for the rest is always useful.

VitalyR commented on 2023-04-05 23:05 (UTC)

This package tracks the master branch for the bug of the native compiler is fixed now.