Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74279 - valknut / dclib broken by recent libxml2 upgrade
Summary: valknut / dclib broken by recent libxml2 upgrade
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-13 06:55 UTC by Marien Zwart (RETIRED)
Modified: 2004-12-21 03:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to dclib (cxml.patch,800 bytes, patch)
2004-12-13 06:56 UTC, Marien Zwart (RETIRED)
Details | Diff
patch to the ebuild to apply the patch (dclib.patch,366 bytes, patch)
2004-12-13 06:58 UTC, Marien Zwart (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marien Zwart (RETIRED) gentoo-dev 2004-12-13 06:55:20 UTC
After upgrading to libxml2-2.6.16 valknut couldn't read it's configuration files anymore. This is caused by a small change in the libxml api. The valknut forums have more information on this (http://dcgui.berlios.de/forum/viewtopic.php?t=2668) and a patch. Applying this patch fixed the problem for me. Attaching patch and modified ebuild in a second.

Setting this as major, as it makes the app pretty useless.

Reproducible: Always
Steps to Reproduce:
1. emerge valknut and dclib (0.3.3 here, other versions are probably affected too)
2. emerge libxml2-2.6.16
3. start, configure, restart valknut

Actual Results:  
valknut lost all settings

Expected Results:  
remembered the settings

Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0,
 2.6.9-gentoo-r9-m1 i686)   
=================================================================
System uname: 2.6.9-gentoo-r9-m1 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.7
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Nov  8 2004, 18:55:58)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r1
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -fweb -frename-registers"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -fweb -frename-registers"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks noauto sandbox sfperms
userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/
http://www.gigaload.org/gentoo.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X alsa ansi apm avi bitmap-fonts cdr crypt dga edl emacs f77
faad fbcon flac foomaticdb fortran gnome gstreamer gtk2 imagemagick javascript
jit jpeg libcaca libg++ libwww maildir md5sum mikmod mmx mmx2 mng mozdevelop
mozsvg mpeg ncurses nethack network nls nntp no-old-linux no_wxgtk1 nptl
nptlonly oggvorbis pam png python qemu-fast quicktime readline real rtc softmmu
spell sse ssl svg tetex truetype unicode userlocales x86 xml2 xv zlib"
Comment 1 Marien Zwart (RETIRED) gentoo-dev 2004-12-13 06:56:14 UTC
Created attachment 45909 [details, diff]
patch to dclib

Fix the handling of return codes from libxml2
Comment 2 Marien Zwart (RETIRED) gentoo-dev 2004-12-13 06:58:05 UTC
Created attachment 45910 [details, diff]
patch to the ebuild to apply the patch
Comment 3 Marien Zwart (RETIRED) gentoo-dev 2004-12-13 06:59:22 UTC
Comment on attachment 45910 [details, diff]
patch to the ebuild to apply the patch

(sorry, got it reversed, but you get the idea :)
Comment 4 Jon Hood (RETIRED) gentoo-dev 2004-12-13 13:59:43 UTC
fixed in portage in dclib-0.3.3-r1; thanks for your submission :)
Comment 5 Teutz 2004-12-15 08:20:46 UTC
the new verion (r1) doesn't help either
Comment 6 Marien Zwart (RETIRED) gentoo-dev 2004-12-15 08:38:02 UTC
It did help here. What problems do you have? Although it seems unlikely this will help (looks like the linking is dynamic) did you try remerging valknut after updating dclib?
Comment 7 Teutz 2004-12-21 03:47:11 UTC
it works now, but have no ideea why, anyway all's well when it ends well  :P