[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ELPA git repo contains zero-padded file modes and running ~$ make fa
From: |
Stefan Monnier |
Subject: |
Re: ELPA git repo contains zero-padded file modes and running ~$ make fails |
Date: |
Sun, 31 May 2020 13:10:20 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
>>> Known problem: just disable fsck for the initial fetch.
> Thanks. Is there any way to fix it?
Not without rewriting history. Git used to sometimes generate these
zero-padded file modes. It's now more careful, but those old commits
are still with us.
> The problem is not mentioned in those links:
>
> https://www.emacswiki.org/emacs/EmacsFromGit#toc2
> https://savannah.gnu.org/git/?group=emacs
>
> I would not be surprised if people cannot find the solution.
> Or maybe not that many people git clone elpa after all.
>
>> I'm hoping this was just a knock-on error from the first error.
>
> I tried again to clone with fsck completely disabled then running
> make still raises the same error:
>
> In toplevel form:
> packages/ebdb-gnorb/ebdb-gnorb.el:30:1: Error: Cannot open load file: Aucun
> fichier ou dossier de ce type, ebdb-format
> make: *** [GNUmakefile:173: packages/ebdb-gnorb/ebdb-gnorb.elc] Error
Any chance you haven't done `make externals` beforehand?
`ebdb` is an "external" package (i.e. it's kept in its own branch), and
`ebdb-gnorb` depends on `ebdb`, so if you don't `make externals` it's
normal that `ebdb-gnorb` fails to compile.
>> If you pull the elpa repository cleanly and still get this error,
>> please let me know. TBH this package probably doesn't need to exist,
>> it's a holdover from back when I didn't know how to do
>> between-package packages.
> Maybe it can simply be removed, then?
Or turned into an "external" as well.
Stefan