Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 678220 - media-libs/aubio-0.4.9 USE=-doc - sphinx math extension error(?)
Summary: media-libs/aubio-0.4.9 USE=-doc - sphinx math extension error(?)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-17 10:05 UTC by Bernd Feige
Modified: 2019-02-21 08:39 UTC (History)
1 user (show)

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


Attachments
The build log. (build.log,32.52 KB, text/plain)
2019-02-18 08:35 UTC, Bernd Feige
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd Feige 2019-02-17 10:05:46 UTC
Fix: Add $(use_enable doc docs) to mywafconfargs

The aubio wscript by default auto-selects whether to build the documentation (docs defaulting to None) so the addition above is mandatory. Without this, sphinx is auto-selected to build the documentation if -doc is given, and that fails because sphinx by default lacks a math extension (apparently some math is used in the doc strings for resampling etc). Anyway, I'd propose that with -doc, documentation should not be built, neither using sphinx nor doxygen...
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2019-02-17 12:56:28 UTC
Please attach the entire (failing) build log to this bug report.
Comment 2 Bernd Feige 2019-02-18 08:35:13 UTC
Created attachment 565698 [details]
The build log.

Nothing much to see here - aubio compiling fine and then sphinx throwing an error because of -W "turn warnings into errors". The full sphinx output together with the math extension warning is seen when the build is started by hand. Did I mention this is with USE=-doc? :-) Probably, to reproduce it you'll have to have sphinx installed (I have both doxygen and sphinx).

Anyway, I tracked down the error and even provided a fix - I don't think it helps adding question marks to the subject. You may as well add 100 question marks to any subject as long as it's in "unconfirmed" state.
Comment 3 Attila Tóth 2019-02-19 16:45:24 UTC
Suggested solution works for me. Thanks!
Comment 4 Larry the Git Cow gentoo-dev 2019-02-20 15:08:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=822c965955bc7ef3a9edf5eb05611bd6de3f6099

commit 822c965955bc7ef3a9edf5eb05611bd6de3f6099
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2019-02-20 15:08:03 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2019-02-20 15:08:03 +0000

    media-libs/aubio: Fixed build with USE="-doc"
    
    Closes: https://bugs.gentoo.org/678220
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 media-libs/aubio/aubio-0.4.9.ebuild | 1 +
 1 file changed, 1 insertion(+)