Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

brew doctor warns about chefdk's *-config files #745

Closed
miketheman opened this issue Mar 17, 2016 · 3 comments
Closed

brew doctor warns about chefdk's *-config files #745

miketheman opened this issue Mar 17, 2016 · 3 comments
Labels
Triage: Duplicate Indicates an issue is a duplicate of other open issue.

Comments

@miketheman
Copy link
Contributor

$ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!

Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.

Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew provided
script of the same name. We found the following "config" scripts:
    /opt/chefdk/embedded/bin/finstyle-config
    /opt/chefdk/embedded/bin/ncurses5-config
    /opt/chefdk/embedded/bin/ncursesw5-config
    /opt/chefdk/embedded/bin/pkg-config
    /opt/chefdk/embedded/bin/xml2-config
    /opt/chefdk/embedded/bin/xslt-config

Warning: You have a non-Homebrew 'pkg-config' in your PATH:
  /opt/chefdk/embedded/bin/pkg-config

`./configure` may have problems finding brew-installed packages using
this other pkg-config.

$ chef --version
Chef Development Kit Version: 0.11.2
chef-client version: 12.7.2
berks version: 4.2.0
kitchen version: 1.5.0

I'm not yet certain of the impact, but thought I'd start the discussion here if anyone else has seen this.

@edehde
Copy link

edehde commented Mar 17, 2016

Known-issue indeed e.g. #358 (see also https://github.com/Homebrew/homebrew/pull/33687/files)

@miketheman
Copy link
Contributor Author

Update: Less 'violations', but still appearing.

$ eval "$(chef shell-init bash)"
$ brew doctor
Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.

Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew provided
script of the same name. We found the following "config" scripts:
    /opt/chefdk/embedded/bin/pkg-config
    /opt/chefdk/embedded/bin/xml2-config
    /opt/chefdk/embedded/bin/xslt-config

Warning: You have a non-Homebrew 'pkg-config' in your PATH:
  /opt/chefdk/embedded/bin/pkg-config

`./configure` may have problems finding brew-installed packages using
this other pkg-config.

$ chef --version
Chef Development Kit Version: 0.13.21
chef-client version: 12.9.41
berks version: 4.3.2
kitchen version: 1.7.3

@lamont-granquist
Copy link
Contributor

closing this one as a dup of #313 which has a more proactive title.

@chef-boneyard chef-boneyard locked and limited conversation to collaborators Feb 14, 2018
@tas50 tas50 added Triage: Duplicate Indicates an issue is a duplicate of other open issue. and removed Status: Duplicate labels Jan 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Triage: Duplicate Indicates an issue is a duplicate of other open issue.
Development

No branches or pull requests

6 participants