https://bugs.kde.org/show_bug.cgi?id=374313

--- Comment #38 from caulier.gil...@gmail.com ---
Simon,

Now i can reproduce the downloading problem with lensfun: 

[  0%] Creating directories for 'ext_lensfun'
[ 50%] Performing download step (download, verify and extract) for
'ext_lensfun'
-- downloading...
    
src='http://downloads.sourceforge.net/project/lensfun/0.3.2/lensfun-0.3.2.tar.gz'
     dst='/mnt/data/5.x/project/bundles/mxe/temp.dwnld/lensfun-0.3.2.tar.gz'
     timeout='none'
-- [download 0% complete]
CMake Error at ext_lensfun-stamp/download-ext_lensfun.cmake:27 (message):
  error: downloading
  'http://downloads.sourceforge.net/project/lensfun/0.3.2/lensfun-0.3.2.tar.gz'
  failed

    status_code: 1
    status_string: "Unsupported protocol"
    log:   Trying 216.34.181.59...

  Connected to downloads.sourceforge.net (216.34.181.59) port 80 (#0)

  GET /project/lensfun/0.3.2/lensfun-0.3.2.tar.gz HTTP/1.1

  Host: downloads.sourceforge.net

  User-Agent: curl/7.44.0

  Accept: */*



  HTTP/1.1 302 Found

  Server: nginx

  Date: Fri, 20 Jan 2017 10:10:42 GMT

  Content-Type: text/html; charset=UTF-8

  Connection: close

  content-disposition: attachment; filename="lensfun-0.3.2.tar.gz"

  Set-Cookie: sf_mirror_attempt="lensfun:vorboss:0.3.2/lensfun-0.3.2.tar.gz";
  expires=120; Path=/

  Location:
  https://vorboss.dl.sourceforge.net/project/lensfun/0.3.2/lensfun-0.3.2.tar.gz


  Content-Length: 337



  Closing connection 0

  Issue another request to this URL:
 
'https://vorboss.dl.sourceforge.net/project/lensfun/0.3.2/lensfun-0.3.2.tar.gz'


  Protocol "https" not supported or disabled in libcurl

  Closing connection -1





ext_lensfun/CMakeFiles/ext_lensfun.dir/build.make:89: recipe for target
'ext_lensfun/ext_lensfun-prefix/src/ext_lensfun-stamp/ext_lensfun-download'
failed
gmake[3]: ***
[ext_lensfun/ext_lensfun-prefix/src/ext_lensfun-stamp/ext_lensfun-download]
Error 1
CMakeFiles/Makefile2:755: recipe for target
'ext_lensfun/CMakeFiles/ext_lensfun.dir/all' failed
gmake[2]: *** [ext_lensfun/CMakeFiles/ext_lensfun.dir/all] Error 2
CMakeFiles/Makefile2:767: recipe for target
'ext_lensfun/CMakeFiles/ext_lensfun.dir/rule' failed
gmake[1]: *** [ext_lensfun/CMakeFiles/ext_lensfun.dir/rule] Error 2
Makefile:287: recipe for target 'ext_lensfun' failed
gmake: *** [ext_lensfun] Error 2

[gilles@localhost mxe]$ 

I see the same problem with OpenCV package. this is due to cmake, configured
with MXE, which use curl to get the tarball through https. Strangely, https is
not supported to curl...

I solved the OpenCV problem to use native CURL and pass local url to cmake. I
will do it with LensFun.

Gilles

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to