-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
emacs 28.1 bottle does not contain dir
file
#100190
Comments
What happens if you compile emacs outside of brew? |
Sorry I misspoke here. It turns out that there's just a dir file in the distribution archive and it contains Htmlfontify:
So here's a full reproduction script that doesn't involve brew and I believe shows that the For some reason I'm not able to link to lines in the gist but the important ones to call out are 6335 through 6406 in
|
I think there is special handling of info pages in CC @Homebrew/brew in case this rings a bell for someone. |
Maybe https://github.com/Homebrew/brew/blob/master/Library/Homebrew/cleaner.rb#L31-L35 # Get rid of any info 'dir' files, so they don't conflict at the link stage
Dir.glob(@f.info/"**/dir").each do |f|
info_dir_file = Pathname(f)
observe_file_removal info_dir_file if info_dir_file.file? && !@f.skip_clean?(info_dir_file)
end The problem being the symlink conflict at |
@cho-m That seems like a likely culprit. In this instance the |
Excluding |
Still cleans `info/dir` and `info/<arch>/dir` files. Fixes Homebrew/homebrew-core#100190
Still cleans `info/dir` and `info/<arch>/dir` files. Fixes Homebrew/homebrew-core#100190
brew gist-logs
Verification
brew update
and am still able to reproduce my issue.brew doctor
and that did not fix my problem.What were you trying to do (and why)?
Use emacs packaged info manuals.
What happened (include all command output)?
The manuals included with emacs are not shown when opening info from inside emacs. The initially presenting problem is that there is no
dir
file initialized in the linked directory inside"$(brew --prefix)"/share/info
:Running
M-x info RET
insideemacs -Q
at that point yields a buffer that doesn't contain, for instance,Htmlfontify
:Once I run the following fixup script
I get an entry for Htmlfontify
Note that entries that have files inside
#{info}/emacs
do properly use them when visiting. It's just that all of the files available inside there aren't in the menu until running theinstall-info
fixup.It's worth nothing that a local installation does generate a dir file:
while the bottle does not (though it does contain
htmlfontify.info.gz
)My only guess is that the bottle code is zipping up
*.info
rather than*.info dir
here since the build process should be producing one.That said, I did attempt to install
brew install emacs --HEAD
and it also failed to produce or at least copy in the generated dir file.I see no evidence that the
info
directory was even produced although it's possiblemake clean
or similar is run by the theinstall --HEAD
process:What did you expect to happen?
Be able to utilize all the manuals packaged with emacs.
Step-by-step reproduction instructions (by running
brew
commands)See my own logs of the above here.
The text was updated successfully, but these errors were encountered: