public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Updated bash crashed complete system
@ 2007-09-04 19:34 Matthias Fechner
  2007-09-04 20:10 ` Philip Webb
  0 siblings, 1 reply; 10+ messages in thread
From: Matthias Fechner @ 2007-09-04 19:34 UTC (permalink / raw
  To: gentoo-user

Hi,

I have here a problem.
I updated the shell bash today and the computer stalled while installing
bash so I was not able to reboot my PC.
I rebooted then from a rescue system and the bash was completely crashed
so I copied the bash from the rescue system.

Now I can boot my system again.

Now I try to reinstall bash again but I get the following error message:

i686-pc-linux-gnu-gcc -L./builtins -L./lib/readline -L./lib/readline
-L./lib/glob -L./lib/tilde  -L./lib/sh  -rdynamic  -march=i686 -O2 -pipe
-o bash shell.o eval.o y.tab.o general.o make_cmd.o print_cmd.o
dispose_cmd.o execute_cmd.o variables.o copy_cmd.o error.o expr.o
flags.o jobs.o subst.o hashcmd.o hashlib.o mailcheck.o trap.o input.o
unwind_prot.o pathexp.o sig.o test.o version.o alias.o array.o
arrayfunc.o braces.o bracecomp.o bashhist.o bashline.o  list.o
stringlib.o locale.o findcmd.o redir.o pcomplete.o pcomplib.o syntax.o
xmalloc.o  -lbuiltins -lsh -lreadline -lhistory -lcurses -lglob -ltilde
   -ldl
./lib/readline/libhistory.a: could not read symbols: Archive has no
index; run ranlib to add one
collect2: ld returned 1 exit status
make: *** [bash] Error 1

!!! ERROR: app-shells/bash-3.2_p17 failed.
Call stack:
  ebuild.sh, line 1638:   Called dyn_compile
  ebuild.sh, line 985:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  bash-3.2_p17.ebuild, line 107:   Called die

!!! make failed
!!! If you need support, post the topmost build error, and the call
stack if relevant.
!!! A complete build log is located at
'/var/tmp/portage/app-shells/bash-3.2_p17/temp/build.log'.

What can I do to reinstall the bash again?

Thx a lot,
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Updated bash crashed complete system
  2007-09-04 19:34 [gentoo-user] Updated bash crashed complete system Matthias Fechner
@ 2007-09-04 20:10 ` Philip Webb
  2007-09-04 20:37   ` Matthias Fechner
  0 siblings, 1 reply; 10+ messages in thread
From: Philip Webb @ 2007-09-04 20:10 UTC (permalink / raw
  To: gentoo-user

070904 Matthias Fechner wrote:
> I updated Bash-3.2_p17 and the computer stalled while installing it
> so I was not able to reboot my PC.
> I rebooted from a rescue system and copied Bash from there.
> Now I can boot my system again.
> Now I try to reinstall bash again but I get the following error message:
> -- snip --
>   ./lib/readline/libhistory.a: could not read symbols: Archive has no
>   index; run ranlib to add one
> -- snip --
> What can I do to reinstall the bash again?

The first thing to try what it says: run Ranlib.
However, it's not clear which library you need to run it on:
my system has no dir  /lib/readline ;
the Readline pkg installs  /usr/lib/libhistory.a , which is present.
So you could try 'ranlib /usr/lib/libhistory.a'
or you could try remerging the Readline pkg, which mb damaged in some way.
I emerged this version of Bash 070728 without any problem.
My Readline version is 5.2_p4 (070701): do you need to upgrade yours ?
Have you looked for similar problems in the Forum ?

-- 
========================,,============================================
SUPPORT     ___________//___,  Philip Webb : purslow@chass.utoronto.ca
ELECTRIC   /] [] [] [] [] []|  Centre for Urban & Community Studies
TRANSIT    `-O----------O---'  University of Toronto
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Updated bash crashed complete system
  2007-09-04 20:10 ` Philip Webb
@ 2007-09-04 20:37   ` Matthias Fechner
  2007-09-04 20:48     ` Daniel Pielmeier
  2007-09-04 20:55     ` Daniel Pielmeier
  0 siblings, 2 replies; 10+ messages in thread
