Bug 12285

Summary: devtool: upgrade: fails with a TypeError
Product: [Yocto Project Subprojects] eSDK Reporter: Mikko Ylinen <mikko.ylinen>
Component: eSDKAssignee: Paul Eggleton <bluelightning>
Status: RESOLVED FIXED QA Contact: Francisco Pedraza <francisco.j.pedraza.gonzalez>
Severity: normal    
Priority: Medium+    
Version: 2.4   
Target Milestone: 2.5 M1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Mikko Ylinen 2017-10-30 11:54:51 UTC
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'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'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 "/srv/yocto/poky_sdk/sysroots/x86_64-pokysdk-linux/usr/bin/devtool", line 331, in <module>
    ret = main()
  File "/srv/yocto/poky_sdk/sysroots/x86_64-pokysdk-linux/usr/bin/devtool", line 318, in main
    ret = args.func(args, config, basepath, workspace)
  File "/srv/yocto/poky_sdk/layers/build/scripts/lib/devtool/upgrade.py", line 436, in upgrade
    update_unlockedsigs(basepath, workspace, [pn], args.fixed_setup)
  File "/srv/yocto/poky_sdk/layers/build/scripts/lib/devtool/__init__.py", line 327, in update_unlockedsigs
    newunlocked = sorted(list(workspace.keys()) + extra)
TypeError: can only concatenate list (not "bool") to list