Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109037 - americas-army depends libstdc++-v3-3.3.6
Summary: americas-army depends libstdc++-v3-3.3.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-12 11:36 UTC by Cédric Krier
Modified: 2005-10-23 14:13 UTC (History)
1 user (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 Cédric Krier gentoo-dev 2005-10-12 11:36:45 UTC
armyops is linked to libstdc++.so.5.
ammericas-army ebuild must depend on libstdc++-v3-3.3.6 when use whith gcc-3.4.3

Reproducible: Always
Steps to Reproduce:
1.configure linux to use gcc-3.4.3
2.run armyops
3.

Actual Results:  
./armyops-bin: error while loading shared libraries: libstdc++.so.5: cannot open
shared object file: No such file or directory

Expected Results:  
amryops must find libstdc++.so.5
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2005-10-12 12:32:54 UTC
Please post your emerge info.

According to the gcc ebuild, sys-libs/libstdc++-v3 is a dependency of gcc >= 3.4
anyway, so it should alreayd be on your system unless you've done something
funny to remove it.
Comment 2 UncleOwen 2005-10-12 12:48:17 UTC
(In reply to comment #1)
> According to the gcc ebuild, sys-libs/libstdc++-v3 is a dependency of gcc >= 3.4
> anyway, so it should alreayd be on your system unless you've done something
> funny to remove it.

Only on x86, but americas-army is also keyworded amd64.
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2005-10-12 13:10:01 UTC
PDEPEND="!nocxx? ( !mips? ( !ia64? ( !elibc_uclibc? ( !build? (
sys-libs/libstdc++-v3 ) ) ) ) )"

That says nothing about being x86-specific.  As stated, if you have gcc >=3.4,
then you should have libstdc++-v3 anyway, unless you've done soemthing like put
nocxx in your USE flags, or are trying to run the game against uclibc, which
won't work anyway.

I don't have a problem with adjusting the dependencies to "fix" this "problem",
but would really like to determine what is causing it for Cedric.
Comment 4 Cédric Krier gentoo-dev 2005-10-12 13:17:49 UTC
Alright, I don't know why my system hadn't libstc++-v3.

Sorry
Comment 5 UncleOwen 2005-10-12 13:47:52 UTC
(In reply to comment #3)
> PDEPEND="!nocxx? ( !mips? ( !ia64? ( !elibc_uclibc? ( !build? (
> sys-libs/libstdc++-v3 ) ) ) ) )"

That's a quote from gcc-3.4.3-r1.ebuild, if you look at gcc-3.4.4-r1.ebuild you
will find

PDEPEND="|| ( app-admin/eselect-compiler sys-devel/gcc-config )
        x86? ( !nocxx? ( !elibc_uclibc? ( !build? ( || ( sys-libs/libstdc++-v3
=sys-devel/gcc-3.3* ) ) ) ) )"

See what I mean?
Comment 6 Chris Gianelloni (RETIRED) gentoo-dev 2005-10-12 14:03:59 UTC
...GRR...

This will affect more than just America's Army, as any C++-based binary game
will need the dependencies fixed.

I'm going to REOPEN this for now until I get a chance to fix up this ebuild and
any others that happen to also have amd64 KEYWORDS.
Comment 7 Chris Gianelloni (RETIRED) gentoo-dev 2005-10-16 07:53:09 UTC
It appears that for proper multilib support for binary applications on amd64,
that gcc should RDEPEND on libstdc++-v3 on both x86 *and* amd64?  What do you
guys think? 
Comment 8 SpanKY gentoo-dev 2005-10-16 14:31:07 UTC
i think it's a horrible idea but that's the amd64's team call
Comment 9 Chris Gianelloni (RETIRED) gentoo-dev 2005-10-23 07:00:06 UTC
Actually, that's right, since it would need to be a 32-bit libstdc++-v3.

amd64 team:  Is there an emul-* package that supplies libstdc++-v3?  If not, can
we have one made, as there are several games that will need it.
Comment 10 Simon Stelling (RETIRED) gentoo-dev 2005-10-23 09:49:51 UTC
emul-linux-x86-compat already supplies sys-libs/libstdc++-v3, i just don't know
what version
Comment 11 Chris Gianelloni (RETIRED) gentoo-dev 2005-10-23 14:13:33 UTC
Thanks.  Any version of libstdc++-v3 should work.

The RDEPEND on americas-army has been updated.  This will also be updated on the
upcoming 2.5.0 version.