http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8402
--- Comment #2 from M. Tompsett <[email protected]> --- While thinking over the problem of Test::MockModule and DBD::Mock not being installed, I was chatting with "eythian" on the IRC channel. It turns out that that debian/update-control scripts uses the list-deps script which works it magic back to PerlDependencies.pm $ cd debian $ grep ": lib" control | wc -l 1 $ grep "^ lib" control | wc -l 85 $ cd ../install_misc $ grep "^\s*lib" debian.packages | wc -l 102 $ cd ../C4/Installer $ less PerlDependencies.pm # I visually inspected to make sure everything was a tuple $ grep "min_ver" PerlDependencies.pm | wc -l 106 Now here's one possible reason for the difference: two libraries (blah::foo::bar and blah::foo) are in the same package (libblah-foo-perl). Useful commands that came to mind: $ grep "^ '" PerlDependencies.pm | cut -f2 -d"'" | sort > ~/PerlDepsPerl.txt $ grep "^ '" PerlDependencies.pm | cut -f2 -d"'" | sort | sed -e "s#::#-#g" | tr "[:upper:]" "[:lower:]" | perl -e "@data=<STDIN>; for \$line (@data) { chomp \$line; print \"lib\$line-perl\\n\"; }" > ~/PerlDepsLib.txt $ grep "^ '" PerlDependencies.pm | cut -f2 -d"'" | sort | sed -e "s#::#\/#g" | perl -e "@data=<STDIN>; for \$line (@data) { chomp \$line; print \"\$line.pm\\n\"; }" > ~/PerlDepsPath.txt $ cd $ for i in `cat PerlDepsPath.txt`; do echo $i; apt-file search -x "^/usr/((lib|share)/perl5|(lib|share)/perl/[0-9.]+)/$i\$"; done My thoughts are that install_misc/debian.packages could easily be built with a little bit of extra scripting, when the debian/control file is generated. Though, I still need to understand how the |'s are handled in the control file, as they are listed as two lines in the sample for loop above. This beginning to wade into the bowels of debian packaging stuffs also may have demonstrated that I need to tweak that check_deps.sh script some -- choose the non-xpm version of GD. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
