From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#43532: [feature/native-comp] *.eln file name hashing, algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained, Emacs.app builds for macOS Date: Thu, 01 Oct 2020 13:19:47 +0000 Message-ID: References: Reply-To: Andrea Corallo Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28311"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 43532@debbugs.gnu.org To: Aloxaf Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 01 15:22:21 2020 Return-path: Envelope-to: geb-bug-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 1kNyXM-0007HG-Qj for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Oct 2020 15:22:20 +0200 Original-Received: from localhost ([::1]:33092 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kNyXL-0004Jb-Pw for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Oct 2020 09:22:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47396) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kNyV8-0001uy-JD for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2020 09:20:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51473) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kNyV8-0007Yw-7p for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2020 09:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kNyV8-00018Q-3V for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2020 09:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Oct 2020 13:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43532 X-GNU-PR-Package: emacs Original-Received: via spool by 43532-submit@debbugs.gnu.org id=B43532.16015583924335 (code B ref 43532); Thu, 01 Oct 2020 13:20:02 +0000 Original-Received: (at 43532) by debbugs.gnu.org; 1 Oct 2020 13:19:52 +0000 Original-Received: from localhost ([127.0.0.1]:34786 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNyUy-00017r-0K for submit@debbugs.gnu.org; Thu, 01 Oct 2020 09:19:52 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:64886) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNyUw-00017f-MV for 43532@debbugs.gnu.org; Thu, 01 Oct 2020 09:19:51 -0400 Original-Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTP id 091DJm3o000358; Thu, 1 Oct 2020 13:19:48 GMT In-Reply-To: (Aloxaf's message of "Thu, 1 Oct 2020 00:54:42 +0800") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:189516 Archived-At: Aloxaf writes: > =E5=9C=A8 2020/9/30 =E4=B8=8B=E5=8D=883:13, Andrea Corallo =E5=86=99=E9= =81=93: > >> Once the package is produced it can be in any directory with no >> restrinction on the name or like in MacOS the pkg directory will be >> called like name.app? >> >> Thanks >> >> Andrea > > If you mean where it will be installed. It will always be installed to > / by default, but there is not some special restriction. > The $pkgdir just like a fake root and install it with AUR should have > the same directory structure as `make install DSTDIR=3D'/'` > > If you mean where the $pkgdir will be. Its value is > $BUILDDIR/$PACKAGE_NAME/pkg/$PACKAGE_NAME, $BUILDDIR can be configured > by user. Yes that's what I meant. Okay then if is correct to assume $PACKAGE_NAME is know at compile time should be possible on our side to offer a build option to specify that while compiling. > BTW, is there any special reason to consider file path when hashing? > IMHO, it may be better not to consider it? It makes simple and very cheap to keep the cache directory clean, the fact that's cheap allow us to the this clean-up often. Thanks Andrea PS you should do a replay-all when replaying to keep the bug posted