Git Product home page Git Product logo

Comments (30)

sjackman avatar sjackman commented on May 24, 2024 1

@maxim-belkin Any thoughts on the cause of this issue?

from brew.

maxim-belkin avatar maxim-belkin commented on May 24, 2024 1

@jaredsampson Could you please post (as a gist) the output of brew list?

from brew.

maxim-belkin avatar maxim-belkin commented on May 24, 2024 1

Actually, could you please post (as a gist) the output you get upon executing these commands:

export HOMEBREW_DEBUG=1
brew doctor

from brew.

jaredsampson avatar jaredsampson commented on May 24, 2024 1

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.

maxim-belkin avatar maxim-belkin commented on May 24, 2024 1

Yes

Thank you

from brew.

sjackman avatar sjackman commented on May 24, 2024 1

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.

maxim-belkin avatar maxim-belkin commented on May 24, 2024 1

Looks like these lines are triggered:

elsif (new_name = @tap.formula_renames[name]) &&
(new_path = formula_dir/"#{new_name}.rb").file?
old_name = name
path = new_path
name = new_name
new_name = @tap.core_tap? ? name : "#{@tap}/#{name}"

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.

JuPlutonic avatar JuPlutonic commented on May 24, 2024

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.

JuPlutonic avatar JuPlutonic commented on May 24, 2024

See: homebrew-xorg/Formula/font-util.rb output3.log

export HOMEBREW_DEBUG=1
brew doctor

from brew.

maxim-belkin avatar maxim-belkin commented on May 24, 2024

@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.

maxim-belkin avatar maxim-belkin commented on May 24, 2024

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.

JuPlutonic avatar JuPlutonic commented on May 24, 2024

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.

JuPlutonic avatar JuPlutonic commented on May 24, 2024

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.

maxim-belkin avatar maxim-belkin commented on May 24, 2024

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.

iMichka avatar iMichka commented on May 24, 2024

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.

sjackman avatar sjackman commented on May 24, 2024

Perhaps a patch to Homebrew/brew is warranted?

from brew.

jaredsampson avatar jaredsampson commented on May 24, 2024

@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.

jaredsampson avatar jaredsampson commented on May 24, 2024

@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.

sjackman avatar sjackman commented on May 24, 2024

@jaredsampson That looks right to me. Try…

opoo "#{path}: Use #{new_name} instead of deprecated #{old_name}"

from brew.

JuPlutonic avatar JuPlutonic commented on May 24, 2024

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.

maxim-belkin avatar maxim-belkin commented on May 24, 2024

What does it say when you change line 248 to

opoo "#{path}: Use #{new_name} instead of deprecated #{old_name}"

?

from brew.

JuPlutonic avatar JuPlutonic commented on May 24, 2024

@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.

jaredsampson avatar jaredsampson commented on May 24, 2024

@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.

sjackman avatar sjackman commented on May 24, 2024

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.

jaredsampson avatar jaredsampson commented on May 24, 2024

Nope, not referenced there.

$ grep dri3proto ~/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-xorg/Formula/xorgproto.rb

$ echo $?
1

from brew.

sjackman avatar sjackman commented on May 24, 2024

Try…

ls -d ~/.linuxbrew/Cellar/*proto

from brew.

JuPlutonic avatar JuPlutonic commented on May 24, 2024

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.

sjackman avatar sjackman commented on May 24, 2024

/move to Linuxbrew/homebrew-xorg

from brew.

 avatar commented on May 24, 2024

⚠️ The GitHub App must be installed for the target repository.

from brew.

 avatar commented on May 24, 2024

This issue was moved by sjackman to Linuxbrew/homebrew-xorg#452.

from brew.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.