<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>74279</bug_id>
          
          <creation_ts>2004-12-13 06:55 0000</creation_ts>
          <short_desc>valknut / dclib broken by recent libxml2 upgrade</short_desc>
          <delta_ts>2004-12-21 03:47:11 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>marienz@gentoo.org</reporter>
          <assigned_to>net-p2p@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>marienz@gentoo.org</who>
            <bug_when>2004-12-13 06:55:20 0000</bug_when>
            <thetext>After upgrading to libxml2-2.6.16 valknut couldn&apos;t read it&apos;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=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-O2 -march=athlon-xp -pipe -fomit-frame-pointer -fweb -frename-registers&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/env.d&quot;
CXXFLAGS=&quot;-O2 -march=athlon-xp -pipe -fomit-frame-pointer -fweb -frename-registers&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs autoconfig candy ccache distlocks noauto sandbox sfperms
userpriv usersandbox&quot;
GENTOO_MIRRORS=&quot;http://ftp.easynet.nl/mirror/gentoo/
http://www.gigaload.org/gentoo.org/&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.nl.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>marienz@gentoo.org</who>
            <bug_when>2004-12-13 06:56:14 0000</bug_when>
            <thetext>Created an attachment (id=45909)
patch to dclib

Fix the handling of return codes from libxml2</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>marienz@gentoo.org</who>
            <bug_when>2004-12-13 06:58:05 0000</bug_when>
            <thetext>Created an attachment (id=45910)
patch to the ebuild to apply the patch
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>marienz@gentoo.org</who>
            <bug_when>2004-12-13 06:59:22 0000</bug_when>
            <thetext>(From update of attachment 45910)
(sorry, got it reversed, but you get the idea :)
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>squinky86@gentoo.org</who>
            <bug_when>2004-12-13 13:59:43 0000</bug_when>
            <thetext>fixed in portage in dclib-0.3.3-r1; thanks for your submission :)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>teutzz@mymail.ro</who>
            <bug_when>2004-12-15 08:20:46 0000</bug_when>
            <thetext>the new verion (r1) doesn&apos;t help either</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>marienz@gentoo.org</who>
            <bug_when>2004-12-15 08:38:02 0000</bug_when>
            <thetext>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?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>teutzz@mymail.ro</who>
            <bug_when>2004-12-21 03:47:11 0000</bug_when>
            <thetext>it works now, but have no ideea why, anyway all&apos;s well when it ends well  :P</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>45909</attachid>
            <date>2004-12-13 06:56 0000</date>
            <desc>patch to dclib</desc>
            <filename>cxml.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGRjbGliLm9yaWcvZGNsaWIvY29yZS9jeG1sLmNwcAkyMDA0LTA4LTEyIDEwOjMyOjA2LjAw
MDAwMDAwMCArMDIwMAorKysgZGNsaWIvZGNsaWIvY29yZS9jeG1sLmNwcAkyMDA0LTExLTI3IDE5
OjQ0OjU2Ljc3NjQ3Nzk2NSArMDEwMApAQCAtMTQ1LDEyICsxNDUsMTIgQEAKIAogCXJlcyA9IFVU
RjhUb2lzb2xhdDEoIGIsICZvdXRsZW4sICh1bnNpZ25lZCBjaGFyKilzLCAmaW5sZW4gKTsKIAot
CWlmICggcmVzID09IC0yICkKKwlpZiAoIHJlcyA+PSAwICkKKwkJciA9IChjaGFyKiliOworCWVs
c2UgaWYgKCByZXMgPT0gLTIgKQogCQlwcmludGYoIlVURjhUb2lzb2xhdDEgdHJhbnNjb2Rpbmcg
ZmFpbDogJyVzJ1xuIixzKTsKIAllbHNlIGlmICggcmVzID09IC0xICkKIAkJcHJpbnRmKCJVVEY4
VG9pc29sYXQxIGZhaWw6ICclcydcbiIscyk7Ci0JZWxzZSBpZiAoIHJlcyA9PSAwICkKLQkJciA9
IChjaGFyKiliOwogCWVsc2UKIAkJcHJpbnRmKCJDWG1sOjp4bWxfVVRGOFRvaXNvbGF0MSBlcnJv
ciAlZFxuIixyZXMpOwogCkBAIC0xNzgsMTAgKzE3OCwxMCBAQAogCiAJcmVzID0gaXNvbGF0MVRv
VVRGOCggYiwgJm91dGxlbiwgKHVuc2lnbmVkIGNoYXIqKXMsICZpbmxlbiApOwogCi0JaWYgKCBy
ZXMgPT0gLTEgKQorCWlmICggcmVzID49IDAgKQorCSAgICAgICAgciA9IChjaGFyKiliOworCWVs
c2UgaWYgKCByZXMgPT0gLTEgKQogCQlwcmludGYoImlzb2xhdDFUb1VURjggZmFpbDogJyVzJ1xu
IixzKTsKLQllbHNlIGlmICggcmVzID09IDAgKQotCQlyID0gKGNoYXIqKWI7CiAKIAlmcmVlKGIp
Owo=
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>45910</attachid>
            <date>2004-12-13 06:58 0000</date>
            <desc>patch to the ebuild to apply the patch</desc>
            <filename>dclib.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC91c3IvbG9jYWwvcG9ydGFnZS9uZXQtcDJwL2RjbGliL2RjbGliLTAuMy4zLmVidWlsZAky
MDA0LTEyLTEzIDE1OjU2OjU2LjE0MzAxNjk1MiArMDEwMAorKysgL3Vzci9wb3J0YWdlL25ldC1w
MnAvZGNsaWIvZGNsaWItMC4zLjMuZWJ1aWxkCTIwMDQtMTEtMTEgMjI6MzY6MTMuMDAwMDAwMDAw
ICswMTAwCkBAIC0xOSw3ICsxOSw2IEBACiAJdW5wYWNrICR7QX0KIAljZCAke1N9CiAJWyBgZ2Nj
LW1ham9yLXZlcnNpb25gID09IDIgXSAmJiBlcGF0Y2ggJHtGSUxFU0RJUn0vJHtQfS1nY2MyLnBh
dGNoCi0JZXBhdGNoICR7RklMRVNESVJ9L2N4bWwucGF0Y2ggfHwgZGllICJlcGF0Y2ggZmFpbGVk
IgogfQogCiBzcmNfaW5zdGFsbCgpIHsK
</data>        

          </attachment>
    </bug>

</bugzilla>