Menu

#4 "Too many values to unpack" crash after failed emerge entry

v1.0_(example)
open
nobody
None
5
2020-03-03
2020-03-03
No

Version 3.0 crashes after click on a log entry of a failed emerge.

The traceback is:

Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.6/elogviewer", line 219, in setEditorData
    editor.setHtml(model.itemFromIndex(index).html())
  File "/usr/lib/python-exec/python3.6/elogviewer", line 521, in html
    text = self._elog.html
  File "/usr/lib/python-exec/python3.6/elogviewer", line 193, in html
    parser.parse(line)
  File "/usr/lib/python-exec/python3.6/elogviewer", line 333, in parse
    self._results.append(self.state.parse(line))
  File "/usr/lib/python-exec/python3.6/elogviewer", line 258, in parse
    eclass, stage = line.split(":")
ValueError: too many values to unpack (expected 2)

An example of such problematic log entry (from summary.log) is following:

>>> Messages generated by process 2331 on 2020-02-29 14:49:45 CET for package sys-libs/talloc-2.3.1:

ERROR: configure
ERROR: sys-libs/talloc-2.3.1::gentoo failed (configure phase):
  configure failed

Call stack:
    ebuild.sh, line  125:  Called src_configure
  environment, line 2545:  Called multilib-minimal_src_configure
  environment, line 1234:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
  environment, line 1461:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
  environment, line 1164:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
  environment, line 1162:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
  environment, line  350:  Called multilib-minimal_abi_src_configure
  environment, line 1228:  Called multilib_src_configure
  environment, line 1686:  Called waf-utils_src_configure
  environment, line 3271:  Called die
The specific snippet of code:
      env "${CMD[@]}" || die "configure failed"

If you need support, post the output of `emerge --info '=sys-libs/talloc-2.3.1::gentoo'`,
the complete build log and the output of `emerge -pqv '=sys-libs/talloc-2.3.1::gentoo'`.
The complete build log is located at '/var/log/portage/sys-libs:talloc-2.3.1:20200229-134932.log'.
For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-libs/talloc-2.3.1/temp/build.log'.
The ebuild environment file is located at '/var/tmp/portage/sys-libs/talloc-2.3.1/temp/environment'.
Working directory: '/var/tmp/portage/sys-libs/talloc-2.3.1/work/talloc-2.3.1-abi_x86_64.amd64'
S: '/var/tmp/portage/sys-libs/talloc-2.3.1/work/talloc-2.3.1'

Discussion


Log in to post a comment.

MongoDB Logo MongoDB