FS#35554 - [perl-xml-sax-expat] Erro XML::Parser::Expat

Attached to Project: Community Packages
Opened by Diogo Leal (diogoleal) - Thursday, 30 May 2013, 15:06 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 04 June 2013, 20:30 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When I install perl-xml-sax-expat, error below.

Additional info:

[root@Almarem ~]# uname -a
Linux Almarem 3.9.4-1-ARCH #1 SMP PREEMPT Sat May 25 16:14:55 CEST 2013 x86_64 GNU/Linux
[root@Almarem ~]# perl -v

This is perl 5, version 18, subversion 0 (v5.18.0) built for x86_64-linux-thread-multi

Copyright 1987-2013, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

[root@Almarem ~]# date
Thu May 30 12:07:23 BRT 2013


Steps to reproduce:

[root@Almarem ~]# pacman -Syu
:: Synchronizing package databases...
testing is up to date
core is up to date
extra is up to date
community-testing is up to date
community is up to date
multilib-testing is up to date
multilib is up to date
archlinuxfr is up to date
mate is up to date
:: Starting full system upgrade...
there is nothing to do
[root@Almarem ~]# pacman -S perl-xml-sax-expat
warning: perl-xml-sax-expat-0.40-4 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Packages (1):

Name Old Version New Version Net Change

community/perl-xml-sax-expat 0.40-4 0.40-4 0.00 MiB

Total Installed Size: 0.02 MiB
Net Upgrade Size: 0.00 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [-------------------------] 100%
(1/1) checking package integrity [-------------------------] 100%
(1/1) loading package files [-------------------------] 100%
(1/1) checking for file conflicts [-------------------------] 100%
(1/1) checking available disk space [-------------------------] 100%
(1/1) reinstalling perl-xml-sax-expat [-------------------------] 100%
Perl API version v5.16.0 of XML::Parser::Expat does not match v5.18.0 at /usr/lib/perl5/core_perl/DynaLoader.pm line 213.
Compilation failed in require at /usr/lib/perl5/site_perl/XML/Parser.pm line 18.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/XML/Parser.pm line 22.
Compilation failed in require at /usr/share/perl5/site_perl/XML/SAX/Expat.pm line 11.
BEGIN failed--compilation aborted at /usr/share/perl5/site_perl/XML/SAX/Expat.pm line 11.
Compilation failed in require at /usr/share/perl5/site_perl/XML/SAX.pm line 147.
error: command failed to execute correctly
[root@Almarem ~]#
This task depends upon

Closed by  Sergej Pupykin (sergej)
Tuesday, 04 June 2013, 20:30 GMT
Reason for closing:  Not a bug
Additional comments about closing:  you have additional files from aur or manualy installed.
Comment by Diogo Leal (diogoleal) - Tuesday, 04 June 2013, 17:32 GMT
When update system with pacman -Syu

(8/9) upgrading perl-xml-sax-expat [------------------------------------------------------------] 100%
Perl API version v5.16.0 of XML::Parser::Expat does not match v5.18.0 at /usr/lib/perl5/core_perl/DynaLoader.pm line 213.
Compilation failed in require at /usr/lib/perl5/site_perl/XML/Parser.pm line 18.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/XML/Parser.pm line 22.
Compilation failed in require at /usr/share/perl5/site_perl/XML/SAX/Expat.pm line 11.
BEGIN failed--compilation aborted at /usr/share/perl5/site_perl/XML/SAX/Expat.pm line 11.
Compilation failed in require at /usr/share/perl5/site_perl/XML/SAX.pm line 147.
error: command failed to execute correctly
Comment by Sergej Pupykin (sergej) - Tuesday, 04 June 2013, 20:29 GMT
$ pacman -Ql perl-xml-parser | grep Parser.pm
perl-xml-parser /usr/lib/perl5/vendor_perl/XML/Parser.pm

$ ls -l /usr/lib/perl5/site_perl/XML/Parser.pm
ls: cannot access /usr/lib/perl5/site_perl/XML/Parser.pm: No such file or directory

Loading...