Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 787605 - gui-libs/gtk-4.2.0 has missing dependency dev-python/smartypants
Summary: gui-libs/gtk-4.2.0 has missing dependency dev-python/smartypants
Status: RESOLVED DUPLICATE of bug 787482
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-02 08:45 UTC by Seong-ho Cho
Modified: 2021-05-02 15:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log of gui-libs/gtk-4.2.0 (missing python error msg) (build.log,801.16 KB, text/x-log)
2021-05-02 08:47 UTC, Seong-ho Cho
Details
emerge --info log 202105021747+0900 (emerge_info.log,10.19 KB, text/x-log)
2021-05-02 08:48 UTC, Seong-ho Cho
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Seong-ho Cho 2021-05-02 08:45:02 UTC
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
Comment 1 Seong-ho Cho 2021-05-02 08:47:48 UTC
Created attachment 705132 [details]
build.log of gui-libs/gtk-4.2.0 (missing python error msg)
Comment 2 Seong-ho Cho 2021-05-02 08:48:26 UTC
Created attachment 705135 [details]
emerge --info log 202105021747+0900
Comment 3 Matt Turner gentoo-dev 2021-05-02 15:34:31 UTC
This is because gi-docgen/typogrify isn't packaged.

*** This bug has been marked as a duplicate of bug 787482 ***