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...
Please attach the entire (failing) build log to this bug report.
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.
Suggested solution works for me. Thanks!
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(+)