Opened 5 years ago
Closed 5 years ago
#58836 closed defect (fixed)
opencv 3.4.7+contrib: Failed to fetch opencv
Reported by: | barrettsa | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.5.4 |
Keywords: | haspatch | Cc: | cjones051073 (Chris Jones), jmroot (Joshua Root) |
Port: | opencv |
Description
Attempts to upgrade an outdated opencv+contrib:
$ port outdated The following installed ports are outdated: opencv 3.4.3_1 < 3.4.7_0
produces the following output:
$ sudo port upgrade -Ru opencv ---> Computing dependencies for opencv ---> Fetching distfiles for opencv Error: No defined site for tag: opencv_contrib, using master_sites ---> Attempting to fetch 3.4.7.zip from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/opencv ---> Attempting to fetch 3.4.7.zip from http://ywg.ca.distfiles.macports.org/mirror/macports/distfiles/opencv ---> Attempting to fetch 3.4.7.zip from http://aus.us.distfiles.macports.org/macports/distfiles/ ---> Attempting to fetch 3.4.7.zip from http://nue.de.distfiles.macports.org/opencv ---> Attempting to fetch 3.4.7.zip from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/opencv ---> Attempting to fetch 3.4.7.zip from http://lil.fr.distfiles.macports.org/opencv ---> Attempting to fetch 3.4.7.zip from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/opencv ---> Attempting to fetch 3.4.7.zip from https://distfiles.macports.org/opencv ---> Attempting to fetch 3.4.7.zip from http://kmq.jp.distfiles.macports.org/opencv ---> Attempting to fetch 3.4.7.zip from http://cjj.kr.distfiles.macports.org/opencv ---> Attempting to fetch 3.4.7.zip from https://pek.cn.distfiles.macports.org/macports/distfiles/opencv ---> Attempting to fetch 3.4.7.zip from http://jnb.za.distfiles.macports.org/distfiles/opencv ---> Attempting to fetch 3.4.7.zip from http://nou.nc.distfiles.macports.org/pub/macports/distfiles.macports.org/opencv ---> Attempting to fetch 3.4.7.zip from http://jog.id.distfiles.macports.org/macports/distfiles/opencv ---> Attempting to fetch 3.4.7.zip from http://aarnet.au.distfiles.macports.org/pub/macports/distfiles/opencv Error: Failed to fetch opencv: The requested URL returned error: 404 Not Found
This occurs on macOS 10.14.6, Xcode 10.3. Log file is attached.
Attachments (3)
Change History (10)
Changed 5 years ago by barrettsa
comment:1 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | cjones051073 added |
---|
comment:2 Changed 5 years ago by cjones051073 (Chris Jones)
that contrib variant looks awful to maintain... What exactly are these 'extra modules' ? Are they really worth the pain of keeping this variant up to date... ?
Changed 5 years ago by barrettsa
Attachment: | opencv_portfile.diff added |
---|
comment:3 Changed 5 years ago by barrettsa
While my Portfile-fu is admittedly weak, I've been able to upgrade (and install) opencv+contrib using the Portfile changes in the attached opencv_portfile.diff file.
comment:4 Changed 5 years ago by mf2k (Frank Schima)
Thanks. Per the guidelines, please instead attach a unified diff of the Portfile.
Changed 5 years ago by barrettsa
Attachment: | Portfile_opencv.diff added |
---|
Unified diff of Portfile changes
comment:5 Changed 5 years ago by barrettsa
Thanks, Frank. Unified diffs are now in Portfile_opencv.diff.
comment:6 Changed 5 years ago by mf2k (Frank Schima)
Keywords: | haspatch added |
---|
comment:7 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | jmroot added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Josh fixed it a different way in [450fe0e68259ecd0756dd2949307723266ffdc04/macports-ports].
Caused by [e44fccf27b9558061b4b04ffadf136e06b84f253/macports-ports].
Presumably you would not encounter this problem if you were not using the +contrib variant, so deselecting that variant is one workaround for now.