Your message dated Sun, 12 May 2013 10:48:34 +0000 with message-id <[email protected]> and subject line Bug#694555: fixed in mytop 1.9.1-1 has caused the Debian Bug report #694555, regarding Attempts to use Config::IniFiles on .my.cnf, fails, blows up to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 694555: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=694555 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: mytop Version: 1.6-6 Severity: important Tags: patch anthony@Zia:~$ mytop --help "my" variable $up_width masks earlier declaration in same scope at /usr/bin/mytop line 864. Can't call method "Parameters" on an undefined value at /usr/bin/mytop line 136. anthony@Zia:~ [$?=255]$ That's: if (-e $mycnf) { my $cfgini = new Config::IniFiles( -file => $mycnf ); my @sections = ('client', 'mytop'); foreach my $section (@sections) { foreach my $param ($cfgini->Parameters ($section)) #### HERE #### { $config{$param} = $cfgini->val($section, $param) if exists $config{$param}; } } Config::IniFiles wants key-value pairs. But that's not the syntax MySQL requires: anthony@Zia:~$ head -n5 .my.cnf [mysql] show-warnings sigint-ignore prompt="(\u@\h) [\d]> " pager="less -FXS" (I've omitted the rest as it contains sensitive information). Note that 'show-warnings' and 'sigint-ignore' are perfectly valid lines, but aren't key-value pairs. The right solution is to switch DBD::mysql's mysql_read_default_file and mysql_read_default_group. That's a job for upstream though. So, instead, I've included a patch to just ignore the .my.cnf if it fails to parse. -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing'), (200, 'unstable'), (150, 'stable'), (100, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.6-trunk-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages mytop depends on: ii libconfig-inifiles-perl 2.75-1 ii libdbd-mysql-perl 4.021-1+b1 ii libdbi-perl 1.622-1 ii libterm-readkey-perl 2.30-4+b2 ii perl 5.14.2-15 mytop recommends no packages. Versions of packages mytop suggests: ii perl [libtime-hires-perl] 5.14.2-15 -- no debconf informationIndex: mytop-1.6/mytop =================================================================== --- mytop-1.6.orig/mytop 2012-11-27 11:57:01.440533690 -0500 +++ mytop-1.6/mytop 2012-11-27 12:01:02.483265315 -0500 @@ -124,9 +124,16 @@ my $mycnf = "$ENV{HOME}/.my.cnf"; +my $cfgini; if (-e $mycnf) { - my $cfgini = new Config::IniFiles( -file => $mycnf ); + $cfgini = new Config::IniFiles( -file => $mycnf ); + defined $cfgini + or warn "Could not parse $mycnf (ignoring)"; +} + +if (defined $cfgini) +{ my @sections = ('client', 'mytop'); foreach my $section (@sections) {
--- End Message ---
--- Begin Message ---Source: mytop Source-Version: 1.9.1-1 We believe that the bug you reported is fixed in the latest version of mytop, which is due to be installed in the Debian FTP archive. 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 [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Werner Detter <[email protected]> (supplier of updated mytop 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 [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Sat, 13 May 2013 17:41:05 +0100 Source: mytop Binary: mytop Architecture: source all Version: 1.9.1-1 Distribution: unstable Urgency: low Maintainer: Werner Detter <[email protected]> Changed-By: Werner Detter <[email protected]> Description: mytop - top like query monitor for MySQL Closes: 500078 538164 558100 565759 590505 627300 694555 704450 Changes: mytop (1.9.1-1) unstable; urgency=low . * New upstream release (Closes: #590505, #538164, #565759, #558100, #500078) * New Maintainer (Closes: #704450) * Updating standards version to 3.9.4 * Switch to dpkg-source 3.0 (quilt) format - Add debian/source/format * Checked and recreated patchs from old upstream against new version. Recreated necessary patches against new upstream version. - Add 01_fix_pod.patch - Add 02_remove_db_test.patch - Add 03_fix_newlines.patch - Add 04_fix_unitialized.patch - Add 05_prevent_ctrl_char_printing.patch - Add 06_fix_screenwidth.patch - Add 07_add_doc_on_missing_cli_options.patch - Add 08_add_mycnf.patch, contains now error handling (Closes: #627300, #694555) - Add 09_q_is_quit.patch * Add 10_fix_warnings.patch which fixes release detection and some perl warnings * Add 11_fix_url_manpage.patch which updates upstream url in manpage * Deleted README.Source * Update to debhelper 7 * debian/copyright revised for DEP5 specifications * Recreated debian/rules * Deleted debian/menu, debian/postrm, debian/postinst, debian/prerm * Renamed mytop.example to mytop.sample.conf Checksums-Sha1: f8463b2ccee3245fd0bff89643e844911f02395e 1682 mytop_1.9.1-1.dsc 2f245459c1f465b15f0a7fe571bd5cb559c0f02e 22095 mytop_1.9.1.orig.tar.gz 2bb05c2dccbdb3a6d0b12d69eb460b8e7ab8b79c 9443 mytop_1.9.1-1.debian.tar.gz ad16eb1eeecfa8d459eaa457b66cb40f303eb727 36904 mytop_1.9.1-1_all.deb Checksums-Sha256: cbf3abb6d6c9e2c09cab9017192885207a5c5ae356d77d532dc9904099e4b87a 1682 mytop_1.9.1-1.dsc 179d79459d0013ab9cea2040a41c49a79822162d6e64a7a85f84cdc44828145e 22095 mytop_1.9.1.orig.tar.gz 686956b1007ceae5310e80c55cae713d4f463d1795ffc0351887042fe890d474 9443 mytop_1.9.1-1.debian.tar.gz 03d9410556d8e7aea6566246ebd933f3dcf10080655a03cb46fbc3f819b68fa7 36904 mytop_1.9.1-1_all.deb Files: 66ba39bd3eda8f6210a20b6db9d3992c 1682 utils optional mytop_1.9.1-1.dsc 9c9c2eee657a1ec98b5456f6ac4e0447 22095 utils optional mytop_1.9.1.orig.tar.gz 977e77f8f9325e968e0a1d133abbd3fa 9443 utils optional mytop_1.9.1-1.debian.tar.gz ff4804ecc6c0f508b5bd213bf144b9b6 36904 utils optional mytop_1.9.1-1_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJRj29MAAoJEKbcJNnaJJPRe98P/0NuLOJofgfbcq7kmOWOVSIB UP9PaIeAXYCFbsWwRwofZQa4cN5VcA6lUx163+0QM+ej/nxYmY0cseUl+hqDlYrr 2U2jahuslri77eNsPAaXt8HePbCcEnfxgPc4ZJH2MxWqhDiJXmnU4G3luouE0quD XHSBXYHUpgb2ADGLQR0pDOXLgnqFn3wJcVDFnym7gvgV+F55sPqnHCO/dlE/czsl h/lIeaKqGOYjBtScXwSmFu16AGbtYoaNCc88ph0uzRSfljr+MTi+4LFr4uWlGGoU Zo4I6S+GipdpWG0AQ+DB/6wb2Wkvh7qNtRNJqSxQ3AjiZtNLXH3SDbqv25KULeya f2vsCrJi6wym76WzONx/MGIAynCYeuTr3tcRnqCV/haERpsGAbR1+5vre5zZM0OI QPFMZebp0217SntoobnXuYM8d6OE+MWf+YBsSx/RTYTpSNwUw47nrjZT6eGdvhM4 K34TG7RXHv+Sw7S6pD/RkyyGD+uFA7oRI48/PdLfT/jk5iFALAdpAG0Ar3ukyWvj D5dYBm3M9tOhq8LBdLTQOZS8S0KiPZCH8CXaHyEHvKwY3cz0NhQC1D0mcsSJmRa3 EXexecAp3H/rrrYZhP90QdsbGOKf8rQkZEQnOd5lsMtqlqq+vsYsIC0pi4YL/6Ev JD71x6QDI+jTZpYrYo3k =4WlE -----END PGP SIGNATURE-----
--- End Message ---