From: Matthias Fechner @ 2007-09-04 20:37 UTC (permalink / raw
  To: gentoo-user

Hi Philip,

Philip Webb wrote:
> The first thing to try what it says: run Ranlib.
> However, it's not clear which library you need to run it on:
> my system has no dir  /lib/readline ;

I found the directory, it's:
/var/tmp/portage/app-shells/bash-3.2_p17/work/bash-3.2/lib/readline

But that should emerge do for me or not?

> or you could try remerging the Readline pkg, which mb damaged in some way.

that is the first I tried but doesn't changed anything.
I also reinstall all packets which bash needs no success.

> I emerged this version of Bash 070728 without any problem.

I reinstall now bash 3.1_p17 which works fine.
So it should be a bug in the bash-package 3.2_p15-r1?

> My Readline version is 5.2_p4 (070701): do you need to upgrade yours ?

that I have installed too:
     Installed versions:  5.2_p4(22:27:19 09/04/07)


> Have you looked for similar problems in the Forum ?

yes but found nothing helpful.
And google didn't help too.


Best regards,
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Updated bash crashed complete system
  2007-09-04 20:37   ` Matthias Fechner
@ 2007-09-04 20:48     ` Daniel Pielmeier
  2007-09-04 20:55     ` Daniel Pielmeier
  1 sibling, 0 replies; 10+ messages in thread
From: Daniel Pielmeier @ 2007-09-04 20:48 UTC (permalink / raw
  To: gentoo-user

> I reinstall now bash 3.1_p17 which works fine.
> So it should be a bug in the bash-package 3.2_p15-r1?

Current stable version of bash is 3.2_p17! Maybe try this one.

3.2_p15-r1 is not in the tree anymore. Maybe you should sync your tree!
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Updated bash crashed complete system
  2007-09-04 20:37   ` Matthias Fechner
  2007-09-04 20:48     ` Daniel Pielmeier
@ 2007-09-04 20:55     ` Daniel Pielmeier
  2007-09-04 21:33       ` Matthias Fechner
  1 sibling, 1 reply; 10+ messages in thread
From: Daniel Pielmeier @ 2007-09-04 20:55 UTC (permalink / raw
  To: gentoo-user

> I reinstall now bash 3.1_p17 which works fine.
> So it should be a bug in the bash-package 3.2_p15-r1?

In your first message the portage output says version 3.2_p17 now you
write 3.2_p15-r1, which one is bugging you?
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Updated bash crashed complete system
  2007-09-04 20:55     ` Daniel Pielmeier
@ 2007-09-04 21:33       ` Matthias Fechner
  2007-09-05 12:05         ` Benno Schulenberg
  0 siblings, 1 reply; 10+ messages in thread
From: Matthias Fechner @ 2007-09-04 21:33 UTC (permalink / raw
  To: gentoo-user

Hello Daniel,

* Daniel Pielmeier <daniel.pielmeier@googlemail.com> [04-09-07 22:55]:
> In your first message the portage output says version 3.2_p17 now you
> write 3.2_p15-r1, which one is bugging you?

the bugging version is 3.2_p17.
I reinstalled now 3.1_p17 which works.
(regarding to eix 3.2_17 and 3.1_p17 are marked green so both version
should be stable or?)
[U] app-shells/bash
     Available versions:  2.05b-r11 3.0-r12 ~3.0-r13 ~3.0-r14 3.1_p17
3.2_p17 ~3.2_p17-r1 [M]~3.2_p25 {afs bashlogger build minimal nls
plugins unicode vanilla}
     Installed versions:  3.1_p17(22:37:52 09/04/07)(-afs -bashlogger
nls -vanilla)
                          3.2_p17(21:23:37 09/04/07)
     Homepage: http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html
     Description:         The standard GNU Bourne again shell
     
     
I tried it now with a freshly updated portage dir, exactly the same
problem. 3.2_p17 fails.

Best regards,
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Updated bash crashed complete system
  2007-09-04 21:33       ` Matthias Fechner
@ 2007-09-05 12:05         ` Benno Schulenberg
  2007-09-05 13:47           ` Matthias Fechner
  0 siblings, 1 reply; 10+ messages in thread
From: Benno Schulenberg @ 2007-09-05 12:05 UTC (permalink / raw
  To: gentoo-user

Matthias Fechner wrote:
>      Installed versions:  3.1_p17(22:37:52 09/04/07)(-afs
> -bashlogger nls -vanilla)
>                           3.2_p17(21:23:37 09/04/07)

Hmm?  You have two bashes installed?

Please show us the output of 'qlop -ul bash' (qlop is from 
portage-utils).  And paste the output of 'emerge --info'.

Benno
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Updated bash crashed complete system
  2007-09-05 12:05         ` Benno Schulenberg
@ 2007-09-05 13:47           ` Matthias Fechner
  2007-09-05 14:36             ` Benno Schulenberg
  0 siblings, 1 reply; 10+ messages in thread
From: Matthias Fechner @ 2007-09-05 13:47 UTC (permalink / raw
  To: gentoo-user

Hi Benno,

Benno Schulenberg wrote:
> Please show us the output of 'qlop -ul bash' (qlop is from 
> portage-utils).  And paste the output of 'emerge --info'.

---snip---
Tue Apr 17 21:43:38 2007 <<< app-shells/bash-3.1_p16
Tue Apr 17 21:43:38 2007 >>> app-shells/bash-3.1_p17
Tue Sep  4 22:37:57 2007 >>> app-shells/bash-3.1_p17
---snip---

The output from emerge --info is quit long I hope it is readable:
---snip---
Portage 2.1.2.12 (default-linux/x86/2006.1/desktop, gcc-4.1.1,
glibc-2.5-r0, 2.6.20-gentoo-r8 i686)
=================================================================
System uname: 2.6.20-gentoo-r8 i686 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 04 Sep 2007 20:00:09 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.1_p17, 3.2_p17
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=i686 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc distlocks metadata-transfer parallel-fetch
sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --delete-after --stats
--timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="a52 alsa arts avi berkdb bitmap-fonts bzip2 cairo cdr cli cracklib
crypt cups dbus dlloader dri dvd dvdr dvdread eds emboss encode esd fam
ffmpeg firefox fortran gdbm gif gnome gpm gstreamer hal iconv
imagemagick ipv6 isdnlog jpeg ldap libg++ lirc mad midi mikmod mjpeg mp3
mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre
pdflib perl png ppds pppd python quicktime readline reflection sdl
session spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts udev
unicode vorbis win32codecs x86 xml xorg xv zlib" ALSA_CARDS="ali5451
als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370
ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3
trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm
alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug
ladspa lfloat linear meter mulaw multi null plug rate route share shm
softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216
lcdm001 mtxorb ncurses text" LIRC_DEVICES="serial" USERLAND="GNU"
VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810
imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage
siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware
voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
---snip---

Bye
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Updated bash crashed complete system
  2007-09-05 13:47           ` Matthias Fechner
@ 2007-09-05 14:36             ` Benno Schulenberg
  2007-09-05 17:08               ` Matthias Fechner
  0 siblings, 1 reply; 10+ messages in thread
From: Benno Schulenberg @ 2007-09-05 14:36 UTC (permalink / raw
  To: gentoo-user

Matthias Fechner wrote:
> ---snip---
> Tue Apr 17 21:43:38 2007 <<< app-shells/bash-3.1_p16
> Tue Apr 17 21:43:38 2007 >>> app-shells/bash-3.1_p17
> Tue Sep  4 22:37:57 2007 >>> app-shells/bash-3.1_p17
> ---snip---

Please don't snip anything, show the full output.

> app-shells/bash:     3.1_p17, 3.2_p17

Do 'cd /var/db/pkg/app-shells; rm -rf bash-3.2_p17'.
This removes the record of the no longer installed bash-3.2.

Then try re-emerging the newer bash with:

  FEATURES="-ccache -distcc" emerge -1 -a =bash-3.2_p17

Benno
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Updated bash crashed complete system
  2007-09-05 14:36             ` Benno Schulenberg
@ 2007-09-05 17:08               ` Matthias Fechner
  0 siblings, 0 replies; 10+ messages in thread
From: Matthias Fechner @ 2007-09-05 17:08 UTC (permalink / raw
  To: gentoo-user

Hi Benno,

Benno Schulenberg wrote:
> Please don't snip anything, show the full output.

sry, that was the full output it was a snip to the email itself.

> Do 'cd /var/db/pkg/app-shells; rm -rf bash-3.2_p17'.
> This removes the record of the no longer installed bash-3.2.
> 
> Then try re-emerging the newer bash with:
> 
>   FEATURES="-ccache -distcc" emerge -1 -a =bash-3.2_p17

ok, after updating the portage yesterday emerge want update bash so it's
all back to normal after I reinstalled bash like you described above.

Thx a lot for the help.

Best regards,
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-09-05 17:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-04 19:34 [gentoo-user] Updated bash crashed complete system Matthias Fechner
2007-09-04 20:10 ` Philip Webb
2007-09-04 20:37   ` Matthias Fechner
2007-09-04 20:48     ` Daniel Pielmeier
2007-09-04 20:55     ` Daniel Pielmeier
2007-09-04 21:33       ` Matthias Fechner
2007-09-05 12:05         ` Benno Schulenberg
2007-09-05 13:47           ` Matthias Fechner
2007-09-05 14:36             ` Benno Schulenberg
2007-09-05 17:08               ` Matthias Fechner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox