Bug#835447: libmodule-build-withxspp-perl: please make the output reproducible

Chris Lamb lamby at debian.org
Thu Aug 25 19:37:23 UTC 2016


Hi gregor,

> I assume the problem that the full (and thereby arbitrary/random)
> path is includeded/used somewhere and your patch changes this to a
> path relative to the build directory.

Exactly. The call to Cwd::abs_path introduces the build directory into
target:

  http://i.imgur.com/IYdackI.jpg

There's a fair amount of indirection going on here as the INCLUDE_COMMAND
is actually executed later on in the build.

Simply dropping the abs_path call would not work as the typemap files are
not present within the build directory when XS actually evaluates the line.

Hope that helps.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-



More information about the pkg-perl-maintainers mailing list