2017-01-29 11 views
2

자작농을 통해 와인을 설치하려고합니다. 소스 패키지 url이 발견되지 않고 전체 설치 프로그램이 종료되기 때문에 의존성 설치시 libtiff가 실패합니다. libtiff를 별도로 설치 한 다음 시도했지만 여전히이 문제가 발생합니다. 해결 방법은 없습니까?자작 나무로 와인을 설치할 때 Libtiff 의존성이 실패합니다. OSX 10.12.3

Rangarajans-MBP:homebrew-core ranga$ brew install wine 
==> Installing dependencies for wine: libtiff, gd, libgphoto2, little-cms2, cmake, jasper, libicns, makedepend, openssl, net-snmp, sane-backends, libtasn1, gmp, nettle, libunistring, libffi, p11-kit, gnutls 
==> Installing wine dependency: libtiff 
==> Using the sandbox 
==> Downloading http://download.osgeo.org/libtiff/tiff-4.0.7.tar.gz 
######################################################################## 100.0% 
==> Downloading https://mirrors.ocf.berkeley.edu/debian/pool/main/t/tiff/tiff_4.0.7-4.debian.tar.xz 

curl: (22) The requested URL returned error: 404 Not Found 
Trying a mirror... 
==> Downloading https://mirrorservice.org/sites/ftp.debian.org/debian/pool/main/t/tiff/tiff_4.0.7-4.debian.tar.xz 

curl: (22) The requested URL returned error: 404 Not Found 
Error: Failed to download resource "libtiff--patch" 
Download failed: https://mirrorservice.org/sites/ftp.debian.org/debian/pool/main/t/tiff/tiff_4.0.7-4.debian.tar.xz 
Rangarajans-MBP:homebrew-core ranga$ 
+0

'brew update'로 문제를 해결할 수 있습니다. https://github.com/Homebrew/homebrew-core/issues/3264 –

+0

양조 업데이트, 양조 정리, 캐시 삭제 등의 문제가 있습니다. 그들의 자식에 같은 게시했습니다. 리디렉션 해 주셔서 감사합니다 –

+0

ftp.debian.org/debian/pool/main/t/tiff/tiff_4.0.7-4.debian.tar.xz가 ftp.debian.org/debian/pool/main/t/로 대체되었습니다. tiff_4.0.7-5.debian.tar.xz,'brew update'는 해당 참조가 업데이트 될 때까지 작동하지 않습니다 ... – GHH

답변

1

ftp.debian.org/debian/pool/main/t/tiff/tiff_4.0.7-4.debian.t‌​ar.xzftp.debian.org/debian/pool/main/t/tiff/tiff_4.0.7-5.debian.t‌​ar.xz으로 대체되었습니다. 파일을 비교하면 CVE 패치가 추가로 추가됩니다. https://gist.github.com/georghendrik/c649b62c017c89980ec6fcad31513510

: 그것은 다음과 같습니다 있도록 다음 줄을 패치

  1. 열기 /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libtiff.rb

  2. :

    것은, 와인을 설치 업데이트 된 데비안 패키지를 사용하도록 libtiff 공식 패치 사제를 얻으려면

    • url "https://mirrors.ocf.berkeley.edu/debian/pool/main/t/tiff/tiff_4.0.7-5.debian.tar.xz"

    • sha256 "f4183c48ed74b6c3c3a74ff1f10f0cf972d3dba0f840cf28b5a3f3846ceb2be6"

    • "patches/17-CVE-2017-5225.patch"
  3. 실행 brew install wine을 (쉼표를 참고). 홈 브루는 자신을 업데이트하고 작업을 숨길 것입니다.

  4. 실행 cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/; git stash pop

  5. 다시 실행 brew install wine.

+0

3. cd/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core /공식/; git commit -a 4. brew install wine –

+0

패치는 이제 homebrew-core에서 허용됩니다. –