First of all: happy new year :-)
Just as a reminder: There is a build problem with debian:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=343960
As promised some time ago, I have upgraded my FreeBSD to the ports head
revision and tested the krusader build: works fine here, as expected. So the
bug is definitly debian specific. I contacted the reporter and he confirmed
this. He proposed to update some autotool files. I will forward both answers
here. Maybe someone with a deeper autotool insight can comment it. All I can
offer is to seek and replace the files in question, apply the patch and see,
what happens here on FreeBSD...
Please put Aurelien Jarno <aur...@debian.org> as CC!
Heiner
Here is the first...
---------- Forwarded Message ----------
Subject: Re: Bug#343960: krusader(GNU/k*BSD): FTBFS: out of date libtool
scripts
Date: Tuesday 03 January 2006 02:20
From: Aurelien Jarno <aur...@debian.org>
To: Heiner <h.eic...@gmx.de>
On Sun, Jan 01, 2006 at 10:06:16PM +0100, Heiner wrote:
> Hi!
Hi !
> I am the maintainer of the krusader FreeBSD port. You have reported a build
> problem:
>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=343960
>
> Is this GNU/kFreeBSD specific? Or in other words: How can I reproduce your
> problem?
Yes, it is specific to GNU/kFreeBSD. libtool.m4 defines some rules in
function of the host triplet. Only recent versions (well actually
something like 2 years) support GNU/kFreeBSD. However KDE only updated
this file recently, so almost all KDE software have outdated libtool.m4.
> I recently have upgraded my FreeBSD 5.4 to the ports trees head revision
> (including the libtool stuff) and no build problem occured.
You won't be able to reproduce the problem on a plain FreeBSD system, as
the version of libtool.m4 in krusader is new enough.
> happy new year
Thanks, and happy new year too!
Bye,
Aurelien
--
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian developer | Electrical Engineer
`. `' aur...@debian.org | aure...@aurel32.net
`- people.debian.org/~aurel32 | www.aurel32.net
-------------------------------------------------------
---------- Forwarded Message ----------
Subject: Re: Bug#343960: krusader(GNU/k*BSD): FTBFS: out of date libtool
scripts
Date: Monday 09 January 2006 11:44
From: Aurelien Jarno <aur...@debian.org>
To: Heiner <h.eic...@gmx.de>
On Wed, Jan 04, 2006 at 07:44:55PM +0100, Heiner wrote:
> On Tuesday 03 January 2006 02:20, you wrote:
> > Yes, it is specific to GNU/kFreeBSD. libtool.m4 defines some rules in
> > function of the host triplet. Only recent versions (well actually
> > something like 2 years) support GNU/kFreeBSD. However KDE only updated
> > this file recently, so almost all KDE software have outdated libtool.m4.
>
> Hi!
>
> This explains, why I didn't see anything here. So your sugeestion is, to
> copy the 4 files mentioned in your bug report from the KDE repository into
> the krusader project, right? Will it have side effects (working on
> GNU/kFreeBSD but no longer under xy-linux)?
I have just tested on GNU/Linux, and it has side effects if you use
libtool.m4 from Debian. It has a specific feature that only links the
binary with the libraries given in argument, whereas the official
libtool also links the binary with all libraries need by the libraries
given in argument. In your case, libkparts is pulling libqt-mt,
and libkdecore.
This is to reduce the number of dependencies of a package. Theoretically
it should be possible to write a KDE apps that does not need to be
linked to libqt-mt at build time, but that will use libqt-mt at runtime.
See the mail of Steve Langasek on debian-devel-announce for more
information.
Also for krusader, please find attached a patch to fix the side effect.
It explicitly links the binaries with libqt-mt and kdecore. When built
try to compare the dependencies before and after the relibtoolization,
you will see that there are far less dependencies, and that will help
the future transitions. Then you can also add the [DONE] flag to
krusader on http://wiki.debian.org/FreetypeTransition
> Please appologize these questions but I am in no way an autotool expert!
No problem, you're welcome.
as far as I can see this patch can be applied without any harm. It
only adds additional libs for the linker.
bye,
Jonas
> <krusader.diff>
Hi!
As far as I understood it, the patch has to be applied AFTER 4 files have been
updated from KDE's head (see
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=343960):
admin/libtool.m4.in, admin/ltmain.sh, admin/config.guess, admin/config.sub.
Heiner
Hi!
I have tested the autotool patches: Works fine here. The changed files are
attached.
Please test it on linux and submit it, if there are no objections!
Heiner
done. I've reviewed the patched and tried it here on gentoo-Linux. No
Problems.
Jonas
>
> Heiner
--
Try Krusader...
http://krusader.org - twinpanel filemanager for KDE
Same here, works fine.
--
Dirk
Same here, works fine on Debian Sarge, kde 3.3.2
I have sended a mail to the Debian bugrtracker
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=343960
thanks all !
Frank