Post view

關於macOS 10.12、10.13、10.14從PHP呼叫sips指令處理RAW轉JPEG會產生全黑圖檔、破碎圖檔、錯誤訊息的問題

關於sips指令的問題,請先參考這篇文章:

在macOS 10.12、10.13 Server版,PHP呼叫系統的sips指令把RAW照片轉成JPEG會產生全黑圖檔與錯誤訊息

負責擔任insoler網站的Web Server的Mac mini 2.6 GHz Intel Core i7伺服器主機,目前使用的仍舊是舊版的OS X El Capitan 10.11.6。BNW網站的Mac mini主機也是使用相同的OS X El Capitan 10.11.6,因為BNW網站的主機是將近10年前的Mac mini (Late 2009) 2.53 GHz Intel Core 2 Duo, 如果要升級到比較新的macOS Sierra 10.12的話,至少需要Mac mini (2010 年以後) 的機種,因此這台Mac mini (Late 2009) 能安裝的最後一個版本就是OS X El Capitan 10.11.6。

由於BNW網域名稱即將在2019年到期,我並不打算繼續使用BNW這個網域,因此在明年結束以前,我會把整個BNW網站的討論區資料,全部轉移到insoler的討論區上。

Mac目前最新的版本是macOS Mojave 10.14.1,雖然OS X El Capitan 10.11.6有點老舊,其實並沒有任何使用上的問題!系統本身也非常穩定,幾乎不會當機!

雖然Mac mini 2.6 GHz Intel Core i7可以升級到macOS Mojave 10.14.1,但其實只要升級到macOS Sierra 10.12,從PHP呼叫系統的sips指令把RAW照片轉成JPEG檔案,就會產生全黑圖檔!我一直以為這是macOS Sierra 10.12的Bug,因此只好繼續等待Apple解決sips的問題,然而想不到等到macOS High Sierra 10.13,也完全有相同的問題!甚至是最新的macOS Mojave 10.14.1也有完全一樣的問題!

簡單的說,從PHP呼叫系統的sips指令把RAW轉JPEG檔,只有10.11可以正常處理,其他版本都會出錯:

  • OS X El Capitan 10.11.6:可以正常轉檔。
  • macOS Sierra 10.12:會產生全黑圖檔與錯誤訊息!
  • macOS High Sierra 10.13:會產生全黑圖檔與錯誤訊息!
  • macOS Mojave 10.14.1:會產生全黑圖檔與錯誤訊息!

事實上,在macOS Mojave 10.14.1可能會遇到3種情況:

  • 不會產生任何圖檔,只會在Console的apache2的error_log產生PHP錯誤訊息!
  • 會產生全黑圖檔,也會在Console的apache2的error_log產生PHP錯誤訊息!
  • 會產生嚴重破碎的圖檔,還會在Console的apache2的error_log產生PHP錯誤訊息!

我使用ayaka上傳的RAW照片來進行測試,從PHP呼叫系統的sips指令把RAW照片轉成JPEG檔案,會得到類似這樣的破碎圖檔!

 

從10.12到最新的10.14版本,sips都有問題?這樣的情況讓我開始懷疑這2種問題的可能性:

  • 也許真的是macOS內建的sips有「某種問題」,只能從終端機正常執行指令,無法從PHP呼叫執行相同的sips指令。
  • PHP本身的問題!因爲macOS 10.12〜10.14都會搭載比較新的PHP版本,很可能是新的PHP版本在執行外部指令的時候,會有某種與macOS系統,特別是sips指令的相容性問題。

所謂的「某種問題」可能是10.12以後的版本,不支援Mac mini 2.6 GHz Intel Core i7處理器內建的Intel HD Graphics 4000 1536 MB圖形處理晶片。眾所周知,所有Intel處理器內建的Intel Graphics圖形處理晶片,不但效能非常差,功能也很簡陋,唯一的優點是比較省電,只做為作業系統的視窗圖形顯示、視窗操作、瀏覽器顯示等,並沒有太大的問題。

不過,也很有可能是因為我完全無法意料的第3種可能性造成的問題!

要確認是不是第一個「內建的Intel HD Graphics 4000 1536 MB圖形處理晶片」與macOS 10.12〜10.14.1不相容的問題,只能改用其他Mac電腦來測試看看,如果改用搭載Intel Iris Pro 1536 MB或是NVIDIA GeForce GT 750M電腦,再進行相同的測試,可以正常處理「RAW轉JPEG」的話,就表示是「內建的Intel HD Graphics 4000」的問題。

