Boris Buliga

Results 173 comments of Boris Buliga

Thanks for giving it a try. I guess with `tar` it's because I need to modify `PATH` a little bit earlier as downloading and unpacking happens before `install` function is...

Really strange. In this case I am not sure what's wrong. Gonna read some brew sources to better understand how they bake `PATH`. Thanks for testing though! Will come back...

Ok, got another idea. TL;DR - please try building with https://github.com/d12frosted/homebrew-emacs-plus/pull/468/commits/542f0c00de2e74326f38bf6e5954cfbf6a7d3346. In case it doesn't work, run with `--verbose` flag and share output. So there were two mistakes. 1. Formulas...

I see. Thanks for testing. Not sure why it picks incorrect `tar`. Will dig into it later.

The thing is that I can't reproduce the error. What I tried: 1. Set the `PATH` to `/opt/homebrew/opt/llvm/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin` (basically default macOS `PATH` + homebrew basic stuff). 2. Revert my changes....

So basically, this is what `brew` tries to do: ``` tar --extract --no-same-owner --file /Users/d12frosted/Library/Caches/Homebrew/downloads/81fae34a5dbd8042af6a70512829e9d4a11e31e7067bf4da5c5bded31f757129--emacs-28.1.tar.xz --directory /private/tmp/d20220518-12034-b0gqyp ``` I tried with different `tar` binaries: ``` $ /usr/bin/tar --extract --no-same-owner --file...

Ah, I also checked man of `bsdtar` (`/usr/bin/tar` is just a link to `/usr/bin/bsdtar`) and it seems that `--extract` is valid option. See https://www.mankier.com/1/bsdtar#-x

Just FYI, I've updated the PR a little bit. But I still have not managed to reproduce the issue.

> Sorry for the delay, some stuff came up and I couldn't devote any time to this. Sure, no worries. Plus I understand that it requires uninstalling Emacs and messing...

Was closed automatically because I've merged that PR since it makes sense to have it anyways. But we know that your issue is not fixed yet. Will continue investigation.