From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jorge Javier Araya Navarro Newsgroups: gmane.emacs.bugs Subject: bug#43638: [feature/native-comp] (setf seq-elt) is already defined as something else than a generic function Date: Sat, 26 Sep 2020 15:07:59 -0600 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000001f284705b03dd629" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4640"; mail-complaints-to="usenet@ciao.gmane.io" To: 43638@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 26 23:33:21 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kMHon-000150-2Y for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 26 Sep 2020 23:33:21 +0200 Original-Received: from localhost ([::1]:50004 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kMHom-0008FV-56 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 26 Sep 2020 17:33:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59470) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kMHoV-0008DP-UG for bug-gnu-emacs@gnu.org; Sat, 26 Sep 2020 17:33:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36337) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kMHoU-0007vB-Eb for bug-gnu-emacs@gnu.org; Sat, 26 Sep 2020 17:33:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kMHoU-0003H8-BH for bug-gnu-emacs@gnu.org; Sat, 26 Sep 2020 17:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jorge Javier Araya Navarro Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 26 Sep 2020 21:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43638 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.160115592812526 (code B ref -1); Sat, 26 Sep 2020 21:33:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Sep 2020 21:32:08 +0000 Original-Received: from localhost ([127.0.0.1]:47883 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMHnb-0003Fv-D4 for submit@debbugs.gnu.org; Sat, 26 Sep 2020 17:32:08 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:59868) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMHQu-0000Vy-5k for submit@debbugs.gnu.org; Sat, 26 Sep 2020 17:08:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56514) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kMHQu-0001Uq-0g for bug-gnu-emacs@gnu.org; Sat, 26 Sep 2020 17:08:40 -0400 Original-Received: from mail-ot1-x344.google.com ([2607:f8b0:4864:20::344]:36281) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kMHQr-0005Sh-1a for bug-gnu-emacs@gnu.org; Sat, 26 Sep 2020 17:08:39 -0400 Original-Received: by mail-ot1-x344.google.com with SMTP id 60so5808597otw.3 for ; Sat, 26 Sep 2020 14:08:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=esavara-cr.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=kTbRqiakjWHZQnhSDxWX8LLK0BAXf263RS4vpNHL94M=; b=J3rUQfP+19wjkTRpgjA/bpEv2bP2/BX6BIiQz4dOyt/i3JCSSMctRoa8vWRGb6HoYz qBSqJuMB0fSisZoiSy8+XUEY+3vDkXZwj9+vrEetqW7IIpEiWYI0zAZIrAnQ3HIn1b/b dNi/68aMswEi0x9/zSco9MmoFkAmIm6lZ4USmMbLYaZufRJuojaKPuAfhfWhUd7RWyRD z/UQRZkk4OfHse4M+EGz5GKubqz5dl/JhxN02QDKndQXTSmLWMFgQj15I+wCIIhioI14 bMYn/9CV3Iha8fkcAYcTKOoifAgQ4oMsbOjZGAdmCLUuoU6opM/qM8D5a1EfHE6Cr8WD 9mTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=kTbRqiakjWHZQnhSDxWX8LLK0BAXf263RS4vpNHL94M=; b=l72O6meZNG6x2WAOckG/Hh5wf5nGS1/mnYYrLWKC70E37s3Rve05MFA+BJFWd5jQ4h JheNN/zPOwBSgwxEQj5Jr1TpTRrGjysHmJULK2i7ZkIQ2f8XroFGYZQfx6dgdYWkC5Lv rxsaF/0VEbGTs4/PS+FjX0XTbkO2Yi+GHrcAYutPRHzTM/AUElUtEN3+M5M+/FfeHFyx JNvATdCteH6KxMrqjTYAiDwouj3vN396FW8rl3mSl0KlMnrVpsnUXhTyg9k6xKMGOr1L GRNgYy6ELHCrY0nWZUIjcVWYUx580z4ioVT+lXaCV6KP1IS4AZYr/MlYOwdJColgdKtZ xspQ== X-Gm-Message-State: AOAM532xC96TikYM/6cEmSNtZ+OxGMyA9iWv0GB2spBgoO5queFy4AVL 0HR75eD07oOmS8JJiG9VAt7Qb4pOD8aLBT2VhMijntzr6GZugkbX X-Google-Smtp-Source: ABdhPJz01DqalAj+DpT6SCLO8PUZIDGXTuKDj4BTAg2q1O7sj9947UIh4em3lxIQP/llhVfx58GLe09xsxCuR+6fqkk= X-Received: by 2002:a05:6830:1bd7:: with SMTP id v23mr4415026ota.33.1601154515406; Sat, 26 Sep 2020 14:08:35 -0700 (PDT) In-Reply-To: Received-SPF: none client-ip=2607:f8b0:4864:20::344; envelope-from=jorge@esavara.cr; helo=mail-ot1-x344.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 26 Sep 2020 17:32:06 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:189072 Archived-At: --0000000000001f284705b03dd629 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable hi, I have this "bug". I compiled gccemacs using this PKGBUILD: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=3Demacs-pgtk-native-= comp-git with the following settings in the PKGBUILD set as follows: LTO=3D"YES" FAST_BOOT=3D"YES" and this is my Emacs configuration: https://gitlab.com/shackra/emacs ---------- Forwarded message --------- De: Jorge Javier Araya Navarro Date: s=C3=A1b., 26 de sep. de 2020 a la(s) 13:20 Subject: gccemacs: (setf seq-elt) is already defined as something else than a generic function To: emacs-devel Today I was able to compile and install gccemacs, however my configuration fails to load with the following: -------------------------- Debugger entered--Lisp error: (error "(setf seq-elt) is already defined as something els...") error("%s is already defined as something else than a gen..." \(setf\ seq-elt\)) cl-generic-ensure-function(\(setf\ seq-elt\)) cl-generic-define-method(\(setf\ seq-elt\) nil (store (sequence array) n) nil #f(compiled-function (store sequence n) #)= ) byte-code("\300\301\302\303#\304\301\305\306#\210\307\310\311\310\312\313#\= 314#\210\315\310\313\312\313\316%\210\315\317\313\320\313\321%\210\315\317\= 313\322\313\323%\210\307\324\311\324\325..." [function-put seq-let lisp-indent-function 2 put edebug-form-spec (sexp form body) defalias seq-elt cl-generic-define (sequence n) nil "Return Nth element of SEQUENCE.\n\n(fn SEQUENCE N)" cl-generic-define-method #f(compiled-function (sequence n) #) \(setf\ seq-elt\) (store (sequence array) n) #f(compiled-function (store sequence n) #) (store (sequence cons) n) #f(compiled-function (store sequence n) #) seq-length (sequence) "Return the number of elements of SEQUENCE.\n\n(fn SE..." #f(compiled-function (sequence) #)] 7) require(seq) byte-code("\300\301!\210\300\302!\207" [require cl-lib seq] 2) require(cl-extra) byte-code("\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\21= 0\300\306!\210\300\307!\210\300\310!\210\300\311!\210\312\313\314\315\316\3= 17%\210\320\321\322\323\324D..." [require bytecomp cl-extra cl-lib cl-macs cl-seq gv rx subr-x warnings custom-declare-group comp nil "Emacs Lisp native compiler." :group lisp custom-declare-variable comp-speed funcall function #f(compiled-function () #) "Compiler optimization level. From -1 to 3.\n- -1 f..." :type number comp-debug #f(compiled-function () #) "Compiler debug level. From 0 to 3.\nThis intended ..." comp-verbose #f(compiled-function () #) "Compiler verbosity. From 0 to 3.\nThis intended fo..." comp-always-compile #f(compiled-function () #) "Unconditionally (re-)compile all files." boolean comp-deferred-compilation-black-list #f(compiled-function () #) "List of regexps to exclude files from deferred nat..." list comp-bootstrap-black-list #f(compiled-function () #) "List of regexps to exclude files from native compi..." comp-never-optimize-functions #f(compiled-function () #) "Primitive functions for which we do not perform tr..." comp-async-jobs-number #f(compiled-function () #) "Default number of processes used for async compila..." comp-async-cu-done-hook #f(compiled-function () #) "This hook is run whenever an asyncronous native co..." ...] 8) native-compile-async("/home/jorge/.emacs.d/straight/build/straight/" recursively late) straight--native-compile-package((:type git :host github :repo "raxod502/straight.el" :files ("straight*.el") :branch "develop" :package "straight" :local-repo "straight.el")) straight--build-package((:type git :host github :repo "raxod502/straight.el" :files ("straight*.el") :branch "develop" :package "straight" :local-repo "straight.el") nil) #f(compiled-function () #)() straight--transaction-exec(use-package-\(:type\ git\ :host\ github\ :repo\ \"raxod502/straight\.el\"\ :files\ \(\"straight*\.el\"\)\ :branch\ \"develop\"\ :package\ \"straight\"\ :local-repo\ \"straight\.el\"\)-nil-nil :now #f(compiled-function () #)) straight-use-package((straight :type git :host github :repo "raxod502/straight.el" :files ("straight*.el") :branch "develop")) eval-buffer(# nil "/home/jorge/.emacs.d/straight/repos/straight.el/bo..." nil t) ; Reading at buffer position 5370 load-with-code-conversion("/home/jorge/.emacs.d/straight/repos/straight.el/= bo..." "/home/jorge/.emacs.d/straight/repos/straight.el/bo..." nil t) load("/home/jorge/.emacs.d/straight/repos/straight.el/bo..." nil nomessage) (let ((bootstrap-file (expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory)) (bootstrap-version 5)) (if (file-exists-p bootstrap-file) nil (save-current-buffer (set-buffer (url-retrieve-synchronously " https://raw.githubusercontent.com/raxod502/straigh..." 'silent 'inhibit-cookies)) (goto-char (point-max)) (eval-print-last-sexp))) (load bootstrap-file nil 'nomessage)) eval-buffer(# nil "/home/jorge/.emacs.d/init.el" nil t) ; Reading at buffer position 908 load-with-code-conversion("/home/jorge/.emacs.d/init.el" "/home/jorge/.emacs.d/init.el" t t) load("/home/jorge/.emacs.d/init" noerror nomessage) startup--load-user-init-file(#f(compiled-function () #) #f(compiled-function () #) t) command-line() normal-top-level() -------------------------- I've noticed that on the terminal something is print when gccemacs starts: -------------------------- =E2=9E=9C emacs --debug-init Eager macro-expansion failure: (invalid-function ((bytecomp "Symbol=E2=80= =99s function definition is void: gv-setter" :error "*Compile-Log*"))) -------------------------- Sadly that one buffer is blank upon inspection. is this a bug on gccemacs or on straight.el? --0000000000001f284705b03dd629 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
hi, I have this "bug". I compiled gccemacs using this PKGBUILD= :