花了很多精力,很多時間,進行交互比對以後,確認不是「內建的Intel HD Graphics 4000圖形處理晶片」的相容性問題!因為,如果是只有「內建的Intel HD Graphics 4000圖形處理晶片」才會遇到「RAW轉JPEG」會產生全黑圖檔、破碎圖檔的問題,換成其他繪圖晶片的話,就不會遇到相同的問題才對。換成使用其他晶片的Mac電腦,也會遇到完全相同的問題,那就不是「內建的Intel HD Graphics 4000圖形處理晶片」的相容性問題。

由於升級到macOS 10.12〜10.14.1,也會同時升級PHP版本,而不是OS X El Capitan 10.11.6搭載的PHP 5.5.38。如果是PHP 5.6以後的版本就會有從PHP執行sips指令,就無法正確的執行「RAW轉JPEG」的話,那就只好降級改用舊的PHP 5.5.38。

因為macOS Mojave 10.14的Server已經不再是「伺服器」,只是一個支援老舊Xsan的網路磁碟機,非常無奈之下,只好在macOS Mojave 10.14安裝XAMPP 7.2.10、XAMPP 5.6.38來測試能否架設網站?請參考這篇文章:

在沒有macOS Server之後,只好在macOS Mojave 10.14測試改裝XAMPP 7.2.10、XAMPP 5.6.38、MacPorts

經過測試以後,在XAMPP 7.0.10不能使用Apache的Web Server,所以我改用XAMPP 5.6.38來進行測試。雖然XAMPP 5.6.38無法正常啟動MySQL,但可以正常啟動PHP 5.6.38,所以就使用PHP 5.6.38來測試「RAW轉JPEG」是否沒有問題?

意外發現XAMPP 5.6.38的PHP 5.6.38可以正常的執行「RAW轉JPEG」!但是macOS High Sierra 10.13內建的PHP 5.6.38卻無法正常執行!因此可以確認10.12〜10.14內建的PHP與系統內建的sips指令有相容性的問題,或是有檔案權限錯誤的問題。

但是XAMPP 5.6.38的MySQL資料庫伺服器無法正常啟動,唯一可以啟動的Apache的PHP也會與macOS 10.14內建的PHP互相影響,導致XAMPP 5.6.38無法穩定執行。不過,這也很可能是XAMPP 5.6.38與macOS 10.14系統本身不相容造成Apache不穩定,網頁常常無法正常開啟。

如果是另外安裝的PHP 5.6.38可以正常的執行的話,如果可以正常的從Homebrew下載PHP 5.5.38或是PHP 5.6.38說不定就可以解決sips處理RAW轉JPEG錯誤的問題。

在macOS Mojave 10.14安裝Homebrew再繼續安裝ImageMagick的php56-imagick模組

由於BOONEX的海豚系統目前還不支援PHP 7,因此只能使用PHP 5.5.38或是PHP 5.6.38,但偏偏Homebrew已經無法下載安裝舊的PHP 5.5.38或是PHP 5.6.38,導致問題卡死在「無限迴圈」這樣的環節!目前PHP與sips會遇到的問題就是:

  • 在macOS 10.12、10.13、10.14內建的PHP與系統內建的sips會有相容性問題,無法執行「RAW轉JPEG」。
  • 另外下載安裝的XAMPP 5.6.38與macOS 10.14系統本身不相容,雖然可以正常執行「RAW轉JPEG」但是常常無法正常開啟網頁。
  • 想要換成Homebrew卻已經無法下載舊的PHP 5.5.38或是PHP 5.6.38,導致無法使用Homebrew的PHP來測試「RAW轉JPEG」功能。

如果想要解決PHP呼叫sips的問題,就只能把系統版本升級到「最後的Mac伺服器」也就是macOS High Sierra 10.13,然後使用Homebrew安裝目前最新的PHP 7.2或是PHP 7.3版,這樣應該就可以解決PHP呼叫sips的問題。

只是現在還必須等BOONEX的海豚系統支援PHP 7以後,再重新測試macOS High Sierra 10.13系統上的PHP呼叫sips指令是否能正常執行?

  php55 has the following notes:
    PHP 5.5 has reached end-of-life. Please upgrade to PHP 5.6 or newer. The
    newest stable version is 7.2.
    
    To learn how to update your code, please read the following guide:
    
        http://php.net/manual/en/migration72.php
    To customize php55, copy /opt/local/etc/php55/php.ini-development (if this
    is a development server) or /opt/local/etc/php55/php.ini-production (if this
    is a production server) to /opt/local/etc/php55/php.ini and then make
    changes.

