Bug 208527 - sci-libs/libqalculate, sci-calculators/qalculate-kde don't compile w/ cln-1.2.0 (need to use pkgconfig, not cln-config)
Bug#: 208527 Product:  Gentoo Linux Version: 2007.0 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: sci@gentoo.org Reported By: marduk@python.net
Component: Ebuilds
URL: 
Summary: sci-libs/libqalculate, sci-calculators/qalculate-kde don't compile w/ cln-1.2.0 (need to use pkgconfig, not cln-config)
Keywords:  
Status Whiteboard: 
Opened: 2008-02-02 01:00 0000
Description:   Opened: 2008-02-02 01:00 0000
The new cln-1.2.0 package breaks libqalcuate's and qalculate's linkage. 
Re-emerging libqalculate fails with:

checking for CLN - version >= 1.1.0... no
*** The cln-config script installed by CLN could not be found
*** If CLN was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the CLN_CONFIG environment variable to the
*** full path to cln-config.
configure: error: No suitable installed version of CLN could be found.

!!! Please attach the following file when seeking support:
!!!
/var/tmp/portage/sci-libs/libqalculate-0.9.6/work/libqalculate-0.9.6/config.log
 * 
 * ERROR: sci-libs/libqalculate-0.9.6 failed.

Which is true, cln-1.2.0 does not have cln-config, but 

pkg-config --atleast-version=1.1.0

works.

------- Comment #1 From teidakankan@gmail.com 2008-02-02 02:20:21 0000 -------
And qalculate-kde:

 * Generated new /root/.revdep-rebuild.5_order

 * All prepared. Starting rebuild
emerge --oneshot  =dev-java/sun-jdk-1.4.2.16 =sci-libs/libqalculate-0.9.6
=sci-calculators/qalculate-kde-0.9.6

------- Comment #2 From Markus Dittrich 2008-02-02 11:13:19 0000 -------
Thanks much for the note. This is probably something that
should be done upstream but I'll see if there's an easy fix
to configure that we can send them.

Best,
Markus

------- Comment #3 From Markus Dittrich 2008-02-02 12:22:54 0000 -------
I've filed a bug with upstream about this; lets see what
they have to say.

Thanks,
Markus

------- Comment #4 From Chris Smith 2008-02-02 16:22:34 0000 -------
http://qalculate.sourceforge.net/downloads.html
specifically lists cln-1.1 as a requirement

------- Comment #5 From Markus Dittrich 2008-02-02 17:36:56 0000 -------
@Chris: Yeah, I noticed this, too, so I guess we can't complain :D)

In any case, (I believe) I've fixed libqalculate, qalculate-gtk, and
qalculate-kde
even though I've only test the first two which seem to work fine
for me. I don't have time today to look into this any further.
I've posted the 0.9.6-r1 ebuilds for all three at 
http://dev.gentoo.org/~markusle/sci-overlay/qalculate/

Please give them a spin an let me know of any problems.

Thanks,
Markus

------- Comment #6 From Markus Dittrich 2008-02-02 18:25:20 0000 -------
Looks like qalculate-kde doesn't work yet since since
it disables exceptions which are needed by cln-1.2.0.
I'll try to fix this tomorrow.

Markus

------- Comment #7 From Markus Dittrich 2008-02-02 19:26:29 0000 -------
I just fixed qalculate-kde and the -r1 ebuild should now work as
well.

Markus

------- Comment #8 From teidakankan@gmail.com 2008-02-02 22:13:04 0000 -------
ebuild     U ] sci-libs/libqalculate-0.9.6-r1 [0.9.6] USE="readline" 0 kB
[0=>1]
[ebuild     U ] sci-calculators/qalculate-kde-0.9.6-r1 [0.9.6] USE="arts -debug
-xinerama" 0 kB [0=>1]

Thanks. 
Both compiled fine here on ~x86

Portage 2.1.4.1 (default-linux/x86/2007.0, gcc-4.2.2, glibc-2.7-r1,
2.6.24-gentoo i686)
=================================================================
System uname: 2.6.24-gentoo i686 Intel(R) Pentium(R) M processor 1400MHz
Timestamp of tree: Sat, 02 Feb 2008 19:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0_rc6-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18.50.0.3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
.......

------- Comment #9 From Markus Dittrich 2008-02-05 13:39:57 0000 -------
This should now be fixed in portage. I've also sent the 
patches upstream.

Thanks for reporting.

Markus