After recent update of cln to its version 1.2.2, ginac-1.3.7 cannot be rebuilt since it needs cln-config script which now is missing. Current version of cln provides only cln.pc file for pkg-config, which is not used by ginac-1.3.7. I've copied cln-config script from older ginac and replaced version number inside of it, then put it inside of /usr/bin directory (ginac looks for it only there!), and this solved the problem. Reproducible: Always Steps to Reproduce: 1. emerge cln 2. emerge ginac 3. Actual Results: ginac-1.3.7 cannot be built since cln-config file is missing Expected Results: proper installation cln-config can be obtained from earlier version; it must be placed inside of /usr/bin directory as configure script for ginac looks for it only there. Simple solution is to add this cln-config script into cln ebuild.
Hi, Thanks for pointing that out. We were trying to stabilize ginac-1.4.3 but it failed a few tests (bug #238471) with gcc-4.1.2. Could you tell us if you use the cln-config and build ginac-1.3.7, does ginac actually pass regression tests?
I'm not sure if I can be any helpful with that as ginac is installed on the box as a octave-forge dependency. However, I went to this "What it can do for you" page http://www.ginac.de/tutorial/What-it-can-do-for-you.html started ginash and typed all the commands from there. The output you can revise on this page: http://vlab.pjwstk.edu.pl/~vlabdemo/ginash.txt As you can see, some answers are different than from the "What it can do for you" page, I wonder if it is because of the errors caused by new cln API incompability, or it is my fault as I don't know this utility and typed something wrong way. I was testing it on Core2Extreme 3.0GHz machine running 64-bit Gentoo amd64.
*** Bug 241862 has been marked as a duplicate of this bug. ***
ginac seems to pass "make check" if you set CFLAGS and CXXFLAGS to "-O0" on gcc 4.1.2. One or more of the optimization flags should be the culprit here...
In the meantime I'd suggest a ginac-1.3.7-r1 release to fix the compilation against the lastest stable cln-1.2.2
Created attachment 168948 [details] ginac-1.3.7-r1.ebuild
Created attachment 168952 [details, diff] ginac-1.3.7-configure.patch
i'm not familiar with package releases, but ginac-1.4.7 works good for me, even with cln-1.2.2, but is masked with ~x86.
(In reply to comment #5) > In the meantime I'd suggest a ginac-1.3.7-r1 release to fix the compilation > against the lastest stable cln-1.2.2 > Does 1.3.7-r1 pass its testsuite when compiled against cln-1.2.2 using gcc-4.1.2? Thanks, Markus
Created attachment 169118 [details] ginac_test.log.gz I have attached the output log from: ebuild ginac-1.3.7-r1.ebuild test
Seems fixed with ginac 1.4.3
Please consider removing =sci-mathematics/ginac-1.3.7 since it doesn't build with current stable sci-libs/cln-1.2.2. I also don't see a reason for keeping =sci-mathematics/ginac-1.4.3.
=sci-mathematics/ginac-{1.3.7, 1.4.3} now gone