Comments (10)
For other non-hardcore users of homebrew, here's how to upgrade a non-bottled formula:
brew upgrade --build-from-source browserpass
The "usual" upgrade gave me the below error:
~$ brew upgrade browserpass
==> Upgrading 1 outdated package:
amar1729/formulae/browserpass 3.0.8 -> 3.1.0
==> Fetching amar1729/formulae/browserpass
==> Downloading https://github.com/Amar1729/homebrew-formulae/releases/download/
curl: (22) The requested URL returned error: 404
Error: browserpass: Failed to download resource "browserpass"
Download failed: https://github.com/Amar1729/homebrew-formulae/releases/download/browserpass-3.0.8/browserpass-3.1.0.big_sur.bottle.tar.gz
from homebrew-formulae.
Hi,
I had the same issue:
~ % brew install amar1729/formulae/browserpass
browserpass 3.0.8 is already installed but outdated (so it will be upgraded).
==> Fetching amar1729/formulae/browserpass
==> Downloading https://github.com/Amar1729/homebrew-formulae/releases/download/browserpass-3.0.8/browserpass-3.1.0.big_sur.bottle.tar.gz
curl: (22) The requested URL returned error: 404
Error: browserpass: Failed to download resource "browserpass"
Download failed: https://github.com/Amar1729/homebrew-formulae/releases/download/browserpass-3.0.8/browserpass-3.1.0.big_sur.bottle.tar.gz
This helped me:
brew upgrade --build-from-source amar1729/formulae/browserpass
from homebrew-formulae.
I suppose it was a temporary error, I got it working with brew upgrade browserpass
:
~$ brew upgrade browserpass
Running `brew update --auto-update`...
==> Upgrading 1 outdated package:
amar1729/formulae/browserpass 3.0.8 -> 3.1.0
==> Fetching amar1729/formulae/browserpass
==> Downloading https://github.com/browserpass/browserpass-native/files/3062744/request.hex.txt
==> Downloading from https://objects.githubusercontent.com/github-production-repository-file-5c1aeb/128682745/3062744?X-Amz-Algorithm=AWS4-HM
###################################################################################################################################### 100.0%
==> Downloading https://github.com/browserpass/browserpass-native/archive/refs/tags/3.1.0.tar.gz
==> Downloading from https://codeload.github.com/browserpass/browserpass-native/tar.gz/refs/tags/3.1.0
==> Upgrading amar1729/formulae/browserpass
3.0.8 -> 3.1.0
==> make configure
==> make
==> make install
==> Caveats
********************************************************************************
* To configure your browser, RUN THE FOLLOWING:
$ PREFIX='/opt/homebrew/opt/browserpass' make hosts-BROWSER-user -f '/opt/homebrew/opt/browserpass/lib/browserpass/Makefile'
* Where BROWSER is one of the following: [chromium chrome vivaldi brave firefox]
********************************************************************************
from homebrew-formulae.
Hi,
Still failing here, brew upgrade
, brew upgrade browserpass
, brew uninstall browserpass
then brew install browserpass
all fails ...
I had to explicitely ask to install from source with brew install --build-from-source browserpass
to finality being able to install it.
from homebrew-formulae.
brew install --build-from-source browserpass
worked for me
from homebrew-formulae.
Edit: tl:dr; you should be fine if you run brew uninstall browserpass && brew install browserpass
@fkneist @dactylroot sorry for the delay in responding. The reason you are seeing two different versions (3.0.8
and 3.1.0
) is related to what i said up above: something about the brew
CI has changed and no longer works as expected. Thus, a "bottle" (homebrew's terminology for a prebuilt distribution of binary files) for 3.1.0
never got built. The last version for which a bottle was built was 3.0.8
, hence that version is still around at line 8.
There's two three solutions -
- i fix the CI (which i promise i have messed around with, but there's something unclear to me that make it not quite work as it should; i would like to come back to it again soon)
- have users ask brew to build the current version of the formulae from source (which was a big part of the discussion in this issue)
The difference is:
# this will install the most recent bottled version, which is 3.0.8
brew install browserpass
# this will build browserpass from the source defined on line4 (which is 3.1.0)
brew install --build-from-source browserpass
- remove the bottle stanza entirely (which i've just done), so
brew
will default to building from source for all users.
side note: i forget exactly when, but there will be a switchover of maintained macOS versions in homebrew. we are also very close to the transition from x86 to apple silicon, so at some point in the near future builds of browserpass via this tap will no longer ship with bottles for x86 (the /usr/local/Cellar
location). I think that means you'll always have to build from source if on x86.
from homebrew-formulae.
Thanks for the comment @wheleph , I should've mentioned that in the original issue. Although I am surprised brew
didn't fallback to building from source after failing to build the bottle, I thought that (...used to be?) what it would do. Good that it seems to be working now.
from homebrew-formulae.
brew install --build-from-source browserpass
worked for me
from homebrew-formulae.
Hi, I had the same issue:
~ % brew install amar1729/formulae/browserpass browserpass 3.0.8 is already installed but outdated (so it will be upgraded). ==> Fetching amar1729/formulae/browserpass ==> Downloading https://github.com/Amar1729/homebrew-formulae/releases/download/browserpass-3.0.8/browserpass-3.1.0.big_sur.bottle.tar.gz curl: (22) The requested URL returned error: 404 Error: browserpass: Failed to download resource "browserpass" Download failed: https://github.com/Amar1729/homebrew-formulae/releases/download/browserpass-3.0.8/browserpass-3.1.0.big_sur.bottle.tar.gz
This helped me:
brew upgrade --build-from-source amar1729/formulae/browserpass
I had the same error message, what threw me off, is that there are two different versions in the URL:
.../browserpass-3.0.8/browserpass-3.1.0.big_sur.bottle.tar.gz
Then I checked the formula (but I'm not familiar with Ruby and formulae) and I noticed:
- this line mentions 3.1.0: https://github.com/Amar1729/homebrew-formulae/blob/master/Formula/browserpass.rb#L4
- this line mentions 3.0.8: https://github.com/Amar1729/homebrew-formulae/blob/master/Formula/browserpass.rb#L8
might this be the issue? Like I said I'm not familiar with formulae and just clutching at straws here... If the formula is fine, please ignore
Thanks for maintaining, I'm a daily user!
from homebrew-formulae.
Hi, I don't know if this is related but I also have issues updating ever since 3.0.8 (initially reported here). I noticed brew is installing new versions to path /usr/local/Cellar/browserpass/3.0.8 and seems to be clobbering existing files/configurations there. This may be causing issues with local builds.
e.g.
$ brew info browserpass
==> amar1729/formulae/browserpass: stable 3.1.0 (bottled)
Host application for browser extension providing access to your password store
https://github.com/browserpass/browserpass-native
/usr/local/Cellar/browserpass/3.0.8 (11 files, 3.6MB) *
Poured from bottle on 2022-09-07 at 12:48:09
From: https://github.com/amar1729/homebrew-formulae/blob/HEAD/Formula/browserpass.rb
==> Dependencies
Build: coreutils ✔, gnu-sed ✔, go ✘
Required: gpg ✔, pinentry ✔, pinentry-mac ✔
==> Caveats
********************************************************************************
* To configure your browser, RUN THE FOLLOWING:
$ PREFIX='/usr/local/Cellar/browserpass/3.1.0' make hosts-BROWSER-user -f '/usr/local/Cellar/browserpass/3.1.0/lib/browserpass/Makefile'
* Where BROWSER is one of the following: [chromium chrome vivaldi brave firefox]
********************************************************************************
$ ls /usr/local/Cellar/browserpass/
3.0.8
from homebrew-formulae.
Related Issues (10)
- Installation failed HOT 5
- GPG Verification for browserpass HOT 2
- browserpass-native outdated HOT 2
- libguestfs 1.40.2 did not build - ocamlfind: Config file not found HOT 3
- 3.0.7 doesn't work under Big Sur HOT 2
- Cannot tap HOT 1
- Big Sur HOT 1
- Compilation error of homebrew browserpass HOT 2
- Browserpass not found when using brew on M1 (not via rosetta) HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebrew-formulae.