Your message dated Sat, 27 Aug 2016 11:19:59 +0000
with message-id <[email protected]>
and subject line Bug#835447: fixed in libmodule-build-withxspp-perl 0.14-3
has caused the Debian Bug report #835447,
regarding libmodule-build-withxspp-perl: please make the output reproducible
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.)


-- 
835447: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=835447
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libmodule-build-withxspp-perl
Version: 0.14-2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: build-path
X-Debbugs-Cc: [email protected]

Hi,

Whilst working on the Reproducible Builds effort [0], I noticed that
libmodule-build-withxspp-perl was causing packages to not build
reproducibly (eg. libboost-geometry-utils-perl).

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
diff --git a/lib/Module/Build/WithXSpp.pm b/lib/Module/Build/WithXSpp.pm
index 340d51e..280d1b6 100644
--- a/lib/Module/Build/WithXSpp.pm
+++ b/lib/Module/Build/WithXSpp.pm
@@ -2,6 +2,7 @@ package Module::Build::WithXSpp;
 use strict;
 use warnings;
 
+use File::Spec;
 use Module::Build;
 use ExtUtils::CppGuess ();
 
@@ -228,11 +229,11 @@ MODULE = $module_name     PACKAGE = $module_name
 HERE
 
   my $typemap_args = '';
-  $typemap_args .= '-t "' . _naive_shell_escape(Cwd::abs_path($_)) . '" ' 
foreach keys %$xspt_files;
+  $typemap_args .= '-t "' . _naive_shell_escape(File::Spec->abs2rel($_, 
$this->build_dir)) . '" ' foreach keys %$xspt_files;
 
   foreach my $xsp_file (keys %$xsp_files) {
-    my $full_path_file = _naive_shell_escape( Cwd::abs_path($xsp_file) );
-    my $cmd = qq{INCLUDE_COMMAND: \$^X -MExtUtils::XSpp::Cmd -e xspp -- 
$typemap_args "$full_path_file"\n\n};
+    my $relative_path_file = _naive_shell_escape( 
File::Spec->abs2rel($xsp_file, $this->build_dir) );
+    my $cmd = qq{INCLUDE_COMMAND: \$^X -MExtUtils::XSpp::Cmd -e xspp -- 
$typemap_args "$relative_path_file"\n\n};
     $xs_code .= $cmd;
   }
 

--- End Message ---
--- Begin Message ---
Source: libmodule-build-withxspp-perl
Source-Version: 0.14-3

We believe that the bug you reported is fixed in the latest version of
libmodule-build-withxspp-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.
gregor herrmann <[email protected]> (supplier of updated 
libmodule-build-withxspp-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: SHA512

Format: 1.8
Date: Sat, 27 Aug 2016 13:17:32 +0200
Source: libmodule-build-withxspp-perl
Binary: libmodule-build-withxspp-perl
Architecture: source
Version: 0.14-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Perl Group <[email protected]>
Changed-By: gregor herrmann <[email protected]>
Closes: 835447
Description: 
 libmodule-build-withxspp-perl - XS++ enhanced flavour of Module::Build
Changes:
 libmodule-build-withxspp-perl (0.14-3) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Salvatore Bonaccorso ]
   * debian/control: Use HTTPS transport protocol for Vcs-Git URI
 .
   [ gregor herrmann ]
   * debian/copyright: change Copyright-Format 1.0 URL to HTTPS.
   * Add patch to make output reproducible.
     Thanks to Chris Lamb for the bug report and the patch.
     (Closes: #835447)
   * Bump debhelper compatibility level to 9.
   * Declare compliance with Debian Policy 3.9.8.
Checksums-Sha1: 
 39570dac46d656d33239be6940ceab36fafb1474 2457 
libmodule-build-withxspp-perl_0.14-3.dsc
 b9c8528d37cde79b15427f97a884899793606361 2696 
libmodule-build-withxspp-perl_0.14-3.debian.tar.xz
Checksums-Sha256: 
 2469724fba9204d45c53ab977fde4ea4e5ee30c931694e61ff6b6e5be276c9c0 2457 
libmodule-build-withxspp-perl_0.14-3.dsc
 138d6a131325bc20b91170949158ba87e613f7e8ee3fe9e41ebc5987eaf1470c 2696 
libmodule-build-withxspp-perl_0.14-3.debian.tar.xz
Files: 
 cc4385090183c13cec01e7feef56cb36 2457 perl optional 
libmodule-build-withxspp-perl_0.14-3.dsc
 ec7eed30cea8914d0a856fef3a2d5b02 2696 perl optional 
libmodule-build-withxspp-perl_0.14-3.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQJ8BAEBCgBmBQJXwXcoXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREMUUxMzE2RTkzQTc2MEE4MTA0RDg1RkFC
QjNBNjgwMTg2NDlBQTA2AAoJELs6aAGGSaoG8T0P/2OewNia+rQShadTlZ3Lyr7W
RbLtM4kXcWjBZA/VnsPji7SYh3rSH4nDyaocVsAWLny3ftBRVwP5EhMA+MfB42Kl
Eu0IbLeoHc361XqHmK5nNiwmAf9N/Ph9Ej35ec8G6JYVg16cpdiyOHGf7hmirg8m
yrpZ4Hxb7hBRJN/6oQmoUNYfLJ0ysGZi+ou6yGFHRpe6IHzPRlpm5xc6KI4fxH6w
NXtKgxnhPkvSjRUHsvKSzFAfSvzcz45NimAF5o5JJZZizBqzbkLn033Q9ALI4tFw
9+e3uMNyedJOQxky9D4lOQJ8hpxMtOTmsGoO8CkB2qCmMueYmuXZ3BcDvywkmhWS
BEKdk/6MjSnzmNRoJ34Kni29jUdAmN8pDA9LQiperue4DSB/fllbBnrXcUeJGmaP
T0w5watIeEYP5F41l+5FDFMMPFsWy4XJjJZq2DLPQDw4iE8Ts5/783e06wG2dInS
0CcObV4N/Wqo++DEtDKS7Zn4LOBh9/VfzQqeWj6oFT49PvKkddgHeFhkjwn+fJ9m
afPWLf2/MFTGtnPpTE4WE8MnW7Nrvg2evAhN0c6uL+0PjyVduJfGHsTRqN8QlfuJ
7b4YFOkOgOX18B7r+3wASCKZeAfGZobUVd/SXYpWdtqZvt36OyK0MqvmzMtFlrqP
SWZVOOp4tTWoTijNqmXt
=RQbN
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to