[rsb error report] sb: Provide an unverified SSL context to the URL.

QIAO YANG yangqiao0505 at me.com
Sun Mar 29 22:13:14 UTC 2015


Hello,

I've just failed to build the rsb and found an error introduced by the latest commit:

commit 3237c8ee69d7398c3d2ccade9879a3dde7785db1
Author: Chris Johns <chrisj at rtems.org>
Date:   Sun Mar 29 15:35:00 2015 +1100

    sb: Provide an unverified SSL context to the URL.
   
    The RTEMS servers are causing an exception when downloading patches. The solution is
    provided in PEP-0476 (https://www.python.org/dev/peps/pep-0476/#opting-out).


---------------------------

Here is the log

RTEMS Source Builder - Set Builder, v0.5.0
Build Set: 4.11/rtems-arm
Build Set: 4.11/rtems-autotools.bset
Build Set: 4.11/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-linux-gnu-1
Creating source directory: sources
download: ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz -> sources/autoconf-2.69.tar.gz

download: ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz: error
download: ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz: error
Build Set: Time 0:00:01.062428
Build Set: Time 0:00:01.063040
Build Set: Time 0:00:01.066303
Traceback (most recent call last):
  File "../source-builder/sb-set-builder", line 26, in <module>
    setbuilder.run()
  File "../source-builder/sb/setbuilder.py", line 469, in run
    b.build(deps)
  File "../source-builder/sb/setbuilder.py", line 328, in build
    bs.build(deps, nesting_count)
  File "../source-builder/sb/setbuilder.py", line 328, in build
    bs.build(deps, nesting_count)
  File "../source-builder/sb/setbuilder.py", line 342, in build
    self.build_package(configs[s], b)
  File "../source-builder/sb/setbuilder.py", line 178, in build_package
    _build.make()
  File "../source-builder/sb/build.py", line 422, in make
    self.prep(package)
  File "../source-builder/sb/build.py", line 318, in prep
    self.source_setup(package, args[1:])
  File "../source-builder/sb/build.py", line 221, in source_setup
    for source in self.source(setup_name):
  File "../source-builder/sb/build.py", line 175, in source
    download.get_file(src['url'], src['local'], self.opts, self.config)
  File "../source-builder/sb/download.py", line 554, in get_file
    if downloaders[dl](url, local, config, opts):
  File "../source-builder/sb/download.py", line 333, in _http_downloader
    _in = urllib2.urlopen(url, context = _ssl_context)
TypeError: urlopen() got an unexpected keyword argument 'context'


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20150329/721937a5/attachment.html>


More information about the devel mailing list