Bug 193972 - multimedia/xbmc: Latest curl (7.38) breaks scrape/download
Summary: multimedia/xbmc: Latest curl (7.38) breaks scrape/download
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Po-Chuan Hsieh
URL: http://forum.xbmc.org/showthread.php?...
Keywords: needs-patch, needs-qa, regression
Depends on:
Blocks:
 
Reported: 2014-09-27 12:27 UTC by Michał Jędrzejczak
Modified: 2014-10-09 15:29 UTC (History)
4 users (show)

See Also:
koobs: maintainer-feedback? (mickael.maillot)


Attachments
patch for ftp/curl (360 bytes, text/plain)
2014-10-05 18:42 UTC, mickael.maillot
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Jędrzejczak 2014-09-27 12:27:34 UTC
FreeBSD 10.0 amd64. 

Xbmc with curl in version 7.38* have this errors : 

13:16:57 T:34763269120   ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
13:16:57 T:34763269120   ERROR: Open - failed to open source <http://mirrors.xbmc.org/addons/gotham/addons.xml.md5>
13:16:59 T:34762557440   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
13:16:59 T:34762557440   ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.

After downgrade curl to version 7.37 everything with xbmc is ok. 

In this moments every new install of xbmc in FreeBSD don't work (from ports or pacages) .
Comment 1 Daniel Austin 2014-09-27 12:29:16 UTC
This isn't unique to FreeBSD either, it's reported around plenty of Linux forums too (all saying a downgrade of curl fixes the issue)
Comment 2 Michał Jędrzejczak 2014-09-27 12:42:17 UTC
Maybe if pkgng supported different versions of the software would be much easier for new users .. it was great to then write on the forums Linux "Hey FreeBSD works without a problem try :))

Regards
Comment 3 Kubilay Kocak freebsd_committer freebsd_triage 2014-09-28 02:14:51 UTC
See also: https://bugs.archlinux.org/task/42001
Comment 4 mickael.maillot 2014-10-01 15:34:20 UTC
So if i understand correctly, the bug is fixed on the curl side ?
Comment 5 mickael.maillot 2014-10-05 18:42:16 UTC
Created attachment 148013 [details]
patch for ftp/curl
Comment 6 mickael.maillot 2014-10-05 18:43:52 UTC
OK so it's a simple patch for ftp/curl
simply put it in ftp/curl/files and rebuild curl.
no need to rebuild xbmc.
it fixed all fetching in my xbmc 13.2 and 14.0
Comment 7 commit-hook freebsd_committer freebsd_triage 2014-10-09 15:25:25 UTC
A commit references this bug:

Author: sunpoet
Date: Thu Oct  9 15:24:44 UTC 2014
New revision: 370549
URL: https://svnweb.freebsd.org/changeset/ports/370549

Log:
  - Fix threaded-resolver
  - Bump PORTREVISION for package change

  PR:		ports/193972
  Submitted by:	bsduser <local@o2.pl>, mickael.maillot@gmail.com
  Obtained by:	https://github.com/bagder/curl/commit/d9762a7cdb35e70f8cb0bf1c2f8019e8391616e1

Changes:
  head/ftp/curl/Makefile
  head/ftp/curl/files/patch-lib-asyn-thread.c
Comment 8 Po-Chuan Hsieh freebsd_committer freebsd_triage 2014-10-09 15:29:21 UTC
Committed. Thanks!