Bug#875677: devscripts: mk-build-deps creates the build-dep package in the wrong directory

Martin Schwenke martin at meltin.net
Wed Nov 1 00:45:18 UTC 2017


On Wed, 13 Sep 2017 21:03:14 -0400 James McCoy <jamessan at debian.org>
wrote:
> Control: reassign -1 equivs 2.1.0
> Control: affects -1 + devscripts
> 
> On Wed, Sep 13, 2017 at 02:26:55PM +0200, Jiri Palecek wrote:
> > while making a build-dep package, mk-build-deps writes:
> > 
> > dpkg-deb: vytvářím balík ,,kwin-build-deps" v ,,../kwin-build-deps_5.10.5-2_i386.deb".
> > 
> > The package has been created.
> > Attention, the package has been created in the current directory,
> > not in ".." as indicated by the message above!
> > 
> > However, the generated package is not in the current directory as
> > stated, nor in the parent directory, but in $TMP. Please fix that, or
> > the message.
> 
> That message is generated by equivs-build.  That equivs-build actually
> honors $TMPDIR now is a recent change, which isn't documented in the man
> page and isn't reflected in the output, as noted above.

Right.  The real question is why build in $TMPDIR if not building
in /tmp when TMPDIR is unset?

I think you want the resulting package to end up in the current
directory.  This is an obvious result, as evidenced by the output of
the equivs-build command.

My opinion is that the "fix" for bug #660765 is a regression and should
be reverted.

peace & happiness,
martin



More information about the pkg-perl-maintainers mailing list