You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
After installing Mac OS Monterey, pup won't run up anymore #166
Running any command (e.g. '<p>Oink</p>' | pup 'p text{}') from the terminal results in the following. Even "pup --version" fails. Am I right in assuming this is not so much a pup issue, as it is a go issue?
Thank you, @SuperSandro2000! The version of pup that I'm using was installed using Homebrew. Is there any way to get that version running again - I'm not that comfortable building the pup binary myself?
In other words - if the pup binary on Homebrew (and its dependencies) are updated at some point in time, that should also solve my problem, right? In the mean-time, I will look into building it myself as you suggested. Thanks again!
if the pup binary on Homebrew (and its dependencies) are updated at some point in time
Homebrew pup is rebuilt on every macOS release, even though pup's last official release was over five years ago: https://formulae.brew.sh/formula/pup
that should also solve my problem, right?
Not if you don't brew upgrade. Any Homebrew binaries built with Go 1.9.2 is now four years old, so you either haven't run brew upgrade in a very long while, or your OS version is long unsupported (High Sierra?). If it's the latter, you're probably better off manually installing the latest Go toolchain from golang.org, then go get github.com/ericchiang/pup.
Not sure what was wrong - I run brew update and brew upgrade quite regularly. Uninstalling, then simply reinstalling apparently did the trick. Thanks again for your help!
This, on the other hand, is seriously out of date. Hardly anyone runs 32-bit macOS any more, and the 64-bit binary therein is as old as it gets. If your original installation was from this formula, that's probably why you got the error you did.
Sadly, pup seems to be abandonware now, and no fork has been officially "blessed".
Activity
SuperSandro2000 commentedon Oct 26, 2021
That is the issue. Try building the binary with a newer version.
jhoek commentedon Oct 26, 2021
Thank you, @SuperSandro2000! The version of pup that I'm using was installed using Homebrew. Is there any way to get that version running again - I'm not that comfortable building the pup binary myself?
In other words - if the pup binary on Homebrew (and its dependencies) are updated at some point in time, that should also solve my problem, right? In the mean-time, I will look into building it myself as you suggested. Thanks again!
gromgit commentedon Oct 26, 2021
Homebrew
pupis rebuilt on every macOS release, even thoughpup's last official release was over five years ago: https://formulae.brew.sh/formula/pupNot if you don't
brew upgrade. Any Homebrew binaries built with Go 1.9.2 is now four years old, so you either haven't runbrew upgradein a very long while, or your OS version is long unsupported (High Sierra?). If it's the latter, you're probably better off manually installing the latest Go toolchain from golang.org, thengo get github.com/ericchiang/pup.jhoek commentedon Oct 26, 2021
Ah, I see what you mean. Homebrew installed my version of pup from https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/pup.rb. Must be pretty old stuff. Will uninstall then reinstall from https://raw.githubusercontent.com/EricChiang/pup/master/pup.rb instead. Very sorry for wasting your time, will report here if my problem was solved.
jhoek commentedon Oct 26, 2021
Not sure what was wrong - I run
brew updateandbrew upgradequite regularly. Uninstalling, then simply reinstalling apparently did the trick. Thanks again for your help!gromgit commentedon Oct 26, 2021
Glad you got that sorted out, but I just want to clear up a couple of misconceptions:
Hardly. That's current Homebrew, which is as up-to-date as it gets. Notice that the formula contains bottles up to Big Sur (both Intel and M1).
The canonical Homebrew install instruction for
pupis in fact simply:This, on the other hand, is seriously out of date. Hardly anyone runs 32-bit macOS any more, and the 64-bit binary therein is as old as it gets. If your original installation was from this formula, that's probably why you got the error you did.
Sadly,
pupseems to be abandonware now, and no fork has been officially "blessed".jhoek commentedon Oct 26, 2021
OK, makes sense, since reinstalling from https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/pup.rb fixed the issue. https://raw.githubusercontent.com/EricChiang/pup/master/pup.rb is the install link in README.md, which is why I assumed that would be the most up-to-date option.
gromgit commentedon Oct 27, 2021
There are three outstanding (and identical) PRs to fix the Homebrew instructions in the README, dating back to 2018: #94, #116, #155.
That, and the 13 other outstanding PRs, is why I said
pupseems to be abandonware now.