티스토리 뷰

Homebrew

[Homebrew] ilmbase deprecated

sukvvon 2021. 5. 9. 19:23

brew upgrade ilmbase

Warning: ilmbase has been deprecated because it is not supported upstream!

neofetch를 설치하면서 ilmbase가 더 이상 사용되지 않는다는 것을 알게 되었습니다.

brew upgrade openexr with imath

homebrew를 update하니 openexr이 업데이트 목록에 해당되는 것을 알았습니다.

==> Installing dependencies for openexr: imath
==> Installing openexr dependency: imath
==> Pouring imath--3.0.1.catalina.bottle.tar.gz
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink lib/libImath.dylib
Target /usr/local/lib/libImath.dylib
is a symlink belonging to ilmbase. You can unlink it:
  brew unlink ilmbase

To force the link and overwrite all conflicting files:
  brew link --overwrite imath

To list all files that would be deleted:
  brew link --overwrite --dry-run imath

Possible conflicting files are:
/usr/local/lib/libImath.dylib -> /usr/local/Cellar/ilmbase/2.5.5/lib/libImath.dylib
==> Summary
🍺  /usr/local/Cellar/imath/3.0.1: 49 files, 884.9KB
==> Installing openexr
==> Pouring openexr--3.0.1.catalina.bottle.tar.gz
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink include/OpenEXR/Iex.h
Target /usr/local/include/OpenEXR/Iex.h
is a symlink belonging to ilmbase. You can unlink it:
  brew unlink ilmbase

To force the link and overwrite all conflicting files:
  brew link --overwrite openexr

To list all files that would be deleted:
  brew link --overwrite --dry-run openexr

//생략

==> Summary
🍺  /usr/local/Cellar/openexr/3.0.1: 176 files, 5.3MB
Removing: /usr/local/Cellar/openexr/2.5.5... (152 files, 6.9MB)

openexr, imath 모두 업데이트는 완료하였으나 이제는 사용하지 않은 ilmbase와 중복이 되어 충돌이 일어납니다.

brew doctor

Warning: Some installed formulae are deprecated or disabled.
You should find replacements for the following formulae:
  ilmbase

Warning: You have unlinked kegs in your Cellar.
Leaving kegs unlinked can lead to build-trouble and cause formulae that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
  imath
  openexr

brew doctor를 실행한 결과 ilmbase는 역시나 더 이상 사용되지 않고, math, openexrunlink가 되어있어 link를 시키라고 합니다.

ilmbase, openexr의 github 설치 코드

brew info ilmbase openexr을 통하여 홈페이지를 살펴보니 각 프로그램들이 모두 동일한 홈페이지를 사용한다는 것을 알았습니다.

limbase github site

https://github.com/Homebrew/homebrewcore/blob/HEAD/Formula/ilmbase.rb

openexr github site

https://github.com/Homebrew/homebrewcore/blob/HEAD/Formula/openexr.rb
keg_only "ilmbase conflicts with openexr and imath"

ilmbase github code

두 프로그램의 설치 github 코드룰 살펴보자면 openexr github에선 아무 이상이 없었으나, ilmbase github에서 역시나 ilmbase는 openexr과 imath와 충돌이 일어난다고 언급하였습니다.

brew link, unlink 실행

두 가지 안 중에 서두에 언급하였던 ilmbase는 deprecated 가 되었다는 것을 인지하고 brew unlink ilmbase, brew link --overwrite openexr, brew link --overwrite imath를 실행하였습니다.

brew unlink ilmbase 그리고 brew doctor 을 실행

brew link --overwrite openexr && brew link --overwrite imath 실행

Ilmbase를 unlink 그리고 openexr과 imath를 link --overwrite를 하니 위 사진처럼 ilmbase 경고만 남고 나머지는 다 사라지게 되었습니다.

'Homebrew' 카테고리의 다른 글

[Homebrew] SHA256 mismatch  (0) 2021.07.01
[homebrew] brew upgrade 한 번에 하기  (0) 2021.05.06
[Homebrew] brew doctor (compinit:503:)  (0) 2021.01.26
[Homebrew] brew 명령어 모음집  (0) 2021.01.04
댓글