Public bug reported: Binary package hint: netpbm
Ubuntu 9.04 and 9.10, package netpbm 2:10.0-12 and 2:10.0-12ubuntu1. ppmrainbow(1) fails unless the optional -t option is given specifying a temporary directory. 9.04: $ ppmrainbow -w 9 -h 1 red cyan | pnmnoraw Use of uninitialized value $tmpdir in sprintf at /usr/bin/ppmrainbow line 58. sh: cannot create /000.ppm: Permission denied pnmnoraw: EOF / read error reading magic number $ Line 58 is push @outlist, my $outfile = sprintf "%s/%03u.ppm", $tmpdir, $n; and $tmpdir hasn't been defined by that point unless the -t option has been given. $tempdir, note the `e', has been defined earlier, using File::Temp's tempdir, but that doesn't make use of the $tmpdir set by the command line. ppmrainbow seems confused. The -t option probably shouldn't exist; $TMPDIR in the environment is sufficient. And it doesn't work as currently documented, -t has to be given. ** Affects: netpbm-free (Ubuntu) Importance: Undecided Status: New -- ppmrainbow(1) insists on optional -t tmpdir being given https://bugs.launchpad.net/bugs/527613 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs