Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 240654 - please remove =sci-mathematics/ginac-{1.3.7, 1.4.3} (was: cannot be built after recent update of cln)
Summary: please remove =sci-mathematics/ginac-{1.3.7, 1.4.3} (was: cannot be built aft...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
: 241862 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-10-09 08:33 UTC by Paul Osmialowski
Modified: 2009-10-30 16:09 UTC (History)
4 users (show)

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


Attachments
ginac-1.3.7-r1.ebuild (ginac-1.3.7-r1.ebuild,724 bytes, text/plain)
2008-10-18 15:54 UTC, Fabio Rossi
Details
ginac-1.3.7-configure.patch (ginac-1.3.7-configure.patch,861 bytes, patch)
2008-10-18 15:56 UTC, Fabio Rossi
Details | Diff
ginac_test.log.gz (ginac_test.log.gz,2.95 KB, application/octet-stream)
2008-10-19 18:08 UTC, Fabio Rossi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Osmialowski 2008-10-09 08:33:00 UTC
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.
Comment 1 Sébastien Fabbro (RETIRED) gentoo-dev 2008-10-09 20:07:45 UTC
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?

Comment 2 Paul Osmialowski 2008-10-09 20:56:41 UTC
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.
Comment 3 Sébastien Fabbro (RETIRED) gentoo-dev 2008-10-15 17:35:44 UTC
*** Bug 241862 has been marked as a duplicate of this bug. ***
Comment 4 Jan Gutter 2008-10-16 08:40:17 UTC
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...
Comment 5 Fabio Rossi 2008-10-18 15:53:39 UTC
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
Comment 6 Fabio Rossi 2008-10-18 15:54:27 UTC
Created attachment 168948 [details]
ginac-1.3.7-r1.ebuild
Comment 7 Fabio Rossi 2008-10-18 15:56:30 UTC
Created attachment 168952 [details, diff]
ginac-1.3.7-configure.patch
Comment 8 jan krcmar 2008-10-19 11:19:41 UTC
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.
Comment 9 Markus Dittrich (RETIRED) gentoo-dev 2008-10-19 13:33:20 UTC
(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
Comment 10 Fabio Rossi 2008-10-19 18:08:02 UTC
Created attachment 169118 [details]
ginac_test.log.gz

I have attached the output log from:

ebuild ginac-1.3.7-r1.ebuild test
Comment 11 Pierre 2008-10-25 12:07:36 UTC
Seems fixed with ginac 1.4.3
Comment 12 Sebastian Luther (few) 2009-10-26 21:34:00 UTC
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.
Comment 13 Sébastien Fabbro (RETIRED) gentoo-dev 2009-10-30 16:09:07 UTC
=sci-mathematics/ginac-{1.3.7, 1.4.3} now gone