https://aur.archlinux.org/cgit/aur.git/tree/= PKGBUILD?h=3Demacs-pgtk-native-comp-git

with the following settings in the PKGBUILD = set as follows:
LTO=3D"YES"
FAST_BOOT=3D"YES"

and this is my E=
macs configuration:

htt= ps://gitlab.com/shackra/emacs

---------- Forwarded mess= age ---------
De: Jorge Javie= r Araya Navarro <jorge@esavara.cr>
Date: s=C3=A1b., 26 de sep. de 2020 = a la(s) 13:20
Subject: gccemacs: (setf seq-elt) is already defined as so= mething else than a generic function
To: emacs-devel <emacs-devel@gnu.org>


Today I was able to compile= and install gccemacs, however my configuration fails to load with the foll= owing:

--------------------------
Debugger entered--Lisp error: (error "(setf seq-elt) is= already defined as something els...")
=C2=A0 error("%s is alr= eady defined as something else than a gen..." \(setf\ seq-elt\))
= =C2=A0 cl-generic-ensure-function(\(setf\ seq-elt\))
=C2=A0 cl-generic-d= efine-method(\(setf\ seq-elt\) nil (store (sequence array) n) nil #f(compil= ed-function (store sequence n) #<bytecode -0x21fe923112df641>))
= =C2=A0 byte-code("\300\301\302\303#\304\301\305\306#\210\307\310\311\3= 10\312\313#\314#\210\315\310\313\312\313\316%\210\315\317\313\320\313\321%\= 210\315\317\313\322\313\323%\210\307\324\311\324\325..." [function-put= seq-let lisp-indent-function 2 put edebug-form-spec (sexp form body) defal= ias seq-elt cl-generic-define (sequence n) nil "Return Nth element of = SEQUENCE.\n\n(fn SEQUENCE N)" cl-generic-define-method #f(compiled-fun= ction (sequence n) #<bytecode -0xdc359236f16754e>) \(setf\ seq-elt\) = (store (sequence array) n) #f(compiled-function (store sequence n) #<byt= ecode -0x21fe923112df641>) (store (sequence cons) n) #f(compiled-functio= n (store sequence n) #<bytecode -0x21fe9bba03a8655>) seq-length (sequ= ence) "Return the number of elements of SEQUENCE.\n\n(fn SE..." #= f(compiled-function (sequence) #<bytecode 0xa614952cda4dd76>)] 7)
= =C2=A0 require(seq)
=C2=A0 byte-code("\300\301!\210\300\302!\207&qu= ot; [require cl-lib seq] 2)
=C2=A0 require(cl-extra)
=C2=A0 byte-code= ("\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\210\30= 0\306!\210\300\307!\210\300\310!\210\300\311!\210\312\313\314\315\316\317%\= 210\320\321\322\323\324D..." [require bytecomp cl-extra cl-lib cl-macs= cl-seq gv rx subr-x warnings custom-declare-group comp nil "Emacs Lis= p native compiler." :group lisp custom-declare-variable comp-speed fun= call function #f(compiled-function () #<bytecode 0x1f4000171eb9>) &qu= ot;Compiler optimization level.=C2=A0 From -1 to 3.\n- -1 f..." :type = number comp-debug #f(compiled-function () #<bytecode 0x1f4000171e91>)= "Compiler debug level.=C2=A0 From 0 to 3.\nThis intended ..." co= mp-verbose #f(compiled-function () #<bytecode 0x1f4000171e91>) "= Compiler verbosity.=C2=A0 From 0 to 3.\nThis intended fo..." comp-alwa= ys-compile #f(compiled-function () #<bytecode 0x1f4000171e91>) "= Unconditionally (re-)compile all files." boolean comp-deferred-compila= tion-black-list #f(compiled-function () #<bytecode 0x1f4000171e91>) &= quot;List of regexps to exclude files from deferred nat..." list comp-= bootstrap-black-list #f(compiled-function () #<bytecode 0x1f4000171e91&g= t;) "List of regexps to exclude files from native compi..." comp-= never-optimize-functions #f(compiled-function () #<bytecode 0xf08b2f6a48= ba1>) "Primitive functions for which we do not perform tr..." = comp-async-jobs-number #f(compiled-function () #<bytecode 0x1f4000171e91= >) "Default number of processes used for async compila..." com= p-async-cu-done-hook #f(compiled-function () #<bytecode 0x1f4000171e91&g= t;) "This hook is run whenever an asyncronous native co..." ...] = 8)
=C2=A0 native-compile-async("/home/jorge/.emacs.d/straight/build= /straight/" recursively late)
=C2=A0 straight--native-compile-packa= ge((:type git :host github :repo "raxod502/straight.el" :files (&= quot;straight*.el") :branch "develop" :package "straigh= t" :local-repo "straight.el"))
=C2=A0 straight--build-pac= kage((:type git :host github :repo "raxod502/straight.el" :files = ("straight*.el") :branch "develop" :package "strai= ght" :local-repo "straight.el") nil)
=C2=A0 #f(compiled-f= unction () #<bytecode -0x10b5c5dec572d721>)()
=C2=A0 straight--tra= nsaction-exec(use-package-\(:type\ git\ :host\ github\ :repo\ \"raxod5= 02/straight\.el\"\ :files\ \(\"straight*\.el\"\)\ :branch\ \= "develop\"\ :package\ \"straight\"\ :local-repo\ \"= ;straight\.el\"\)-nil-nil :now #f(compiled-function () #<bytecode -= 0x10b5c5dec572d721>))
=C2=A0 straight-use-package((straight :type git= :host github :repo "raxod502/straight.el" :files ("straight= *.el") :branch "develop"))
=C2=A0 eval-buffer(#<buffer= =C2=A0*load*-768712> nil "/home/jorge/.emacs.d/straight/repos/stra= ight.el/bo..." nil t) =C2=A0; Reading at buffer position 5370
=C2= =A0 load-with-code-conversion("/home/jorge/.emacs.d/straight/repos/str= aight.el/bo..." "/home/jorge/.emacs.d/straight/repos/straight.el/= bo..." nil t)
=C2=A0 load("/home/jorge/.emacs.d/straight/repos= /straight.el/bo..." nil nomessage)
=C2=A0 (let ((bootstrap-file (ex= pand-file-name "straight/repos/straight.el/bootstrap.el" user-ema= cs-directory)) (bootstrap-version 5)) (if (file-exists-p bootstrap-file) ni= l (save-current-buffer (set-buffer (url-retrieve-synchronously "https://raw.githubusercontent.com/raxod502/straigh..." 'sile= nt 'inhibit-cookies)) (goto-char (point-max)) (eval-print-last-sexp))) = (load bootstrap-file nil 'nomessage))
=C2=A0 eval-buffer(#<buffer= =C2=A0*load*> nil "/home/jorge/.emacs.d/init.el" nil t) =C2= =A0; Reading at buffer position 908
=C2=A0 load-with-code-conversion(&qu= ot;/home/jorge/.emacs.d/init.el" "/home/jorge/.emacs.d/init.el&qu= ot; t t)
=C2=A0 load("/home/jorge/.emacs.d/init" noerror nomes= sage)
=C2=A0 startup--load-user-init-file(#f(compiled-function () #<b= ytecode -0xdb362a1d8323bdd>) #f(compiled-function () #<bytecode 0x81a= 392fa1b1ef13>) t)
=C2=A0 command-line()
=C2=A0 normal-top-level()<= /div>
--------------------------
<= div style=3D"font-family:monospace">
I've noticed that on the terminal something is print when gccem= acs starts:

--------------------------
=E2=9E=9C emacs --debug-init
Eager macro-expansion = failure: (invalid-function ((bytecomp "Symbol=E2=80=99s function defin= ition is void: gv-setter" :error "*Compile-Log*")))
--------------------------

= Sadly that one buffer is blank upon inspection.

is this a bug= on gccemacs or on straight.el?
--0000000000001f284705b03dd629--