Your message dated Sat, 19 Mar 2016 14:33:38 -0400
with message-id <[email protected]>
and subject line Re: Bug#801398: [Patch] Replace Dpkg::IPC::spawn with 
IPC::Run::run
has caused the Debian Bug report #801398,
regarding [Patch] Replace Dpkg::IPC::spawn with IPC::Run::run
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.)


-- 
801398: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=801398
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: devscripts
Version: 2.15.9

Some time back licensecheck grew a dependency on Dpkg::IPC [1], which on Fedora causes the "devscripts-minimal" package (which includes licensecheck) to pull in dpkg. I'd like to propose the patch below to reduce the dependency load:


diff -rupN devscripts-2.15.9/scripts/licensecheck.pl devscripts-2.15.9-new/scripts/licensecheck.pl --- devscripts-2.15.9/scripts/licensecheck.pl 2015-10-06 03:00:34.000000000 +0200 +++ devscripts-2.15.9-new/scripts/licensecheck.pl 2015-10-09 12:51:12.425215534 +0200
@@ -157,7 +157,7 @@ use warnings;
 use warnings    qw< FATAL  utf8     >;
 use Encode qw/decode/;

-use Dpkg::IPC qw(spawn);
+use IPC::Run qw(run);
 use Getopt::Long qw(:config gnu_getopt);
 use File::Basename;

@@ -337,11 +337,7 @@ while (@files) {

# Encode::Guess does not work well, use good old file command to get file encoding
     my $mime;
- spawn(exec => ['file', '--brief', '--mime', '--dereference', '--', $file],
-          to_string => \$mime,
-          error_to_file => '/dev/null',
-          nocheck => 1,
-          wait_child => 1);
+    run [qw(file --brief --mime --dereference), $file], \undef, \$mime;
     my $charset ;
     if ($mime =~ m/; charset=((?!binary)(?!unknown)[\w-]+)/) {
     $charset = $1;



[1] https://github.com/Debian/devscripts/commit/c0687bcde23108dd42e146573c368b6905e6b8e8
--- End Message ---
--- Begin Message ---
Version: 2.15.10

On Fri, Oct 09, 2015 at 05:22:16PM +0200, Sandro Mani wrote:
> Some time back licensecheck grew a dependency on Dpkg::IPC [1], which on
> Fedora causes the "devscripts-minimal" package (which includes licensecheck)
> to pull in dpkg. I'd like to propose the patch below to reduce the
> dependency load:

The code which was using Dpkg::IPC has been removed, so this is no
longer ran issue.

Cheers,
-- 
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <[email protected]>

--- End Message ---
_______________________________________________
devscripts-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel

Reply via email to