Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 835626

Summary: sci-mathematics/yacas-1.9.1-r1 - One or more CMake variables were not used by the project:
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Science Mathematics related packages <sci-mathematics>
Status: CONFIRMED ---    
Severity: normal CC: mjo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-history.txt.bz2
etc.portage.tar.bz2
sci-mathematics:yacas-1.9.1:20220319-153950.log

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)
        )
Comment 5 Agostino Sarubbo gentoo-dev 2024-04-29 14:37:52 UTC
gcc14_tinderbox has reproduced this issue with version 1.9.1-r1 - Updating summary.