DA bug report logs -
#229178
libxml-sax-perl: Problem installing package (conflicts with CPAN version of SAX.pm)
Reported by: Etienne Pollard <etienne@ejhp.net>
Date: Fri, 23 Jan 2004 15:03:02 UTC
Severity: normal
Found in version 0.12-3
Fixed in version libxml-sax-perl/0.16+dfsg-1
Done: Niko Tyni <ntyni@iki.fi>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to
debian-bugs-dist@lists.debian.org, Ardo van Rangelrooij <ardo@debian.org>:
Bug#229178; Package
libxml-sax-perl.
Full text and
rfc822 format available.
Acknowledgement sent to
Etienne Pollard <etienne@ejhp.net>:
New Bug report received and forwarded. Copy sent to
Ardo van Rangelrooij <ardo@debian.org>.
Full text and
rfc822 format available.
Message #5 received at submit@bugs.debian.org (full text, mbox):
Package: libxml-sax-perl
Version: 0.12-3
Severity: normal
Ardo,
I've been having some trouble installing the debian package libxml-sax-perl; the problem seems to be that XML/SAX.pm was already
installed via CPAN (as a dependency for another module); the configuration stage of libxml-sax-perl runs the script
/usr/bin/update-perl-sax-parsers, which calls XML::SAX->save_parsers_debian(..) (line 90). Now, if SAX.pm has already been installed
by CPAN it will not contain save_parsers_debian, so the script will die (there is no check carried out for this function actually
being present, nor does the script attempt to recover if the function is missing).
The CPAN version of SAX.pm *does* contain a function called save_parsers - my "solution" was simply to comment out line 90 in
/usr/bin/save-perl-sax-parsers and replace it with 'XML::SAX->save_parsers( $add, $directory[0] );'
This will probably cause me pain at some point, but I couldn't find any other way (and I wasn't keen to simply delete the existing
SAX.pm, in case it broke some other CPAN module).
I'm not sure quite what the way forward is here, especially since there isn't 100% overlap between CPAN and apt-get; is there any
mileage in trying to modify the debian version of CPAN.pm, perhaps to install the relevant debian packages where the are available? I
haven't checked to see if it already does this, or something like it, but given what happened with SAX.pm and libxml-sax-perl, I;d
guess not.
Thanks,
Etienne Pollard
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux hall9001 2.4.23.2003-01-09 #1 SMP Fri Jan 9 20:35:03 GMT 2004 i686
Locale: LANG=C, LC_CTYPE=C
Versions of packages libxml-sax-perl depends on:
ii libxml-namespacesupport-perl 1.08-3 Perl module for supporting simple
ii perl 5.8.2-2 Larry Wall's Practical Extraction
-- no debconf information
Information forwarded to
debian-bugs-dist@lists.debian.org:
Bug#229178; Package
libxml-sax-perl.
Full text and
rfc822 format available.
Acknowledgement sent to
Ardo van Rangelrooij <ardo@debian.org>:
Extra info received and forwarded to list.
Full text and
rfc822 format available.
Message #10 received at 229178@bugs.debian.org (full text, mbox):
Hi,
See /usr/share/doc/libxml-sax-perl/README.Debian.gz.
Thanks,
Ardo
Etienne Pollard (etienne@ejhp.net) wrote:
> Package: libxml-sax-perl
> Version: 0.12-3
> Severity: normal
>
> Ardo,
>
> I've been having some trouble installing the debian package libxml-sax-perl; the problem seems to be that XML/SAX.pm was already
> installed via CPAN (as a dependency for another module); the configuration stage of libxml-sax-perl runs the script
> /usr/bin/update-perl-sax-parsers, which calls XML::SAX->save_parsers_debian(..) (line 90). Now, if SAX.pm has already been installed
> by CPAN it will not contain save_parsers_debian, so the script will die (there is no check carried out for this function actually
> being present, nor does the script attempt to recover if the function is missing).
>
> The CPAN version of SAX.pm *does* contain a function called save_parsers - my "solution" was simply to comment out line 90 in
> /usr/bin/save-perl-sax-parsers and replace it with 'XML::SAX->save_parsers( $add, $directory[0] );'
>
> This will probably cause me pain at some point, but I couldn't find any other way (and I wasn't keen to simply delete the existing
> SAX.pm, in case it broke some other CPAN module).
>
> I'm not sure quite what the way forward is here, especially since there isn't 100% overlap between CPAN and apt-get; is there any
> mileage in trying to modify the debian version of CPAN.pm, perhaps to install the relevant debian packages where the are available? I
> haven't checked to see if it already does this, or something like it, but given what happened with SAX.pm and libxml-sax-perl, I;d
> guess not.
>
> Thanks,
>
> Etienne Pollard
>
> -- System Information:
> Debian Release: testing/unstable
> Architecture: i386
> Kernel: Linux hall9001 2.4.23.2003-01-09 #1 SMP Fri Jan 9 20:35:03 GMT 2004 i686
> Locale: LANG=C, LC_CTYPE=C
>
> Versions of packages libxml-sax-perl depends on:
> ii libxml-namespacesupport-perl 1.08-3 Perl module for supporting simple
> ii perl 5.8.2-2 Larry Wall's Practical Extraction
>
> -- no debconf information
--
Ardo van Rangelrooij
home email: ardo@debian.org
home page: http://people.debian.org/~ardo
GnuPG fp: 3B 1F 21 72 00 5C 3A 73 7F 72 DF D9 90 78 47 F9
Information forwarded to
debian-bugs-dist@lists.debian.org, Ardo van Rangelrooij <ardo@debian.org>:
Bug#229178; Package
libxml-sax-perl.
Full text and
rfc822 format available.
Acknowledgement sent to
EJH Pollard <etienne@ejhp.net>:
Extra info received and forwarded to list. Copy sent to
Ardo van Rangelrooij <ardo@debian.org>.
Full text and
rfc822 format available.
Message #15 received at 229178@bugs.debian.org (full text, mbox):
ardo,
> See /usr/share/doc/libxml-sax-perl/README.Debian.gz.
thanks for the pointer - I neglected to mention in the bug report that I
had already read that file, and had noted the "please don't do this"
comment with respect to CPAN installation of XML::SAX.
in the case where the module XML::SAX has already been installed via
CPAN, being told after the fact that one shouldn't have installed the
CPAN version isn't much help!
what is the recommended course of action here - simply deleting
/usr/local/share/perl/<xx>/XML/SAX.pm, or something else? it might be
useful if README.Debian reflected whatever you recommend (I could write
a detailed entry if you let me know roughly what should happen).
>>The CPAN version of SAX.pm *does* contain a function called save_parsers - my "solution" was simply to comment out line 90 in
>>/usr/bin/save-perl-sax-parsers and replace it with 'XML::SAX->save_parsers( $add, $directory[0] );'
for instance, noting that this change allows the package to be
configured might be a good thing to have in README.Debian?
thanks,
etienne
--
EJH Pollard
"While I'm not one to be selfish about credit, I think
it's important to note that it is done, and I did it."
-- Josh Lynam (Deputy Chief of Staff in The West Wing)
Information forwarded to
debian-bugs-dist@lists.debian.org, Jay Bonci <jaybonci@debian.org>:
Bug#229178; Package
libxml-sax-perl.
Full text and
rfc822 format available.
Acknowledgement sent to
Streph Treadway <sbt@ginkwunk.net>:
Extra info received and forwarded to list. Copy sent to
Jay Bonci <jaybonci@debian.org>.
Full text and
rfc822 format available.
Message #20 received at 229178@bugs.debian.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi, All,
This old bug is the result of a number of people (including myself) who
have installed SAX.pm from CPAN and later attempted to install the
Debian libxml-sax-perl. This behavior is discouraged in
/usr/share/doc/libxml-sax-perl/README.Debian, but as Etienne points out,
this message necessarily comes too late to people in our circumstances.
I did the following, and it might be worth suggesting in README.Debian.
First remove the CPAN version without removing any dependencies. I
believe the script at:
http://www.cpan.org/misc/cpan-faq.html#How_delete_Perl_modules
accomplishes this. It must be modified for the correct debian path to
perl (/usr/bin/perl). Call the script remove.pl or something and do:
# ./remove.pl XML::SAX
Once the CPAN version is gone, the libxml-sax-perl package will install.
Hope this helps. Of course it doesn't deal with the underlying problems of
having a mixed Debian/CPAN perl system.
Yours,
Streph
--
_____
/_____\ Moebius .sig Math Teacher
\ \ / / Streph Treadway Attorney
\_\_/ GPG KeyID: CDAF8CEF Boston Driver
[signature.asc (application/pgp-signature, inline)]
Notification sent to
Etienne Pollard <etienne@ejhp.net>:
Bug acknowledged by developer.
Full text and
rfc822 format available.
Message #25 received at 229178-close@bugs.debian.org (full text, mbox):
Source: libxml-sax-perl
Source-Version: 0.16+dfsg-1
We believe that the bug you reported is fixed in the latest version of
libxml-sax-perl, which is due to be installed in the Debian FTP archive:
libxml-sax-perl_0.16+dfsg-1.diff.gz
to pool/main/libx/libxml-sax-perl/libxml-sax-perl_0.16+dfsg-1.diff.gz
libxml-sax-perl_0.16+dfsg-1.dsc
to pool/main/libx/libxml-sax-perl/libxml-sax-perl_0.16+dfsg-1.dsc
libxml-sax-perl_0.16+dfsg-1_all.deb
to pool/main/libx/libxml-sax-perl/libxml-sax-perl_0.16+dfsg-1_all.deb
libxml-sax-perl_0.16+dfsg.orig.tar.gz
to pool/main/libx/libxml-sax-perl/libxml-sax-perl_0.16+dfsg.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 229178@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Niko Tyni <ntyni@iki.fi> (supplier of updated libxml-sax-perl package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Tue, 27 Nov 2007 21:13:59 +0200
Source: libxml-sax-perl
Binary: libxml-sax-perl
Architecture: source all
Version: 0.16+dfsg-1
Distribution: experimental
Urgency: low
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Changed-By: Niko Tyni <ntyni@iki.fi>
Description:
libxml-sax-perl - Perl module for using and building Perl SAX2 XML processors
Closes: 229178 240356 295398 332440 420867 430118 441473 452872
Changes:
libxml-sax-perl (0.16+dfsg-1) experimental; urgency=low
.
[ Niko Tyni ]
* New maintainer: Debian Perl Group
+ leave Jay Bonci in the Uploaders field.
* Acknowledge NMUs. (Closes: #441473)
* Add support for SAX parser priorities.
+ lower the XML::SAX::PurePerl priority so that it will not be the
default parser anymore if any others are available. (Closes: #430118)
* Move the /etc/perl/XML/SAX/ParserDetails.d directory under
/var/lib/libxml-sax-perl, since it's not really configuration data.
* Use ucf to manage local changes to /etc/perl/XML/SAX/ParserDetails.ini.
* Remove the pre-sarge preinst cleanup of /etc/XML and /etc/perl/SAX
introduced in 0.12-3.
+ Now survives systems with a leftover symlink /etc/perl/XML -> .
(Closes: #240356)
* Point to the compressed file in XML::SAX::save_parsers(). (Closes: #332440)
* Recommend libxml-sax-expat-perl and explain this in the package
description. (Closes: #420867)
* Upgrade to debhelper compatibility level 5.
* Upgrade to Standards-Version 3.7.2. No changes needed.
* Don't install the upstream README file, there's no information in it.
* Update debian/copyright.
* Add explanations in the examples to clarify why they look like
stray maintainer scripts. (Closes: #295398)
* Various improvements in debian/rules.
+ remove generated files in the 'clean' target.
* Update debian/watch.
* Move the examples under debian/, they are Debian-specific.
* Use quilt to manage debian/patches.
+ charset-decoding: Fix charset decoding in the PurePerl module (#405186)
+ parserdetails-debian: The Debian way of handling ParserDetails.ini
+ skip-test-with-nonfree-file: skip tests in t/16large.t depending on
a non-free input file.
* Move update-perl-sax-parsers under debian/ in the source package, it's
Debian-specific.
* Remove an unused Debian modification: XML::SAX->load_parsers() doesn't
accept the '$file' argument anymore.
* README.Debian: add a pointer to the CPAN FAQ entry on uninstalling local
modules. Thanks to Streph Treadway <sbt@ginkwunk.net>. (Closes: #229178)
* Make update-perl-sax-parsers bail out with an informative error message
if there's a locally installed XML::SAX module breaking the installation.
(See #229178)
* Repackage the upstream tarball to remove the non-free
testfiles/xmltest.xml file. (Closes: #452872)
* Add the Homepage, Vcs-Svn and Vcs-Browser fields to debian/control.
* Upload to experimental for now because of the scope of the changes.
Test reports welcome, including 'it works for me'.
.
[ Damyan Ivanov ]
* Move $(QUILT_STAMPFN) dependency from build to build-stamp
* Add XS-DM-Upload-Allowed: yes to debian/control so Niko Tyni can exercise
his DM powers :)
Files:
e665cc15f5fee449c41178823e60b4dc 980 perl optional libxml-sax-perl_0.16+dfsg-1.dsc
73f92a1cc31752abab5af88d804ff584 51176 perl optional libxml-sax-perl_0.16+dfsg.orig.tar.gz
8fdb62033acdde0c1b609d1346457337 13335 perl optional libxml-sax-perl_0.16+dfsg-1.diff.gz
ea4f2f2346bc8310bf152be8c0072f00 83468 perl optional libxml-sax-perl_0.16+dfsg-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHVDlPHqjlqpcl9jsRAuTOAKCJLikWkVgM76dKK0YSufKMYqBTwgCfZZba
5UUfXTi0CAmMlvjV1+wNyqw=
=wI45
-----END PGP SIGNATURE-----
Bug archived.
Request was from
Debbugs Internal Request <owner@bugs.debian.org>
to
internal_control@bugs.debian.org.
(Sun, 23 Mar 2008 07:33:02 GMT)
Full text and
rfc822 format available.
Send a report that this bug log contains spam.
Don Armstrong <don@donarmstrong.com>.
Last modified:
Thu Sep 2 19:31:18 2010;
Machine Name:
crito.ucr.edu
DA bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.