<?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>74817</bug_id>
          
          <creation_ts>2004-12-18 02:49 0000</creation_ts>
          <short_desc>fsck.reiser4 cant find libreiser4-1.0.so.2 --&gt; booting abborted</short_desc>
          <delta_ts>2005-05-21 23:57:46 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>Core system</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>crazy-b@gmx.de</reporter>
          <assigned_to>vapier@gentoo.org</assigned_to>
          <cc>avuton@gmail.com</cc>
    
    <cc>kenyon@kenyonralph.com</cc>
    
    <cc>motaboy@gentoo.org</cc>
    
    <cc>radek@podgorny.cz</cc>
    
    <cc>xmit@gmx.de</cc>

      

      
          <long_desc isprivate="0">
            <who>crazy-b@gmx.de</who>
            <bug_when>2004-12-18 02:49:51 0000</bug_when>
            <thetext>I go unstable and I&apos;m using reiser4. Yesterday, I updated to reiser4progs 1.0.3 (and the required dependency libaaal); I might also have updated to the latest baselayout.

Today, my computer aborted booting when it came to fsck.reiser4 - it looked for a library libreiser4-1.0.so.2 which didnt exist (anylonger due to the update? I dunno).

mount -o remount rw / and making a symbolic link from libreiser4-1.0.so.2 -&gt; libreiser4-1.0.so.3 helped.

Note: I marked it blocker, because it stops your computer from working, eventhough it can be easily fixed :-)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.



emerge info
Portage 2.0.51-r8 (gcc34-x86-2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0,
2.6.9-rc2-nitro1 i686)
=================================================================
System uname: 2.6.9-rc2-nitro1 i686 AMD Athlon(TM) MP 2400+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Sep 27 2004, 11:05:46)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-O3 -march=athlon-mp -pipe -fomit-frame-pointer&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O3 -march=athlon-mp -pipe -fomit-frame-pointer&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs ccache distlocks sandbox&quot;
GENTOO_MIRRORS=&quot;ftp://ftp.wh2.tu-dresden.de/pub/mirrors/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 /usr/local/fluidportage/trunk
/usr/local/bmg-main&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;X alsa apm avi berkdb bitmap-fonts bonobo cdr crypt cups eds encode esd evo
f77 foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imlib
java jpeg ldap libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses network
nls nptl nptlonly oggvorbis opengl oss pam pdflib perl png python quicktime
readline sdl slang spell sse ssl svga tcpd threads truetype x86 xine xml2 xv zlib&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>avuton@gmail.com</who>
            <bug_when>2004-12-18 08:42:21 0000</bug_when>
            <thetext>I&apos;ve got two machines that are unbootable, until I get a chance to run a livecd on them. Until this is fixed I think this package should definitely be masked. Thank you.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-12-18 18:47:04 0000</bug_when>
            <thetext>what does `ldd /sbin/fsck.reiser4` show ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>crazy-b@gmx.de</who>
            <bug_when>2004-12-19 08:14:49 0000</bug_when>
            <thetext>Strange. Everything seems to be correct.

ldd /sbin/fsck.reiser4
        linux-gate.so.1 =&gt;  (0xffffe000)
        libreiser4-1.0.so.3 =&gt; /lib/libreiser4-1.0.so.3 (0xb7f8e000)
        librepair-1.0.so.3 =&gt; /lib/librepair-1.0.so.3 (0xb7f76000)
        libaal-1.0.so.3 =&gt; /lib/libaal-1.0.so.3 (0xb7f6e000)
        libuuid.so.1 =&gt; /lib/libuuid.so.1 (0xb7f6b000)
        libreadline.so.5 =&gt; /lib/libreadline.so.5 (0xb7f3d000)
        libncurses.so.5 =&gt; /lib/libncurses.so.5 (0xb7ef8000)
        libc.so.6 =&gt; /lib/libc.so.6 (0xb7dcd000)
        /lib/ld-linux.so.2 (0xb7fea000)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-12-19 09:59:29 0000</bug_when>
            <thetext>so if you rm the libreiser4-1.0.so.2 symlink you made, does `fsck.resier4` work again ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>crazy-b@gmx.de</who>
            <bug_when>2004-12-19 10:34:40 0000</bug_when>
            <thetext>Stragely, not!

rm libreiser4-1.0.so.2
h0m3r lib # fsck.reiser4
fsck.reiser4: error while loading shared libraries: libreiser4-1.0.so.2: cannot open shared object file: No such file or directory