就算說明「PHP 5.5 has reached end-of-life」PHP 5.5已經達到生命盡頭,也完全沒有任何意義!我並不是不知道,但我就是必須要使用PHP 5.5或是PHP 5.6!叫我升級到PHP 5.6或是PHP 7.2完全無助於事!反而造成網站架設上的困擾與問題!

安裝PHP 5.6

無法使用Homebrew安裝PHP 5.5、PHP 5.6,只好改用MacPorts來安裝PHP 5.6。你只需要輸入紅色的指令即可,其他的訊息全部都是MacPorts在安裝過程中產生的無聊、無意義的訊息!Homebrew也完全一樣!你不需要理會那些訊息,當作沒看到即可。

Last login: Fri Oct  5 19:57:05 on ttys000
You have new mail.
www:~ brentsu$ sudo port install php56
Password:
Warning: xcodebuild exists but failed to execute
Warning: Xcode does not appear to be installed; most ports will likely fail to build.
--->  Computing dependencies for php56
The following dependencies will be installed: 
 bzip2
 gettext
 gsed
 libedit
 libiconv
 libxml2
 mhash
 ncurses
 pcre
 php_select
 xz
 zlib
Continue? [Y/n]: y
--->  Fetching archive for bzip2
--->  Attempting to fetch bzip2-1.0.6_0.darwin_17.x86_64.tbz2 from http://kmq.jp.packages.macports.org/bzip2
--->  Attempting to fetch bzip2-1.0.6_0.darwin_17.x86_64.tbz2.rmd160 from http://kmq.jp.packages.macports.org/bzip2
--->  Installing bzip2 @1.0.6_0
--->  Activating bzip2 @1.0.6_0
--->  Cleaning bzip2
--->  Fetching archive for libiconv
--->  Attempting to fetch libiconv-1.15_0.darwin_17.x86_64.tbz2 from http://kmq.jp.packages.macports.org/libiconv
--->  Attempting to fetch libiconv-1.15_0.darwin_17.x86_64.tbz2.rmd160 from http://kmq.jp.packages.macports.org/libiconv
--->  Installing libiconv @1.15_0
--->  Activating libiconv @1.15_0
--->  Cleaning libiconv
--->  Fetching archive for ncurses
--->  Attempting to fetch ncurses-6.1_0.darwin_17.x86_64.tbz2 from http://kmq.jp.packages.macports.org/ncurses
--->  Attempting to fetch ncurses-6.1_0.darwin_17.x86_64.tbz2.rmd160 from http://kmq.jp.packages.macports.org/ncurses
--->  Installing ncurses @6.1_0
--->  Activating ncurses @6.1_0
--->  Cleaning ncurses
--->  Fetching archive for gettext
--->  Attempting to fetch gettext-0.19.8.1_0.darwin_17.x86_64.tbz2 from http://kmq.jp.packages.macports.org/gettext
--->  Attempting to fetch gettext-0.19.8.1_0.darwin_17.x86_64.tbz2.rmd160 from http://kmq.jp.packages.macports.org/gettext
--->  Installing gettext @0.19.8.1_0
--->  Activating gettext @0.19.8.1_0
--->  Cleaning gettext
--->  Fetching archive for gsed
--->  Attempting to fetch gsed-4.5_0.darwin_17.x86_64.tbz2 from http://kmq.jp.packages.macports.org/gsed
--->  Attempting to fetch gsed-4.5_0.darwin_17.x86_64.tbz2.rmd160 from http://kmq.jp.packages.macports.org/gsed
--->  Installing gsed @4.5_0
--->  Activating gsed @4.5_0
--->  Cleaning gsed
--->  Fetching archive for libedit
--->  Attempting to fetch libedit-20170329-3.1_2.darwin_17.x86_64.tbz2 from http://kmq.jp.packages.macports.org/libedit
--->  Attempting to fetch libedit-20170329-3.1_2.darwin_17.x86_64.tbz2.rmd160 from http://kmq.jp.packages.macports.org/libedit
--->  Installing libedit @20170329-3.1_2
--->  Activating libedit @20170329-3.1_2
--->  Cleaning libedit
--->  Fetching archive for xz
--->  Attempting to fetch xz-5.2.4_0.darwin_17.x86_64.tbz2 from http://kmq.jp.packages.macports.org/xz
--->  Attempting to fetch xz-5.2.4_0.darwin_17.x86_64.tbz2.rmd160 from http://kmq.jp.packages.macports.org/xz
--->  Installing xz @5.2.4_0
--->  Activating xz @5.2.4_0
--->  Cleaning xz
--->  Fetching archive for zlib
--->  Attempting to fetch zlib-1.2.11_0.darwin_17.x86_64.tbz2 from http://kmq.jp.packages.macports.org/zlib
--->  Attempting to fetch zlib-1.2.11_0.darwin_17.x86_64.tbz2.rmd160 from http://kmq.jp.packages.macports.org/zlib
--->  Installing zlib @1.2.11_0
--->  Activating zlib @1.2.11_0
--->  Cleaning zlib
--->  Fetching archive for libxml2
--->  Attempting to fetch libxml2-2.9.7_0.darwin_17.x86_64.tbz2 from http://kmq.jp.packages.macports.org/libxml2
--->  Attempting to fetch libxml2-2.9.7_0.darwin_17.x86_64.tbz2.rmd160 from http://kmq.jp.packages.macports.org/libxml2
--->  Installing libxml2 @2.9.7_0
--->  Activating libxml2 @2.9.7_0
--->  Cleaning libxml2
--->  Fetching archive for mhash
--->  Attempting to fetch mhash-0.9.9.9_1.darwin_17.x86_64.tbz2 from http://kmq.jp.packages.macports.org/mhash
--->  Attempting to fetch mhash-0.9.9.9_1.darwin_17.x86_64.tbz2.rmd160 from http://kmq.jp.packages.macports.org/mhash
--->  Installing mhash @0.9.9.9_1
--->  Activating mhash @0.9.9.9_1
--->  Cleaning mhash
--->  Fetching archive for pcre
--->  Attempting to fetch pcre-8.42_0.darwin_17.x86_64.tbz2 from http://kmq.jp.packages.macports.org/pcre
--->  Attempting to fetch pcre-8.42_0.darwin_17.x86_64.tbz2.rmd160 from http://kmq.jp.packages.macports.org/pcre
--->  Installing pcre @8.42_0
--->  Activating pcre @8.42_0
--->  Cleaning pcre
--->  Fetching archive for php_select
--->  Attempting to fetch php_select-1.0_0.darwin_17.noarch.tbz2 from http://kmq.jp.packages.macports.org/php_select
--->  Attempting to fetch php_select-1.0_0.darwin_17.noarch.tbz2.rmd160 from http://kmq.jp.packages.macports.org/php_select
--->  Installing php_select @1.0_0
--->  Activating php_select @1.0_0
--->  Cleaning php_select
--->  Fetching archive for php56
--->  Attempting to fetch php56-5.6.38_0+libedit.darwin_17.x86_64.tbz2 from http://kmq.jp.packages.macports.org/php56
--->  Attempting to fetch php56-5.6.38_0+libedit.darwin_17.x86_64.tbz2.rmd160 from http://kmq.jp.packages.macports.org/php56
--->  Installing php56 @5.6.38_0+libedit
--->  Activating php56 @5.6.38_0+libedit
--->  Cleaning php56
--->  Updating database of binaries
--->  Updating database of C++ stdlib usage              
--->  Scanning binaries for linking errors
--->  No broken files found.
--->  No broken ports found.
--->  Some of the ports you installed have notes:
  php56 has the following notes:
    To customize php56, copy /opt/local/etc/php56/php.ini-development (if this
    is a development server) or /opt/local/etc/php56/php.ini-production (if this
    is a production server) to /opt/local/etc/php56/php.ini and then make
    changes.

