Bug#847284: pkg-perl-autopkgtest: use.t needs to be run in a writable directory
Niko Tyni
ntyni at debian.org
Tue Dec 6 22:53:21 UTC 2016
Package: pkg-perl-autopkgtest
Version: 0.34
User: debian-perl at lists.debian.org
Usertags: autopkgtest
Control: affects -1 libdevel-nytprof-perl
The libdevel-nytprof-perl package recently started failing its autopkgtest
checks, as seen at
https://ci.debian.net/packages/libd/libdevel-nytprof-perl/unstable/amd64/
# NYTProf failed to open 'nytprof.out' for writing, error 13: Permission denied at /usr/lib/x86_64-linux-gnu/perl5/5.24/Devel/NYTProf.pm line 43.
This seems to be because of the fix for #837137 in pkg-perl-autopkgtest
0.34: use.t is no longer run in the package source directory, we chdir to
"/" instead. Apparently Devel::NYTProf wants to write a file to cwd when
used and now fails.
The requirement does seem sensible. I suppose we need to chdir to a
temporary directory ($ADTTMP, which is apparently called $AUTOPKGTEST_TMP
nowadays). Not sure why I didn't think of that when fixing #837137.
--
Niko Tyni ntyni at debian.org
More information about the pkg-perl-maintainers
mailing list