[Webkit-unassigned] [Bug 217799] New: [Flatpak SDK] flatpakutils.py reports "KeyError: 'gcc'" error if using with icecc and toolchains aren't generated yet
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Oct 15 18:08:12 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=217799
Bug ID: 217799
Summary: [Flatpak SDK] flatpakutils.py reports "KeyError:
'gcc'" error if using with icecc and toolchains aren't
generated yet
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
Assignee: webkit-unassigned at lists.webkit.org
Reporter: Hironori.Fujii at sony.com
CC: pnormand at igalia.com
[Flatpak SDK] flatpakutils.py reports "KeyError: 'gcc'" error if using with icecc and toolchains aren't generated yet
I'm using icecc.
$ env | grep -i icecc
CCACHE_PREFIX=icecc
ICECC_SCHEDULER={my scheduler ip addr}
build-webkit reports the following unfriendly error message:
$ ./Tools/Scripts/build-webkit --gtk --release
Building flatpak based environment
Traceback (most recent call last):
File "/home/fujii/webkit/gb/Tools/Scripts/webkit-flatpak", line 28, in <module>
sys.exit(WebkitFlatpak.load_from_args().run())
File "/home/fujii/webkit/gb/Tools/flatpak/flatpakutils.py", line 897, in run
return self.main()
File "/home/fujii/webkit/gb/Tools/flatpak/flatpakutils.py", line 886, in main
result = self.setup_dev_env()
File "/home/fujii/webkit/gb/Tools/flatpak/flatpakutils.py", line 978, in setup_dev_env
return self.run_in_sandbox(*self.user_command)
File "/home/fujii/webkit/gb/Tools/flatpak/flatpakutils.py", line 822, in run_in_sandbox
toolchain_path = self.icc_version[toolchain_name]
KeyError: 'gcc'
$
WebKitBuild/UserFlatpak/webkit_flatpak_config.json is not generated.
Manually invoking Tools/Scripts/webkit-flatpak --regenerate-toolchains solves the issue.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201016/a3cf4b0b/attachment-0001.htm>
More information about the webkit-unassigned
mailing list