FS#25825 - [perl-www-mechanize] packages from the AUR which depend on it don't work
Attached to Project:
Community Packages
Opened by Uli (Army) - Tuesday, 30 August 2011, 11:36 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 01 September 2011, 21:35 GMT
Opened by Uli (Army) - Tuesday, 30 August 2011, 11:36 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 01 September 2011, 21:35 GMT
|
Details
Summary and Info:
I discovered this problem with two applications, both depend on perl-www-mechanize only. I'm talking about xkcd-git and get-flash-videos-git from the AUR. Both used to work before. Here's the output. % xkcd Can't locate HTML/Form.pm in @INC (@INC contains: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at /usr/share/perl5/vendor_perl/WWW/Mechanize.pm line 133. BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/WWW/Mechanize.pm line 133. Compilation failed in require at /usr/bin/vendor_perl/xkcd line 10. BEGIN failed--compilation aborted at /usr/bin/vendor_perl/xkcd line 10. % get_flash_videos http://www.*secret*.de/*** Can't locate HTML/Form.pm in @INC (@INC contains: /usr/bin/site_perl/lib /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at /usr/share/perl5/vendor_perl/WWW/Mechanize.pm line 133. BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/WWW/Mechanize.pm line 133. Compilation failed in require at /usr/lib/perl5/site_perl/FlashVideo/Mechanize.pm line 3. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/FlashVideo/Mechanize.pm line 3. Compilation failed in require at /usr/lib/perl5/site_perl/FlashVideo/URLFinder.pm line 5. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/FlashVideo/URLFinder.pm line 5. Compilation failed in require at /usr/bin/site_perl/get_flash_videos line 45. BEGIN failed--compilation aborted at /usr/bin/site_perl/get_flash_videos line 45. Additional info: * package version(s) My pacman log shows this [2011-08-05 08:37] upgraded perl-www-mechanize (1.64-1 -> 1.68-1) This must have been about the time when the errors started. * config and/or log files etc. none Steps to reproduce: Install either xkcd-git or get-flash-videos-git from the AUR and execute them. I also tested gpsdrive, which is the only package in the repos which depends on perl-www-mechanize. This one works, maybe that's the reason why this problem wasn't discovered. |
This task depends upon
Btw, I upgraded package to 1.70-1. Please try it.
% echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/java/bin:/opt/java/db/bin:/opt/java/jre/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/lib/perl5/vendor_perl/bin:/usr/bin/core_perl:/home/army/.bin
Anything else I can provide? I also reinstalled perl-libwww just in case, didn't change anything.
Should I open a new bugreport? Because this one is simply wrong, since perl-libwww is the problem, not perl-www-mechanize.
The solution is simple, we make a new perl-html-form package and we add perl-html-form as a dependency of perl-www-mechanize. The perl-html-form dependency is missing in perl-www-mechanize. This did not used to matter when perl-html-form was bundled with perl-libwww but it does now. I will push a package for perl-html-form to the SVN and I will ask to have it moved to [testing]. perl-html-form should be moved to [extra] when all the other package perl-libwww was split up into are moved to [extra].
PS I am using a generator due to hurricane Irene in america so if I flake out the generator has probably run out of gas :P
Hope this bug is fixed now.