sm-grimoire-bugs AT lists.ibiblio.org
Subject: SourceMage Grimoire Bug List
List archive
[SM-Grimoire-Bugs] [Bug 13654] New: switching ncurses to utf-8 breaks bash
- From: bugzilla-daemon AT bugs.sourcemage.org
- To: sm-grimoire-bugs AT lists.ibiblio.org
- Subject: [SM-Grimoire-Bugs] [Bug 13654] New: switching ncurses to utf-8 breaks bash
- Date: 25 Mar 2007 14:34:30 -0000
http://bugs.sourcemage.org/show_bug.cgi?id=13654
Summary: switching ncurses to utf-8 breaks bash
Product: Codex
Version: stable grimoire
Platform: All
OS/Version: All
Status: NEW
Severity: critical
Priority: P1
Component: libs
AssignedTo: sm-grimoire-bugs AT lists.ibiblio.org
ReportedBy: chat AT sourcemage.org
I installed 0.9.6.3 iso and in the process of updating to stable-0.8 managed
to
break bash. Here is the sequence of events that caused the breakage.
1. Update ncurses to version 5.6 with utf-8 fonts from non-utf-8 version
2. Machine got rebooted
3. Then performed a sorcery rebuild
4. Rebuild of ncurses failed during the install phase
5. Was able to recover using cache from step 1
This is very reproducible. Here is the end of the compile log (during the
install):
cd test && /usr/bin/make DESTDIR="/tmp/sorcery/ncurses.7846" install.libs
make[1]: Entering directory `/usr/src/ncurses-5.6/test'
make[1]: Nothing to be done for `install.libs'.
make[1]: Leaving directory `/usr/src/ncurses-5.6/test'
cd c++ && /usr/bin/make DESTDIR="/tmp/sorcery/ncurses.7846" install.libs
make[1]: Entering directory `/usr/src/ncurses-5.6/c++'
/bin/install -c ../lib/libncurses++w.a
/tmp/sorcery/ncurses.7846/lib/libncurses++w.a
installing ./cursesapp.h in /tmp/sorcery/ncurses.7846/usr/include
installing ./cursesf.h in /tmp/sorcery/ncurses.7846/usr/include
installing ./cursesm.h in /tmp/sorcery/ncurses.7846/usr/include
installing ./cursesp.h in /tmp/sorcery/ncurses.7846/usr/include
installing ./cursesw.h in /tmp/sorcery/ncurses.7846/usr/include
installing ./cursslk.h in /tmp/sorcery/ncurses.7846/usr/include
installing etip.h in /tmp/sorcery/ncurses.7846/usr/include
make[1]: Leaving directory `/usr/src/ncurses-5.6/c++'
cd include && /usr/bin/make DESTDIR="" install.libs
make[1]: Entering directory `/usr/src/ncurses-5.6/include'
installing term.h in /usr/include
installing curses.h in /usr/include
installing unctrl.h in /usr/include
installing termcap.h in /usr/include
installing ./ncurses_dll.h in /usr/include
make[1]: Leaving directory `/usr/src/ncurses-5.6/include'
cd ncurses && /usr/bin/make DESTDIR="" install.libs
make[1]: Entering directory `/usr/src/ncurses-5.6/ncurses'
linking /lib/libncursesw.so.5.6
gcc -O -march=pentium4 -pipe -shared -Wl,-soname,`basename
/lib/libncursesw.so.5.6 .5.6`.5,-stats,-lc -o /lib/libncursesw.so.5.6
../obj_s/hardscroll.o ../obj_s/hashmap.o ../obj_s/lib_addch.o
../obj_s/lib_addstr.o ../obj_s/lib_beep.o ../obj_s/lib_bkgd.o
../obj_s/lib_box.o
../obj_s/lib_chgat.o ../obj_s/lib_clear.o ../obj_s/lib_clearok.o
../obj_s/lib_clrbot.o ../obj_s/lib_clreol.o ../obj_s/lib_color.o
../obj_s/lib_colorset.o ../obj_s/lib_delch.o ../obj_s/lib_delwin.o
../obj_s/lib_echo.o ../obj_s/lib_endwin.o ../obj_s/lib_erase.o
../obj_s/lib_flash.o ../obj_s/lib_gen.o ../obj_s/lib_getch.o
../obj_s/lib_getstr.o ../obj_s/lib_hline.o ../obj_s/lib_immedok.o
../obj_s/lib_inchstr.o ../obj_s/lib_initscr.o ../obj_s/lib_insch.o
../obj_s/lib_insdel.o ../obj_s/lib_insnstr.o ../obj_s/lib_instr.o
../obj_s/lib_isendwin.o ../obj_s/lib_leaveok.o ../obj_s/lib_mouse.o
../obj_s/lib_move.o ../obj_s/lib_mvcur.o ../obj_s/lib_mvwin.o
../obj_s/lib_newterm.o ../obj_s/lib_newwin.o ../obj_s/lib_nl.o
../obj_s/lib_overlay.o ../obj_s/lib_pad.o ../obj_s/lib_printw.o
../obj_s/lib_redrawln.o ../obj_s/lib_refresh.o ../obj_s/lib_restart.o
../obj_s/lib_scanw.o ../obj_s/lib_screen.o ../obj_s/lib_scroll.o
../obj_s/lib_scrollok.o ../obj_s/lib_scrreg.o ../obj_s/lib_set_term.o
../obj_s/lib_slk.o ../obj_s/lib_slkatr_set.o ../obj_s/lib_slkatrof.o
../obj_s/lib_slkatron.o ../obj_s/lib_slkatrset.o ../obj_s/lib_slkattr.o
../obj_s/lib_slkclear.o ../obj_s/lib_slkcolor.o ../obj_s/lib_slkinit.o
../obj_s/lib_slklab.o ../obj_s/lib_slkrefr.o ../obj_s/lib_slkset.o
../obj_s/lib_slktouch.o ../obj_s/lib_touch.o ../obj_s/lib_tstp.o
../obj_s/lib_ungetch.o ../obj_s/lib_vidattr.o ../obj_s/lib_vline.o
../obj_s/lib_wattroff.o ../obj_s/lib_wattron.o ../obj_s/lib_winch.o
../obj_s/lib_window.o ../obj_s/nc_panel.o ../obj_s/safe_sprintf.o
../obj_s/tty_update.o ../obj_s/varargs.o ../obj_s/memmove.o ../obj_s/vsscanf.o
../obj_s/lib_freeall.o ../obj_s/charable.o ../obj_s/lib_add_wch.o
../obj_s/lib_box_set.o ../obj_s/lib_cchar.o ../obj_s/lib_get_wch.o
../obj_s/lib_erasewchar.o ../obj_s/lib_get_wstr.o ../obj_s/lib_hline_set.o
../obj_s/lib_in_wch.o ../obj_s/lib_in_wchnstr.o ../obj_s/lib_ins_wch.o
../obj_s/lib_inwstr.o ../obj_s/lib_pecho_wchar.o ../obj_s/lib_slk_wset.o
../obj_s/lib_unget_wch.o ../obj_s/lib_vid_attr.o ../obj_s/lib_vline_set.o
../obj_s/lib_wacs.o ../obj_s/lib_wunctrl.o ../obj_s/expanded.o
../obj_s/legacy_coding.o ../obj_s/lib_dft_fgbg.o ../obj_s/lib_print.o
../obj_s/resizeterm.o ../obj_s/wresize.o ../obj_s/access.o
../obj_s/add_tries.o
../obj_s/alloc_entry.o ../obj_s/alloc_ttype.o ../obj_s/captoinfo.o
../obj_s/codes.o ../obj_s/comp_captab.o ../obj_s/comp_error.o
../obj_s/comp_expand.o ../obj_s/comp_hash.o ../obj_s/comp_parse.o
../obj_s/comp_scan.o ../obj_s/db_iterator.o ../obj_s/doalloc.o
../obj_s/fallback.o ../obj_s/free_ttype.o ../obj_s/getenv_num.o
../obj_s/home_terminfo.o ../obj_s/init_keytry.o ../obj_s/lib_acs.o
../obj_s/lib_baudrate.o ../obj_s/lib_cur_term.o ../obj_s/lib_data.o
../obj_s/lib_has_cap.o ../obj_s/lib_kernel.o ../obj_s/lib_keyname.o
../obj_s/lib_longname.o ../obj_s/lib_napms.o ../obj_s/lib_options.o
../obj_s/lib_raw.o ../obj_s/lib_setup.o ../obj_s/lib_termcap.o
../obj_s/lib_termname.o ../obj_s/lib_tgoto.o ../obj_s/lib_ti.o
../obj_s/lib_tparm.o ../obj_s/lib_tputs.o ../obj_s/lib_trace.o
../obj_s/lib_ttyflags.o ../obj_s/lib_twait.o ../obj_s/name_match.o
../obj_s/names.o ../obj_s/parse_entry.o ../obj_s/read_entry.o
../obj_s/read_termcap.o ../obj_s/setbuf.o ../obj_s/strings.o ../obj_s/tries.o
../obj_s/trim_sgr0.o ../obj_s/unctrl.o ../obj_s/visbuf.o
../obj_s/write_entry.o
../obj_s/define_key.o ../obj_s/hashed_db.o ../obj_s/key_defined.o
../obj_s/keybound.o ../obj_s/keyok.o ../obj_s/version.o -L../lib -s
/bin/sh: error while loading shared libraries: libncurses.so.5: cannot open
shared object file: No such file or directory
make[1]: *** [/lib/libncursesw.so.5.6] Error 127
make[1]: Leaving directory `/usr/src/ncurses-5.6/ncurses'
make: *** [install.libs] Error 2
During some troubleshooting I saw that after the install of ncurses with utf-8
fonts, ldd bash looks like:
linux-gate.so.1 => (0xb7f39000)
libreadline.so.5 => /lib/libreadline.so.5 (0xb7f0d000)
libhistory.so.5 => /lib/libhistory.so.5 (0xb7f07000)
libncurses.so.5 => /lib/libncurses.so.5 (0xb7ebd000)
libdl.so.2 => /lib/libdl.so.2 (0xb7eb9000)
libc.so.6 => /lib/libc.so.6 (0xb7dcc000)
/lib/ld-linux.so.2 (0xb7f3a000)
Not sure how often users will run into this, but needs to be looked at
closely.
I really thought we had all the ncurses issues solved.
--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
- [SM-Grimoire-Bugs] [Bug 13654] New: switching ncurses to utf-8 breaks bash, bugzilla-daemon, 03/25/2007
Archive powered by MHonArc 2.6.24.