Error: Cask adoptopenjdk8 exists in multiple taps
Categories
(Firefox Build System :: Bootstrap Configuration, defect)
Tracking
(firefox71 fixed)
Tracking | Status | |
---|---|---|
firefox71 | --- | fixed |
People
(Reporter: whimboo, Assigned: robwu)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
mach bootstrap
fails for me for Fennec artifact builds:
Error: Cask adoptopenjdk8 exists in multiple taps:
homebrew/cask-versions/adoptopenjdk8
caskroom/versions/adoptopenjdk8
Error running mach:['bootstrap']
The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.
You can invoke |./mach busted| to check if this issue is already on file. If it
isn't, please use |./mach busted file| to report it. If |./mach busted| is
misbehaving, you can also inspect the dependencies of bug 1543241.If filing a bug, please include the full output of mach, including this error
message.The details of the failure are as follows:
CalledProcessError: Command '[u'/usr/local/bin/brew', u'cask', u'install', u'adoptopenjdk8']' returned non-zero exit status 1
File "/Users/henrik/code/gecko/python/mozboot/mozboot/mach_commands.py", line 43, in bootstrap
bootstrapper.bootstrap()
File "/Users/henrik/code/gecko/python/mozboot/mozboot/bootstrap.py", line 430, in bootstrap
getattr(self.instance, 'install_%s_packages' % application)()
File "/Users/henrik/code/gecko/python/mozboot/mozboot/osx.py", line 201, in install_mobile_android_artifact_mode_packages
self.package_manager)(artifact_mode=True)
File "/Users/henrik/code/gecko/python/mozboot/mozboot/osx.py", line 365, in ensure_homebrew_mobile_android_packages
self._ensure_homebrew_casks(casks)
File "/Users/henrik/code/gecko/python/mozboot/mozboot/osx.py", line 322, in _ensure_homebrew_casks
return self._ensure_homebrew_packages(casks, extra_brew_args=['cask'])
File "/Users/henrik/code/gecko/python/mozboot/mozboot/osx.py", line 310, in _ensure_homebrew_packages
subprocess.check_call(cmd + ['install', package])
File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 190, in check_call
raise CalledProcessError(retcode, cmd)
I didn't built for Fennec for a long time, so maybe the changes from bug 1544981 are related here?
Assignee | ||
Comment 1•6 years ago
|
||
Bug 1544981 had the same stack and describes the cause of this problem.
If you have an old install, you may have to remove the outdated caskroom/versions
tap, as suggested in the commit description of https://hg.mozilla.org/mozilla-central/rev/74dc09642c22 :
caskroom/versions
was replaced withhomebrew/cask-versions
in 2018.
Tapcaskroom/versions
instead of the old one.If you have two taps, remove the old one using:
brew untap caskroom/versions
Reporter | ||
Comment 2•6 years ago
|
||
Oh ok. I should have fully read the other bug first. So it's clearly a dupe.
Assignee | ||
Comment 3•6 years ago
|
||
I need a bug to attach a patch to, and since this bug already describes the problem, I'll use this one.
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 4•6 years ago
|
||
Updated•6 years ago
|
Updated•6 years ago
|
Comment 6•6 years ago
|
||
bugherder |
Description
•