Bug 12285 - devtool: upgrade: fails with a TypeError
Summary: devtool: upgrade: fails with a TypeError
Status: RESOLVED FIXED
Alias: None
Product: eSDK
Classification: Yocto Project Subprojects
Component: eSDK (show other bugs)
Version: 2.4
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.5 M1
Assignee: Paul Eggleton
QA Contact: Francisco Pedraza
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-10-30 11:54 UTC by Mikko Ylinen
Modified: 2017-11-12 19:58 UTC (History)
0 users

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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