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

Bug 108510

Summary: viewcvs-1.0_pre20050929 diff feature broken
Product: Gentoo Linux Reporter: Michael Cramer <portage>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael Cramer 2005-10-08 09:53:45 UTC
after emerging the latest viewcvs version:
[ebuild   R   ] www-apps/viewcvs-1.0_pre20050929  -apache +apache2 +cvsgraph
+enscript +mod_python +mysql -standalone +vhosts 0 kB
browsing my repo and want to view diffs between two revisions the error under
actual results occuers.
after looking through the web i found these link:
http://archive.netbsd.se/?ml=viewcvs&a=2005-10&t=1354679 and the provided patch
at the end of this topic fixed the problem for me. perhaps including these patch
in the actuall ebuild or put a newer snapshot in portage

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

Actual Results:  
An Exception Has Occurred
Python Traceback

Traceback (most recent call last):
  File "/var/www/bigmichi1.dyns.cx/viewcvs/lib/viewcvs.py", line 3283, in main
    request.run_viewcvs()
  File "/var/www/bigmichi1.dyns.cx/viewcvs/lib/viewcvs.py", line 376, in run_viewcvs
    self.view_func(self)
  File "/var/www/bigmichi1.dyns.cx/viewcvs/lib/viewcvs.py", line 2522, in view_diff
    fp = request.repos.rawdiff(p1, rev1, p2, rev2, diff_type, diff_options)
  File "/var/www/bigmichi1.dyns.cx/viewcvs/lib/vclib/bincvs/__init__.py", line
278, in rawdiff
    raise vclib.Error("Error parsing diff headers")
Error: Error parsing diff headers



Expected Results:  
should display the diff

Portage 2.0.53_rc4 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2,
2.6.13-Gentoo-2005.1 i686)
=================================================================
System uname: 2.6.13-Gentoo-2005.1 i686 Pentium III (Coppermine)
Gentoo Base System version 1.12.0_pre8
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/lib/fax /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks maketest sandbox sfperms
strict test userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 7zip X X509 Xaw3d a52 aac aalib accessibility acl acpi activefilter aio
alsa amuled aotuv apache2 apm ares arts artswrappersuid artworkextra asterisk
async athena atm audiofile authfile automount avi bash-completion bcmath berkdb
big-tables bitmap-fonts boo browserplugin bzip2 bzlib cairo calendar caps cdb
cddb cdr cjk clamav cli cpdflib crypt css ctype cups curl curlwrappers cvsgraph
dba dbi dbus dga dio directfb divx4linux djbfft dlloader dmx dnd doc dpms drac
dts dv dvd dvdr dvdread dynagraph ecc eds elf emacs emboss encode enscript
erandom esd examples exif expat extraengine fam fame fbcon ffmpeg fftw flac
flash flatfile fltk font-server fontconfig foomaticdb fortran fpx freetds
freetts freewnn ftp gd gdbm geometry ggi gif gimp gimpprint glep glitz gmp gnome
gnomedb gnutls gpgme gphoto2 gpm graphviz gs gstreamer gtk gtk2 gtkhtml guile
hal hesiod howl hpn icc iconv icu idea idled idn ieee1394 imagemagick imap imlib
inifile innodb insecure-drivers insecure-savers ipv6 ithreads jack jack-tmpfs
java java-external javascript jbig jce jpeg jpeg2k justify kdeenablefinal
kerberos kqemu latex lcms ldap leim libcaca libg++ libwww linuxthreads-tls lirc
lm_sensors logrotate lzo mad mbox mbrola md5sum memlimit mgetty mhash mikmod
mime ming mjpeg mkconfig mmap mmx mng mod_python mono motif mozcalendar
mozdevelop mozilla mozsvg mozxmlterm mp3 mpeg mpi mpm-prefork mssql mule
musepack mysql mysqli nas ncurses neXt netboot network new-login nfs nis nls
nntp no_wxgtk1 nptl nptlonly nsplugin oav objc odbc offensive ogg oggvorbis
on-the-fly-crypt openexr opengl oss pam pam_chroot pam_console pam_timestamp
parse-clocks pccts pcntl pcre pcsc-lite pdflib pdo-external pear perl perlsuid
pg-hier pg-intdatetime php physfs pic png pop portaudio posix postgres ppds
prelude profile pvm pwdb python qt quicktime quotas readline real remote rle rpm
rrdtool ruby samba sample sasl sdk sdl sendfile sensord session sftplogging
shaper sharedmem silc simplexml skey slang slp smartcard smime smp smux sndfile
snmp soap sockets socks5 softquota speex spell spl sqlite srp sse ssl stats svg
svga symlink sysfs syslog sysvipc tcltk tcpd test tetex theora threads tidy tiff
tokenizer toolbar truetype truetype-fonts type1-fonts ucs2 unicode urandom usb
utf8 v4l vcd vda vhosts vidix vorbis wddx win32codecs winbind wmf wxwindows
xemacs xface xine xinerama xinetd xml xml2 xmlrpc xmms xpm xprint xsl xv xvid
xvmc yaz yv12 zeroconf zip zlib video_cards_ati128 linguas_de userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-10-08 09:59:39 UTC
This is also covered by Bug 107033.

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