From owner-freebsd-ports@FreeBSD.ORG Sun Jan 11 00:44:51 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 990C4106566B for ; Sun, 11 Jan 2009 00:44:51 +0000 (UTC) (envelope-from dorian.buettner@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id F3C088FC08 for ; Sun, 11 Jan 2009 00:44:50 +0000 (UTC) (envelope-from dorian.buettner@gmx.de) Received: (qmail invoked by alias); 11 Jan 2009 00:44:48 -0000 Received: from port-92-192-98-224.dynamic.qsc.de (EHLO zock.localnet) [92.192.98.224] by mail.gmx.net (mp011) with SMTP; 11 Jan 2009 01:44:48 +0100 X-Authenticated: #1682771 X-Provags-ID: V01U2FsdGVkX18rh+wZ3xwrl/ERGqfa0bseUXpHXp4k7DqqnuoaPO yLYNLi1tq9FMMD From: Dorian =?iso-8859-1?q?B=FCttner?= To: "Garrett Cooper" Date: Sun, 11 Jan 2009 00:44:46 +0000 User-Agent: KMail/1.10.92 (FreeBSD/7.1-STABLE; KDE/4.1.85; amd64; ; ) References: <496735F6.1090500@nixil.net> <200901102257.06277.dorian.buettner@gmx.de> <7d6fde3d0901101600p77ad47f9we13c671ef595f75@mail.gmail.com> In-Reply-To: <7d6fde3d0901101600p77ad47f9we13c671ef595f75@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200901110044.47513.dorian.buettner@gmx.de> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.46 Cc: ports@freebsd.org, kde-freebsd@kde.org, Phil Oleson , Matt Subject: Re: [kde-freebsd] [CFT] KDE 4.2 BETA 2 testers wanted X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jan 2009 00:44:52 -0000 On Sunday 11 January 2009 00:00:03 Garrett Cooper wrote: > On Sat, Jan 10, 2009 at 2:57 PM, Dorian B=FCttner =20 wrote: > > On Saturday 10 January 2009 21:03:55 Garrett Cooper wrote: > >> On Sat, Jan 10, 2009 at 10:50 AM, Matt wrote: > >> > On Fri, Jan 9, 2009 at 5:33 AM, Phil Oleson wrote: > >> >> I did run into a linking issue with the build of...errr kdebase, > >> >> kdebase-runtime, or kdebase-workspace.. I cant remember now.. but t= he > >> >> issue was with hspell. I had to rebuild it with this patch: > >> >> > >> >> --- Makefile.orig 2009-01-04 05:20:09.000000000 +0000 > >> >> +++ Makefile 2009-01-04 05:20:01.000000000 +0000 > >> >> @@ -16,6 +16,7 @@ > >> >> USE_PERL5_BUILD=3D yes > >> >> USE_GMAKE=3D yes > >> >> GNU_CONFIGURE=3D yes > >> >> +CFLAGS+=3D -fPIC > >> >> > >> >> MAN1=3D hspell.1 > >> >> MAN3=3D hspell.3 > >> > > >> > The problem appears to be manifested in kdelibs4, but only on amd64 > >> > and not i386. I received the same linker error in my amd64 tinderbo= x, > >> > but not in my i386 tinderbox. The specific error states: > >> > > >> > /opt/c++ -fPIC -pipe -g -Woverloaded-virtual -fvisibility=3Dhidden > >> > -fvisibility-inlines-hidden -g -O2 -fno-reorder-blocks > >> > -fno-schedule-insns -fno-inline -rpath=3D/usr/lib:/usr/local/lib -lc > >> > -shared -Wl,-soname,kspell_hspell.so -o ../../../lib/kspell_hspell.so > >> > CMakeFiles/kspell_hspell.dir/kspell_hspell_automoc.o > >> > CMakeFiles/kspell_hspell.dir/kspell_hspellclient.o > >> > CMakeFiles/kspell_hspell.dir/kspell_hspelldict.o -L/usr/local/lib/qt4 > >> > -L/work/a/ports/x11/kdelibs4/work/kdelibs-4.1.85/build/lib > >> > -L/usr/local/lib /usr/local/lib/qt4/libQtCore.so -lpthread > >> > ../../../lib/libkdecore.so.7.0.0 /usr/local/lib/libhspell.a -lz > >> > /usr/local/lib/qt4/libQtDBus.so /usr/local/lib/qt4/libQtCore.so > >> > -lpthread > >> > -Wl,-rpath,/usr/local/lib/qt4:/work/a/ports/x11/kdelibs4/work/kdelib= s- > >> >4.1 .85/build/lib /usr/bin/ld: /usr/local/lib/libhspell.a(gimatria.o): > >> > relocation > >> > R_X86_64_32S can not be used when making a shared object; recompile > >> > with -fPIC > >> > /usr/local/lib/libhspell.a: could not read symbols: Bad value > >> > > >> > Does this help determine if there is a possible fix on the kdelibs e= nd > >> > or is it something that has to be changed in hspell? > >> > > >> > Matt > >> > >> Id is most likely picking up the wrong library (our version of > >> binutils is broken when properly mixing libraries in a x86_64 > >> environment IMHO, some would say partially crippled), so you're > >> probably running into that. If so I believe it's either fixable > >> (short-term) by recompiling hspell (if you installed it from > >> packages), and it's definitely fixable (albeit a hack) from ports to > >> automatically add /usr/local/lib32 to the LDFLAGS for compiles where > >> you know it's x86_64... > >> > >> Also, what do the following 2 commands say? > >> > >> file /usr/local/lib/libhspell.a > >> ls /usr/local/lib*/libhspell.a > > > > compiled with fPIC, they say: > > zock# file /usr/local/lib/libhspell.a > > /usr/local/lib/libhspell.a: current ar archive > > zock# ls /usr/local/lib*/libhspell.a > > /usr/local/lib/libhspell.a > > I forgot that file *.a just said current ar archive -_-... `file > /usr/local/lib/libhspell.so*' says? > -Garrett uhm? zock# file /usr/local/lib/libhspell.so\* /usr/local/lib/libhspell.so*: cannot open `/usr/local/lib/libhspell.so*' (N= o=20 such file or directory) zock# find /usr/local | grep libhspell /usr/local/lib/libhspell.a is it propably this: zock# file /usr/local/kde4/lib/kde4/kspell_hspell.so /usr/local/kde4/lib/kde4/kspell_hspell.so: ELF 64-bit LSB shared object,=20 x86-64, version 1 (FreeBSD), not stripped