Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 93615

Summary: cscope fails to start with -d
Product: Gentoo Linux Reporter: Aron Griffis (RETIRED) <agriffis>
Component: Current packagesAssignee: Emacs project <emacs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: chutz+bugs.gentoo.org, vim
Priority: High    
Version: unspecified   
Hardware: All   
OS: Other   
Whiteboard:
Package list:
Runtime testing required: ---

Description Aron Griffis (RETIRED) gentoo-dev 2005-05-22 16:05:34 UTC
cscope has trouble reading a database it created earlier.  For example:

cscope -b   # build database
cscope -d   # start without rebuilding db
<exits with error status>

This also affects vim, which attempts to start cscope with -d (or at least accesses it in a similar manner).

I've seen this problem on x86 and amd64 so far.

------------------------
Portage 2.0.51.22-r1 (!/usr/portage/profiles/default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.11
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.15.92.0.2-r8
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/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/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/X11/Sessions /etc/X11/app-defaults /etc/X11/gdm /etc/X11/rstart /etc/X11/serverconfig /etc/X11/starthere /etc/X11/sysconfig /etc/X11/xdm /etc/X11/xinit /etc/X11/xkb /etc/ethereal /etc/gconf /etc/gnome-vfs-2.0 /etc/gtk-2.0 /etc/init.d /etc/pam.d /etc/postfix/sample /etc/sound /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/usr/distfiles"
FEATURES="autoaddcvs autoconfig cvs digest distlocks sandbox sign"
GENTOO_MIRRORS="http://olive
http://mirrors.tds.net/gentoo
http://mirrors.tds.net/gentoo http://distfiles.gentoo.org"
LANG="en_US.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/home/agriffis/portage"
SYNC="no thank you"
USE="amd64 X acpi alsa apache2 bash-completion berkdb bitmap-fonts cdr crypt cscope cups curl decss dvd eds encode evo fam flac font-server fortran gdbm gif gnome gstreamer gtk gtk2 imagemagick imap imlib ipv6 jack java jp2 jpeg ladcca lcms libg++ libwww lzw lzw-tiff mad mailwrapper motif mozcalendar mozilla mozsvg mp3 ncurses nls nptl ofx ogg oggvorbis oss pam pda perl png python qt readline ruby sdl ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb userlocales vorbis wmf xml2 xmms xpm xrandr xv zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Georgi Georgiev 2005-07-31 17:32:26 UTC
Aaaaah...

this bug should depend on Bug #100172 

It is the broken fprintf behavior that breaks cscope. :(


Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2005-07-31 17:58:37 UTC

*** This bug has been marked as a duplicate of 100172 ***