-
Notifications
You must be signed in to change notification settings - Fork 238
Repeated xorgproto
-related warnings output from several core commands (e.g. doctor
, leaves
)
#909
Comments
@maxim-belkin Any thoughts on the cause of this issue? |
@jaredsampson Could you please post (as a gist) the output of |
Actually, could you please post (as a gist) the output you get upon executing these commands:
|
Have these warnings "Warning: Use linuxbrew/xorg/xorgproto instead of deprecated". PS: Sorry for my English. |
See: homebrew-xorg/Formula/font-util.rb output3.log
|
I've added the I'm in the middle of a |
@JuPlutonic, thanks for for log file. So, it is Another question: why do you have
and not
? Have you tried
? |
Thanks, @jaredsampson. Your problem might come from any of the outdated |
Yep, did today many times (brew cleanup / brew update && brew update / brew cleanup --prune=0 && brew prune, |
Yes |
Thank you |
Try this:
|
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. |
I found a similar problem on an older install where I ran an update right now. I put a It got stuck on |
Perhaps a patch to Homebrew/brew is warranted? |
@maxim-belkin My Thanks for the debugging work, @iMichka. I'll try uninstalling those and reinstall from source as you suggest. |
@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:
so being unfamiliar with the source, it seems must have the wrong variable. |
@jaredsampson That looks right to me. Try… opoo "#{path}: Use #{new_name} instead of deprecated #{old_name}" |
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).
|
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). |
What does it say when you change line 248 to
? |
@maxim-belkin |
@sjackman using
And yes, as @maxim-belkin noted,
So apparently I see a couple pull requests, but no formula for it.
|
Just to be sure,
|
Nope, not referenced there.
|
Try…
|
xcb-proto and xorgproto
And |
/move to Linuxbrew/homebrew-xorg |
|
This issue was moved by sjackman to Linuxbrew/homebrew-xorg#452. |
Please note that we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.
brew
command and reproduced the problem with multiple formulae? If it's a problem with a single, official formula (not cask) please file this issue at Linuxbrew/homebrew-core: https://github.com/Linuxbrew/homebrew-core/issues/new/choose. If it's abrew cask
problem please file this issue at https://github.com/Homebrew/homebrew-cask/issues/new/choose. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.brew update
and can still reproduce the problem?brew doctor
, fixed all issues and can still reproduce the problem?Fixed all issues I can--I'm on a shared system where I'm not an admin, so there are still extra
.la/.pc/.a
files in /usr/local/lib that I can't remove. I also have aconda
installation that has several*-config
scripts. Fullbrew doctor
uploaded (see below).brew config
andbrew doctor
and included their output with your issue?Both uploaded to: https://gist.github.com/jaredsampson/1339f500413970a047f0cf4736961bfa
What you were trying to do (and why)
Run
brew doctor
ormissing
, orleaves
to check the status of my Linuxbrew installation, orbrew uninstall XXX
to uninstall a given formula.What happened (include command output)
The commands run successfully, but also output every time a long list of warnings related to
xorgproto
and older, deprecatedproto
programs.Command output
A complete version of the warnings is included in the same gist.
I find this unusual, particularly because I have xorgproto installed, but none of the deprecated programs:
What you expected to happen
I would expect these warnings to tell me which formula specifies the deprecated programs, or to have some other way of finding out how to resolve the apparent dependency issue. It would be nice not to have 250 lines of warnings every time I run one of these basic commands, but I'm not sure how to go about fixing it.
Step-by-step reproduction instructions (by running
brew
commands)For me, this happens every time I run one of the aforementioned commands (
brew doctor
,brew leaves
,brew missing
,brew uninstall X
), with no other steps necessary. I suspect this will not be the case for other users or it would have been reported previously.The text was updated successfully, but these errors were encountered: