Your message dated Thu, 16 Jan 2014 23:18:26 +0000 with message-id <[email protected]> and subject line Bug#733680: fixed in libio-all-perl 0.52-1 has caused the Debian Bug report #733680, regarding libio-all-perl: io->file->assert creates directory instead of file 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.) -- 733680: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733680 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: libio-all-perl Version: 0.50-1 Severity: important Control: block 730895 by -1 According to the POD, io->file "sets the type of the object to file and sets the pathname of the file if provided. Nevertheless, the following code (taken from POD's "create-cat-to" example) running in an empty directory generates a directory instead of a file: $ ls -l; echo foo | perl -MIO::All -e 'io("-") > io->file("./bar")->assert'; ls -l total 0 Can't open file './bar' for output: Is a directory at -e line 1. total 0 drwxr-xr-x 1 abe abe 0 Dec 30 23:51 bar/ $ With the previous 0.46-1 version of the package, this worked fine: $ ls -l; echo foo | perl -MIO::All -e 'io("-") > io->file("./bar")->assert'; ls -l total 0 total 4 -rw-r--r-- 1 abe abe 4 Dec 30 23:56 bar $ (Yes, IO::All overloads the ">" operator.) This unexpected behaviour change caused libspork-perl FTBFS (and not working in general), see http://bugs.debian.org/730895 Interestingly, this doesn't happen if I remove the assert method call -- then it works as expected (example from version 0.50-1 again): $ ls -l; echo foo | perl -MIO::All -e 'io("-") > io->file("./bar")'; ls -l total 0 total 4 -rw-r--r-- 1 abe abe 4 Dec 31 00:21 bar $ This probably also the way how we can fix #730895 without waiting for a fix in libio-all-perl. But the code to change this is in libspoon-perl and not libspork-perl. So maybe the best way to fix this would be in libio-all-perl anyway. BTW, I'm not sure which of these upstream changes caused this regression: --- version: 0.50 date: Fri Oct 18 13:08:41 PDT 2013 changes: - Fix for rt87200 --- version: 0.49 date: Fri Oct 18 01:05:39 CDT 2013 changes: - Fix various tests on Windows --- version: 0.48 date: Tue Oct 8 01:45:39 CDT 2013 changes: - Add ->os method to ::Filesys (Arthur Axel "fREW" Schmidt) --- version: 0.47 date: Mon Sep 30 18:57:52 CDT 2013 changes: - Add ->glob method to ::Dir (Arthur Axel "fREW" Schmidt) - Add list based constructors to ::Dir and ::File (Arthur Axel "fREW" Schmidt) - Add ->mimetype method to ::FileSys (Arthur Axel "fREW" Schmidt) - Add ->ext method to ::FileSys (Arthur Axel "fREW" Schmidt) - All tests should be parallelizable (Shlomi Fish) --- Also a debdiff between 0.46-1 and 0.50-1 shows nothing obvious or suspicious. -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (990, 'unstable'), (900, 'testing'), (899, 'testing-proposed-updates'), (600, 'stable'), (500, 'proposed-updates'), (200, 'experimental') Architecture: i386 (i686) Kernel: Linux 3.12-trunk-686-pae (SMP w/2 CPU cores) Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages libio-all-perl depends on: ii libspiffy-perl 0.31-1 ii perl 5.18.1-5 libio-all-perl recommends no packages. Versions of packages libio-all-perl suggests: pn libdb-file-lock-perl <none> ii libfile-readbackwards-perl 1.05-1 ii libfreezethaw-perl 0.5001-1 ii libio-string-perl 1.08-3 pn libmldbm-perl <none> -- no debconf information
--- End Message ---
--- Begin Message ---Source: libio-all-perl Source-Version: 0.52-1 We believe that the bug you reported is fixed in the latest version of libio-all-perl, 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. Axel Beckert <[email protected]> (supplier of updated libio-all-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 [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.8 Date: Thu, 16 Jan 2014 23:41:19 +0100 Source: libio-all-perl Binary: libio-all-perl Architecture: source all Version: 0.52-1 Distribution: unstable Urgency: medium Maintainer: Debian Perl Group <[email protected]> Changed-By: Axel Beckert <[email protected]> Description: libio-all-perl - Perl module for unified IO operations Closes: 733680 Changes: libio-all-perl (0.52-1) unstable; urgency=medium . * Team upload * New upstream release + io->file('…')->assert no more creates directory instead of file (Closes: #733680) Checksums-Sha1: fd05f568172c17a1dbbd140dc6a1d729220c9e82 1584 libio-all-perl_0.52-1.dsc 77d15c3931b9107e2387f980bbfa50e13c386ea8 84149 libio-all-perl_0.52.orig.tar.gz 7bc5e7d3befa7fb237311a9f7e34f92c1d093711 3944 libio-all-perl_0.52-1.debian.tar.xz 099713a9da9a7d83c938ff0fd9fbc3a8ad1112b8 61118 libio-all-perl_0.52-1_all.deb Checksums-Sha256: 5e21360646395dc6e44556c0bfd5943a21ea1371875d1d81d9f48119b595eecc 1584 libio-all-perl_0.52-1.dsc fc44b33860aaef3648408490e1cbfb57afef5c6481f312666c3c14d8166c9c24 84149 libio-all-perl_0.52.orig.tar.gz 3ce3d31f2dfbb4482b1891a8f5884806af06e773a5636b16cb9a601ddbae9626 3944 libio-all-perl_0.52-1.debian.tar.xz 8697ffb12c6e010745e7e520264d4530ce2cf3527eb7b313dd6bf61a791d5479 61118 libio-all-perl_0.52-1_all.deb Files: 776cb3e831aaece2eeb9388f13bf46a2 1584 perl optional libio-all-perl_0.52-1.dsc 9bbbd73c64de13b92327a1c2121d47bb 84149 perl optional libio-all-perl_0.52.orig.tar.gz 69238c1247de4790869e47d67cfff62d 3944 perl optional libio-all-perl_0.52-1.debian.tar.xz ce2a6b079649def5eb0cb7fe0f8c1678 61118 perl optional libio-all-perl_0.52-1_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlLYZFkACgkQwJ4diZWTDt4M6ACfba4Ts/K+CrS33RG0rZ68Lrew q5wAnip1U83SIJMy/8z19tEKz33RgWy8 =7weZ -----END PGP SIGNATURE-----
--- End Message ---

