Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 835626 - sci-mathematics/yacas-1.9.1 - One or more CMake variables were not used by the project:
Summary: sci-mathematics/yacas-1.9.1 - One or more CMake variables were not used by th...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-19 16:14 UTC by Toralf Förster
Modified: 2022-05-08 12:42 UTC (History)
1 user (show)

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


Attachments
emerge-history.txt.bz2 (emerge-history.txt.bz2,73.54 KB, application/x-bzip)
2022-03-19 16:14 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,54.10 KB, application/x-bzip)
2022-03-19 16:14 UTC, Toralf Förster
Details
sci-mathematics:yacas-1.9.1:20220319-153950.log (sci-mathematics:yacas-1.9.1:20220319-153950.log,95.70 KB, text/plain)
2022-03-19 16:14 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-03-19 16:14:50 UTC
 * One or more CMake variables were not used by the project:

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j4-20220315-201215

  -------------------------------------------------------------------

  The log matches a QA pattern or a pattern requested by a Gentoo developer.
Comment 1 Toralf Förster gentoo-dev 2022-03-19 16:14:51 UTC
Created attachment 767378 [details]
emerge-history.txt.bz2
Comment 2 Toralf Förster gentoo-dev 2022-03-19 16:14:53 UTC
Created attachment 767379 [details]
etc.portage.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-03-19 16:14:54 UTC
Created attachment 767380 [details]
sci-mathematics:yacas-1.9.1:20220319-153950.log
Comment 4 Michael Orlitzky gentoo-dev 2022-05-08 12:42:38 UTC
This can probably be fixed by passing in MATHJAX_PATH via the environment instead, per

https://github.com/grzegorzmazur/yacas/commit/62d488d0edffbb91af50ff7d804a38715e4a6dcd#diff-c118aee65f4c775b4a463ce62ba8bc5c4953762913ae7be56cb4a8639cb20b77R49

This patch would do it, but I'm not gonna compile 100+ packages to test it!

diff --git a/sci-mathematics/yacas/yacas-1.9.1.ebuild b/sci-mathematics/yacas/y$
index df6256bf81c..951c0a335e3 100644
--- a/sci-mathematics/yacas/yacas-1.9.1.ebuild
+++ b/sci-mathematics/yacas/yacas-1.9.1.ebuild
@@ -59,6 +59,10 @@ src_prepare() {

 src_configure() {
        # TODO: Unbundle CodeMirror
+
+       # Override the default search path of /usr/share/javascript/mathjax
+       export MATHJAX_PATH="${EPREFIX}/usr/share/mathjax/MathJax.js"
+
        local mycmakeargs=(
                -DENABLE_CYACAS_BENCHMARKS=OFF
                -DENABLE_DOCS=OFF
@@ -67,7 +71,6 @@ src_configure() {
                -DENABLE_CYACAS_GUI=$(usex gui)
                # use system version of mathjax instead
                -DENABLE_CYACAS_GUI_PRIVATE_MATHJAX=OFF
-               -DMATHJAX_PATH="${EPREFIX}/usr/share/mathjax/MathJax.js"
                -DENABLE_CYACAS_KERNEL=$(usex jupyter)
                -DENABLE_CYACAS_UNIT_TESTS=$(usex test)
        )