<?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>139094</bug_id>
          
          <creation_ts>2006-07-03 16:12 0000</creation_ts>
          <short_desc>app-arch/rar-3.5.1 needs to depend on virtual/libstdc++-3.3 on x86</short_desc>
          <delta_ts>2006-10-20 09:07:09 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>Ebuilds</component>
          <version>2006.0</version>
          <rep_platform>All</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>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>daniel@dthaler.de</reporter>
          <assigned_to>maintainer-needed@gentoo.org</assigned_to>
          <cc>betelgeuse@gentoo.org</cc>
    
    <cc>ps@twin.jikos.cz</cc>
    
    <cc>rbu@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>daniel@dthaler.de</who>
            <bug_when>2006-07-03 16:12:22 0000</bug_when>
            <thetext>Without libstdc++-v3 an attempt to run rar results in this error:

rar: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rbu@gentoo.org</who>
            <bug_when>2006-10-05 04:03:06 0000</bug_when>
            <thetext>Created an attachment (id=98834)
rar-libstd.patch

Confirmed for both rar-3.5.1 and -3.6.0. Patch included.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>zlin@gentoo.org</who>
            <bug_when>2006-10-06 14:12:34 0000</bug_when>
            <thetext>Created an attachment (id=99007)
proper deps

I believe those are the correct deps... (If there is a good reason to dep on baselibs rather than compat on amd64 I&apos;d like to here it...).

This patch applies on either of the in tree ebuilds (should be applied on both).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rbu@gentoo.org</who>
            <bug_when>2006-10-06 17:09:07 0000</bug_when>
            <thetext>(In reply to comment #2)
&gt; proper deps

Why dep on gcc or libstdc++ rather than on the virtual? And why only for x86?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2006-10-06 21:42:42 0000</bug_when>
            <thetext>(In reply to comment #3)
&gt; And why only for x86?

Because it doesn&apos;t make any sense to force 64bit libstdc++-v3 on amd64 folks for 32bit application, just plain annoying and redundant? :)

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>betelgeuse@gentoo.org</who>
            <bug_when>2006-10-07 04:44:10 0000</bug_when>
            <thetext>Fixed as follows (used my checkdeps.rb to see the deps):
--- rar-3.5.1.ebuild    11 Aug 2006 21:13:09 -0000      1.6
+++ rar-3.5.1.ebuild    7 Oct 2006 11:43:16 -0000
@@ -13,7 +13,11 @@

 RESTRICT=&quot;nostrip&quot;

-RDEPEND=&quot;sys-libs/glibc amd64? ( app-emulation/emul-linux-x86-baselibs )&quot;
+RDEPEND=&quot;
+       sys-libs/glibc
+       amd64? ( app-emulation/emul-linux-x86-compat )
+       x86? ( ~virtual/libstdc++-3.3 )
+       &quot;

--- rar-3.6.0.ebuild    7 Sep 2006 23:25:41 -0000       1.1
+++ rar-3.6.0.ebuild    7 Oct 2006 11:43:16 -0000
@@ -13,7 +13,7 @@

 RESTRICT=&quot;nostrip&quot;

-RDEPEND=&quot;sys-libs/glibc amd64? ( app-emulation/emul-linux-x86-baselibs )&quot;
+RDEPEND=&quot;sys-libs/glibc amd64? ( app-emulation/emul-linux-x86-compat )&quot;
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2006-10-20 05:19:50 0000</bug_when>
            <thetext>*** Bug 152098 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2006-10-20 05:21:55 0000</bug_when>
            <thetext>Well, 3.5.1 is OK now, 3.6.0 is missing virtual/libstdc++ dependency on x86.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>betelgeuse@gentoo.org</who>
            <bug_when>2006-10-20 08:57:54 0000</bug_when>
            <thetext>(In reply to comment #7)
&gt; Well, 3.5.1 is OK now, 3.6.0 is missing virtual/libstdc++ dependency on x86.
&gt; 

pena portage # checkdeps.rb rar
sys-devel/gcc-4.1.1-r1 || app-office/openoffice-bin-2.0.4
        /opt/bin/rar
        /opt/bin/unrar
        /opt/rar/bin/rar
        /opt/rar/bin/unrar
        /usr/bin/unrar
sys-libs/glibc-2.5
        /opt/bin/rar
        /opt/bin/unrar
        /opt/rar/bin/rar
        /opt/rar/bin/unrar
        /usr/bin/unrar

Is my script buggy?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>betelgeuse@gentoo.org</who>
            <bug_when>2006-10-20 09:06:49 0000</bug_when>
            <thetext>(In reply to comment #7)
&gt; Well, 3.5.1 is OK now, 3.6.0 is missing virtual/libstdc++ dependency on x86.
&gt; 

That is not what is going on. libstdc++-3.3 is for libstdc++.so.5 and his error complains about .so.6</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>98834</attachid>
            <date>2006-10-05 04:03 0000</date>
            <desc>rar-libstd.patch</desc>
            <filename>rar-libstd.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">ZGlmZiAtTnVhciAvdXNyL3BvcnRhZ2UvYXBwLWFyY2gvcmFyL3Jhci0zLjUuMS5lYnVpbGQgLi9y
YXItMy41LjEuZWJ1aWxkCi0tLSAvdXNyL3BvcnRhZ2UvYXBwLWFyY2gvcmFyL3Jhci0zLjUuMS5l
YnVpbGQJMjAwNi0wOC0xMSAyMzozNToyMi4wMDAwMDA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zICkiCiAKIFM9IiR7V09SS0RJUn0vJHtQTn0iCiAK
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>99007</attachid>
            <date>2006-10-06 14:12 0000</date>
            <desc>proper deps</desc>
            <filename>proper_deps.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC92YXIvZ2VudG9vLXg4Ni9hcHAtYXJjaC9yYXIvcmFyLTMuNS4xLmVidWlsZAkyMDA2LTA4
LTExIDIzOjEzOjA5LjAwMDAwMDAwMCArMDIwMAorKysgcmFyLTMuNS4xLmVidWlsZAkyMDA2LTEw
LTA2IDIzOjA2OjUwLjAwMDAwMDAwMCArMDIwMApAQCAtMTMsNyArMTMsOSBAQAogCiBSRVNUUklD
VD0ibm9zdHJpcCIKIAotUkRFUEVORD0ic3lzLWxpYnMvZ2xpYmMgYW1kNjQ/ICggYXBwLWVtdWxh
dGlvbi9lbXVsLWxpbnV4LXg4Ni1iYXNlbGlicyApIgorUkRFUEVORD0ic3lzLWxpYnMvZ2xpYmMK
KwkJeDg2PyAoIHx8ICggc3lzLWxpYnMvbGlic3RkYysrLXYzID1zeXMtZGV2ZWwvZ2NjLTMuMyog
KSkKKwkJYW1kNjQ/ICggYXBwLWVtdWxhdGlvbi9lbXVsLWxpbnV4LXg4Ni1jb21wYXQgKSIKIAog
Uz0ke1dPUktESVJ9LyR7UE59CiAK
</data>        

          </attachment>
    </bug>

</bugzilla>