Run of multiarch-fixes for ergo

Try this locally (using the package):

debcheckout ergo
cd ergo
DEB_UPDATE_CHANGELOG=auto apply-multiarch-hints
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[2021-07-10 02:28:13] Running ['apply-multiarch-hints']
[2021-07-10 02:28:13] Opening branch at https://salsa.debian.org/debichem-team/ergo.git/,branch=master
[2021-07-10 02:28:14] Using cached branch https://janitor.debian.net/git/ergo/,branch=debian%2Flatest
[2021-07-10 02:28:14] Total 281 (delta 0), reused 0 (delta 0), pack-reused 281
[2021-07-10 02:28:14] 
[2021-07-10 02:28:17] Total 7 (delta 0), reused 6 (delta 0), pack-reused 0
[2021-07-10 02:28:17] Workspace ready - starting.
[2021-07-10 02:28:17] Assuming changelog does not need to be updated, since changelog entries are usually updated in separate commits.
Assuming changelog does not need to be updated, since changelog entries are usually updated in separate commits. Specify --update-changelog to override.
ergo-data: Add Multi-Arch: foreign.
Traceback (most recent call last):
  File "/srv/janitor/debian-janitor/lintian-brush/scripts/apply-multiarch-hints", line 4, in <module>
    main()
  File "/srv/janitor/debian-janitor/lintian-brush/lintian_brush/multiarch_hints.py", line 492, in main
    json.dump(f, {
  File "/usr/lib/python3.9/json/__init__.py", line 179, in dump
    for chunk in iterable:
  File "/usr/lib/python3.9/json/encoder.py", line 438, in _iterencode
    o = _default(o)
  File "/usr/lib/python3.9/json/encoder.py", line 179, in default
    raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type TextIOWrapper is not JSON serializable

Full worker log