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.devel Subject: Re: Loading tramp for dump goes into infinite regress Date: Sun, 24 Jul 2022 15:23:23 +0300 Message-ID: <83wnc2g0n8.fsf@gnu.org> References: <8735erhrlg.fsf@gmx.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30465"; mail-complaints-to="usenet@ciao.gmane.io" Cc: michael.albinus@gmx.de, emacs-devel@gnu.org To: Lynn Winebarger Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jul 24 14:24:19 2022 Return-path: Envelope-to: ged-emacs-devel@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 1oFaef-0007ch-DB for ged-emacs-devel@m.gmane-mx.org; Sun, 24 Jul 2022 14:24:17 +0200 Original-Received: from localhost ([::1]:58566 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oFaed-0008GX-IC for ged-emacs-devel@m.gmane-mx.org; Sun, 24 Jul 2022 08:24:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56598) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFado-0007aG-R9 for emacs-devel@gnu.org; Sun, 24 Jul 2022 08:23:24 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58340) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFado-0008No-ID; Sun, 24 Jul 2022 08:23:24 -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=4PuZJU05VVV1Cio5m1PIVSR4DLJZFTJ3AQvouWkmEpg=; b=gMZwFy0bTWQj eJaG+JDLZdYZ6+mntftjXs3TpljBNBO7SP6SiYx6H9FfDV16lnE++gtoNBNOIdQljJWf1GoFJ4ysF ifrW+XSD8MBsz01SMun/c/I0gqhP7fB7d2A+8oddvGN+dFZMxA20pO5WhmxXmsSgtT3wceYtC0dbu j3kHBvfAARLxr8nuMGSEbrvT6Gtm2fhDaj3mRzxZB2ltjcmrktcBF1sQWBqQIE6KxNQNjZfzrR+IQ Rs4aLTOXgzC/lfpFbE2INadYWZQmf3HkU3Yv5ABebbLJExURXuWuuQ/951w/+gpMWX0/3Nju2q1zO ehdOLA17Jm3QmCgZ44l/dQ==; Original-Received: from [87.69.77.57] (port=3100 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 1oFadn-0003r6-V2; Sun, 24 Jul 2022 08:23:24 -0400 In-Reply-To: (message from Lynn Winebarger on Sun, 24 Jul 2022 08:05:30 -0400) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:292584 Archived-At: > From: Lynn Winebarger > Date: Sun, 24 Jul 2022 08:05:30 -0400 > Cc: emacs-devel > > I don't even understand what you're trying. Could you pls give the > commands you're calling, that I have a chance to reproduce? > > Good point. I'm trying to dump a "fully-loaded" emacs 28.1 that includes several hundred packages from the > various elpas. I've modified those packages so they reside in site-lisp, use cl-lib instead of cl, and use an > explicit data directory instead of loading files relative to the location of an installed .el file. > I verified these all "work" by having about 1000 require statements in my .emacs file to explicitly require > them. I then took the load history and separated the files into ones from the lisp directory and ones from > site-lisp. I created a site-load.el and site-lisp-load.el (loaded at the end of site-load.el) to explicitly load the > files in something resembling dependency order, then running make in the emacs build directory to create > the build. Note that Micheal asked you to show specific commands you used, so he could try reproducing the problems you see, but you haven't provided any such commands, only a rather general description of what you are trying to do. Can you please show the shell commands that you use to do the loading step? > I've also compiled every ELISP source file using batch-byte+native-compile. That was really painful since, > as far as I know, the files can't be native compiled in parallel in arbitrary order because of potential race > conditions, and I haven't made a Makefile for the .ELN files with the correct dependencies to native compile > them in dependency order using make to build them in parallel. I'm not aware of any such problems. IME, native compilation can run in parallel in any order, and no race conditions of any kind are supposed to happen.