Gentoo Logo
Gentoo Spaceship

Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-desktop
Lists: gentoo-desktop: < Prev By Thread Next > < Prev By Date Next >
To: gentoo-desktop@g.o
From: "E. Liddell" <ejlddll@...>
Subject: Re: Re: Packaging Trinity--looking for help
Date: Tue, 20 Mar 2012 10:59:37 -0400
On Tue, 20 Mar 2012 04:43:53 +0000 (UTC)
Duncan <1i5t5.duncan@...> wrote:

> E. Liddell posted on Mon, 19 Mar 2012 12:26:52 -0400 as excerpted:
> > The long version:  Trinity, the fork of KDE3, is currently in the middle
> > of converting from the old autotools-based KDE build system to a more
> > maintainable setup based on cmake.
> > The best we've managed to be able to do is get the builds to reach the
> > linker stage, where they break due to missing libraries which we seem to
> > be unable to reinject—append-libs and various methods of manipulating
> > LDFLAGS within the ebuilds seem to do nothing.
> I've no idea if this will help or not, or whether you've tried it or not, 
> but...
> It occurs to me that kde3 was probably "sunsetted" before gentoo's switch 
> to --as-needed linker flags by default.  Now I switched to --as-needed 
> here, long before gentoo switched its default, and /think/ I was running 
> that here for some time before I upgraded to kde4.  If I'm correct, then 
> kde3 as it was back then, at least, could run with --as-needed, but I'm 
> not sure if it stayed that way or what patches gentoo might have already 
> been using at the time in ordered to make it work, that might well need 
> updating to /keep/ it working.
> So, umm... yeah, try disabling the --as-needed linking, thus triggering 
> overlinking in many cases, but possibly helping here, and see if it helps.
> But I'm not the autotools guru you're looking for.  Sorry.  This kinda 
> sorta sounds like it might help, but maybe not, too.  Maybe it's a 
> combination of this so it doesn't ignore your appended libs, tho, and 
> actually appending the libs?  That's what I thought of first when reading 
> your description, but I'd guess you've already tried it, too.  Still, 
> it's worth the suggestion, just in case...

I suspected the --as-needed flag of being the culprit at first myself,
but it turned out not to be that simple—the switches that would add
the libs just refuse to appear in the ld command, even if --no-as-needed
is passed.  Adding the libs manually to the end of the line makes the
command go through, but that doesn't help with the ebuild.

Thanks for trying, though.

E. Liddell

Packaging Trinity--looking for help
-- E. Liddell
Re: Packaging Trinity--looking for help
-- Duncan
Lists: gentoo-desktop: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Packaging Trinity--looking for help
Next by thread:
Gnome 3 instant messaging
Previous by date:
Re: Re: Gentoo KDE meeting, 22 March 2012
Next by date:
Gnome 3 instant messaging

Updated Jun 28, 2012

Summary: Archive of the gentoo-desktop mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.