Comments (30)
@maxim-belkin Any thoughts on the cause of this issue?
from brew.
@jaredsampson Could you please post (as a gist) the output of brew list
?
from brew.
Actually, could you please post (as a gist) the output you get upon executing these commands:
export HOMEBREW_DEBUG=1
brew doctor
from brew.
I've added the brew list
output to the previous gist I used before.
I'm in the middle of a brew upgrade
which I had hoped might take care of this issue, so I'll wait until that's done to post the new brew doctor
output with debug info, hopefully later today (I had quite a few things outdated, including some built from source).
from brew.
Yes
Thank you
from brew.
Another question: why do you have
/home/linuxbrew/.linuxbrew/Library/Taps/homebrew/homebrew-core/Formula/
and not/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core/Formula
Older installations of Linuxbrew used $REPOSITORY == $PREFIX, and those older installations are not automatically migrated automatically to the current directory structure of $REPOSITORY == $PREFIX/Homebrew.
from brew.
Looks like these lines are triggered:
brew/Library/Homebrew/formulary.rb
Lines 230 to 235 in aed4548
so, taking #909 (comment) as an example,
name = dri3proto
...We have to figure out where that
dri3proto
comes from given that it is not installed (according to brew list).from brew.
Have these warnings "Warning: Use linuxbrew/xorg/xorgproto instead of deprecated".
((((I think something wrong with /home/l-b/.l-b/Library/Taps/linuxbrew/homebrew-xorg. I'm thinking about re-pour all bottles what actually comes from linuxbew/xorg.)))
I can reproduce warnings with Taps related formulas:
https://gist.github.com/JuPlutonic/f6a7ab40165b92e26f02a1c6a40182d7
PS: Sorry for my English.
from brew.
See: homebrew-xorg/Formula/font-util.rb output3.log
export HOMEBREW_DEBUG=1
brew doctor
from brew.
@JuPlutonic, thanks for for log file. So, it is check_missing_deps
that causes these warnings. I'll have a look into it.
Another question: why do you have
/home/linuxbrew/.linuxbrew/Library/Taps/homebrew/homebrew-core/Formula/
and not
/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core/Formula
?
Have you tried
brew update
brew update
brew upgrade
brew cleanup --prune=0
brew prune
?
from brew.
Thanks, @jaredsampson. Your problem might come from any of the outdated linuxbrew/xorg
packages. The first thing I'd try is brew remove linuxbrew/xorg/xorg
:)
from brew.
Yep, did today many times (brew cleanup / brew update && brew update / brew cleanup --prune=0 && brew prune, brew upgrade
I didn't use because I don't want pg to be upgraded)
from brew.
Another question: why do you have
/home/linuxbrew/.linuxbrew/Library/Taps/homebrew/homebrew-core/Formula/
and not
/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core/Formula
Yes
from brew.
Yep, did today many times (brew cleanup / brew update && brew update / brew cleanup --prune=0 && brew prune, brew upgrade I didn't use because I don't want pg to be upgraded)
Try this:
brew upgrade $(brew list | grep -v pg)
from brew.
I found a similar problem on an older install where I ran an update right now.
I was able to debug this a little bit. brew doctor
was for example triggering these warnings.
I put a raise
just here: https://github.com/Linuxbrew/brew/blob/master/Library/Homebrew/formulary.rb#L248
It got stuck on libxcb
and libx11
. Uninstalling both and then rebuilding them from source fixed the problem for me. I guess that both bottles need to be rebuilt.
from brew.
Perhaps a patch to Homebrew/brew is warranted?
from brew.
@maxim-belkin My brew upgrade
finished overnight last night, so I've posted the brew doctor
output with debug info here.
Thanks for the debugging work, @iMichka. I'll try uninstalling those and reinstall from source as you suggest.
from brew.
@sjackman Looking at the code where @iMichka added the raise statement, it would help in narrowing down the source of these warnings by simply adding the name of the formula that has that particular dependency, perhaps something like:
opoo "#{name}: Use #{new_name} instead of deprecated #{old_name}"
although I just tried that, and it produces the errors:
Warning: xorgproto: Use linuxbrew/xorg/xorgproto instead of deprecated dri3proto
so being unfamiliar with the source, it seems must have the wrong variable.
from brew.
@jaredsampson That looks right to me. Try…
opoo "#{path}: Use #{new_name} instead of deprecated #{old_name}"
from brew.
Any changes in L248 didn't give me any clue(yhe raised error/ more complex message shows that xorgproto found problem in itself… maybe linuxbrew/xorg/xorgproto != xorgproto).
I think what on L227/L230 we need some more checks.
from brew.
What does it say when you change line 248 to
opoo "#{path}: Use #{new_name} instead of deprecated #{old_name}"
?
from brew.
@maxim-belkin
output2.txt
…
Warning: /opt/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-xorg/Formula/xorgproto.rb: Use linuxbrew/xorg/xorgproto instead of deprecated xorg-protocols
…
I did
export HOMEBREW_DEBUG=1; brew remove --debug font-inconsolata-nerd-font
from tap ta2gch/fonts
from brew.
@sjackman using path
instead of name
in L248 I get:
Warning: /home/ME/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-xorg/Formula/xorgproto.rb: Use linuxbrew/xorg/xorgproto instead of deprecated dri3proto
And yes, as @maxim-belkin noted, dri3proto
is not installed. I actually tried installing it and got this:
$ brew install dri3proto
Updating Homebrew...
Warning: linuxbrew/xorg/xorgproto 2018.4 is already installed and up-to-date
To reinstall 2018.4, run `brew reinstall xorgproto`
So apparently dri3proto
(and presumably others) somehow alias to xorgproto
?
I see a couple pull requests, but no formula for it.
$ brew search dri3proto
No formula or cask found for "dri3proto".
Closed pull requests:
new formulae: dri3proto (https://github.com/Homebrew/homebrew-core/pull/11843)
openni2 2.2.0-debian (https://github.com/Homebrew/homebrew-science/pull/5192)
from brew.
Just to be sure, dri3proto
is not reference in that file?
grep dri3proto /home/ME/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-xorg/Formula/xorgproto.rb
echo $?
from brew.
Nope, not referenced there.
$ grep dri3proto ~/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-xorg/Formula/xorgproto.rb
$ echo $?
1
from brew.
Try…
ls -d ~/.linuxbrew/Cellar/*proto
from brew.
xcb-proto and xorgproto
Try…
ls -d ~/.linuxbrew/Cellar/*proto
And
grep dri3proto /opt/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-xorg/Formula/xcb-proto.rb
echo $?
Is 1
brew-list.txt
from brew.
/move to Linuxbrew/homebrew-xorg
from brew.
from brew.
This issue was moved by sjackman to Linuxbrew/homebrew-xorg#452.
from brew.
Related Issues (20)
- brew install mongodb gives SyntaxError HOT 4
- brew audit/style error when your Ruby2.6RubyGems3.0.2 HOT 3
- Brew upgrade don't delete old version's Cellar directory for packages installed from sources HOT 1
- brew won't use correct git version HOT 1
- Failure while executing git config, exit code 129 HOT 27
- Unable to install linuxbrew to vps server over ssh. " Cannot write: No space left on device HOT 2
- "Cannot write: No space left on device" when trying to install linuxbrew to VPS server HOT 29
- brew bundle dump fails HOT 2
- Redirect http://linuxbrew.sh to https://linuxbrew.sh HOT 1
- `brew install yarn` does not support `--without-node` HOT 1
- Vendored Ruby install fails with unhelpful message on i686 HOT 6
- Cannot execute one-line installation as root HOT 1
- Error: cannot load such file -- irb HOT 1
- Brewed curl cannot find the CA certificates and all bottle downloads fail HOT 14
- Stuck in rebase HOT 2
- Unable to resolve dependency: user requested 'did_you_mean' HOT 8
- cannot load such file -- os/linux/glibc HOT 5
- pipenv does not install HOT 9
- Applying patch breaks brew HOT 3
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 brew.