From unknown Fri Jun 20 07:25:05 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#20270 <20270@debbugs.gnu.org> To: bug#20270 <20270@debbugs.gnu.org> Subject: Status: 25.0.50; 'Invalid slot type: semanticdb-project-database-file, reference-directory, string, nil' with semantic-mode Reply-To: bug#20270 <20270@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:25:05 +0000 retitle 20270 25.0.50; 'Invalid slot type: semanticdb-project-database-file= , reference-directory, string, nil' with semantic-mode reassign 20270 emacs submitter 20270 Rupert Swarbrick severity 20270 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 07 06:21:04 2015 Received: (at submit) by debbugs.gnu.org; 7 Apr 2015 10:21:04 +0000 Received: from localhost ([127.0.0.1]:46986 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YfQcw-0003wM-LJ for submit@debbugs.gnu.org; Tue, 07 Apr 2015 06:21:04 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59099) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YfQcs-0003ve-H5 for submit@debbugs.gnu.org; Tue, 07 Apr 2015 06:21:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YfQci-0007dE-Ms for submit@debbugs.gnu.org; Tue, 07 Apr 2015 06:20:53 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:39764) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfQci-0007d8-Jj for submit@debbugs.gnu.org; Tue, 07 Apr 2015 06:20:48 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44335) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfQcf-0003Yt-4E for bug-gnu-emacs@gnu.org; Tue, 07 Apr 2015 06:20:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YfQcZ-0007c7-SL for bug-gnu-emacs@gnu.org; Tue, 07 Apr 2015 06:20:45 -0400 Received: from mail-gw1-out.broadcom.com ([216.31.210.62]:1961) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfQcZ-0007bR-7g for bug-gnu-emacs@gnu.org; Tue, 07 Apr 2015 06:20:39 -0400 X-IronPort-AV: E=Sophos;i="5.11,537,1422950400"; d="scan'208";a="61593419" Received: from irvexchcas08.broadcom.com (HELO IRVEXCHCAS08.corp.ad.broadcom.com) ([10.9.208.57]) by mail-gw1-out.broadcom.com with ESMTP; 07 Apr 2015 03:37:19 -0700 Received: from IRVEXCHSMTP2.corp.ad.broadcom.com (10.9.207.52) by IRVEXCHCAS08.corp.ad.broadcom.com (10.9.208.57) with Microsoft SMTP Server (TLS) id 14.3.174.1; Tue, 7 Apr 2015 03:20:36 -0700 Received: from mail-irva-13.broadcom.com (10.10.10.20) by IRVEXCHSMTP2.corp.ad.broadcom.com (10.9.207.52) with Microsoft SMTP Server id 14.3.174.1; Tue, 7 Apr 2015 03:20:36 -0700 Received: from xl-cam-20.broadcom.com (unknown [10.177.132.80]) by mail-irva-13.broadcom.com (Postfix) with ESMTP id 6614540FE9 for ; Tue, 7 Apr 2015 03:19:10 -0700 (PDT) Received: by xl-cam-20.broadcom.com (Postfix, from userid 35990) id 1D29F18075B; Tue, 7 Apr 2015 11:20:35 +0100 (BST) From: Rupert Swarbrick To: Subject: 25.0.50; 'Invalid slot type: semanticdb-project-database-file, reference-directory, string, nil' with semantic-mode Date: Tue, 7 Apr 2015 11:20:34 +0100 Message-ID: <889wq1otf2l.fsf@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) With the current head of the master branch, I get the error in the subject line whenever I try to open a file with semantic mode enabled. I can reproduce this with '-Q' as follows: new-emacs.sh -Q --eval '(semantic-mode t)' --eval '(find-file "test.c")' (where new-emacs.sh is just a shell script that calls my locally compiled Emacs). Setting debug-on-error gives the following stack trace: Debugger entered--Lisp error: (invalid-slot-type semanticdb-project-datab= ase-file reference-directory string nil) signal(invalid-slot-type (semanticdb-project-database-file reference-di= rectory string nil)) eieio--validate-slot-value([defclass semanticdb-project-database-file "= Database of file tables saved to disk." ([defclass semanticdb-project-datab= ase "Database of file tables." ([defclass eieio-instance-tracker "This spec= ial class enables instance tracking.\nInheritors from this class must overl= oad `tracking-symbol' which is\na variable symbol used to store a list of a= ll instances." nil [] #s(hash-table size 65 test eq rehash-size 1.5 rehash-= threshold 0.8 data ( ...)) (semanticdb-project-database) nil [[cl-struct-cl= -slot-descriptor tracking-symbol unbound symbol (...)]] [unbound] [eieio-cl= ass-tag--eieio-instance-tracker] (:custom-groups nil :documentation "This s= pecial class enables instance tracking.\nInheritors from this class must ov= erload `tracking-symbol' which is\na variable symbol used to store a list o= f all instances." :abstract t)]) [[cl-struct-cl-slot-descriptor reference-d= irectory unbound string ((:documentation . "Directory this database refers = to.\nWhen a cache directory is specified, then this refers to the directory= \nthis database contains symbols for."))] [cl-struct-cl-slot-descriptor new= -table-class semanticdb-table class ((:documentation . "New tables created = for this database are of this class."))] [cl-struct-cl-slot-descriptor cach= e nil list ((:documentation . "List of cache information for tools.\nAny pa= rticular tool can cache data to a database at runtime\nwith `semanticdb-cac= he-get'.\n\nUsing a semanticdb cache does not save any information to a fil= e,\nso your cache will need to be recalculated at runtime.\n\nNote: This in= dex will not be saved in a persistent file."))] [cl-struct-cl-slot-descript= or tables unbound semanticdb-abstract-table-list ((:documentation . "List o= f `semantic-db-table' objects.") (:protection . protected))]] #s(hash-table= size 65 test eq rehash-size 1.5 rehash-threshold 0.8 data (reference-direc= tory 0 new-table-class 1 cache 2 tables 3 ...)) (semanticdb-project-databas= e-file) ((:tables . tables)) [[cl-struct-cl-slot-descriptor tracking-symbol= semanticdb-database-list symbol ((:documentation . "The symbol used to mai= ntain a list of our instances.\nThe instance list is treated as a variable,= with new instances added to it."))]] [semanticdb-database-list] [eieio-cla= ss-tag--semanticdb-project-database unbound semanticdb-table nil unbound] (= :custom-groups nil :documentation "Database of file tables.")] [defclass ei= eio-persistent "This special class enables persistence through save files\n= Use the `object-save' method to write this object to disk. The save\nforma= t is Emacs Lisp code which calls the constructor for the saved\nobject. Fo= r this reason, only slots which do not have an `:initarg'\nspecified will n= ot be saved." nil [[cl-struct-cl-slot-descriptor file unbound string ((:doc= umentation . "The save file for this persistent object.\nThis must be a str= ing, and must be specified when the new object is\ninstantiated."))]] #s(ha= sh-table size 65 test eq rehash-size 1.5 rehash-threshold 0.8 data (file 0 = ...)) (semanticdb-project-database-file) ((:file . file)) [[cl-struct-cl-sl= ot-descriptor do-backups t boolean ((:documentation . "Saving this object s= hould make backup files.\nSetting to nil will mean no backups are made."))]= [cl-struct-cl-slot-descriptor file-header-line ";; EIEIO PERSISTENT OBJECT= " string ((:documentation . "Header line for the save file.\nThis is used w= ith the `object-write' method."))] [cl-struct-cl-slot-descriptor extension = ".eieio" string ((:documentation . "Extension of files saved by this object= .\nEnables auto-choosing nice file names based on name."))]] [t ";; EIEIO P= ERSISTENT OBJECT" ".eieio"] [eieio-class-tag--eieio-persistent unbound] (:c= ustom-groups nil :documentation "This special class enables persistence thr= ough save files\nUse the `object-save' method to write this object to disk.= The save\nformat is Emacs Lisp code which calls the constructor for the s= aved\nobject. For this reason, only slots which do not have an `:initarg'\= nspecified will not be saved." :abstract t)]) [[cl-struct-cl-slot-descripto= r reference-directory unbound string ((:documentation . "Directory this dat= abase refers to.\nWhen a cache directory is specified, then this refers to = the directory\nthis database contains symbols for."))] [cl-struct-cl-slot-d= escriptor new-table-class semanticdb-table class ((:documentation . "New ta= bles created for this database are of this class."))] [cl-struct-cl-slot-de= scriptor cache nil list ((:documentation . "List of cache information for t= ools.\nAny particular tool can cache data to a database at runtime\nwith `s= emanticdb-cache-get'.\n\nUsing a semanticdb cache does not save any informa= tion to a file,\nso your cache will need to be recalculated at runtime.\n\n= Note: This index will not be saved in a persistent file."))] [cl-struct-cl-= slot-descriptor tables unbound semanticdb-abstract-table-list ((:documentat= ion . "List of `semantic-db-table' objects.") (:protection . protected))] [= cl-struct-cl-slot-descriptor file unbound string ((:documentation . "The sa= ve file for this persistent object.\nThis must be a string, and must be spe= cified when the new object is\ninstantiated."))] [cl-struct-cl-slot-descrip= tor semantic-tag-version "1.4" t ((:documentation . "The version of the tag= s saved.\nThe default value is 1.4. In semantic 1.4 there was no versionin= g, so\nwhen those files are loaded, this becomes the version number.\nTo sa= ve the version number, we must hand-set this version string."))] [cl-struct= -cl-slot-descriptor semanticdb-version "1.4" t ((:documentation . "The vers= ion of the object system saved.\nThe default value is 1.4. In semantic 1.4= , there was no versioning,\nso when those files are loaded, this becomes th= e version number.\nTo save the version number, we must hand-set this versio= n string."))]] #s(hash-table size 65 test eq rehash-size 1.5 rehash-thresho= ld 0.8 data (reference-directory 0 new-table-class 1 cache 2 tables 3 file = 4 semantic-tag-version 5 semanticdb-version 6 ...)) nil ((:tables . referen= ce-directory) (:file . file) (:semantic-tag-version . semantic-tag-version)= (:semanticdb-version . semanticdb-version)) [[cl-struct-cl-slot-descriptor= extension ".eieio" string ((:documentation . "Extension of files saved by = this object.\nEnables auto-choosing nice file names based on name."))] [cl-= struct-cl-slot-descriptor file-header-line ";; SEMANTICDB Tags save file" s= tring ((:documentation . "Header line for the save file.\nThis is used with= the `object-write' method."))] [cl-struct-cl-slot-descriptor do-backups ni= l boolean ((:documentation . "Saving this object should make backup files.\= nSetting to nil will mean no backups are made."))] [cl-struct-cl-slot-descr= iptor tracking-symbol semanticdb-database-list symbol ((:documentation . "T= he symbol used to maintain a list of our instances.\nThe instance list is t= reated as a variable, with new instances added to it."))]] [".eieio" ";; SE= MANTICDB Tags save file" nil semanticdb-database-list] [eieio-class-tag--se= manticdb-project-database-file unbound semanticdb-table nil unbound unbound= "1.4" "1.4"] (:custom-groups nil :documentation "Database of file tables s= aved to disk.")] 1 nil reference-directory) eieio-oset([eieio-class-tag--semanticdb-project-database-file unbound s= emanticdb-table nil unbound "/home/ruperts/.emacs.d/semanticdb/!usr!include= !semantic.cache" "1.4" "1.4"] reference-directory nil) #[514 "\211\2051^@\300^B\211\301HJ\262^A^B@\"\211\204 ^@\302^C^C@\303^E= A@$\210\202(^@\304^C^B^DA@#\210\210\211AA\262^A\202^@^@\207" [eieio--initar= g-to-attribute 0 slot-missing oset eieio-oset] 8 "Set slots of OBJ with SLO= TS which is a list of name/value pairs.\nCalled from the constructor routin= e.\n\n(fn OBJ SLOTS)"]([eieio-class-tag--semanticdb-project-database-file u= nbound semanticdb-table nil unbound "/home/ruperts/.emacs.d/semanticdb/!usr= !include!semantic.cache" "1.4" "1.4"] (:file "/home/ruperts/.emacs.d/semant= icdb/!usr!include!semantic.cache" :tables nil :semantic-tag-version "2.0" := semanticdb-version "2.2")) apply(#[514 "\211\2051^@\300^B\211\301HJ\262^A^B@\"\211\204 ^@\302^C^C@= \303^EA@$\210\202(^@\304^C^B^DA@#\210\210\211AA\262^A\202^@^@\207" [eieio--= initarg-to-attribute 0 slot-missing oset eieio-oset] 8 "Set slots of OBJ wi= th SLOTS which is a list of name/value pairs.\nCalled from the constructor = routine.\n\n(fn OBJ SLOTS)"] [eieio-class-tag--semanticdb-project-database-= file unbound semanticdb-table nil unbound "/home/ruperts/.emacs.d/semanticd= b/!usr!include!semantic.cache" "1.4" "1.4"] (:file "/home/ruperts/.emacs.d/= semanticdb/!usr!include!semantic.cache" :tables nil :semantic-tag-version "= 2.0" :semanticdb-version "2.2")) shared-initialize([eieio-class-tag--semanticdb-project-database-file un= bound semanticdb-table nil unbound "/home/ruperts/.emacs.d/semanticdb/!usr!= include!semantic.cache" "1.4" "1.4"] (:file "/home/ruperts/.emacs.d/semanti= cdb/!usr!include!semantic.cache" :tables nil :semantic-tag-version "2.0" :s= emanticdb-version "2.2")) #[513 "^A\211\301HJ\262^A\211\302H\211G\301\211^BW\203T^@\211^C^AH\211\= 301H>\204&^@\303\304\305^CD\"\210\211\306H\307^A!\211^B=3D\204K^@\310^F\n^= D\301H>\204E^@\303\304\305^F^GD\"\210^D\311H^C#\210\266^D\211T\262^A\202^M= ^@\266^D\312^B^B\"\207" [cl-struct-cl-slot-descriptor-tags 0 4 signal wrong= -type-argument cl-slot-descriptor 2 eieio-default-eval-maybe eieio-oset 1 s= hared-initialize] 16 "Construct the new object THIS based on SLOTS.\nSLOTS = is a tagged list where odd numbered elements are tags, and\neven numbered e= lements are the values to store in the tagged slot.\nIf you overload the `i= nitialize-instance', there you will need to\ncall `shared-initialize' yours= elf, or you can call `call-next-method'\nto have this constructor called au= tomatically. If these steps are\nnot taken, then new objects of your class= will not have their values\ndynamically set from SLOTS.\n\n(fn THIS &optio= nal SLOTS)"]([eieio-class-tag--semanticdb-project-database-file unbound sem= anticdb-table nil unbound "/home/ruperts/.emacs.d/semanticdb/!usr!include!s= emantic.cache" "1.4" "1.4"] (:file "/home/ruperts/.emacs.d/semanticdb/!usr!= include!semantic.cache" :tables nil :semantic-tag-version "2.0" :semanticdb= -version "2.2")) apply(#[513 "^A\211\301HJ\262^A\211\302H\211G\301\211^BW\203T^@\211^C^A= H\211\301H>\204&^@\303\304\305^CD\"\210\211\306H\307^A!\211^B=3D\204K^@\31= 0^F\n^D\301H>\204E^@\303\304\305^F^GD\"\210^D\311H^C#\210\266^D\211T\262^A= \202^M^@\266^D\312^B^B\"\207" [cl-struct-cl-slot-descriptor-tags 0 4 signal= wrong-type-argument cl-slot-descriptor 2 eieio-default-eval-maybe eieio-os= et 1 shared-initialize] 16 "Construct the new object THIS based on SLOTS.\n= SLOTS is a tagged list where odd numbered elements are tags, and\neven numb= ered elements are the values to store in the tagged slot.\nIf you overload = the `initialize-instance', there you will need to\ncall `shared-initialize'= yourself, or you can call `call-next-method'\nto have this constructor cal= led automatically. If these steps are\nnot taken, then new objects of your= class will not have their values\ndynamically set from SLOTS.\n\n(fn THIS = &optional SLOTS)"] ([eieio-class-tag--semanticdb-project-database-file unbo= und semanticdb-table nil unbound "/home/ruperts/.emacs.d/semanticdb/!usr!in= clude!semantic.cache" "1.4" "1.4"] (:file "/home/ruperts/.emacs.d/semanticd= b/!usr!include!semantic.cache" :tables nil :semantic-tag-version "2.0" :sem= anticdb-version "2.2"))) #[128 "\300\211\203^S^@\211@\303^A^D\"\210^AA\266\202\202^A^@\210\303\3= 02^B\"\301\211\203+^@\211@\303^A^E\"\210^AA\266\202\202^Y^@\210\207" [nil (= #[385 "\300^B\301\"^B^AJ>?\205^T^@\211\302^BJ^EC\"L\207" [eieio-oref tracki= ng-symbol append] 7 "Make sure THIS is in our master list of this class.\nO= ptional argument SLOTS are the initialization arguments.\n\n(fn THIS &rest = SLOTS)"]) #[513 "^A\211\301HJ\262^A\211\302H\211G\301\211^BW\203T^@\211^C^A= H\211\301H>\204&^@\303\304\305^CD\"\210\211\306H\307^A!\211^B=3D\204K^@\31= 0^F\n^D\301H>\204E^@\303\304\305^F^GD\"\210^D\311H^C#\210\266^D\211T\262^A= \202^M^@\266^D\312^B^B\"\207" [cl-struct-cl-slot-descriptor-tags 0 4 signal= wrong-type-argument cl-slot-descriptor 2 eieio-default-eval-maybe eieio-os= et 1 shared-initialize] 16 "Construct the new object THIS based on SLOTS.\n= SLOTS is a tagged list where odd numbered elements are tags, and\neven numb= ered elements are the values to store in the tagged slot.\nIf you overload = the `initialize-instance', there you will need to\ncall `shared-initialize'= yourself, or you can call `call-next-method'\nto have this constructor cal= led automatically. If these steps are\nnot taken, then new objects of your= class will not have their values\ndynamically set from SLOTS.\n\n(fn THIS = &optional SLOTS)"] apply] 7 "\n\n(fn &rest ARGS)"]([eieio-class-tag--semant= icdb-project-database-file unbound semanticdb-table nil unbound "/home/rupe= rts/.emacs.d/semanticdb/!usr!include!semantic.cache" "1.4" "1.4"] (:file "/= home/ruperts/.emacs.d/semanticdb/!usr!include!semantic.cache" :tables nil := semantic-tag-version "2.0" :semanticdb-version "2.2")) apply(#[128 "\300\211\203^S^@\211@\303^A^D\"\210^AA\266\202\202^A^@\210= \303\302^B\"\301\211\203+^@\211@\303^A^E\"\210^AA\266\202\202^Y^@\210\207" = [nil (#[385 "\300^B\301\"^B^AJ>?\205^T^@\211\302^BJ^EC\"L\207" [eieio-oref = tracking-symbol append] 7 "Make sure THIS is in our master list of this cla= ss.\nOptional argument SLOTS are the initialization arguments.\n\n(fn THIS = &rest SLOTS)"]) #[513 "^A\211\301HJ\262^A\211\302H\211G\301\211^BW\203T^@\2= 11^C^AH\211\301H>\204&^@\303\304\305^CD\"\210\211\306H\307^A!\211^B=3D\204= K^@\310^F\n^D\301H>\204E^@\303\304\305^F^GD\"\210^D\311H^C#\210\266^D\211T= \262^A\202^M^@\266^D\312^B^B\"\207" [cl-struct-cl-slot-descriptor-tags 0 4 = signal wrong-type-argument cl-slot-descriptor 2 eieio-default-eval-maybe ei= eio-oset 1 shared-initialize] 16 "Construct the new object THIS based on SL= OTS.\nSLOTS is a tagged list where odd numbered elements are tags, and\neve= n numbered elements are the values to store in the tagged slot.\nIf you ove= rload the `initialize-instance', there you will need to\ncall `shared-initi= alize' yourself, or you can call `call-next-method'\nto have this construct= or called automatically. If these steps are\nnot taken, then new objects o= f your class will not have their values\ndynamically set from SLOTS.\n\n(fn= THIS &optional SLOTS)"] apply] 7 "\n\n(fn &rest ARGS)"] [eieio-class-tag--= semanticdb-project-database-file unbound semanticdb-table nil unbound "/hom= e/ruperts/.emacs.d/semanticdb/!usr!include!semantic.cache" "1.4" "1.4"] (:f= ile "/home/ruperts/.emacs.d/semanticdb/!usr!include!semantic.cache" :tables= nil :semantic-tag-version "2.0" :semanticdb-version "2.2")) initialize-instance([eieio-class-tag--semanticdb-project-database-file = unbound semanticdb-table nil unbound "/home/ruperts/.emacs.d/semanticdb/!us= r!include!semantic.cache" "1.4" "1.4"] (:file "/home/ruperts/.emacs.d/seman= ticdb/!usr!include!semantic.cache" :tables nil :semantic-tag-version "2.0" = :semanticdb-version "2.2")) #[385 "\301^B\2119\203^P^@\211\302N\206^Q^@\202^S^@\211\262^A\211\303H\= 262^A!^A\203>^@^A@\211;\206&^@\211?\262^A\203>^@\2033^@\304\2024^@\305\306= ^C\211A\262^E\242^E#\210\307^A^C\"\210\211\207" [eieio-backward-compatibili= ty copy-sequence eieio-class-definition 10 ignore message "Obsolete name %S= passed to %S constructor" initialize-instance] 7 "Default constructor for = CLASS `eieio-default-superclass'.\nSLOTS are the initialization slots used = by `initialize-instance'.\nThis static method is called when an object is c= onstructed.\nIt allocates the vector used to represent an EIEIO object, and= then\ncalls `initialize-instance' on that object.\n\n(fn CLASS &rest SLOTS= )"](semanticdb-project-database-file "include/" :file "/home/ruperts/.emacs= .d/semanticdb/!usr!include!semantic.cache" :tables nil :semantic-tag-versio= n "2.0" :semanticdb-version "2.2") apply(#[385 "\301^B\2119\203^P^@\211\302N\206^Q^@\202^S^@\211\262^A\211= \303H\262^A!^A\203>^@^A@\211;\206&^@\211?\262^A\203>^@\2033^@\304\2024^@\3= 05\306^C\211A\262^E\242^E#\210\307^A^C\"\210\211\207" [eieio-backward-compa= tibility copy-sequence eieio-class-definition 10 ignore message "Obsolete n= ame %S passed to %S constructor" initialize-instance] 7 "Default constructo= r for CLASS `eieio-default-superclass'.\nSLOTS are the initialization slots= used by `initialize-instance'.\nThis static method is called when an objec= t is constructed.\nIt allocates the vector used to represent an EIEIO objec= t, and then\ncalls `initialize-instance' on that object.\n\n(fn CLASS &rest= SLOTS)"] semanticdb-project-database-file ("include/" :file "/home/ruperts= /.emacs.d/semanticdb/!usr!include!semantic.cache" :tables nil :semantic-tag= -version "2.0" :semanticdb-version "2.2")) make-instance(semanticdb-project-database-file "include/" :file "/home/= ruperts/.emacs.d/semanticdb/!usr!include!semantic.cache" :tables nil :seman= tic-tag-version "2.0" :semanticdb-version "2.2") #[(dbc directory) "\306!^P\307 \"^Z\310\n!\206^X^@\311\n!\205^X^@\312= \n!\211^[\2041^@\313 \314\315!!\316P\317\n\320\321\322\f\323^M&\n^S\324=0B= \325#\210=0B*\207" [directory dbc fn db semantic-tag-version semanticdb-fi= le-version file-truename semanticdb-cache-filename semanticdb-file-loaded-p= file-exists-p semanticdb-load-database make-instance file-name-nondirector= y directory-file-name "/" :file :tables nil :semantic-tag-version :semantic= db-version eieio-oset reference-directory] 12 "Create a new semantic databa= se for DIRECTORY and return it.\nIf a database for DIRECTORY has already be= en loaded, return it.\nIf a database for DIRECTORY exists, then load that d= atabase, and return it.\nIf DIRECTORY doesn't exist, create a new one."](se= manticdb-project-database-file "/usr/include/") apply(#[(dbc directory) "\306!^P\307 \"^Z\310\n!\206^X^@\311\n!\205^X= ^@\312\n!\211^[\2041^@\313 \314\315!!\316P\317\n\320\321\322\f\323^M&\n^S\= 324=0B\325#\210=0B*\207" [directory dbc fn db semantic-tag-version semanti= cdb-file-version file-truename semanticdb-cache-filename semanticdb-file-lo= aded-p file-exists-p semanticdb-load-database make-instance file-name-nondi= rectory directory-file-name "/" :file :tables nil :semantic-tag-version :se= manticdb-version eieio-oset reference-directory] 12 "Create a new semantic = database for DIRECTORY and return it.\nIf a database for DIRECTORY has alre= ady been loaded, return it.\nIf a database for DIRECTORY exists, then load = that database, and return it.\nIf DIRECTORY doesn't exist, create a new one= ."] semanticdb-project-database-file "/usr/include/") semanticdb-create-database(semanticdb-project-database-file "/usr/inclu= de/") semanticdb-create-table-for-file("/usr/include/features.h") semanticdb-file-table-object("/usr/include/features.h" t) semantic-c-reset-preprocessor-symbol-map() byte-code("\300\301!\210\302 \207" [provide semantic/bovine/c semantic-= c-reset-preprocessor-symbol-map] 2) semantic-default-c-setup() semantic-new-buffer-fcn() run-hooks(mode-local-init-hook) #[nil "\300 \210\301\302!\207" [activate-mode-local-bindings run-hooks = mode-local-init-hook] 2]() mode-local-map-file-buffers(#[nil "\300 \210\301\302!\207" [activate-mo= de-local-bindings run-hooks mode-local-init-hook] 2] #[nil " =3D?\207" [mo= de-local--init-mode major-mode] 2] (#)) mode-local-post-major-mode-change() run-hooks(find-file-hook) after-find-file(t t) find-file-noselect-1(# "~/test.c" nil nil "~/test.c" nil) find-file-noselect("test.c" nil nil nil) find-file("test.c") eval((find-file "test.c")) command-line-1(("--eval" "(semantic-mode t)" "--eval" "(setq debug-on-e= rror t)" "--eval" "(find-file \"test.c\")")) In case it's relevant, the /home/ruperts/.emacs.d/semanticdb directory does not exist. I last compiled myself a new Emacs a couple of weeks ago, so whatever change has broken things seems to have appeared in the meantime. Rupert In GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw scroll bar= s) of 2015-04-07 on xl-cam-20 Repository revision: 23468561682aea0705249a469f614bb873e4f411 Windowing system distributor `The X.Org Foundation', version 11.0.11300000 System Description: Red Hat Enterprise Linux Server release 6.4 (Santiago) Configured using: `configure --prefix=3D --with-xml2 --without-sound --without-rsvg --without-imagemagick --with-x-toolkit=3Dlucid' Configured features: XPM JPEG TIFF GIF PNG GPM DBUS GCONF NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE XFT ZLIB Important settings: value of $LC_COLLATE: C value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8-unix Major mode: Emacs-Lisp Minor modes in effect: pyvenv-mode: t elisp-slime-nav-mode: t paredit-mode: t global-semanticdb-minor-mode: t global-semantic-idle-scheduler-mode: t global-semantic-idle-local-symbol-highlight-mode: t global-semantic-idle-summary-mode: t semantic-mode: t global-undo-tree-mode: t undo-tree-mode: t desktop-save-mode: t minibuffer-depth-indicate-mode: t icicle-mode: t keyfreq-autosave-mode: t keyfreq-mode: t show-paren-mode: t recentf-mode: t diff-auto-refine-mode: t magit-auto-revert-mode: t global-auto-revert-mode: t global-git-commit-mode: t shell-dirtrack-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t Features: (shadow sort mail-extr emacsbug sendmail mc-edit-lines multiple-cursors-core rect smex misearch multi-isearch eww mm-url gnus gnus-ems nnheader url-queue url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap shr dom subr-x browse-url company-files company-oddmuse company-keywords company-etags company-gtags company-dabbrev-code company-dabbrev company-cmake company-xcode company-clang company-eclim company-template company-css company-nxml company-bbdb mule-util yasnippet highlight-indentation flymake company elpy pyvenv elpy-refactor ido grep files-x semantic/wisent/python compile semantic/wisent/python-wy semantic/wisent semantic/wisent/wisent python json semantic/bovine/make semantic/bovine/make-by make-mode semantic/decorate/include semantic/decorate/mode semantic/decorate hideif semantic/bovine/c-by semantic/lex-spp semantic/bovine/gcc semantic/dep semantic/bovine semantic/analyze/refs semantic/db-find semantic/db-ref semantic/analyze semantic/sort semantic/scope semantic/analyze/fcn cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs vc vc-dispatcher vc-git dired-aux elisp-slime-nav etags xref paredit jka-compr semantic/db-mode semantic/db eieio-base pulse semantic/idle semantic/format ezimage semantic/tag-ls semantic/find semantic/ctxt em-ls esh-ext esh-opt esh-util semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local cedet undo-tree diff fp_binutils adsl-mech apps rx fp_sdk broadcom diary-lib diary-loaddefs cal-menu calendar cal-loaddefs midnight desktop frameset icicles mb-depth two-column icicles-mode icicles-cmd2 icicles-cmd1 icicles-mcmd image-dired icicles-fn icicles-var icicles-opt ffap url-parse url-vars fuzzy-match fuzzy cl cus-theme cus-edit cus-start cus-load bookmark+ bookmark+-key derived bookmark+-1 bookmark+-bmu bookmark+-lit bookmark pp thingatpt icicles-face keyfreq dired-x paren windmove recentf tree-widget wid-edit edmacro kmacro magit-wip magit-extras magit-backup magit-ediff ediff-merg ediff-wind ediff-diff ediff-mult ediff-help ediff-init ediff-util ediff magit-blame magit-bisect magit-remote magit-commit magit-stash magit-sequence magit magit-log crm magit-apply magit-diff smerge-mode diff-mode magit-core magit-process magit-popup magit-mode help-mode autorevert filenotify magit-git magit-section magit-utils git-rebase git-commit log-edit easy-mmode message dired rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log with-editor tramp-sh tramp tramp-compat auth-source cl-macs eieio eieio-core cl-generic byte-opt gv bytecomp byte-compile cl-extra seq cconv gnus-util mm-util mail-prsvr password-cache tramp-loaddefs trampver shell pcomplete comint ansi-color ring format-spec advice help-fns server dash cl-loaddefs pcase cl-lib tex-site highline-autoloads info easymenu slime-autoloads package epg-config time-date tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting x-toolkit x multi-tty emacs) Memory information: ((conses 16 470773 63274) (symbols 48 54546 0) (miscs 40 673 473) (strings 32 128238 13773) (string-bytes 1 4292289) (vectors 16 56669) (vector-slots 8 1058434 11501) (floats 8 1249 574) (intervals 56 4415 392) (buffers 976 34) (heap 1024 50955 7314)) From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 08 17:25:16 2015 Received: (at 20270) by debbugs.gnu.org; 8 Apr 2015 21:25:16 +0000 Received: from localhost ([127.0.0.1]:49573 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YfxTI-00058B-6x for submit@debbugs.gnu.org; Wed, 08 Apr 2015 17:25:16 -0400 Received: from mercure.iro.umontreal.ca ([132.204.24.67]:46335) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YfxTG-000582-AI for 20270@debbugs.gnu.org; Wed, 08 Apr 2015 17:25:14 -0400 Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 054EB86072; Wed, 8 Apr 2015 17:25:14 -0400 (EDT) Received: from lechon.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 50E451E5B8C; Wed, 8 Apr 2015 17:24:51 -0400 (EDT) Received: by lechon.iro.umontreal.ca (Postfix, from userid 20848) id 26A93B4122; Wed, 8 Apr 2015 17:24:51 -0400 (EDT) From: Stefan Monnier To: Rupert Swarbrick Subject: Re: bug#20270: 25.0.50; 'Invalid slot type: semanticdb-project-database-file, reference-directory, string, nil' with semantic-mode Message-ID: References: <889wq1otf2l.fsf@broadcom.com> Date: Wed, 08 Apr 2015 17:24:51 -0400 In-Reply-To: <889wq1otf2l.fsf@broadcom.com> (Rupert Swarbrick's message of "Tue, 7 Apr 2015 11:20:34 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82, MC_TSTLAST 0.00) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-Spam-Status: No X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 20270 Cc: 20270@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > new-emacs.sh -Q --eval '(semantic-mode t)' --eval '(find-file "test.c")' [...] > Debugger entered--Lisp error: (invalid-slot-type semanticdb-project-database-file reference-directory string nil) Duh, indeed. I installed the patch below which should fix this blunder, Stefan diff --git a/lisp/emacs-lisp/eieio-core.el b/lisp/emacs-lisp/eieio-core.el index 6fd9c14..b0aa363 100644 --- a/lisp/emacs-lisp/eieio-core.el +++ b/lisp/emacs-lisp/eieio-core.el @@ -673,10 +673,9 @@ the new child class." (let ((pslots (eieio--class-slots pcv)) (pinit (eieio--class-initarg-tuples pcv))) (dotimes (i (length pslots)) - (eieio--add-new-slot newc (cl--copy-slot-descriptor (aref pslots i)) - (car-safe (car pinit)) nil nil sn) - ;; Increment each value. - (setq pinit (cdr pinit)) + (let* ((sd (cl--copy-slot-descriptor (aref pslots i))) + (init (car (rassq (cl--slot-descriptor-name sd) pinit)))) + (eieio--add-new-slot newc sd init nil nil sn)) )) ;; while/let ;; Now duplicate all the class alloc slots. (let ((pcslots (eieio--class-class-slots pcv))) From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 08 21:34:34 2015 Received: (at control) by debbugs.gnu.org; 9 Apr 2015 01:34:34 +0000 Received: from localhost ([127.0.0.1]:49737 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yg1MX-0002Yx-RL for submit@debbugs.gnu.org; Wed, 08 Apr 2015 21:34:34 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:10486) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yg1MW-0002Yk-J7 for control@debbugs.gnu.org; Wed, 08 Apr 2015 21:34:33 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnEFAGvvdVRBbthL/2dsb2JhbAA3gVOfQYIugQiBdgEFVjMLNAcLFBgNqkiMZAcBAQECAQKDPgNSgx4EnnIDiUY X-IPAS-Result: AnEFAGvvdVRBbthL/2dsb2JhbAA3gVOfQYIugQiBdgEFVjMLNAcLFBgNqkiMZAcBAQECAQKDPgNSgx4EnnIDiUY X-IronPort-AV: E=Sophos;i="5.01,1,1400040000"; d="scan'208";a="115764935" Received: from 65-110-216-75.cpe.pppoe.ca (HELO pastel.home) ([65.110.216.75]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 08 Apr 2015 21:34:26 -0400 Received: by pastel.home (Postfix, from userid 20848) id 7180D20AC; Wed, 8 Apr 2015 21:34:26 -0400 (EDT) From: Stefan Monnier To: control@debbugs.gnu.org Subject: Re: bug#20270: 25.0.50; 'Invalid slot type: semanticdb-project-database-file, reference-directory, string, nil' with semantic-mode Message-ID: References: <889wq1otf2l.fsf@broadcom.com> Date: Wed, 08 Apr 2015 21:34:26 -0400 In-Reply-To: (Stefan Monnier's message of "Wed, 08 Apr 2015 17:24:51 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) close 20270 thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 09 01:10:44 2015 Received: (at 20270) by debbugs.gnu.org; 9 Apr 2015 05:10:44 +0000 Received: from localhost ([127.0.0.1]:49895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yg4jk-0002VH-6J for submit@debbugs.gnu.org; Thu, 09 Apr 2015 01:10:44 -0400 Received: from fely.am-1.org ([78.47.74.50]:37878) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yg4jg-0002V0-38; Thu, 09 Apr 2015 01:10:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=siamics.net; s=a2013295; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:Sender:References:Subject:To:From; bh=fy/szIQQnXMtAaFD+Sufgfa5+elsviKLeUXxL/4c9iw=; b=byHoJq656bMFfSJ1g+cMwuVhsZTGIbgftOI1nr40XHhuRkgOkXnV4GGDKAg/SCXrD6OLuNVcjADiHrRLvAFhC4wUWI43xj0QO4Cs5rG4XF+pEs6lBc9sBXYI0xo6Kf5uQUXiWbNz/5CJacd6I/hyKWznjsguboLm+InTmPDE1rA=; Received: from [2a02:2560:6d4:26ca::1:1d] (helo=violet.siamics.net) by fely.am-1.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1Yg4jd-0003Yu-Kr; Thu, 09 Apr 2015 05:10:37 +0000 Received: from localhost ([::1] helo=violet.siamics.net) by violet.siamics.net with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1Yg4jU-0001Th-IX; Thu, 09 Apr 2015 12:10:28 +0700 From: Ivan Shmakov To: 20270@debbugs.gnu.org, 20259@debbugs.gnu.org Subject: Re: bug#20270: 25.0.50; 'Invalid slot type: semanticdb-project-database-file, reference-directory, string, nil' with semantic-mode References: <889wq1otf2l.fsf@broadcom.com> Mail-Followup-To: 20270@debbugs.gnu.org, 20259@debbugs.gnu.org Date: Thu, 09 Apr 2015 05:10:27 +0000 In-Reply-To: (Stefan Monnier's message of "Wed, 08 Apr 2015 17:24:51 -0400") Message-ID: <87pp7dsx8c.fsf@violet.siamics.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 20270 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.7 (/) >>>>> Stefan Monnier writes: >> new-emacs.sh -Q --eval '(semantic-mode t)' --eval '(find-file "test.c")' >> Debugger entered--Lisp error: (invalid-slot-type semanticdb-project-dat= abase-file reference-directory string nil) > Duh, indeed. I installed the patch below which should fix this > blunder, Should I expect it to fix bug#20259 just as well? (I hope to check it myself later.) [=E2=80=A6] --=20 FSF associate member #7257 http://boycottsystemd.org/ =E2=80=A6 3013 B6A0= 230E 334A From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 09 10:05:42 2015 Received: (at 20270) by debbugs.gnu.org; 9 Apr 2015 14:05:42 +0000 Received: from localhost ([127.0.0.1]:51208 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YgD5R-0002Zg-H9 for submit@debbugs.gnu.org; Thu, 09 Apr 2015 10:05:41 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:35013) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YgD5N-0002ZS-HC; Thu, 09 Apr 2015 10:05:39 -0400 Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id t39E5Z90002861; Thu, 9 Apr 2015 10:05:36 -0400 Received: by pastel.home (Postfix, from userid 20848) id 37BEA2270; Thu, 9 Apr 2015 10:05:35 -0400 (EDT) From: Stefan Monnier To: 20270@debbugs.gnu.org Subject: Re: bug#20259: bug#20270: 25.0.50; 'Invalid slot type: semanticdb-project-database-file, reference-directory, string, nil' with semantic-mode Message-ID: References: <889wq1otf2l.fsf@broadcom.com> <87pp7dsx8c.fsf@violet.siamics.net> Date: Thu, 09 Apr 2015 10:05:35 -0400 In-Reply-To: <87pp7dsx8c.fsf@violet.siamics.net> (Ivan Shmakov's message of "Thu, 09 Apr 2015 05:10:27 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.2 X-NAI-Spam-Rules: 2 Rules triggered LNG_SB_1=0.2, RV5271=0 X-NAI-Spam-Version: 2.3.0.9393 : core <5271> : inlines <2669> : streams <1419610> : uri <1902527> X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: 20270 Cc: 20259@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) > Should I expect it to fix bug#20259 just as well? (I hope to > check it myself later.) I don't know. I share Paul's impression that it might be a bootstrap problem. The .elc files are not placed in the build directory but in the source directory (I know, it's weird), so I don't think your script reproduces the behavior of "make bootstrap". Stefan From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 09 11:05:49 2015 Received: (at 20270) by debbugs.gnu.org; 9 Apr 2015 15:05:49 +0000 Received: from localhost ([127.0.0.1]:51288 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YgE1d-0005mN-DM for submit@debbugs.gnu.org; Thu, 09 Apr 2015 11:05:49 -0400 Received: from fely.am-1.org ([78.47.74.50]:37930) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YgE1Z-0005m5-Iz; Thu, 09 Apr 2015 11:05:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=siamics.net; s=a2013295; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:Sender:References:Subject:To:From; bh=xlJNPf6UlMHvgyR0R16Vw2WAbrnR93MCE9qILSo5Q2s=; b=cmgPkeSA29aI8OH4N8kYZZs4OXaOtCylhxWUhBBLMr+1W+EhfrnaQviB7Pytrjk76iV+6J6VUfPwzn+776PGOOQryOtIGi9LGSZpsJEA1aee/Dr9LOC/acA6jBSuyEx8dSwxummpk5nnVyQMfGlWIQ3QvYFi40usHckf+zVxsuM=; Received: from [2a02:2560:6d4:26ca::1:1d] (helo=violet.siamics.net) by fely.am-1.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1YgE1W-0007zs-Jj; Thu, 09 Apr 2015 15:05:42 +0000 Received: from localhost ([::1] helo=violet.siamics.net) by violet.siamics.net with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1YgE1P-00032G-Cd; Thu, 09 Apr 2015 22:05:35 +0700 From: Ivan Shmakov To: 20270@debbugs.gnu.org, 20259@debbugs.gnu.org Subject: Re: bug#20270: bug#20259: bug#20270: 25.0.50; 'Invalid slot type: semanticdb-project-database-file, reference-directory, string, nil' with semantic-mode References: <889wq1otf2l.fsf@broadcom.com> <87pp7dsx8c.fsf@violet.siamics.net> Mail-Followup-To: 20270@debbugs.gnu.org, 20259@debbugs.gnu.org Date: Thu, 09 Apr 2015 15:05:33 +0000 In-Reply-To: (Stefan Monnier's message of "Thu, 09 Apr 2015 10:05:35 -0400") Message-ID: <87h9sps5oi.fsf@violet.siamics.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 20270 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.7 (/) >>>>> Stefan Monnier writes: >> #!/bin/bash >> set -e -x >> mkdir -v -- emacs-$(date -uI)-build >> cd emacs-$(date -uI)-build >> lndir -- ../emacs-src >> autoreconf -v -i -I m4 The call to ./configure is obviously missing here: ./configure --prefix=3D"$HOME" \ --disable-silent-rules \ --enable-dependency-tracking \ --enable-gcc-warnings \ --without-{pop,sound,x-toolkit,gpm,dbus,gconf,gsettings,makeinfo,x}= \ --with-{wide-int,gnutls,zlib} >> ## Ensure there are no stray .elc files in the build directory. >> ! grep -q -- . < <(find -name \*.elc) =20=20 >> LC_ALL=3DC nohup /usr/bin/time make \ >> -- lib lib-src src lisp >> Should I expect it to fix bug#20259 just as well? (I hope to check >> it myself later.) > I don't know. My point is that the error message is exactly the same for either report: Invalid slot type: semanticdb-project-database-file, reference-directory, s= tring, nil > I share Paul's impression that it might be a bootstrap problem. > The .elc files are not placed in the build directory but in the > source directory (I know, it's weird), I know; it is. And that=E2=80=99s the whole point of using lndir(1): to create a symlink-based =E2=80=9Cshadow=E2=80=9D of the /source/ directo= ry and use it as the build one. > so I don't think your script reproduces the behavior of "make > bootstrap". Per emacs-2015-04-07-build/config.status, srcdir is =E2=80=98.=E2=80=99. If there=E2=80=99s no .elc in the directory $ make is invoked from (and the =E2=80=98grep=E2=80=99 line in my script above ensures that), whe= re else would the build process find any .elc files to use? --=20 FSF associate member #7257 np. First Breath =E2=80=94 David Modica =E2=80= =A6 B6A0 230E 334A From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 09 14:21:13 2015 Received: (at 20270) by debbugs.gnu.org; 9 Apr 2015 18:21:14 +0000 Received: from localhost ([127.0.0.1]:51436 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YgH4j-0005c6-7n for submit@debbugs.gnu.org; Thu, 09 Apr 2015 14:21:13 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:49236) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YgH4g-0005bZ-Cz; Thu, 09 Apr 2015 14:21:11 -0400 Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id t39IL8Nt009433; Thu, 9 Apr 2015 14:21:08 -0400 Received: by pastel.home (Postfix, from userid 20848) id 50A892D4A; Thu, 9 Apr 2015 14:21:08 -0400 (EDT) From: Stefan Monnier To: 20270@debbugs.gnu.org Subject: Re: bug#20270: bug#20259: bug#20270: 25.0.50; 'Invalid slot type: semanticdb-project-database-file, reference-directory, string, nil' with semantic-mode Message-ID: References: <889wq1otf2l.fsf@broadcom.com> <87pp7dsx8c.fsf@violet.siamics.net> <87h9sps5oi.fsf@violet.siamics.net> Date: Thu, 09 Apr 2015 14:21:08 -0400 In-Reply-To: <87h9sps5oi.fsf@violet.siamics.net> (Ivan Shmakov's message of "Thu, 09 Apr 2015 15:05:33 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.4 X-NAI-Spam-Rules: 3 Rules triggered GEN_SPAM_FEATRE=0.2, LNG_SB_1=0.2, RV5271=0 X-NAI-Spam-Version: 2.3.0.9393 : core <5271> : inlines <2672> : streams <1419707> : uri <1902707> X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: 20270 Cc: 20259@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) > I know; it is. And that=E2=80=99s the whole point of using lndir(1): > to create a symlink-based =E2=80=9Cshadow=E2=80=9D of the /source/ direc= tory and > use it as the build one. Than I misunderstood your script. Does the recent patch fix your problems? Stefan From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 17 11:56:14 2015 Received: (at 20270) by debbugs.gnu.org; 17 Apr 2015 15:56:14 +0000 Received: from localhost ([127.0.0.1]:59192 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yj8cn-0001bv-Kg for submit@debbugs.gnu.org; Fri, 17 Apr 2015 11:56:14 -0400 Received: from fely.am-1.org ([78.47.74.50]:39778) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yj8cj-0001bK-U4; Fri, 17 Apr 2015 11:56:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=siamics.net; s=a2013295; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:Sender:References:Subject:To:From; bh=WEWVi10zi8lHJjcCdy764bn9+lWDq+FqAyGK39nty5c=; b=FitnkQFO1BmVouwJkufhoeeF7Ag3iAd/qHWcuNIcQC6tKA8ftpso3OCkW9BoxGCdwIY9R7kDBIz0DYMeTgV4SUQD1wIYx4m9AEFrVV0eR9M3mphPhGr1M3SCDNSbBgPf8t8PN2D43i49RyUoLq3bYSABiVgu4Ioe/X8W5qdn22A=; Received: from [2a02:2560:6d4:26ca::1:1d] (helo=violet.siamics.net) by fely.am-1.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1Yj8ce-0002CM-Tl; Fri, 17 Apr 2015 15:56:05 +0000 Received: from localhost ([::1] helo=violet.siamics.net) by violet.siamics.net with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1Yj8cW-0005AR-V6; Fri, 17 Apr 2015 22:55:57 +0700 From: Ivan Shmakov To: control@debbugs.gnu.org, 20270@debbugs.gnu.org, 20259@debbugs.gnu.org Subject: Re: bug#20270: bug#20259: 25.0.50; 'Invalid slot type: semanticdb-project-database-file, reference-directory, string, nil' with semantic-mode References: <889wq1otf2l.fsf@broadcom.com> <87pp7dsx8c.fsf@violet.siamics.net> <87h9sps5oi.fsf@violet.siamics.net> Mail-Followup-To: 20270@debbugs.gnu.org, 20259@debbugs.gnu.org Date: Fri, 17 Apr 2015 15:55:54 +0000 In-Reply-To: (Stefan Monnier's message of "Thu, 09 Apr 2015 14:21:08 -0400") Message-ID: <87bnimrbp1.fsf_-_@violet.siamics.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 20270 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.7 (/) close 20259 fixed 20259 25.1 fixed 20270 25.1 merge 20259 20270 thanks >>>>> Stefan Monnier writes: >> I know; it is. And that=E2=80=99s the whole point of using lndir(1): to >> create a symlink-based =E2=80=9Cshadow=E2=80=9D of the /source/ directo= ry and use it >> as the build one. > Than I misunderstood your script. Does the recent patch fix your > problems? At the very least, I no longer observe the issue with 85c3e1be2418 (2015-04-17 04:32:33 +00:00), so I close #20259. And also merge it with #20270, as it looks like the same bug. Thanks again for the fix. --=20 FSF associate member #7257 http://boycottsystemd.org/ =E2=80=A6 3013 B6A0= 230E 334A From unknown Fri Jun 20 07:25:05 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 16 May 2015 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator