1 | Last login: Sun Feb 19 12:35:03 on ttys000 |
---|
2 | Fred-Weinhauss-Mac-mini:~ fred$ python3.5 |
---|
3 | Python 3.5.3 (default, Feb 10 2017, 16:04:07) |
---|
4 | [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin |
---|
5 | Type "help", "copyright", "credits" or "license" for more information. |
---|
6 | >>> import cv2 |
---|
7 | Traceback (most recent call last): |
---|
8 | File "<stdin>", line 1, in <module> |
---|
9 | ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/cv2.cpython-35m-darwin.so, 2): Library not loaded: /opt/local/lib/libwebp.6.dylib |
---|
10 | Referenced from: /opt/local/lib/libopencv_imgcodecs.3.1.dylib |
---|
11 | Reason: image not found |
---|
12 | >>> quit |
---|
13 | Use quit() or Ctrl-D (i.e. EOF) to exit |
---|
14 | >>> quit() |
---|
15 | |
---|
16 | |
---|
17 | |
---|
18 | |
---|
19 | |
---|
20 | Fred-Weinhauss-Mac-mini:~ fred$ sudo port selfupdate |
---|
21 | Password: |
---|
22 | ---> Updating MacPorts base sources using rsync |
---|
23 | MacPorts base version 2.4.0 installed, |
---|
24 | MacPorts base version 2.4.0 downloaded. |
---|
25 | ---> Updating the ports tree |
---|
26 | ---> MacPorts base is already the latest version |
---|
27 | |
---|
28 | The ports tree has been updated. To upgrade your installed ports, you should run |
---|
29 | port upgrade outdated |
---|
30 | |
---|
31 | |
---|
32 | |
---|
33 | |
---|
34 | Fred-Weinhauss-Mac-mini:~ fred$ sudo port clean webp |
---|
35 | ---> Cleaning webp |
---|
36 | Fred-Weinhauss-Mac-mini:~ fred$ sudo port upgrade webp |
---|
37 | ---> Computing dependencies for sqlite3 |
---|
38 | ---> Fetching archive for sqlite3 |
---|
39 | ---> Attempting to fetch sqlite3-3.17.0_0.darwin_10.x86_64.tbz2 from https://packages.macports.org/sqlite3 |
---|
40 | ---> Attempting to fetch sqlite3-3.17.0_0.darwin_10.x86_64.tbz2 from http://sea.us.packages.macports.org/macports/packages/sqlite3 |
---|
41 | ---> Attempting to fetch sqlite3-3.17.0_0.darwin_10.x86_64.tbz2 from http://kmq.jp.packages.macports.org/sqlite3 |
---|
42 | ---> Fetching distfiles for sqlite3 |
---|
43 | ---> Attempting to fetch sqlite-autoconf-3170000.tar.gz from https://distfiles.macports.org/sqlite3 |
---|
44 | ---> Attempting to fetch sqlite-autoconf-3170000.tar.gz from http://sea.us.distfiles.macports.org/macports/distfiles/sqlite3 |
---|
45 | ---> Attempting to fetch sqlite-autoconf-3170000.tar.gz from http://www.sqlite.org/2017 |
---|
46 | ---> Verifying checksums for sqlite3 |
---|
47 | ---> Extracting sqlite3 |
---|
48 | ---> Configuring sqlite3 |
---|
49 | ---> Building sqlite3 |
---|
50 | ---> Staging sqlite3 into destroot |
---|
51 | ---> Installing sqlite3 @3.17.0_0 |
---|
52 | ---> Cleaning sqlite3 |
---|
53 | ---> Computing dependencies for sqlite3 |
---|
54 | ---> Deactivating sqlite3 @3.16.2_0 |
---|
55 | ---> Cleaning sqlite3 |
---|
56 | ---> Activating sqlite3 @3.17.0_0 |
---|
57 | ---> Cleaning sqlite3 |
---|
58 | ---> Updating database of binaries |
---|
59 | ---> Scanning binaries for linking errors |
---|
60 | ---> Found 7 broken files, matching files to ports |
---|
61 | ---> Found 4 broken ports, determining rebuild order |
---|
62 | You can always run 'port rev-upgrade' again to fix errors. |
---|
63 | The following ports will be rebuilt: |
---|
64 | opencv @3.1.0+contrib+python35 |
---|
65 | webkit-gtk-2.0 @2.0.4+video |
---|
66 | gimp2 @2.8.16+help_browser+python27 |
---|
67 | ufraw @0.22+x11 |
---|
68 | Continue? [Y/n]: y |
---|
69 | ---> Fetching archive for curl-ca-bundle |
---|
70 | ---> Attempting to fetch curl-ca-bundle-7.52.1_2.darwin_10.noarch.tbz2 from https://packages.macports.org/curl-ca-bundle |
---|
71 | ---> Attempting to fetch curl-ca-bundle-7.52.1_2.darwin_10.noarch.tbz2.rmd160 from https://packages.macports.org/curl-ca-bundle |
---|
72 | ---> Installing curl-ca-bundle @7.52.1_2 |
---|
73 | ---> Cleaning curl-ca-bundle |
---|
74 | ---> Deactivating curl-ca-bundle @7.52.1_1 |
---|
75 | ---> Cleaning curl-ca-bundle |
---|
76 | ---> Activating curl-ca-bundle @7.52.1_2 |
---|
77 | ---> Cleaning curl-ca-bundle |
---|
78 | ---> Computing dependencies for gnutls |
---|
79 | ---> Fetching archive for gnutls |
---|
80 | ---> Attempting to fetch gnutls-3.5.9_0.darwin_10.x86_64.tbz2 from https://packages.macports.org/gnutls |
---|
81 | ---> Attempting to fetch gnutls-3.5.9_0.darwin_10.x86_64.tbz2 from http://sea.us.packages.macports.org/macports/packages/gnutls |
---|
82 | ---> Attempting to fetch gnutls-3.5.9_0.darwin_10.x86_64.tbz2 from http://kmq.jp.packages.macports.org/gnutls |
---|
83 | ---> Fetching distfiles for gnutls |
---|
84 | ---> Attempting to fetch gnutls-3.5.9.tar.xz from https://distfiles.macports.org/gnutls |
---|
85 | ---> Verifying checksums for gnutls |
---|
86 | ---> Extracting gnutls |
---|
87 | ---> Applying patches to gnutls |
---|
88 | ---> Configuring gnutls |
---|
89 | ---> Building gnutls |
---|
90 | ---> Staging gnutls into destroot |
---|
91 | ---> Installing gnutls @3.5.9_0 |
---|
92 | ---> Cleaning gnutls |
---|
93 | ---> Computing dependencies for gnutls |
---|
94 | ---> Deactivating gnutls @3.5.8_0 |
---|
95 | ---> Cleaning gnutls |
---|
96 | ---> Activating gnutls @3.5.9_0 |
---|
97 | ---> Cleaning gnutls |
---|
98 | ---> Computing dependencies for x265 |
---|
99 | ---> Fetching archive for x265 |
---|
100 | ---> Attempting to fetch x265-2.3_0.darwin_10.x86_64.tbz2 from https://packages.macports.org/x265 |
---|
101 | ---> Attempting to fetch x265-2.3_0.darwin_10.x86_64.tbz2 from http://sea.us.packages.macports.org/macports/packages/x265 |
---|
102 | ---> Attempting to fetch x265-2.3_0.darwin_10.x86_64.tbz2 from http://kmq.jp.packages.macports.org/x265 |
---|
103 | ---> Fetching distfiles for x265 |
---|
104 | ---> Attempting to fetch x265_2.3.tar.gz from https://distfiles.macports.org/x265 |
---|
105 | ---> Attempting to fetch x265_2.3.tar.gz from http://sea.us.distfiles.macports.org/macports/distfiles/x265 |
---|
106 | ---> Attempting to fetch x265_2.3.tar.gz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/x265 |
---|
107 | ---> Attempting to fetch x265_2.3.tar.gz from http://kmq.jp.distfiles.macports.org/x265 |
---|
108 | ---> Attempting to fetch x265_2.3.tar.gz from http://cjj.kr.distfiles.macports.org/x265 |
---|
109 | ---> Attempting to fetch x265_2.3.tar.gz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/x265 |
---|
110 | ---> Attempting to fetch x265_2.3.tar.gz from http://lil.fr.distfiles.macports.org/x265 |
---|
111 | ---> Attempting to fetch x265_2.3.tar.gz from http://nue.de.distfiles.macports.org/x265 |
---|
112 | ---> Attempting to fetch x265_2.3.tar.gz from http://osl.no.distfiles.macports.org/x265 |
---|
113 | ---> Attempting to fetch x265_2.3.tar.gz from https://pek.cn.distfiles.macports.org/macports/distfiles/x265 |
---|
114 | ---> Attempting to fetch x265_2.3.tar.gz from http://nou.nc.distfiles.macports.org/pub/macports/distfiles.macports.org/x265 |
---|
115 | ---> Attempting to fetch x265_2.3.tar.gz from http://aarnet.au.distfiles.macports.org/pub/macports/distfiles/x265 |
---|
116 | ---> Attempting to fetch x265_2.3.tar.gz from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/x265 |
---|
117 | ---> Attempting to fetch x265_2.3.tar.gz from http://ftp.videolan.org/pub/videolan/x265/ |
---|
118 | ---> Verifying checksums for x265 |
---|
119 | ---> Extracting x265 |
---|
120 | ---> Configuring x265 |
---|
121 | ---> Building x265 |
---|
122 | ---> Staging x265 into destroot |
---|
123 | ---> Installing x265 @2.3_0 |
---|
124 | ---> Cleaning x265 |
---|
125 | ---> Deactivating x265 @2.2_0 |
---|
126 | ---> Cleaning x265 |
---|
127 | ---> Activating x265 @2.3_0 |
---|
128 | ---> Cleaning x265 |
---|
129 | ---> Computing dependencies for ffmpeg |
---|
130 | ---> Fetching archive for ffmpeg |
---|
131 | ---> Attempting to fetch ffmpeg-3.2.2_4+gpl2+x11.darwin_10.x86_64.tbz2 from https://packages.macports.org/ffmpeg |
---|
132 | ---> Attempting to fetch ffmpeg-3.2.2_4+gpl2+x11.darwin_10.x86_64.tbz2 from http://sea.us.packages.macports.org/macports/packages/ffmpeg |
---|
133 | ---> Attempting to fetch ffmpeg-3.2.2_4+gpl2+x11.darwin_10.x86_64.tbz2 from http://kmq.jp.packages.macports.org/ffmpeg |
---|
134 | ---> Fetching distfiles for ffmpeg |
---|
135 | ---> Verifying checksums for ffmpeg |
---|
136 | ---> Extracting ffmpeg |
---|
137 | ---> Applying patches to ffmpeg |
---|
138 | ---> Configuring ffmpeg |
---|
139 | ---> Building ffmpeg |
---|
140 | ---> Staging ffmpeg into destroot |
---|
141 | ---> Installing ffmpeg @3.2.2_4+gpl2+x11 |
---|
142 | ---> Cleaning ffmpeg |
---|
143 | ---> Computing dependencies for ffmpeg |
---|
144 | ---> Deactivating ffmpeg @3.2.2_3+gpl2+x11 |
---|
145 | ---> Cleaning ffmpeg |
---|
146 | ---> Activating ffmpeg @3.2.2_4+gpl2+x11 |
---|
147 | ---> Cleaning ffmpeg |
---|
148 | ---> Computing dependencies for py35-setuptools |
---|
149 | ---> Fetching archive for py35-setuptools |
---|
150 | ---> Attempting to fetch py35-setuptools-34.2.0_0.darwin_10.noarch.tbz2 from https://packages.macports.org/py35-setuptools |
---|
151 | ---> Attempting to fetch py35-setuptools-34.2.0_0.darwin_10.noarch.tbz2 from http://sea.us.packages.macports.org/macports/packages/py35-setuptools |
---|
152 | ---> Attempting to fetch py35-setuptools-34.2.0_0.darwin_10.noarch.tbz2 from http://kmq.jp.packages.macports.org/py35-setuptools |
---|
153 | ---> Fetching distfiles for py35-setuptools |
---|
154 | ---> Attempting to fetch setuptools-34.2.0.zip from https://files.pythonhosted.org/packages/source/s/setuptools/ |
---|
155 | ---> Verifying checksums for py35-setuptools |
---|
156 | ---> Extracting py35-setuptools |
---|
157 | ---> Configuring py35-setuptools |
---|
158 | ---> Building py35-setuptools |
---|
159 | ---> Staging py35-setuptools into destroot |
---|
160 | ---> Installing py35-setuptools @34.2.0_0 |
---|
161 | ---> Cleaning py35-setuptools |
---|
162 | ---> Computing dependencies for py35-setuptools |
---|
163 | ---> Deactivating py35-setuptools @34.1.1_0 |
---|
164 | ---> Cleaning py35-setuptools |
---|
165 | ---> Activating py35-setuptools @34.2.0_0 |
---|
166 | ---> Cleaning py35-setuptools |
---|
167 | Error: Requested variants "+contrib+python35" do not match those the build was started with: "". |
---|
168 | Error: Please use the same variants again, or run 'port clean opencv' first to remove the existing partially completed build. |
---|
169 | Error: rev-upgrade failed: Error rebuilding opencv |
---|
170 | Error: Follow https://guide.macports.org/#project.tickets to report a bug. |
---|
171 | ---> Some of the ports you installed have notes: |
---|
172 | ffmpeg has the following notes: |
---|
173 | ******* |
---|
174 | ******* This build of ffmpeg includes GPLed code and |
---|
175 | ******* is therefore licensed under GPL v2 or later. |
---|
176 | ******* |
---|
177 | ******* The following modules are GPLed: |
---|
178 | ******* |
---|
179 | ******* postproc |
---|
180 | ******* libx264 |
---|
181 | ******* libx265 |
---|
182 | ******* libxvid |
---|
183 | ******* |
---|
184 | ******* To include all nonfree, GPLed and LGPL code use variant +nonfree. |
---|
185 | ******* To remove nonfree and GPLed code leaving only LGPL code remove the |
---|
186 | ******* +gpl2 variant. |
---|
187 | ******* |
---|
188 | |
---|
189 | |
---|
190 | |
---|
191 | |
---|
192 | |
---|
193 | |
---|
194 | Fred-Weinhauss-Mac-mini:~ fred$ sudo port clean opencv |
---|
195 | Password: |
---|
196 | ---> Cleaning opencv |
---|
197 | Fred-Weinhauss-Mac-mini:~ fred$ sudo port install opencv +contrib+python35 |
---|
198 | ---> Computing dependencies for opencv |
---|
199 | ---> Fetching archive for opencv |
---|
200 | ---> Attempting to fetch opencv-3.2.0_1+contrib+python35.darwin_10.x86_64.tbz2 from https://packages.macports.org/opencv |
---|
201 | ---> Attempting to fetch opencv-3.2.0_1+contrib+python35.darwin_10.x86_64.tbz2 from http://sea.us.packages.macports.org/macports/packages/opencv |
---|
202 | ---> Attempting to fetch opencv-3.2.0_1+contrib+python35.darwin_10.x86_64.tbz2 from http://kmq.jp.packages.macports.org/opencv |
---|
203 | ---> Fetching distfiles for opencv |
---|
204 | ---> Verifying checksums for opencv |
---|
205 | ---> Extracting opencv |
---|
206 | ---> Applying patches to opencv |
---|
207 | ---> Configuring opencv |
---|
208 | ---> Building opencv |
---|
209 | Error: Failed to build opencv: command execution failed |
---|
210 | Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/main.log for details. |
---|
211 | Error: Follow https://guide.macports.org/#project.tickets to report a bug. |
---|
212 | Error: Processing of port opencv failed |
---|
213 | |
---|
214 | |
---|
215 | |
---|
216 | |
---|
217 | |
---|
218 | |
---|
219 | Fred-Weinhauss-Mac-mini:~ fred$ python3.5 |
---|
220 | Python 3.5.3 (default, Feb 10 2017, 16:04:07) |
---|
221 | [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin |
---|
222 | Type "help", "copyright", "credits" or "license" for more information. |
---|
223 | >>> import cv2 |
---|
224 | Traceback (most recent call last): |
---|
225 | File "<stdin>", line 1, in <module> |
---|
226 | ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/cv2.cpython-35m-darwin.so, 2): Library not loaded: /opt/local/lib/libwebp.6.dylib |
---|
227 | Referenced from: /opt/local/lib/libopencv_imgcodecs.3.1.dylib |
---|
228 | Reason: image not found |
---|
229 | >>> quit() |
---|