From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: strange build problem with missing -by.el and -wy.el files Date: Tue, 01 Nov 2022 09:04:00 +0200 Message-ID: <83v8nzcg0v.fsf@gnu.org> References: <87bkprbq6u.fsf@no.workgroup> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13538"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org 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 Tue Nov 01 08:04:58 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 1oplKU-0003I7-8d for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 01 Nov 2022 08:04:58 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oplJn-0001sa-E2; Tue, 01 Nov 2022 03:04:15 -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 1oplJm-0001sT-3W for help-gnu-emacs@gnu.org; Tue, 01 Nov 2022 03:04:14 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oplJl-0007qF-Or for help-gnu-emacs@gnu.org; Tue, 01 Nov 2022 03:04:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=KqET+wdfcCAes2mPlfi8rKeZq8JR5sI8KOKG1PTZjSE=; b=WepRQ4cQLjv+ M6cYrrqhEDvZ0LoPWyzf9wlWV/9kR6A6N7LspEPW9wbccmkF6YncaN4hQoBTx202uHqMqM8JFJYcm f2CuaSgRa+NBIXxtG1YKBXMoJREK+G4nyiK4EN4MLrhxS9CJOYUCEz+GUH8Naq5rxk66eu5mp+gze fzZfEcXqVRHxtsOaBfn5O5YrxF7HupysRTqV+enIAEJYU44+dgFzRqXqYzCc4+txYRxhDkiTqLm/l Q+kBgromSuS5tyyrstTNyNIhX+K3qnKte9aC3X06T50qYL/3oKv0/FYcjONU6I508UjlZT7uP6GoV QMnI+9OLVUjBKbqMdHWW3w==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oplJl-0006Dr-3q for help-gnu-emacs@gnu.org; Tue, 01 Nov 2022 03:04:13 -0400 In-Reply-To: <87bkprbq6u.fsf@no.workgroup> (message from Gregor Zattler on Mon, 31 Oct 2022 23:09:45 +0100) 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:140553 Archived-At: > From: Gregor Zattler > Date: Mon, 31 Oct 2022 23:09:45 +0100 > > In toplevel form: > cedet/semantic/bovine/c.el:35:2: Error: Cannot open load file: No such file 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=1", 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. It was removed from Git, but it gets regenerated as part of the build. > c-by.el starts this way: So you do have c-by.el in the tree? Now I'm confused. > 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: That's the wrong way of handling the problem. You need to understand why c-by.el is not generated as part of the build. It's supposed to be generated by the rules in admin/grammars/Makefile.in, which run early on during the build. It is run via the rule in lisp/Makefile.in for the target "semantic", look around line 415 in that file. Why doesn't that happen in your case?