使用MacPorts安裝的檔案,全部會下載到電腦主機上的 /opt/ 的檔案夾底下,你無法改變 /opt/ 檔案夾名稱,也不可以把安裝的檔案複製或是搬移到其他位置上。因為MacPorts使用的是絕對路徑,所有的檔案都必須放在 /opt/ 底下才能正常執行。同樣的Homebrew也有完全相同的問題!下載安裝的檔案只能放在 /usr/local/ 檔案夾,無法移動到其他位置!

所以安裝好以後,還要自己手動設定 /opt/local/etc/php56/php.ini 才能使PHP可以正常執行。如果沒有這個檔案,可以從 /opt/local/etc/php56/php.ini-production 複製,或是複製macOS系統內建的 /etc/php.ini 即可。

安裝 php56-imagick

安裝好PHP 5.6以後,還必須同時安裝好號稱Photoshop命令列版本的php56-imagick模組,以便可以處理JPEG縮圖等。

www:~ brentsu$ sudo port install php56-imagick
Warning: xcodebuild exists but failed to execute
Warning: Xcode does not appear to be installed; most ports will likely fail to build.
--->  Computing dependencies for php56-imagick
The following dependencies will be installed: 
 ImageMagick
 autoconf
 automake
 db48
 djvulibre
 expat
 fftw-3
 fontconfig
 freetype
 gdbm
 ghostscript
 giflib
 ilmbase
 jasper
 jbig2dec
 jbigkit
 jpeg
 lcms2
 libffi
 libidn
 libpaper
 libpng
 libraw
 libtool
 openexr
 openjpeg
 openssl
 ossp-uuid
 perl5
 perl5.26
 pkgconfig
 python27
 python2_select
 python_select
 readline
 sqlite3
 tiff
 urw-fonts
 webp
 xorg-libX11
 xorg-libXau
 xorg-libXdmcp
 xorg-libXext
 xorg-libXt
 xorg-libice
 xorg-libpthread-stubs
 xorg-libsm
 xorg-libxcb
 xorg-xcb-proto
 xorg-xorgproto
