Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 208527 - sci-libs/libqalculate, sci-calculators/qalculate-kde don't compile w/ cln-1.2.0 (need to use pkgconfig, not cln-config)
Summary: sci-libs/libqalculate, sci-calculators/qalculate-kde don't compile w/ cln-1.2...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-02 01:00 UTC by Albert W. Hopkins
Modified: 2008-02-05 13:39 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Albert W. Hopkins 2008-02-02 01:00:01 UTC
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 teidakankan 2008-02-02 02:20:21 UTC
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 Markus Dittrich (RETIRED) gentoo-dev 2008-02-02 11:13:19 UTC
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 Markus Dittrich (RETIRED) gentoo-dev 2008-02-02 12:22:54 UTC
I've filed a bug with upstream about this; lets see what
they have to say.

Thanks,
Markus
Comment 4 Chris Smith 2008-02-02 16:22:34 UTC
http://qalculate.sourceforge.net/downloads.html
specifically lists cln-1.1 as a requirement
Comment 5 Markus Dittrich (RETIRED) gentoo-dev 2008-02-02 17:36:56 UTC
@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 Markus Dittrich (RETIRED) gentoo-dev 2008-02-02 18:25:20 UTC
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 Markus Dittrich (RETIRED) gentoo-dev 2008-02-02 19:26:29 UTC
I just fixed qalculate-kde and the -r1 ebuild should now work as
well.

Markus
Comment 8 teidakankan 2008-02-02 22:13:04 UTC
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 Markus Dittrich (RETIRED) gentoo-dev 2008-02-05 13:39:57 UTC
This should now be fixed in portage. I've also sent the 
patches upstream.

Thanks for reporting.

Markus