From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Corwin Brust Newsgroups: gmane.emacs.devel Subject: Re: Windows 28.1 install/zip has el newer than elc for some files? Date: Thu, 21 Apr 2022 10:55:35 -0500 Message-ID: References: <86pmldv0ft.fsf@gmail.com> <86mtggo37a.fsf@gmail.com> <83mtggtgkw.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25738"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Emacs developers To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 21 18:42:03 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 1nhZsX-0006OS-HR for ged-emacs-devel@m.gmane-mx.org; Thu, 21 Apr 2022 18:42:01 +0200 Original-Received: from localhost ([::1]:35302 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhZsW-0000Dn-BA for ged-emacs-devel@m.gmane-mx.org; Thu, 21 Apr 2022 12:42:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52810) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhZ9t-0001U1-Nr for emacs-devel@gnu.org; Thu, 21 Apr 2022 11:55:53 -0400 Original-Received: from mail-ej1-f43.google.com ([209.85.218.43]:46783) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nhZ9r-0004B0-NA; Thu, 21 Apr 2022 11:55:53 -0400 Original-Received: by mail-ej1-f43.google.com with SMTP id t11so10891412eju.13; Thu, 21 Apr 2022 08:55:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=huiwAVKbPxvpp78MYXazhO/59htT00HuGZ/lh3ro6m0=; b=hoefY6n8mG/LigX67BwNj6PX6604EthGmD6E+b15UCMPSj9xai17coehvZyco8mhGm fdVUnYj1VH1GQL4R7R2RNFXBuSGSRc7oKOfUbNX1iGAXYMrJ6y93+1uDaI0tfGY621FN 2C2GV4S+QOynZtsH416Df3I9D+ZelzPjbXTiQsx0z+9ngH113hs8t4iIhXgnrX590aty 4FXacex37AS1OaIIsBx4EbKLiMUnq3lrEpoQOFgtutaWDGvcdfhO8Y8J/0G9RJztXo9X fGGLAPXaxRzD1jDah1KENp5ry+WSDVCEcfNEHoQvEFkGplUKwTWCoIAzw017H0ghzYaR 97dA== X-Gm-Message-State: AOAM5325HGg97l6WNQ1I5aElmicEpzdZ726RkcWrrargFqtVwkeEb9ah dRm+arZp2Z9nWEfe9mG+Y3U1jH9uAMrCZOXhxXCPS1e68II= X-Google-Smtp-Source: ABdhPJxQ7TM7c4UtXy39OeHQqTVDO6/GZORKdLtOqOTZa78syPkwMi1kJ7a3hQbr6AJhcM4vNAYJocu7Mi3rvs3Q6pI= X-Received: by 2002:a17:907:8a1b:b0:6f0:81e:cf9c with SMTP id sc27-20020a1709078a1b00b006f0081ecf9cmr201224ejc.470.1650556546498; Thu, 21 Apr 2022 08:55:46 -0700 (PDT) In-Reply-To: <83mtggtgkw.fsf@gnu.org> Received-SPF: pass client-ip=209.85.218.43; envelope-from=mplscorwin@gmail.com; helo=mail-ej1-f43.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action 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:288757 Archived-At: On Wed, Apr 20, 2022 at 1:27 AM Eli Zaretskii wrote: > > Corwin, I don't understand why the time stamps of the *.el files in > the binary distribution don't match those in the source tarball on the > GNU FTP site. Do your build procedures somehow modify the time stamps > of source files? If so, can you spot which part(s) of the build > procedures does that and fix those parts? In short, I have no idea how the modification dates are being changed. It seems to me that they aren't: corwi@Avalon MINGW64 /d/emacs-build $ unzip -lv install/upload/emacs-28.1.zip | grep xwidget.el 28927 Defl:X 7669 74% 2022-03-11 01:04 8d0d1e4b emacs-28.1/share/emacs/28.1/lisp/xwidget.el 25110 Defl:X 7180 71% 2022-04-03 07:16 3d3a8c8c emacs-28.1/share/emacs/28.1/lisp/xwidget.elc corwi@Avalon MINGW64 /d/emacs-build $ ls -l emacs-28.1/lisp | grep xwidget -rw-r--r-- 1 corwi corwi 28927 Mar 11 01:04 xwidget.el -rw-r--r-- 1 corwi corwi 25110 Apr 3 07:16 xwidget.elc corwi@Avalon MINGW64 /d/emacs-build $ tar -t -v --full-time -f ~/emacs-upload/emacs-28.1.tar.xz | grep xwidget.el -rw-r--r-- 0/0 28927 2022-03-11 01:04:22 emacs-28.1/lisp/xwidget.el -rw-r--r-- 0/0 25110 2022-04-03 07:16:59 emacs-28.1/lisp/xwidget.elc > > Or maybe this happens because you build from Git and not from the > tarball? In that case, this is a potential problem I already > indicated, and I think you should use the tarball. One reason is that > the tarball includes some files specifically produced for a release > that the Git repository doesn't have, for example the PDF files in > etc/refcards. Another potential issue is that building from Git means > you produce your own *.elc files, whereas the tarball already includes > them, and you probably produce them on Windows. That is something we > should avoid, I think. You will see from the below that I am using the source tarball for the new versions I've recently posted however I did find that I need to run make clean or otherwise no ELN files are produced (even when I tried specifying NATIVE_FULL_AOT=1 to make). I'm assuming this need to make clean and then run autogen.sh isn't expected. Would it make sense to create a bug report for this? If there are other things I can try I'm happy to do so. Here is the full set of commands I've used to make the set presently uploaded. The referenced ~/emacs-upload/emacs-28.1.tar.xz was downloaded from the GNU fpt site. I then created /d/emacs-upload and ran this sequence, all within a MinGW 64 bash shell. tar -xf ~/emacs-upload/emacs-28.1.tar.xz cd emacs-28.1/ make clean ./autogen.sh ./configure --with-modules --without-dbus --with-native-compilation --without-compress-install CFLAGS=-O2 rm -rf ../install/emacs-28.1 mkdir ../install/emacs-28.1 make install-strip -j 20 prefix=/d/emacs-build/install/emacs-28.1 echo $? cp admin/nt/dist-build/emacs.nsi ../install/ cd ../install/ zip -r -9 emacs-28.1-no-deps.zip emacs-28.1/* unzip -d emacs-28.1/bin ~/emacs-build/deps/emacs-28-deps.zip zip -r -9 emacs-28.1.zip emacs-28.1/* makensis -v4 -DEMACS_VERSION=28.1 -DVERSION_BRANCH=28.1 -DOUT_VERSION=28.1 emacs.nsi mkdir upload mv *.zip *.exe upload cd upload for f in * ; do gpg --batch --yes -b $f ; done for f in *.{zip,exe} ; do cp /d/projects/emacs-build/new-hotness/emacs-28.directive $f.directive; perl -pi -e "s/__FILE__/$f/" $f.directive ; done for f in emacs-28.1*{zip,exe} ; do gpg --batch --yes --clearsign $f.directive ; done ls -altr