Continue? [Y/n]: y
--->  Fetching archive for autoconf
--->  Attempting to fetch autoconf-2.69_5.darwin_17.noarch.tbz2 from http://kmq.jp.packages.macports.org/autoconf
--->  Attempting to fetch autoconf-2.69_5.darwin_17.noarch.tbz2.rmd160 from http://kmq.jp.packages.macports.org/autoconf
--->  Installing autoconf @2.69_5
--->  Activating autoconf @2.69_5
--->  Cleaning autoconf
--->  Fetching archive for automake
--->  Attempting to fetch automake-1.16.1_0.darwin_17.noarch.tbz2 from http://kmq.jp.packages.macports.org/automake
--->  Attempting to fetch automake-1.16.1_0.darwin_17.noarch.tbz2.rmd160 from http://kmq.jp.packages.macports.org/automake
--->  Installing automake @1.16.1_0
--->  Activating automake @1.16.1_0
--->  Cleaning automake
--->  Fetching archive for jpeg
--->  Attempting to fetch jpeg-9c_0.darwin_17.x86_64.tbz2 from http://kmq.jp.packages.macports.org/jpeg
--->  Attempting to fetch jpeg-9c_0.darwin_17.x86_64.tbz2.rmd160 from http://kmq.jp.packages.macports.org/jpeg
--->  Installing jpeg @9c_0
--->  Activating jpeg @9c_0
--->  Cleaning jpeg
--->  Fetching archive for tiff
--->  Attempting to fetch tiff-4.0.9_0.darwin_17.x86_64.tbz2 from http://kmq.jp.packages.macports.org/tiff
--->  Attempting to fetch tiff-4.0.9_0.darwin_17.x86_64.tbz2.rmd160 from http://kmq.jp.packages.macports.org/tiff
--->  Installing tiff @4.0.9_0
--->  Activating tiff @4.0.9_0
--->  Cleaning tiff
--->  Fetching archive for djvulibre
--->  Attempting to fetch djvulibre-3.5.27_0.darwin_17.x86_64.tbz2 from http://kmq.jp.packages.macports.org/djvulibre
--->  Attempting to fetch djvulibre-3.5.27_0.darwin_17.x86_64.tbz2.rmd160 from http://kmq.jp.packages.macports.org/djvulibre
--->  Installing djvulibre @3.5.27_0
--->  Activating djvulibre @3.5.27_0
--->  Cleaning djvulibre
--->  Fetching archive for expat
--->  Attempting to fetch expat-2.2.6_1.darwin_17.x86_64.tbz2 from http://kmq.jp.packages.macports.org/expat
--->  Attempting to fetch expat-2.2.6_1.darwin_17.x86_64.tbz2.rmd160 from http://kmq.jp.packages.macports.org/expat
--->  Installing expat @2.2.6_1
--->  Activating expat @2.2.6_1
--->  Cleaning expat
--->  Fetching archive for fftw-3
--->  Attempting to fetch fftw-3-3.3.8_0.darwin_17.x86_64.tbz2 from http://kmq.jp.packages.macports.org/fftw-3
--->  Attempting to fetch fftw-3-3.3.8_0.darwin_17.x86_64.tbz2.rmd160 from http://kmq.jp.packages.macports.org/fftw-3
--->  Installing fftw-3 @3.3.8_0
--->  Activating fftw-3 @3.3.8_0
--->  Cleaning fftw-3
--->  Fetching archive for libpng
--->  Attempting to fetch libpng-1.6.35_0.darwin_17.x86_64.tbz2 from http://kmq.jp.packages.macports.org/libpng
--->  Attempting to fetch libpng-1.6.35_0.darwin_17.x86_64.tbz2.rmd160 from http://kmq.jp.packages.macports.org/libpng
--->  Installing libpng @1.6.35_0
--->  Activating libpng @1.6.35_0
--->  Cleaning libpng
--->  Fetching archive for freetype
--->  Attempting to fetch freetype-2.9.1_0.darwin_17.x86_64.tbz2 from http://kmq.jp.packages.macports.org/freetype
--->  Attempting to fetch freetype-2.9.1_0.darwin_17.x86_64.tbz2.rmd160 from http://kmq.jp.packages.macports.org/freetype
--->  Installing freetype @2.9.1_0
--->  Activating freetype @2.9.1_0
--->  Cleaning freetype
--->  Fetching archive for readline
--->  Attempting to fetch readline-7.0.005_0.darwin_17.x86_64.tbz2 from http://kmq.jp.packages.macports.org/readline
--->  Attempting to fetch readline-7.0.005_0.darwin_17.x86_64.tbz2.rmd160 from http://kmq.jp.packages.macports.org/readline
--->  Installing readline @7.0.005_0
--->  Activating readline @7.0.005_0
--->  Cleaning readline
--->  Fetching archive for gdbm
--->  Attempting to fetch gdbm-1.16_0.darwin_17.x86_64.tbz2 from http://kmq.jp.packages.macports.org/gdbm
--->  Attempting to fetch gdbm-1.16_0.darwin_17.x86_64.tbz2.rmd160 from http://kmq.jp.packages.macports.org/gdbm
--->  Installing gdbm @1.16_0
--->  Activating gdbm @1.16_0
--->  Cleaning gdbm
--->  Fetching archive for perl5.26
--->  Attempting to fetch perl5.26-5.26.2_1.darwin_17.x86_64.tbz2 from http://kmq.jp.packages.macports.org/perl5.26
--->  Attempting to fetch perl5.26-5.26.2_1.darwin_17.x86_64.tbz2.rmd160 from http://kmq.jp.packages.macports.org/perl5.26
--->  Installing perl5.26 @5.26.2_1
--->  Activating perl5.26 @5.26.2_1
--->  Cleaning perl5.26
--->  Fetching archive for ossp-uuid
--->  Attempting to fetch ossp-uuid-1.6.2_11+perl5_26.darwin_17.x86_64.tbz2 from http://kmq.jp.packages.macports.org/ossp-uuid
--->  Attempting to fetch ossp-uuid-1.6.2_11+perl5_26.darwin_17.x86_64.tbz2.rmd160 from http://kmq.jp.packages.macports.org/ossp-uuid
--->  Installing ossp-uuid @1.6.2_11+perl5_26
--->  Activating ossp-uuid @1.6.2_11+perl5_26
--->  Cleaning ossp-uuid
--->  Fetching archive for fontconfig
--->  Attempting to fetch fontconfig-2.13.1_0.darwin_17.x86_64.tbz2 from http://kmq.jp.packages.macports.org/fontconfig
--->  Attempting to fetch fontconfig-2.13.1_0.darwin_17.x86_64.tbz2.rmd160 from http://kmq.jp.packages.macports.org/fontconfig
--->  Installing fontconfig @2.13.1_0
--->  Activating fontconfig @2.13.1_0
--->  Cleaning fontconfig
--->  Fetching archive for jbig2dec
--->  Attempting to fetch jbig2dec-0.15_0.darwin_17.x86_64.tbz2 from http://kmq.jp.packages.macports.org/jbig2dec
--->  Attempting to fetch jbig2dec-0.15_0.darwin_17.x86_64.tbz2.rmd160 from http://kmq.jp.packages.macports.org/jbig2dec
--->  Installing jbig2dec @0.15_0
--->  Activating jbig2dec @0.15_0
--->  Cleaning jbig2dec
--->  Fetching archive for lcms2
--->  Attempting to fetch lcms2-2.9_1.darwin_17.x86_64.tbz2 from http://kmq.jp.packages.macports.org/lcms2
--->  Attempting to fetch lcms2-2.9_1.darwin_17.x86_64.tbz2.rmd160 from http://kmq.jp.packages.macports.org/lcms2
--->  Installing lcms2 @2.9_1
--->  Activating lcms2 @2.9_1
--->  Cleaning lcms2
--->  Fetching archive for libidn
--->  Attempting to fetch libidn-1.35_0.darwin_17.x86_64.tbz2 from http://kmq.jp.packages.macports.org/libidn
--->  Attempting to fetch libidn-1.35_0.darwin_17.x86_64.tbz2.rmd160 from http://kmq.jp.packages.macports.org/libidn
--->  Installing libidn @1.35_0
--->  Activating libidn @1.35_0
--->  Cleaning libidn
--->  Fetching archive for libpaper
--->  Attempting to fetch libpaper-1.1.24.5_0.darwin_17.x86_64.tbz2 from http://kmq.jp.packages.macports.org/libpaper
--->  Attempting to fetch libpaper-1.1.24.5_0.darwin_17.x86_64.tbz2.rmd160 from http://kmq.jp.packages.macports.org/libpaper
--->  Installing libpaper @1.1.24.5_0
--->  Activating libpaper @1.1.24.5_0
--->  Cleaning libpaper
--->  Fetching archive for libtool
--->  Attempting to fetch libtool-2.4.6_5.darwin_17.x86_64.tbz2 from http://kmq.jp.packages.macports.org/libtool
--->  Attempting to fetch libtool-2.4.6_5.darwin_17.x86_64.tbz2.rmd160 from http://kmq.jp.packages.macports.org/libtool
--->  Installing libtool @2.4.6_5
--->  Activating libtool @2.4.6_5
--->  Cleaning libtool
--->  Fetching archive for perl5
--->  Attempting to fetch perl5-5.26.1_0+perl5_26.darwin_17.noarch.tbz2 from http://kmq.jp.packages.macports.org/perl5
--->  Attempting to fetch perl5-5.26.1_0+perl5_26.darwin_17.noarch.tbz2.rmd160 from http://kmq.jp.packages.macports.org/perl5
--->  Installing perl5 @5.26.1_0+perl5_26
--->  Activating perl5 @5.26.1_0+perl5_26
--->  Cleaning perl5
--->  Fetching archive for pkgconfig
--->  Attempting to fetch pkgconfig-0.29.2_0.darwin_17.x86_64.tbz2 from http://kmq.jp.packages.macports.org/pkgconfig
--->  Attempting to fetch pkgconfig-0.29.2_0.darwin_17.x86_64.tbz2.rmd160 from http://kmq.jp.packages.macports.org/pkgconfig
--->  Installing pkgconfig @0.29.2_0
--->  Activating pkgconfig @0.29.2_0
--->  Cleaning pkgconfig
--->  Fetching archive for xorg-xorgproto
--->  Attempting to fetch xorg-xorgproto-2018.4_0.darwin_17.noarch.tbz2 from http://kmq.jp.packages.macports.org/xorg-xorgproto
--->  Attempting to fetch xorg-xorgproto-2018.4_0.darwin_17.noarch.tbz2.rmd160 from http://kmq.jp.packages.macports.org/xorg-xorgproto
--->  Installing xorg-xorgproto @2018.4_0
--->  Activating xorg-xorgproto @2018.4_0
--->  Cleaning xorg-xorgproto
--->  Fetching archive for xorg-libXau
--->  Attempting to fetch xorg-libXau-1.0.8_1.darwin_17.x86_64.tbz2 from http://kmq.jp.packages.macports.org/xorg-libXau
--->  Attempting to fetch xorg-libXau-1.0.8_1.darwin_17.x86_64.tbz2.rmd160 from http://kmq.jp.packages.macports.org/xorg-libXau
--->  Installing xorg-libXau @1.0.8_1
--->  Activating xorg-libXau @1.0.8_1
--->  Cleaning xorg-libXau
--->  Fetching archive for xorg-libXdmcp
--->  Attempting to fetch xorg-libXdmcp-1.1.2_1.darwin_17.x86_64.tbz2 from http://kmq.jp.packages.macports.org/xorg-libXdmcp
--->  Attempting to fetch xorg-libXdmcp-1.1.2_1.darwin_17.x86_64.tbz2.rmd160 from http://kmq.jp.packages.macports.org/xorg-libXdmcp
--->  Installing xorg-libXdmcp @1.1.2_1
--->  Activating xorg-libXdmcp @1.1.2_1
--->  Cleaning xorg-libXdmcp
--->  Fetching archive for db48
--->  Attempting to fetch db48-4.8.30_4.darwin_17.x86_64.tbz2 from http://kmq.jp.packages.macports.org/db48
--->  Attempting to fetch db48-4.8.30_4.darwin_17.x86_64.tbz2.rmd160 from http://kmq.jp.packages.macports.org/db48
--->  Installing db48 @4.8.30_4
--->  Activating db48 @4.8.30_4
--->  Cleaning db48
--->  Fetching archive for libffi
--->  Attempting to fetch libffi-3.2.1_0.darwin_17.x86_64.tbz2 from http://kmq.jp.packages.macports.org/libffi
--->  Attempting to fetch libffi-3.2.1_0.darwin_17.x86_64.tbz2.rmd160 from http://kmq.jp.packages.macports.org/libffi
--->  Installing libffi @3.2.1_0
--->  Activating libffi @3.2.1_0
--->  Cleaning libffi
--->  Fetching archive for openssl
--->  Attempting to fetch openssl-1.0.2p_0.darwin_17.x86_64.tbz2 from http://kmq.jp.packages.macports.org/openssl
--->  Attempting to fetch openssl-1.0.2p_0.darwin_17.x86_64.tbz2.rmd160 from http://kmq.jp.packages.macports.org/openssl
--->  Installing openssl @1.0.2p_0
--->  Activating openssl @1.0.2p_0
--->  Cleaning openssl
--->  Fetching archive for python2_select
--->  Attempting to fetch python2_select-0.0_2.darwin_17.noarch.tbz2 from http://kmq.jp.packages.macports.org/python2_select
--->  Attempting to fetch python2_select-0.0_2.darwin_17.noarch.tbz2.rmd160 from http://kmq.jp.packages.macports.org/python2_select
--->  Installing python2_select @0.0_2
--->  Activating python2_select @0.0_2
--->  Cleaning python2_select
--->  Fetching archive for python_select
--->  Attempting to fetch python_select-0.3_7.darwin_17.noarch.tbz2 from http://kmq.jp.packages.macports.org/python_select
--->  Attempting to fetch python_select-0.3_7.darwin_17.noarch.tbz2.rmd160 from http://kmq.jp.packages.macports.org/python_select
--->  Installing python_select @0.3_7
--->  Activating python_select @0.3_7
--->  Cleaning python_select
--->  Fetching archive for sqlite3
--->  Attempting to fetch sqlite3-3.25.2_0.darwin_17.x86_64.tbz2 from http://kmq.jp.packages.macports.org/sqlite3
--->  Attempting to fetch sqlite3-3.25.2_0.darwin_17.x86_64.tbz2.rmd160 from http://kmq.jp.packages.macports.org/sqlite3
--->  Installing sqlite3 @3.25.2_0
--->  Activating sqlite3 @3.25.2_0
--->  Cleaning sqlite3
--->  Fetching archive for python27
--->  Attempting to fetch python27-2.7.15_1.darwin_17.x86_64.tbz2 from http://kmq.jp.packages.macports.org/python27
--->  Attempting to fetch python27-2.7.15_1.darwin_17.x86_64.tbz2.rmd160 from http://kmq.jp.packages.macports.org/python27
--->  Installing python27 @2.7.15_1
--->  Activating python27 @2.7.15_1
Error: Failed to activate python27: Image error: /Applications/MacPorts/Python 2.7/IDLE.app/Contents/Info.plist already exists and does not belong to a registered port.  Unable to activate port python27. Use 'port -f activate python27' to force the activation.
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python27/python27/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port php56-imagick failed
--->  Some of the ports you installed have notes:
  libidn has the following notes:
    Please be aware that GNU libidn2 is the successor of GNU libidn. It comes
    with IDNA 2008  
    and TR46 implementations and also provides a compatibility layer for GNU
    libidn.
www:~ brentsu$ 

 

蘇言霖 2018/11/19 0 354
Comments
Order by: 
Per page:
 
  • There are no comments yet
Rate
0 votes
Post info
蘇言霖
「超級懶貓級」社群網站站長
2018/11/19 (748 days ago)
Actions