ldd /sbin/fsck.reiser4
        linux-gate.so.1 =&gt;  (0xffffe000)
        libreiser4-1.0.so.3 =&gt; /lib/libreiser4-1.0.so.3 (0xb7f8e000)
        librepair-1.0.so.3 =&gt; /lib/librepair-1.0.so.3 (0xb7f76000)
        libaal-1.0.so.3 =&gt; /lib/libaal-1.0.so.3 (0xb7f6e000)
        libuuid.so.1 =&gt; /lib/libuuid.so.1 (0xb7f6b000)
        libreadline.so.5 =&gt; /lib/libreadline.so.5 (0xb7f3d000)
        libncurses.so.5 =&gt; /lib/libncurses.so.5 (0xb7ef8000)
        libc.so.6 =&gt; /lib/libc.so.6 (0xb7dcd000)
        /lib/ld-linux.so.2 (0xb7fea000)
        libreiser4-1.0.so.2 =&gt; not found</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>crazy-b@gmx.de</who>
            <bug_when>2004-12-20 02:49:54 0000</bug_when>
            <thetext>There is a more proper solution than symlinking found here:
http://forums.gentoo.org/viewtopic.php?t=268386

Just emerge reiser4progs a second time. Works now, even without the symlink :-)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>motaboy@gentoo.org</who>
            <bug_when>2004-12-21 03:26:19 0000</bug_when>
            <thetext>The problems is caused by librepair and other that links against the installed libreiser4 (libreiser4-1.0.so.2) instead of the just compiled one (libreiser4-1.0.so.3).

# ldd /lib/librepair.so
        linux-gate.so.1 =&gt;  (0xffffe000)
        libreiser4-1.0.so.2 =&gt; not found    &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;
        libc.so.6 =&gt; /lib/libc.so.6 (0xb7ea9000)
        /lib/ld-linux.so.2 (0x80000000)

Using &quot;elibtoolize&quot; inside src_unpack DIDN&apos;T fixed it.
So I forced the regeneration of all the build system running &quot;autoreconf --install --force&quot;, and then it worked.

vapier: I&apos;m not very libtool expert so I don&apos;t know if this is the right solution to this problem. I just tried to help you :D.

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>motaboy@gentoo.org</who>
            <bug_when>2004-12-21 03:35:08 0000</bug_when>
            <thetext>Created an attachment (id=46530)
reiser4progs-1.0.3_autoreconf.patch
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>crazy-b@gmx.de</who>
            <bug_when>2005-03-15 09:57:14 0000</bug_when>
            <thetext>Why is the fix not in reiser4progs 1.0.4 ?

I had the same problem when upadating to reiser4progs 1.0.4.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo.bugzilla@mas.ml1.net</who>
            <bug_when>2005-04-25 19:03:30 0000</bug_when>
            <thetext>FWIW, I&apos;ve just had the same problem upgrading to libreiser4-1.0.4 as well.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>genforum@bot24.no-ip.com</who>
            <bug_when>2005-05-19 23:34:04 0000</bug_when>
            <thetext>I confirm that this is still not fixed. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>genforum@bot24.no-ip.com</who>
            <bug_when>2005-05-19 23:38:49 0000</bug_when>
            <thetext>Sorry to bother you all with the e-mail notification. I didn&apos;t know it would send you all an e-mail. x_x</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2005-05-21 23:57:46 0000</bug_when>
            <thetext>thanks Simone for that ... forced rebuilding of autotools in src_unpack()</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>46530</attachid>
            <date>2004-12-21 03:35 0000</date>
            <desc>reiser4progs-1.0.3_autoreconf.patch</desc>
            <filename>reiser4progs-1.0.3_autoreconf.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHJlaXNlcjRwcm9ncy0xLjAuMy5lYnVpbGQJMjAwNC0xMi0yMSAxMTozNjo0Ni4wNDA2NDcy
OTYgKzAwMDAKKysrIHJlaXNlcjRwcm9ncy0xLjAuMy1yMS5lYnVpbGQJMjAwNC0xMi0yMSAxMjox
OTo1MC4wMjY4MjE2ODggKzAwMDAKQEAgLTE5LDYgKzE5LDkgQEAKIHNyY191bnBhY2soKSB7CiAJ
dW5wYWNrICR7QX0KIAljZCAke1N9CisJCisJYXV0b3JlY29uZiAtLWluc3RhbGwgLS1mb3JjZQkK
KwkKIAljYXQgPDwgRU9GID4gcnVuLWxkY29uZmlnCiAjIS9iaW4vc2gKIHRydWUK
</data>        

          </attachment>
    </bug>

</bugzilla>