if dev-python/smartypants does not have installed into the system before try to emerge gui-libs/gtk-4.2.0, It shows, /var/tmp/portage/gui-libs/gtk-4.2.0/work/gtk-4.2.0/subprojects/gi-docgen/gi-docgen.py generate --quiet --add-include-path=/var/tmp/portage/gui-libs/gtk-4.2.0/work/gtk-4.2.0-build/docs/reference/gdk/../../../gtk --config=docs/reference/gdk/gdk4.toml --output-dir=docs/reference/gdk/gdk4 --no-namespace-dir --content-dir=/var/tmp/portage/gui-libs/gtk-4.2.0/work/gtk-4.2.0/docs/reference/gdk gtk/Gdk-4.0.gir Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/typogrify/filters.py", line 275, in smartypants import smartypants ModuleNotFoundError: No module named 'smartypants' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/tmp/portage/gui-libs/gtk-4.2.0/work/gtk-4.2.0/subprojects/gi-docgen/gidocgen/gidocmain.py", line 70, in run res = options.run_func(options) File "/var/tmp/portage/gui-libs/gtk-4.2.0/work/gtk-4.2.0/subprojects/gi-docgen/gidocgen/gdgenerate.py", line 2720, in run gen_reference(conf, options, parser.get_repository(), templates_dir, theme_conf, content_dir, output_dir) File "/var/tmp/portage/gui-libs/gtk-4.2.0/work/gtk-4.2.0/subprojects/gi-docgen/gidocgen/gdgenerate.py", line 2572, in gen_reference content_files = gen_content_files(config, theme_config, content_dir, ns_dir, jinja_env, namespace) File "/var/tmp/portage/gui-libs/gtk-4.2.0/work/gtk-4.2.0/subprojects/gi-docgen/gidocgen/gdgenerate.py", line 2219, in gen_content_files dst_data = utils.preprocess_docs(src_data, namespace, md=md) File "/var/tmp/portage/gui-libs/gtk-4.2.0/work/gtk-4.2.0/subprojects/gi-docgen/gidocgen/utils.py", line 664, in preprocess_docs return Markup(typogrify(text, ignore_tags=['h1', 'h2', 'h3', 'h4'])) File "/usr/lib/python3.8/site-packages/typogrify/filters.py", line 360, in typogrify rendered_text += applyfilters(text_item) File "/usr/lib/python3.8/site-packages/typogrify/filters.py", line 342, in applyfilters text = smartypants(text) File "/usr/lib/python3.8/site-packages/typogrify/filters.py", line 277, in smartypants raise TypogrifyError("Error in {% smartypants %} filter: The Python smartypants library isn't installed.") typogrify.filters.TypogrifyError: Error in {% smartypants %} filter: The Python smartypants library isn't installed. ninja: build stopped: subcommand failed. * ERROR: gui-libs/gtk-4.2.0::gentoo failed (compile phase): * ninja -v -j10 -l16 -C /var/tmp/portage/gui-libs/gtk-4.2.0/work/gtk-4.2.0-build failed * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 2710: Called meson_src_compile * environment, line 2055: Called eninja '-C' '/var/tmp/portage/gui-libs/gtk-4.2.0/work/gtk-4.2.0-build' * environment, line 1262: Called die * The specific snippet of code: * "$@" || die "${nonfatal_args[@]}" "${*} failed" * * If you need support, post the output of `emerge --info '=gui-libs/gtk-4.2.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=gui-libs/gtk-4.2.0::gentoo'`. * The complete build log is located at '/var/tmp/portage/gui-libs/gtk-4.2.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/gui-libs/gtk-4.2.0/temp/environment'. * Working directory: '/var/tmp/portage/gui-libs/gtk-4.2.0/work/gtk-4.2.0' * S: '/var/tmp/portage/gui-libs/gtk-4.2.0/work/gtk-4.2.0' Reproducible: Always
Created attachment 705132 [details] build.log of gui-libs/gtk-4.2.0 (missing python error msg)
Created attachment 705135 [details] emerge --info log 202105021747+0900
This is because gi-docgen/typogrify isn't packaged. *** This bug has been marked as a duplicate of bug 787482 ***