Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 74801
Alias:
Product:
Component:
Status: RESOLVED
Resolution: INVALID
Assigned To: Gentoo Linux Gnome Desktop Team <gnome@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Tiago de Paula Peixoto <tiago@forked.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 74801 depends on: Show dependency tree
Bug 74801 blocks: 165629
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-12-17 18:16 0000
Shouldn't there be an use flag to enable compilation and installation of static
versions of these libraries? Am I missing something?

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From foser (RETIRED) 2005-01-16 14:58:14 0000 -------
well ive added static USE flag to the gtk/glib/pango ebuilds. I see no point in
having them build static libs by default.

Personally I think this should be handled in a different way than adding it as
a USE flag to every ebuild under the sun.

------- Comment #2 From Ingo Bormuth 2005-07-11 10:22:04 0000 -------
I thought the static useflag is mainly used for boot critical packages as fsch,
ssh, etc... Only then it would make sense to add static to make.conf to enhance
stability.
I do not get the point why packages as evolution or cinelerra use the static flag.
Perhaps there should be two flags (e.g. static and critical) to clearify.
See also: http://forums.gentoo.org/viewtopic-t-358304.html

------- Comment #3 From Jakub Moc (RETIRED) 2007-12-07 09:53:03 0000 -------
Reopening this wrt Bug 201569 Comment #0. We should *explicitely* enable both
static and shared since now we apparently get arch-specific results for some
weird reason I didn't investigate (yet), clearly undesired result.

------- Comment #4 From Mart Raudsepp 2007-12-18 04:30:37 0000 -------
This bug was about glib, pango and gtk+. None of these have a static USE flag
(i.e, everything done originally on this bug has been reverted long ago) and
all of them default to what upstream seems fitting, except glib which stuff in
portage actually needs a static version of (syslog-ng-2.*). So I feel inclined
to mark this reopened bug as OBSOLETE (if such a resolution existed) and handle
specific cases in specific new bugs.

As for building a static version of everything - there is no real reason to do
that (not for everything...) and it contributes to us not fitting on LiveCD
anymore. That's my take on it, and apparently I need to find time to open up a
discussion on mailing list about this topic afterall, while forgetting about it
half a year ago when this stuff came up.

------- Comment #5 From Jakub Moc (RETIRED) 2007-12-18 09:01:09 0000 -------
(In reply to comment #4)
> This bug was about glib, pango and gtk+.

I haven't changed the summary at all, so I'd respectfully disagree. ;)
http://bugs.gentoo.org/show_activity.cgi?id=74801 (And yeah the original
solution w/ USE=static was just wrong.)

> None of these have a static USE flag
> (i.e, everything done originally on this bug has been reverted long ago) and
> all of them default to what upstream seems fitting

Well, 'whatever upstream seems fitting' is an unwanted result if that means
that you get static libs on x86 and don't on amd64 or other arches.

> As for building a static version of everything - there is no real reason to do
> that (not for everything...) and it contributes to us not fitting on LiveCD
> anymore. 

Uhm... there'd be plenty of space on livecd for more useful things if we
stopped sticking nonsensical stuff like full-blown evolution w/ Exchange
connectivity on release media. :) YMMV.

------- Comment #6 From Mart Raudsepp 2007-12-18 14:25:13 0000 -------
(In reply to comment #5)
> (In reply to comment #4)
> > This bug was about glib, pango and gtk+.
> 
> I haven't changed the summary at all, so I'd respectfully disagree. ;)
> http://bugs.gentoo.org/show_activity.cgi?id=74801 (And yeah the original
> solution w/ USE=static was just wrong.)

Fair enough. I'll have to draft up my points to the mailing list when I get
some time, and investigate the specific case closer. Other team members welcome
to do that too, of course

> > As for building a static version of everything - there is no real reason to do
> > that (not for everything...) and it contributes to us not fitting on LiveCD
> > anymore. 
> 
> Uhm... there'd be plenty of space on livecd for more useful things if we
> stopped sticking nonsensical stuff like full-blown evolution w/ Exchange
> connectivity on release media. :) YMMV.

As opposed to the static libraries that absolutely nothing in the tree or CD
uses, Evolution Exchange is a very useful thing for those that need to be
capable of reading their e-mail in any shape or form under some environments.
Besides, that's release teams decision to include it and on top of the rest of
Gnome just maybe 500KB of extra when squashed.
I can understand the desire to have static libs for C++ stuff though, yes.

------- Comment #7 From Mark Loeser 2008-01-17 02:41:51 0000 -------
leio:  So.....what's going on with this?  If you disagree with the behaviour of
USE=static, please get a discussion going on g-dev@ about it.

------- Comment #8 From Mart Raudsepp 2008-01-17 12:35:17 0000 -------
(In reply to comment #7)
> leio:  So.....what's going on with this?  If you disagree with the behaviour of
> USE=static, please get a discussion going on g-dev@ about it.

I don't disagreed with the behaviour of USE=static. I disagree with the policy
that if shared and static libraries are available at the same time that they
must be both installed.
I haven't had much free non-sleepy time lately, hopefully next week I can write
the mail..

------- Comment #9 From Slava Gorbunov 2008-04-05 18:26:44 0000 -------
There is a temporary solution (at least for glibmm and gtkmm): add the
following line to the make.conf:

G2CONF="--enable-static"

With this option, gtkmm and glibmm are built with static libraries.

------- Comment #10 From Mart Raudsepp 2008-07-13 15:06:51 0000 -------
Meanwhile I have made a thread about it on the mailing list with no objections
on USE=static-libs and not installing them when not useful (not C++ stuff):

http://archives.gentoo.org/gentoo-dev/msg_1f8c66a51e033250a7aaf416a09da3f3.xml

I'll push forward once I am back home from Istanbul (conference and a few
vacation days :) after 15th July

------- Comment #11 From Mark Loeser 2009-05-15 21:15:47 0000 -------
Can we get moving on this bug again?  I don't recall what happened exactly with
the static-libs proposal, but can we get the council to approve/disapprove this
if that's what you want to go with?   And if not, have the static libraries
built unconditionally.

------- Comment #12 From Rémi Cardona 2009-05-15 21:36:26 0000 -------
Shouldn't we reassign this bug to the council?

/me votes for USE="static-libs" which would be turned off in the base profile.

Cheers

------- Comment #13 From Gilles Dartiguelongue 2009-08-08 23:06:09 0000 -------
From gnome herd meeting summary:

* Static libraries
  - Consensus was to only have static libs for glib and C++ bindings. And to
add
    it to the eclass as --disable-static for the rest (to be overriden on a
    per-package basis).
  - Anything that uses gtk+ will not work with static libs because gtk+ uses 
    dynamic loading

If you find an infringment to this basic rule or feel that you need static-lib
in a specific case, you can fill a report for us to fix the issue. Closing
invalid since the actual enumaration in summary looks totaly wrong.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug