<?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>93867</bug_id>
          
          <creation_ts>2005-05-24 17:22 0000</creation_ts>
          <short_desc>unable to link against libbz2 (gnome-vfs)</short_desc>
          <delta_ts>2005-08-25 03:10:53 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>Library</component>
          <version>unspecified</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>Felix.Braun@mail.mcgill.ca</reporter>
          <assigned_to>base-system@gentoo.org</assigned_to>
          <cc>development@gianfagna.net</cc>
    
    <cc>ehmsen@gentoo.org</cc>
    
    <cc>email@missionaccomplish.com</cc>
    
    <cc>emil@dukato.net</cc>
    
    <cc>herbs@gentoo.org</cc>
    
    <cc>iyosifov@gmail.com</cc>
    
    <cc>linuxdan@gmail.com</cc>
    
    <cc>tekknokaetzi@web.de</cc>
    
    <cc>theosib@hotmail.com</cc>

      

      
          <long_desc isprivate="0">
            <who>Felix.Braun@mail.mcgill.ca</who>
            <bug_when>2005-05-24 17:22:21 0000</bug_when>
            <thetext>gnome-vfs tries to link against libbz2.so (without version number). No such link
is created by app-arch/bzip2-1.0.3-r3

Reproducible: Always
Steps to Reproduce:
1. try to compile gnome-vfs-2.10.0

Actual Results:  
compilation aborts because /lib/libbz2.so can not be found

Expected Results:  
compile properly</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>Felix.Braun@mail.mcgill.ca</who>
            <bug_when>2005-05-24 17:31:27 0000</bug_when>
            <thetext>Created an attachment (id=59752)
proposed fix
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jason.cavett@gmail.com</who>
            <bug_when>2005-05-24 22:18:02 0000</bug_when>
            <thetext>I can confirm this bug.  Here&apos;s my emerge info:

Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.5-r0, 2.6.10-gentoo-r7 i686)
=================================================================
System uname: 2.6.10-gentoo-r7 i686 Intel(R) Pentium(R) M processor 1.70GHz
Gentoo Base System version 1.6.10
ccache version 2.4 [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-O3 -march=pentium-m -mtune=pentium-m -fomit-frame-pointer -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O3 -march=pentium-m mtune=pentium-m -fomit-frame-pointer -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig distlocks sandbox sfperms strict&quot;
GENTOO_MIRRORS=&quot;http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;x86 X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl eds emboss
encode esd fam flac foomaticdb fortran gd gdbm gif gnome gpm gtk gtk2
imagemagick imlib ipv6 java jpeg junit kde ldap libg++ libwww mad mikmod motif
mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt
quicktime readline samba scanner sdl silc slang spell ssl svga tcltk tcpd tiff
truetype truetype-fonts type1-fonts vorbis xine xml2 xmms xv zlib
video_cards_radeon userland_GNU kernel_linux elibc_glibc&quot;
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jason.cavett@gmail.com</who>
            <bug_when>2005-05-24 22:22:09 0000</bug_when>
            <thetext>Forgot to mention - this happens with gnome-vfs-2.10.0-r1 (the version in the
original post is 2.10.0)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tekknokaetzi@web.de</who>
            <bug_when>2005-05-24 23:08:21 0000</bug_when>
            <thetext>I can confirm this bug. Emerging clamav-0.85.1-r1 did not work because
/lib/libbz2.so could not be found.

The proposed fix worked for me! Thanks a lot!</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>development@gianfagna.net</who>
            <bug_when>2005-05-24 23:32:08 0000</bug_when>
            <thetext>I can also confirm the bug. After applying the patch, gnome-vfs compiles
properly.  Thanks.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>russofris@hotmail.com</who>
            <bug_when>2005-05-25 00:47:09 0000</bug_when>
            <thetext>Since r4 is not im my arch tree yet, is it correct to assume that I can simply
ln -s /usr/lib/libbz2.so /lib/libbz2.so as a workaround?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tekknokaetzi@web.de</who>
            <bug_when>2005-05-25 01:18:55 0000</bug_when>
            <thetext>Frank: ln -s /usr/lib/libbz2.so /lib/libbz2.so should work, but I would suggest
you to try the fix that Felix provided for us ;-)

just download the patch and then do (as root)
patch -p0 &lt; /[path to the downloaded patch]/bzip2-ebuild.patch
emerge --oneshot bzip2

Now the link should be created by portage, that&apos;s what we want ;-)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tekknokaetzi@web.de</who>
            <bug_when>2005-05-25 01:20:41 0000</bug_when>
            <thetext>Sorry for double-posting, forgot to mention:
just download the patch and then do (as root)
cd /usr/portage/app-arch/bzip2 (sorry, I forgot about that)
patch -p0 &lt; /[path to the downloaded patch]/bzip2-ebuild.patch
emerge --oneshot bzip2

That&apos;s the way I made the ebuild work.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>Felix.Braun@mail.mcgill.ca</who>
            <bug_when>2005-05-25 01:44:16 0000</bug_when>
            <thetext>Frank, the correct work-around would be:

# cd /lib
# ln -s libbz2.so.1.0.3 libbz2.so

this is in fact what my patch to the ebuild does. /usr/lib/libbz2.so is just a
ld-script that refers to /lib/libbz2.so and thus doesn&apos;t work.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>Felix.Braun@mail.mcgill.ca</who>
            <bug_when>2005-05-25 03:10:57 0000</bug_when>
            <thetext>bug 91176 and bug 93904 are dupes of this bug and therefore fixed by the patch
proposed in this bug.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2005-05-25 03:25:59 0000</bug_when>
            <thetext>*** Bug 91176 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2005-05-25 03:26:18 0000</bug_when>
            <thetext>*** Bug 93904 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2005-05-25 05:36:33 0000</bug_when>
            <thetext>*** Bug 93927 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wpan03@gmail.com</who>
            <bug_when>2005-05-25 06:06:17 0000</bug_when>
            <thetext>emerging gimp-2.2.7 aborts because of this issue.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>oliver@schinagl.nl</who>
            <bug_when>2005-05-25 15:06:02 0000</bug_when>
            <thetext>and for me &apos;simply&apos; adding the symlink didn&apos;t work. the gimp still puked. :/
(And I don&apos;t wanna patch the ebuild, i&apos;ll just wait for a real ebuild, cos i&apos;m
to lazy : )</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2005-05-25 15:12:09 0000</bug_when>
            <thetext>fixed in 1.0.3-r4</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dang@gentoo.org</who>
            <bug_when>2005-05-26 09:51:37 0000</bug_when>
            <thetext>*** Bug 94079 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2005-07-05 13:02:11 0000</bug_when>
            <thetext>*** Bug 98026 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>theosib@hotmail.com</who>
            <bug_when>2005-07-05 17:08:37 0000</bug_when>
            <thetext>I reported 98026.  Someone asked for the output of &quot;ldd /usr/lib/libgsf-1.so.1&quot;,
so here it is:

        linux-gate.so.1 =&gt;  (0xffffe000)
        libgobject-2.0.so.0 =&gt; /usr/lib/libgobject-2.0.so.0 (0xb7f7a000)
        libglib-2.0.so.0 =&gt; /usr/lib/libglib-2.0.so.0 (0xb7ef3000)
        libxml2.so.2 =&gt; /usr/lib/libxml2.so.2 (0xb7d76000)
        libpthread.so.0 =&gt; /lib/libpthread.so.0 (0xb7d24000)
        libm.so.6 =&gt; /lib/libm.so.6 (0xb7d01000)
        libz.so.1 =&gt; /lib/libz.so.1 (0xb7cf0000)
        libbz2.so.1.0 =&gt; not found
        libc.so.6 =&gt; /lib/libc.so.6 (0xb7bda000)
        libdl.so.2 =&gt; /lib/libdl.so.2 (0xb7bd6000)
        /lib/ld-linux.so.2 (0x80000000)
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>theosib@hotmail.com</who>
            <bug_when>2005-07-05 17:39:38 0000</bug_when>
            <thetext>The work-around doesn&apos;t work for me because there is no &quot;/usr/lib/libbz2.so.1.0.3&quot;.

And how long does it usually take before the fix gets into stable?

Thanks.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2005-07-05 17:51:42 0000</bug_when>
            <thetext>stabilized latest version</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>theosib@hotmail.com</who>
            <bug_when>2005-07-05 19:00:40 0000</bug_when>
            <thetext>I think something&apos;s wrong here, then.  After I saw your post, SpanKY, I did an
&apos;emerge sync&apos; and then tried to emerge gimp again, but it still failed in the
same way.  What am I missing?
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>carlo@gentoo.org</who>
            <bug_when>2005-08-03 08:01:18 0000</bug_when>
            <thetext>*** Bug 101160 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>azarah@gentoo.org</who>
            <bug_when>2005-08-25 03:10:53 0000</bug_when>
            <thetext>(In reply to comment #22)
&gt; I think something&apos;s wrong here, then.  After I saw your post, SpanKY, I did an
&gt; &apos;emerge sync&apos; and then tried to emerge gimp again, but it still failed in the
&gt; same way.  What am I missing?
&gt; 

Need to remerge bzip2 first.
</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>59752</attachid>
            <date>2005-05-24 17:31 0000</date>
            <desc>proposed fix</desc>
            <filename>bzip2-ebuild.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGJ6aXAyLTEuMC4zLXIzLmVidWlsZAkyMDA1LTA1LTI0IDAwOjM1OjIwLjAwMDAwMDAwMCAr
MDIwMAorKysgYnppcDItMS4wLjMtcjQtZWJ1aWxkCTIwMDUtMDUtMjUgMDI6MzA6MDQuMDAwMDAw
MDAwICswMjAwCkBAIC02Myw4ICs2Myw4IEBACiAJCQluZXdiaW4gYnppcDItc2hhcmVkIGJ6aXAy
IHx8IGRpZSAiZG9iaW4gc2hhcmVkIgogCQlmaQogCQlkb2xpYi5zbyAiJHtTfSIvbGliYnoyLnNv
LiR7UFZ9IHx8IGRpZSAiZG9saWIgc2hhcmVkIgotCQlmb3IgdiBpbiAke1BWJSUuKn0gJHtQViUu
Kn0gOyBkbwotCQkJZG9zeW0gbGliYnoyLnNvLiR7UFZ9IC8kKGdldF9saWJkaXIpL2xpYmJ6Mi5z
by4ke3Z9CisJCWZvciB2IGluICIiIC4ke1BWJSUuKn0gLiR7UFYlLip9IDsgZG8KKwkJCWRvc3lt
IGxpYmJ6Mi5zby4ke1BWfSAvJChnZXRfbGliZGlyKS9saWJiejIuc28ke3Z9CiAJCWRvbmUKIAkJ
Z2VuX3Vzcl9sZHNjcmlwdCBsaWJiejIuc28KIAo=
</data>        

          </attachment>
    </bug>

</bugzilla>