<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>160335</bug_id>
          
          <creation_ts>2007-01-05 16:17 0000</creation_ts>
          <short_desc>emul-linux-x86-compat-1.0-r2 provides libstdc++.so which conflicts with gcc</short_desc>
          <delta_ts>2007-08-23 13:38:32 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Games</component>
          <version>unspecified</version>
          <rep_platform>AMD64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>165270</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>njdoyle+bugs@gmail.com</reporter>
          <assigned_to>amd64@gentoo.org</assigned_to>
          <cc>aikawarazuni@gmail.com</cc>
    
    <cc>brad@mainstreetsoftworks.com</cc>
    
    <cc>didier.fabert@free.fr</cc>
    
    <cc>jadamcze@utas.edu.au</cc>
    
    <cc>md401@srcf.ucam.org</cc>
    
    <cc>mkyral@email.cz</cc>
    
    <cc>onizuka92@free.fr</cc>
    
    <cc>rickard.narstrom@gmail.com</cc>
    
    <cc>vapier@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>njdoyle+bugs@gmail.com</who>
            <bug_when>2007-01-05 16:17:03 0000</bug_when>
            <thetext>The latest emul-linux-x86-compat-1.0-r2 breaks zsnes. With r2 I get the following error when running zsnes:

zsnes: /usr/lib32/libstdc++.so.6: version `CXXABI_1.3.1&apos; not found (required by zsnes)

Downgrading to r1 lets zsnes work. Recompiling zsnes makes no difference.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>njdoyle+bugs@gmail.com</who>
            <bug_when>2007-01-05 16:30:03 0000</bug_when>
            <thetext>This is using zsnes-1.42.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nyhm@gentoo.org</who>
            <bug_when>2007-01-05 16:54:08 0000</bug_when>
            <thetext>*** Bug 160336 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cardoe@gentoo.org</who>
            <bug_when>2007-01-10 15:04:24 0000</bug_when>
            <thetext>What was the previous package you were on? Because emul-linux-x86-compat has never provided CXXABI_1.3.1 as far as I can tell. It only provides CXXABI_1.3.

It sounds like you rolled your own compiler or did something funky.

Provide emerge --info to all bugs.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2007-01-10 17:09:48 0000</bug_when>
            <thetext>the problem is that previously, zsnes would [correctly] use the libstdc++.so.6 from gcc

now that it&apos;s installed into /usr/lib32/, zsnes is trying to use that one

i dont see why emul-linux-x86-compat should be supplying any libstdc++.so from gcc-3.3.x or gcc-3.4.x+ (libstdc++.so.[56]) since the toolchain takes care of this</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>genzilla@boris64.net</who>
            <bug_when>2007-01-12 14:45:25 0000</bug_when>
            <thetext>Same error and same solution here (downgrading to =app-emulation/emul-linux-x86-compat-1.0-r1).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2007-01-12 15:42:42 0000</bug_when>
            <thetext>downgrading is not the correct solution

delete /usr/lib32/libstdc++.so.[56]*</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>njdoyle+bugs@gmail.com</who>
            <bug_when>2007-01-12 18:08:37 0000</bug_when>
            <thetext>Deleting /usr/lib32/libstdc++.so.[56]* doesn&apos;t help. Now zsnes says it simply can&apos;t find the libraries.

zsnes: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

Is it the case that those files need to be removed and gcc remerged?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2007-01-12 18:33:12 0000</bug_when>
            <thetext>run, run `ldconfig` to rebuild your cache</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-01-22 11:49:36 0000</bug_when>
            <thetext>*** Bug 163223 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>drizzt@gentoo.org</who>
            <bug_when>2007-01-29 16:22:35 0000</bug_when>
            <thetext>Fixed thx</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sprockhoevel@web.de</who>
            <bug_when>2007-01-30 13:43:01 0000</bug_when>
            <thetext>[code]
29 Jan 2007; Timothy Redaelli &lt;drizzt@gentoo.org&gt;
  emul-linux-x86-compat-1.0-r3.ebuild:
  Install libstdc++.so.5 if gcc 3.4.* is not installed.
[/code]
well, this breaks mozilla-firefox-bin. see:
http://forums.gentoo.org/viewtopic-t-536068-highlight-.html

btw.. i have *both* installed, gcc 3.4.x *and* gcc 4..x, so now what? &lt;g&gt;
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cardoe@gentoo.org</who>
            <bug_when>2007-01-30 15:17:34 0000</bug_when>
            <thetext>The fix is incorrect. libstdc++.so.5 is not provided by gcc-3.4.x or gcc-4.1.x. The latest compat lib broke mozilla-firefox-bin since libstdc++.so.5 does not exist on my machine anymore. The fix is proper for libstdc++.so.6. But libstdc++.so.5 is provided by gcc-3.3.x not any higher version.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cardoe@gentoo.org</who>
            <bug_when>2007-01-30 15:29:48 0000</bug_when>
            <thetext>Appear the original committed version of the ebuild was wrong and someone fixed it without rev bumping it.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-01-30 18:16:17 0000</bug_when>
            <thetext>*** Bug 164555 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cardoe@gentoo.org</who>
            <bug_when>2007-01-30 19:32:23 0000</bug_when>
            <thetext>In fact I was correct when I opened the bug before. This fix is not correct and Spanky is wrong here.

gcc-3.3.x -&gt; libstdc++.so.5
gcc-3.4.x -&gt; libstdc++.so.6
gcc-4.1.x -&gt; libstdc++.so.6

The has_version check in the latest ebuild needs to be against gcc-3.3.x. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cardoe@gentoo.org</who>
            <bug_when>2007-01-30 20:32:20 0000</bug_when>
            <thetext>Fixed without a rev bump per Kugelfang.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jadamcze@utas.edu.au</who>
            <bug_when>2007-01-31 00:47:10 0000</bug_when>
            <thetext>Why was this change needed? (I&apos;m trying to understand the 32/64bit thing going on here...)

Why would a 32bit libstdc++.so.[56] in /usr/lib32/ be found by (what I am assuming is) a 64bit zsnes, and not the 64bit version (presumably) in /usr/lib64/libstdc++-v3/ or /usr/lib64/gcc/blah/blah/blah ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2007-01-31 04:49:39 0000</bug_when>
            <thetext>no idea what you&apos;re talking about, i never said gcc-3.4.x or newer provided libstdc++.so.5

packages that need the older libstdc++ should be pulling in virtual/libstdc++

fix the broken packages, stop screwing with the compat packages</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ari@goron.de</who>
            <bug_when>2007-01-31 11:09:25 0000</bug_when>
            <thetext>(In reply to comment #18)
&gt; no idea what you&apos;re talking about, i never said gcc-3.4.x or newer provided
&gt; libstdc++.so.5
&gt; 
&gt; fix the broken packages, stop screwing with the compat packages
 

You are absolutely right. Fix the broken packages. Now, how about this....


root@ale ~ # revdep-rebuild -p --library=libstdc++.so.5
Configuring search environment for revdep-rebuild
Checking reverse dependencies...
Packages containing binaries and libraries using libstdc++.so.5 will be emerged.
Collecting system binaries and libraries... done.
  (/root/.revdep-rebuild.1_files)
Checking dynamic linking...
  found /usr/lib32/libtiffxx.so.3.7.3
 done.
  (/root/.revdep-rebuild_fb248503.3_rebuild)
Assigning files to ebuilds... done.
  (/root/.revdep-rebuild_fb248503.4_ebuilds)
Evaluating package order... done.
  (/root/.revdep-rebuild_fb248503.5_order)
All prepared. Starting rebuild...
emerge --oneshot -p =app-emulation/emul-linux-x86-baselibs-2.5.5-r3

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] app-emulation/emul-linux-x86-baselibs-2.5.5-r3
Now you can remove -p (or --pretend) from arguments and re-run revdep-rebuild.
root@ale ~ #

Hmmm........


The culprit is libtiffxx.so.3.7.3, from extactly the same package it tries to fix..., So at least that one needs to be recompiled with at least gcc-3.4.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fedux@lugmen.org.ar</who>
            <bug_when>2007-01-31 13:52:09 0000</bug_when>
            <thetext>(In reply to comment #18)
&gt; no idea what you&apos;re talking about, i never said gcc-3.4.x or newer provided
&gt; libstdc++.so.5
&gt; 
&gt; packages that need the older libstdc++ should be pulling in virtual/libstdc++
&gt; 
&gt; fix the broken packages, stop screwing with the compat packages
&gt; 

But, if a packages needs libstdc++.so.5 and pulls virtual/libstdc++, then I&apos;ll have gcc-3* installed for no reason?
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2007-02-01 04:34:52 0000</bug_when>
            <thetext>if installing it gives you libstdc++.so.5, how exactly is that &quot;for no reason&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vgivanovic@comcast.net</who>
            <bug_when>2007-02-10 18:42:31 0000</bug_when>
            <thetext>app-emulation/emul-linux-x86-compat-1.0-r3 breaks mozilla-firefox-bin. Reverting to -r2 fixed the problem. 

Since I haven&apos;t had gcc-3.3.x on my system at least since Jan 2006 (if I&apos;ve ever had it; there&apos;s no mention of gcc-3.3.x in my emerge.log) and since I&apos;ve been running mozilla-firefox-bin successfully also since Jan 2006, I&apos;m skeptical that the answer is &quot;install gcc-3.3.x&quot;.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2007-02-11 00:22:32 0000</bug_when>
            <thetext>one of us has facts on their side, the other has vague descriptions and hints at failures

provide some real data about your system</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>brad@mainstreetsoftworks.com</who>
            <bug_when>2007-02-11 01:15:05 0000</bug_when>
            <thetext>Not sure why this is still open, someone already made the
has_version =sys-devel/gcc-3.4*
to
has_version =sys-devel/gcc-3.3*
change in the ebuild, as the e-build thought gcc 3.4 provided
libstdc++.so.5, when gcc3.4 provided only libstdc++.so.6 ...
Appears fixed to me, as my firefox-bin is working these days.
Just emerge --sync and emerge --oneshot emul-linux-x86-compat

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2007-02-11 04:47:43 0000</bug_when>
            <thetext>that&apos;s a midway hack that probably works for most people, yes ... but the emul-* packages themselves are just one big hack so it isnt like putting hacks in them is that big of a deal</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>blubb@gentoo.org</who>
            <bug_when>2007-02-11 23:05:05 0000</bug_when>
            <thetext>we don&apos;t support 3.3 anyway, fixed properly with a block</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-07-04 18:57:57 0000</bug_when>
            <thetext>*** Bug 184212 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-08-23 13:38:32 0000</bug_when>
            <thetext>*** Bug 189927 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
      
    </bug>

</bugzilla>