electron fails to build with dev-python/html5lib version >0.9999999 python ../../third_party/catapult/tracing/bin/generate_about_tracing_contents --outdir gen/content/browser/tracing Traceback (most recent call last): File "../../third_party/catapult/tracing/bin/generate_about_tracing_contents", line 13, in <module> from tracing_build import generate_about_tracing_contents File "/var/tmp/portage/dev-util/electron-1.6.16/work/electron-1.6.16/chromium/third_party/catapult/tracing/tracing_build/generate_about_tracing_contents.py", line 10, in <module> import py_vulcanize File "/var/tmp/portage/dev-util/electron-1.6.16/work/electron-1.6.16/chromium/third_party/catapult/third_party/py_vulcanize/py_vulcanize/__init__.py", line 11, in <module> from py_vulcanize.project import Project File "/var/tmp/portage/dev-util/electron-1.6.16/work/electron-1.6.16/chromium/third_party/catapult/third_party/py_vulcanize/py_vulcanize/project.py", line 9, in <module> from py_vulcanize import resource_loader File "/var/tmp/portage/dev-util/electron-1.6.16/work/electron-1.6.16/chromium/third_party/catapult/third_party/py_vulcanize/py_vulcanize/resource_loader.py", line 13, in <module> from py_vulcanize import html_module File "/var/tmp/portage/dev-util/electron-1.6.16/work/electron-1.6.16/chromium/third_party/catapult/third_party/py_vulcanize/py_vulcanize/html_module.py", line 10, in <module> from py_vulcanize import parse_html_deps File "/var/tmp/portage/dev-util/electron-1.6.16/work/electron-1.6.16/chromium/third_party/catapult/third_party/py_vulcanize/py_vulcanize/parse_html_deps.py", line 33, in <module> import bs4 File "/usr/lib64/python2.7/site-packages/bs4/__init__.py", line 30, in <module> from .builder import builder_registry, ParserRejectedMarkup File "/usr/lib64/python2.7/site-packages/bs4/builder/__init__.py", line 314, in <module> from . import _html5lib File "/usr/lib64/python2.7/site-packages/bs4/builder/_html5lib.py", line 70, in <module> class TreeBuilderForHtml5lib(html5lib.treebuilders._base.TreeBuilder): AttributeError: 'module' object has no attribute '_base' References: https://forums.gentoo.org/viewtopic-t-1077842.html https://github.com/html5lib/html5lib-python/commit/7bbde541e08ca82c07af5ac7e5f64525f1793814 Reproducible: Always
Thank you for the report. Please recompile and *attach* the logfiles and paste the emerge info as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket Please reopen this ticket (Status:unconfirmed) afterwards.
Judging by the traceback, this is a beautifulsoup/html5lib dependency issue: > import bs4 Make sure you have the beautifulsoup package properly updated.
FWIW, I just successfully compiled electron-1.6.16 with beautifulsoup-4.6.0 and html5lib-1.0.1, so this is definitely not an ebuild issue.
(In reply to Jonas Stein from comment #1) > Thank you for the report. Please recompile and *attach* the logfiles and > paste the emerge info as described on > https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket > Please reopen this ticket (Status:unconfirmed) afterwards. Sorry, I only reported the problem that happened to a user in the forum. @Elvis Pranskevichus: probably your supposition is correct, but at this point is dev-python/beautifulsoup-4.6.0 that should depend on >=dev-python/html5lib-0.999999999, because in a stable system if I unmask beautifulsoup there is a problem