Bug 267321 - audio/sratom: fails to build if textproc/py-sphinx installed
Summary: audio/sratom: fails to build if textproc/py-sphinx installed
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-25 05:19 UTC by Vladimir Druzenko
Modified: 2023-02-26 20:02 UTC (History)
6 users (show)

See Also:


Attachments
Added "MESON_ARGS=-Ddocs=disabled" (252 bytes, patch)
2022-10-25 05:19 UTC, Vladimir Druzenko
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Druzenko freebsd_committer freebsd_triage 2022-10-25 05:19:42 UTC
Created attachment 237601 [details]
Added "MESON_ARGS=-Ddocs=disabled"

Part of build log:
… <cut> …
Program doxygen found: YES (/usr/local/bin/doxygen)
Program sphinx-build found: YES (/usr/local/bin/sphinx-build)
Configuring conf.py using configuration
Program doxygen found: YES (/usr/local/bin/doxygen)
Configuring Doxyfile using configuration
Build targets in project: 6

sratom 0.6.14

    Documentation : YES
    Tests         : YES
    Install prefix: /usr/local
    Headers       : /usr/local/include
    Libraries     : /usr/local/lib

  User defined options
    buildtype     : release
    infodir       : share/info
    mandir        : man
    prefix        : /usr/local
    strip         : True
    b_colorout    : never

… <cut> …

[ 55% 8/9] /usr/local/bin/sphinx-build -M html doc/c doc/c -E -q -t html
FAILED: doc/c/html
/usr/local/bin/sphinx-build -M html doc/c doc/c -E -q -t html

Theme error:
no theme named 'sphinx_lv2_theme' found (missing theme.conf?)
[ 66% 8/9] /usr/local/bin/sphinx-build -M singlehtml doc/c doc/c -E -q -t singlehtml
FAILED: doc/c/singlehtml
/usr/local/bin/sphinx-build -M singlehtml doc/c doc/c -E -q -t singlehtml

Theme error:
no theme named 'sphinx_lv2_theme' found (missing theme.conf?)


On host without textproc/py-sphinx log:
… <cut> …
Program doxygen found: YES (/usr/local/bin/doxygen)
Program sphinx-build found: NO
Build targets in project: 2

sratom 0.6.14

    Documentation : NO
    Tests         : YES
    Install prefix: /usr/local
    Headers       : /usr/local/include
    Libraries     : /usr/local/lib

  User defined options
    buildtype     : release
    infodir       : share/info
    mandir        : man
    prefix        : /usr/local
    strip         : True
    b_colorout    : never
Comment 1 alexvpetrov 2022-10-25 13:54:17 UTC
The python's module "sphinx_lv2_theme" need.
pip install sphinx_lv2_theme
Is it right?
It's absent in ports.
Comment 2 Tomoaki AOKI 2022-10-25 14:08:04 UTC
+1.

Unfortunately, my email reporting the same problem was rejected by freebsd.org server, although I've used the address for years. The MTA was blacklisted today (why?).
 *Already reported to postmaster@ from another address, but it also be rejected.
  So I've noted +1 here, too.
Comment 3 Vladimir Druzenko freebsd_committer freebsd_triage 2022-10-25 14:19:05 UTC
(In reply to alexvpetrov from comment #1)
Probably yes, but I'm not familiar with python and pip.
Comment 4 alt2600 2022-10-26 01:11:14 UTC
(In reply to alexvpetrov from comment #1)

didn't directly use the patch, but disabling docs using the same MESON_ARGS but can confirm it adds fixes the issue and installs the port in a live system with sphinx. amd64 13.1p2 live ports build

I had attempted a $(REINPLACE_CMD} post-patch: to change the offending python3 to ${PYTHON_CMD} but if is broken with that missing theme you described, and I don't care about docs for this anyway. so did the MESON_ARGS when i found this had been reported already and tried that instead. so thanks for that!
Comment 5 Vladimir Druzenko freebsd_committer freebsd_triage 2022-11-15 09:12:55 UTC
ping
Comment 6 Thomas Zander freebsd_committer freebsd_triage 2023-02-26 16:57:05 UTC
Fixed in a153fd6363b1b424d405606d933646636a381895
Comment 7 Vladimir Druzenko freebsd_committer freebsd_triage 2023-02-26 20:02:31 UTC
Nice - create duplicate (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267378) and ignore existing PR…

https://cgit.freebsd.org/ports/commit/?id=a153fd6363b1b424d405606d933646636a381895