<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>12285</bug_id>
          
          <creation_ts>2017-10-30 11:54:51 +0000</creation_ts>
          <short_desc>devtool: upgrade: fails with a TypeError</short_desc>
          <delta_ts>2017-11-12 19:58:07 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>eSDK</product>
          <component>eSDK</component>
          <version>2.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.5 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mikko Ylinen">mikko.ylinen</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          
          
          <qa_contact name="Francisco Pedraza">francisco.j.pedraza.gonzalez</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>77860</commentid>
    <comment_count>0</comment_count>
    <who name="Mikko Ylinen">mikko.ylinen</who>
    <bug_when>2017-10-30 11:54:51 +0000</bug_when>
    <thetext>Setup:

- debian 9.1
- poky-glibc-x86_64-core-image-minimal-core2-64-toolchain-ext-2.4.sh

Problem:

$ devtool upgrade -V 20170929 --no-patch acpica                                                                                                                                        [13:47:11]
NOTE: Starting bitbake server...
Loading cache: 100% |################################################################################################################################################################################| Time: 0:00:00
Loaded 1276 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |###########################################################################################################################################################################| Time: 0:00:01
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 3 tasks of which 0 didn&apos;t need to be rerun and all succeeded.
NOTE: Fetching https://acpica.org/sites/acpica/files/acpica-unix2-20170929.tar.gz...
Loading cache: 100% |################################################################################################################################################################################| Time: 0:00:00
Loaded 1276 entries from dependency cache.
Parsing recipes: 100% |##############################################################################################################################################################################| Time: 0:00:00
Parsing of 819 .bb files complete (817 cached, 2 parsed). 1276 targets, 44 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |###########################################################################################################################################################################| Time: 0:00:00
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 2 tasks of which 0 didn&apos;t need to be rerun and all succeeded.
WARNING: By user choice, the following patches will NOT be applied
WARNING: no-werror.patch
WARNING: rename-yy_scan_string-manually.patch
WARNING: manipulate-fds-instead-of-FILE.patch
NOTE: Using source tree as build directory since that would be the default for this recipe
Traceback (most recent call last):
  File &quot;/srv/yocto/poky_sdk/sysroots/x86_64-pokysdk-linux/usr/bin/devtool&quot;, line 331, in &lt;module&gt;
    ret = main()
  File &quot;/srv/yocto/poky_sdk/sysroots/x86_64-pokysdk-linux/usr/bin/devtool&quot;, line 318, in main
    ret = args.func(args, config, basepath, workspace)
  File &quot;/srv/yocto/poky_sdk/layers/build/scripts/lib/devtool/upgrade.py&quot;, line 436, in upgrade
    update_unlockedsigs(basepath, workspace, [pn], args.fixed_setup)
  File &quot;/srv/yocto/poky_sdk/layers/build/scripts/lib/devtool/__init__.py&quot;, line 327, in update_unlockedsigs
    newunlocked = sorted(list(workspace.keys()) + extra)
TypeError: can only concatenate list (not &quot;bool&quot;) to list</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78168</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2017-11-12 19:58:07 +0000</bug_when>
    <thetext>Fix merged to master:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=eda77b320dcb208c850225ae834a515433e09593</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>