Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 504952 - sys-libs/lib-compat-1.4.2: no sources?
Summary: sys-libs/lib-compat-1.4.2: no sources?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-18 11:04 UTC by Ulrich Müller
Modified: 2018-01-31 10:32 UTC (History)
3 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 Ulrich Müller gentoo-dev 2014-03-18 11:04:47 UTC
sys-libs/lib-compat contains binary libraries:

   ld-linux.so.1 (x86)
   libc.so.5 (x86)
   libg++.so.2.7.2 (alpha, x86)
   libstdc++-libc6.1-1.so.2 (alpha, sparc, x86)
   libstdc++-libc6.1-2.so.3 (ppc)
   libstdc++-libc6.2-2.so.3 (alpha, x86)
   libstdc++.so.2.7.2 (alpha, x86)
   libstdc++.so.2.8 (alpha, sparc, x86)
   libstdc++.so.2.9 (alpha, sparc, x86)

If we assume that LICENSE="GPL-2" is accurate (I guess it's incomplete, but that's another issue and doesn't change the argument), then we are obliged to distribute the corresponding sources.

Is there a record of the packages/versions these libraries were taken from?
Comment 1 SpanKY gentoo-dev 2014-03-19 07:15:11 UTC
i doubt we have it

the ebuild only installs files for alpha & x86 at this point.  pretty sure the alpha stuff was for binary-only packages (like ccc) which no one cares about anymore so we can drop that.

that leaves x86 and unfortunately, it seems like there are some binary-only packages in the tree that want this.  maybe we can transition them to lib-compat-loki and then drop this one altogether ?
Comment 2 Ulrich Müller gentoo-dev 2014-03-19 10:30:53 UTC
Is libc5 still needed for anything, like users' old binaries? AFAICS, no other major distro provides it any more (Debian dropped libc5 around 2005, SuSE and Redhat even earlier).
Comment 3 SpanKY gentoo-dev 2014-03-20 05:56:16 UTC
i don't care about user binaries at this point.  if they really need it, they can scrounge it up somewhere.

it's the packages that depend on it that matter ... either we migrate them, or we drop them.
Comment 4 Ulrich Müller gentoo-dev 2014-05-21 14:14:04 UTC
(In reply to SpanKY from comment #1)
> maybe we can transition them to lib-compat-loki and then drop this one
> altogether ?

Looks like lib-compat-loki ships glibc 2.2.5, from 2002. It this a viable alternative, given that it has some security issues?

<https://bugs.gentoo.org/buglist.cgi?email1=security%40gentoo.org&emailassigned_to1=1&emailtype1=substring&list_id=2354642&query_format=advanced&resolution=---&resolution=FIXED&short_desc=sys-libs%2Fglibc&short_desc_type=allwordssubstr>
Comment 5 Pacho Ramos gentoo-dev 2014-06-26 09:09:29 UTC
Maybe both could be killed... but would need to confirm with games team if they are ok killing that games too. Other option would be to hardmask all of them :/
Comment 6 Ulrich Müller gentoo-dev 2014-09-04 13:06:22 UTC
(In reply to SpanKY from comment #1)
> the ebuild only installs files for alpha & x86 at this point.  pretty sure
> the alpha stuff was for binary-only packages (like ccc) which no one cares
> about anymore so we can drop that.

CCing alpha. Any objections against dropping your keyword? The package has no reverse dependencies that are keyworded for alpha.
Comment 7 Ulrich Müller gentoo-dev 2014-09-07 10:50:27 UTC
alpha keyword dropped.
Comment 8 Ulrich Müller gentoo-dev 2014-09-10 09:01:29 UTC
I scanned all reverse dependencies of sys-libs/lib-compat, and this is what they link against:

   games-action/mutantstorm-demo-1.33
      libstdc++-libc6.2-2.so.3 (needed by mutantstorm-bin)
   games-action/phobiaii-1.1
      libstdc++-libc6.2-2.so.3 (needed by linuxphobia)
   games-emulation/handy-0.82
      libstdc++-libc6.2-2.so.3 (needed by sdlhandy)
   games-fps/rtcw-1.41b
      libstdc++-libc6.2-2.so.3 (needed by wolf.x86 and wolfded.x86)
   games-fps/unreal-226
      libstdc++-libc6.2-2.so.3 (needed by AcidGLDrv.so, OpenGLDrv.so,
      and UnrealTournament)
   games-sports/racer-bin-0.5.0-r2
      libstdc++-libc6.2-2.so.3 (needed by various binaries)
   sys-block/afacli-4.1
      libstdc++-libc6.2-2.so.3 (needed by afacli.bin)
   sys-libs/lib-compat-loki-0.2-r1
      libstdc++-libc6.2-2.so.3 (needed by libsmpeg-0.4.so.0)

tl;dr, the only library that is still needed nowadays is libstdc++-libc6.2-2.so.3 (aka libstdc++-3-libc6.2-2-2.10.0.so). This was shipped with gcc-2.95.3 which we still distribute via our mirrors.

How to proceed? Pack a new tarball that contains only libstdc++-libc6.2-2.so.3?
Comment 9 Ulrich Müller gentoo-dev 2017-06-14 21:07:21 UTC
(In reply to Ulrich Müller from comment #8)
> How to proceed? Pack a new tarball that contains only
> libstdc++-libc6.2-2.so.3?

If there are no objections I'll bump the ebuild to install only this file.
Comment 10 Larry the Git Cow gentoo-dev 2018-01-31 10:32:52 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=151be73b29e72ec45f4ed6f9c1408e7dc93a6931

commit 151be73b29e72ec45f4ed6f9c1408e7dc93a6931
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2018-01-31 10:30:42 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2018-01-31 10:31:50 +0000

    sys-libs/lib-compat: Remove old.
    
    Closes: https://bugs.gentoo.org/504952
    Package-Manager: Portage-2.3.21, Repoman-2.3.6

 sys-libs/lib-compat/Manifest                   |  1 -
 sys-libs/lib-compat/lib-compat-1.4.2-r1.ebuild | 30 --------------------------
 2 files changed, 31 deletions(-)