From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregor Zattler Newsgroups: gmane.emacs.help Subject: strange build problem with missing -by.el and -wy.el files Date: Mon, 31 Oct 2022 23:09:45 +0100 Message-ID: <87bkprbq6u.fsf@no.workgroup> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11581"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 31 23:10:42 2022 Return-path: Envelope-to: geh-help-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 1opczS-0002rS-EP for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 31 Oct 2022 23:10:42 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1opcz3-0007Lk-NU; Mon, 31 Oct 2022 18:10:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1opcyo-0007GN-12 for help-gnu-emacs@gnu.org; Mon, 31 Oct 2022 18:10:02 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1opcyj-0004BL-Nv for help-gnu-emacs@gnu.org; Mon, 31 Oct 2022 18:09:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1667254192; bh=D+FxlSw39ED6amBLh86Fbg4t7QcAyOcK4WCQjD9SsAs=; h=X-UI-Sender-Class:From:To:Subject:Date; b=tj9jEfCM8sJcejezfjUfeb8Lyn2p1tNRqR6zOWQMg3E5oph1zasA9udWV2sxGSfHP dghGT7Z70cG9D6oxJGDZV5hfBMBF0BH4QU4i48o/zsycIy5QIiuMKy8D1E8kdF86Ub dZPl4GeuDuFGXtBHCtLg+BgLPejEWmwEI07ri7fVGQNCsdoXTqTtpJddH8vfIUh+07 ZNzSIVDfoxSRond2HBjG7hQ9N9yHyhum9Myiepo/xddH/1IuC5r81qahM7uI1QuvH+ NBi1mvwo+mVDYrpDqbD2OsGSW7d+uHleLla6BzdrWGAOqf0k9ghv9AWITOzL7oUKqU 4MgXHancKlD1w== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from localhost ([95.90.239.135]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Mf0BM-1pW8So0UTS-00gWKW; Mon, 31 Oct 2022 23:09:52 +0100 Mail-Followup-To: help-gnu-emacs X-Provags-ID: V03:K1:94fwjA2qs3CrKCNWZdUN1rIJCWJkaRtOBRFtKmGQOGu9Jovoyuy h6sCiKBKGoygq7f7m3UfTePaw9CbNrxtLIBGQVBSGusZzZDAkaHqAj/Bvlmh8Q59MPTtA2C AuAZV/ml4oGuDVGQ/vMNla6Oa6c+3SO/IclW27yX0c73M59F5VO82VEsr6AhO3rhGC9ASSu +Xhr63KRUdviWdINJJTyg== UI-OutboundReport: notjunk:1;M01:P0:QTHWNj1smmI=;sm7wnSL+gQsMCMdbNPf2gXwNiE7 fSQ0zKMaRS/TFwmBp/D+c6n8SccjZ0ghXd6HvQ1Q9M2ARSaUcD8IOUcxg5tpEvim/8/NXMUJ5 Nhswkqy9KWlA1TDFIrmAllJo9NYE1d6omeNOc888axtkHCDlndxlqFbeU0t/hncZttFlxa0+T SznPjO1m+8C9P69FHkAPrnZ91/Yobpphd+LaHniXgoDgfHXSrZKYJSKL7o+QZNevTdPWS59/s IQW0MtOj4QIwSAEg0oFSfy4mgdUlvZo30zwMQO71WWen3lVNVBj9jFhbAsL3pmFr+tq1/qdfd gqiMh03TBO5PlzquQwiYwELeHTVXSYTUTimBCQEuYFuAqzP9waJHX3BmvGyrJHH38Lf/iT7wn 7wlNAWJXarT3mRokD+qjLrhIcctALxU2oI12N/NjjLV3TSymNwvnNwvHCJjWdYlORf1AJggxB nVvmR95jtjn3pesj1/Ao+bFJRQFQMETOz//5HCwhhgYFVqnMtDfWyONBR7QJHUP3OWYreVof3 3QvT8m7PrrQngqDPG5fb60g+wxviLfH4ORgXWShkkddYbgHgdoKJKSPaKcyIKy+hNIwhxWFyz nZI5GR1CgS0KorbwLw8hXzSORpPRgD7cUyG4MJI1c+bymqu/LShcl1ok+6oHC8zm1RXuEbsbd AOjAU4bd+5GJ+Z7hcwbMSMbA+QZ4sbTtK80sywtyL7DzD5lEvcccJDUuyw4HtumUzvLhv4sL4 1APsjl+iYWcSk9n5R2SptuhM2o0ZCa2hfj4Q3QpZBZLaDfEOJ0ZQ8nVmghX2NCo7V5Pcbuni Received-SPF: pass client-ip=212.227.15.18; envelope-from=telegraph@gmx.net; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: "help-gnu-emacs" Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:140546 Archived-At: Dear fellow emacs users, since a week or two I have problems building Emacs from the git repo. This is because of missing *.el files which should be generated for cedet/semantic, see below. My last attempt was with emacs master as of commit a691e811e23dee48674e9e0716429074fdbe3d7b. Normally I build with a few non-default build options but in order to get rid of the problems in a pristine git worktree all I did was make V=3D1 to get the most default build. This calls ./autogen.sh, ./configure etc and even this fails like so: [...] '../src/emacs' -batch --no-site-file --no-site-lisp --eval "(setq load-pre= fer-newer t byte-compile-warnings 'all)" -f batch-byte-compile cedet/sema= ntic/dep.el '../src/emacs' -batch --no-site-file --no-site-lisp --eval "(setq load-pre= fer-newer t byte-compile-warnings 'all)" -f batch-byte-compile cedet/sema= ntic/doc.el '../src/emacs' -batch --no-site-file --no-site-lisp --eval "(setq load-pre= fer-newer t byte-compile-warnings 'all)" -f batch-byte-compile cedet/sema= ntic/ede-grammar.el Loading /home/grfz/src/emacs-master-next/lisp/cedet/semantic/grm-wy-boot.e= l (source)... '../src/emacs' -batch --no-site-file --no-site-lisp --eval "(setq load-pre= fer-newer t byte-compile-warnings 'all)" -f batch-byte-compile cedet/sema= ntic/edit.el '../src/emacs' -batch --no-site-file --no-site-lisp --eval "(setq load-pre= fer-newer t byte-compile-warnings 'all)" -f batch-byte-compile cedet/sema= ntic/find.el '../src/emacs' -batch --no-site-file --no-site-lisp --eval "(setq load-pre= fer-newer t byte-compile-warnings 'all)" -f batch-byte-compile cedet/sema= ntic/format.el '../src/emacs' -batch --no-site-file --no-site-lisp --eval "(setq load-pre= fer-newer t byte-compile-warnings 'all)" -f batch-byte-compile cedet/sema= ntic/fw.el '../src/emacs' -batch --no-site-file --no-site-lisp --eval "(setq load-pre= fer-newer t byte-compile-warnings 'all)" -f batch-byte-compile cedet/sema= ntic/grammar.el Loading /home/grfz/src/emacs-master-next/lisp/cedet/semantic/grm-wy-boot.e= l (source)... '../src/emacs' -batch --no-site-file --no-site-lisp --eval "(setq load-pre= fer-newer t byte-compile-warnings 'all)" -f batch-byte-compile cedet/sema= ntic/grm-wy-boot.el '../src/emacs' -batch --no-site-file --no-site-lisp --eval "(setq load-pre= fer-newer t byte-compile-warnings 'all)" -f batch-byte-compile cedet/sema= ntic/html.el '../src/emacs' -batch --no-site-file --no-site-lisp --eval "(setq load-pre= fer-newer t byte-compile-warnings 'all)" -f batch-byte-compile cedet/sema= ntic/ia.el '../src/emacs' -batch --no-site-file --no-site-lisp --eval "(setq load-pre= fer-newer t byte-compile-warnings 'all)" -f batch-byte-compile cedet/sema= ntic/ia-sb.el '../src/emacs' -batch --no-site-file --no-site-lisp --eval "(setq load-pre= fer-newer t byte-compile-warnings 'all)" -f batch-byte-compile cedet/sema= ntic/idle.el '../src/emacs' -batch --no-site-file --no-site-lisp --eval "(setq load-pre= fer-newer t byte-compile-warnings 'all)" -f batch-byte-compile cedet/sema= ntic/imenu.el '../src/emacs' -batch --no-site-file --no-site-lisp --eval "(setq load-pre= fer-newer t byte-compile-warnings 'all)" -f batch-byte-compile cedet/sema= ntic/java.el '../src/emacs' -batch --no-site-file --no-site-lisp --eval "(setq load-pre= fer-newer t byte-compile-warnings 'all)" -f batch-byte-compile cedet/sema= ntic/lex.el '../src/emacs' -batch --no-site-file --no-site-lisp --eval "(setq load-pre= fer-newer t byte-compile-warnings 'all)" -f batch-byte-compile cedet/sema= ntic/lex-spp.el '../src/emacs' -batch --no-site-file --no-site-lisp --eval "(setq load-pre= fer-newer t byte-compile-warnings 'all)" -f batch-byte-compile cedet/sema= ntic/loaddefs.el '../src/emacs' -batch --no-site-file --no-site-lisp --eval "(setq load-pre= fer-newer t byte-compile-warnings 'all)" -f batch-byte-compile cedet/sema= ntic/mru-bookmark.el '../src/emacs' -batch --no-site-file --no-site-lisp --eval "(setq load-pre= fer-newer t byte-compile-warnings 'all)" -f batch-byte-compile cedet/sema= ntic/sb.el '../src/emacs' -batch --no-site-file --no-site-lisp --eval "(setq load-pre= fer-newer t byte-compile-warnings 'all)" -f batch-byte-compile cedet/sema= ntic/scope.el '../src/emacs' -batch --no-site-file --no-site-lisp --eval "(setq load-pre= fer-newer t byte-compile-warnings 'all)" -f batch-byte-compile cedet/sema= ntic/senator.el '../src/emacs' -batch --no-site-file --no-site-lisp --eval "(setq load-pre= fer-newer t byte-compile-warnings 'all)" -f batch-byte-compile cedet/sema= ntic/sort.el '../src/emacs' -batch --no-site-file --no-site-lisp --eval "(setq load-pre= fer-newer t byte-compile-warnings 'all)" -f batch-byte-compile cedet/sema= ntic/symref.el '../src/emacs' -batch --no-site-file --no-site-lisp --eval "(setq load-pre= fer-newer t byte-compile-warnings 'all)" -f batch-byte-compile cedet/sema= ntic/tag.el '../src/emacs' -batch --no-site-file --no-site-lisp --eval "(setq load-pre= fer-newer t byte-compile-warnings 'all)" -f batch-byte-compile cedet/sema= ntic/tag-file.el '../src/emacs' -batch --no-site-file --no-site-lisp --eval "(setq load-pre= fer-newer t byte-compile-warnings 'all)" -f batch-byte-compile cedet/sema= ntic/tag-ls.el '../src/emacs' -batch --no-site-file --no-site-lisp --eval "(setq load-pre= fer-newer t byte-compile-warnings 'all)" -f batch-byte-compile cedet/sema= ntic/tag-write.el '../src/emacs' -batch --no-site-file --no-site-lisp --eval "(setq load-pre= fer-newer t byte-compile-warnings 'all)" -f batch-byte-compile cedet/sema= ntic/texi.el '../src/emacs' -batch --no-site-file --no-site-lisp --eval "(setq load-pre= fer-newer t byte-compile-warnings 'all)" -f batch-byte-compile cedet/sema= ntic/util.el '../src/emacs' -batch --no-site-file --no-site-lisp --eval "(setq load-pre= fer-newer t byte-compile-warnings 'all)" -f batch-byte-compile cedet/sema= ntic/util-modes.el '../src/emacs' -batch --no-site-file --no-site-lisp --eval "(setq load-pre= fer-newer t byte-compile-warnings 'all)" -f batch-byte-compile cedet/sema= ntic/wisent.el '../src/emacs' -batch --no-site-file --no-site-lisp --eval "(setq load-pre= fer-newer t byte-compile-warnings 'all)" -f batch-byte-compile cedet/sema= ntic/analyze/complete.el '../src/emacs' -batch --no-site-file --no-site-lisp --eval "(setq load-pre= fer-newer t byte-compile-warnings 'all)" -f batch-byte-compile cedet/sema= ntic/analyze/debug.el '../src/emacs' -batch --no-site-file --no-site-lisp --eval "(setq load-pre= fer-newer t byte-compile-warnings 'all)" -f batch-byte-compile cedet/sema= ntic/analyze/fcn.el '../src/emacs' -batch --no-site-file --no-site-lisp --eval "(setq load-pre= fer-newer t byte-compile-warnings 'all)" -f batch-byte-compile cedet/sema= ntic/analyze/refs.el '../src/emacs' -batch --no-site-file --no-site-lisp --eval "(setq load-pre= fer-newer t byte-compile-warnings 'all)" -f batch-byte-compile cedet/sema= ntic/bovine/c.el In toplevel form: cedet/semantic/bovine/c.el:35:2: Error: Cannot open load file: No such fil= e or directory, semantic/bovine/c-by make[4]: *** [Makefile:332: cedet/semantic/bovine/c.elc] Error 1 make[4]: Leaving directory '/home/grfz/src/emacs-master-next/lisp' make[3]: *** [Makefile:366: compile-main] Error 2 make[3]: Leaving directory '/home/grfz/src/emacs-master-next/lisp' make[2]: *** [Makefile:531: lisp] Error 2 make[2]: Leaving directory '/home/grfz/src/emacs-master-next' make[2]: Entering directory '/home/grfz/src/emacs-master-next' *** *** "make all" failed with exit status 2. *** *** You could try to: *** - run "make bootstrap", which might fix the problem *** - run "make V=3D1", which displays the full commands invoked by make, *** to further investigate the problem *** make[2]: *** [Makefile:413: advice-on-failure] Error 2 make[2]: Leaving directory '/home/grfz/src/emacs-master-next' make[1]: *** [Makefile:370: all] Error 2 make[1]: Leaving directory '/home/grfz/src/emacs-master-next' make: *** [GNUmakefile:95: default] Error 2 Line 35 in lisp/cedet/semantic/bovine/c.el reads: (require 'semantic/bovine/c-by) There is no semantic/bovine/c-by.el in the tree, but cedet/Changelog.1 says it was removed in 2013-11-30 together with other generated files. In https://lists.gnu.org/archive/html/bug-gnu-emacs/2021-11/msg00277.html Paul Eggert wrote: "One hypothesis is that c-by.el depends on some other .el file being compi= led into *.elc form (rather than being present in only source form), and t= hat using 'make -j5' causes 'make' on my platform to (unluckily) arrange f= or c-by.el to be compiled before the other *.elc file (whatever it is) is = available. c-by.el starts this way: (require 'semantic/lex) (eval-when-compile (require 'semantic/bovine)) so perhaps we should arrange for all the .elc files needed by semantic/lex= and/or semantic/bovine to be present, before compiling c-by.el." but make -j 1 did not help. So I copied several .el files which were not generated from a not so old installation of emacs, like so: gunzip < /usr/local/stow/emacs-22bee93d92567a1b01ebf7354089e6695e134611--2= 022-09-03T21-17-50+02-00/share/emacs/29.0.50/lisp/cedet/semantic/bovine/c-= by.el.gz > ~/src/emacs-master-next/lisp/cedet/semantic/bovine/c-by.el gunzip < /usr/local/stow/emacs-22bee93d92567a1b01ebf7354089e6695e134611--2= 022-09-03T21-17-50+02-00/share/emacs/29.0.50/lisp/cedet/semantic/bovine/ma= ke-by.el.gz > ~/src/emacs-master-next/lisp/cedet/semantic/bovine/make-by.e= l gunzip < /usr/local/stow/emacs-22bee93d92567a1b01ebf7354089e6695e134611--2= 022-09-03T21-17-50+02-00/share/emacs/29.0.50/lisp/cedet/semantic/bovine/sc= m-by.el.gz > ~/src/emacs-master-next/lisp/cedet/semantic/bovine/scm-by.el gunzip < /usr/local/stow/emacs-22bee93d92567a1b01ebf7354089e6695e134611--2= 022-09-03T21-17-50+02-00/share/emacs/29.0.50/lisp/cedet/semantic/wisent/ja= vat-wy.el.gz > ~/src/emacs-master-next/lisp/cedet/semantic/wisent/javat-wy= .el gunzip < /usr/local/stow/emacs-22bee93d92567a1b01ebf7354089e6695e134611--2= 022-09-03T21-17-50+02-00/share/emacs/29.0.50/lisp/cedet/semantic/wisent/js= -wy.el.gz > ~/src/emacs-master-next/lisp/cedet/semantic/wisent/js-wy.el gunzip < /usr/local/stow/emacs-22bee93d92567a1b01ebf7354089e6695e134611--2= 022-09-03T21-17-50+02-00/share/emacs/29.0.50/lisp/cedet/semantic/wisent/py= thon-wy.el.gz > ~/src/emacs-master-next/lisp/cedet/semantic/wisent/python-= wy.el But now the build fails with cedet/srecode/cpp.el:31:2: Error: Cannot open load file: No such file or d= irectory, srecode/srt-wy but there is no lisp/cedet/semantic/srecode directory. Any ideas, what's happening here? Ciao; Gregor =2D- -... --- .-. . -.. ..--.. ...-.-