Bug 174576 - sci-mathematics/ginac-1.3.7 - cln problem
Bug#: 174576 Product:  Gentoo Linux Version: 2006.1 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: sci-mathematics@gentoo.org Reported By: barthoosh@wp.pl
Component: Ebuilds
URL: 
Summary: sci-mathematics/ginac-1.3.7 - cln problem
Keywords:  
Status Whiteboard: 
Opened: 2007-04-14 11:19 0000
Description:   Opened: 2007-04-14 11:19 0000
ginac-137 configure problem with cln on 2 machines:

(...)
checking for cln-config... /usr/bin/cln-config
checking for CLN - version >= 1.1.0... no
*** Could not run CLN test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding CLN or finding the wrong
*** version of CLN. If it is not finding CLN, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location. Also, make sure you have run ldconfig if that
*** is required on your system
(...)
**** The following problems have been detected by configure.
**** Please check the messages below before running "make".
**** (see the section 'Common Problems' in the INSTALL file)

** No suitable installed version of CLN could be found.


!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/sci-mathematics/ginac-1.3.7/work/ginac-1.3.7/config.log

!!! ERROR: sci-mathematics/ginac-1.3.7 failed.


I've checked cln-config:
# cln-config --version --cppflags --libs
1.1.13

-L/usr/lib -lcln -lgmp

emerge --info on first machine and second machines in attachmment

------- Comment #1 From Bartosz Marek 2007-04-14 11:21:23 0000 -------
Created an attachment (id=116230) [details]
emerge --info

------- Comment #2 From Markus Dittrich 2007-04-19 12:45:24 0000 -------
Hi Bartosz,

Could you please post your config.log so I can see why configure
is failing at detecting cln.

Thanks,
Markus

------- Comment #3 From Bartosz Marek 2007-04-20 13:04:01 0000 -------
Created an attachment (id=116794) [details]
config.log on Pentium machine

------- Comment #4 From Bartosz Marek 2007-04-20 13:09:46 0000 -------
Created an attachment (id=116796) [details]
config.log on AMD machine

------- Comment #5 From Markus Dittrich 2007-04-21 11:49:52 0000 -------
(In reply to comment #4)
> Created an attachment (id=116796) [edit] [details]
> config.log on AMD machine
> 

Thanks! It looks like you are getting a segmentation
fault during the configure step on both machines.
Could you please replace '-Os' with '-O2' and try
again. 

Thanks,
Markus

------- Comment #6 From Bartosz Marek 2007-04-23 10:55:24 0000 -------
Hi, I've reemerged both: cln and ginac with -O2 flag. It works ;). Thank you !
Cheers

------- Comment #7 From Markus Dittrich 2007-04-23 13:16:26 0000 -------
Great :) I'll see if I can reproduce this on my machine and 
may filter -Os should this be the case.

Thanks,
Markus

------- Comment #8 From Markus Dittrich 2007-04-24 21:45:47 0000 -------
The cln-1.1.13 ebuild now filters -Os since it leads
to segmentation faults on both of my dev boxes as well.

Thanks,
Markus

------- Comment #9 From Adrian Mayer 2008-12-20 14:39:14 0000 -------
hi,
I am on a powerpc G4 machine

/etc/make.conf
  CFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing
-pipe"

I emerged  sci-mathematics/ginac-1.3.7

and I had issu with cln.1.2.2 while I had no issue with cln-1.1.13


also cln-1.1.13 has /usr/bin/cln-config, while cln-1.2.2 has not

does it mean shouldn't I update the cln to the 1.2.2. ?

regards