[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#241884: tbp-initarchive does not handle relative working_location correctly



Coin,

Gregory Colpart <reg@evolix.fr> writes:

> Have you concrete examples for this problem?
> Did you try to reproduce bug with last version?

I'm not using tbp anymore, but i succeeded in reproducing the bug.

# cd /tmp
# tbp-initarchive duck@duckcorp.org--toto /tmp/arch workdir
(notice 'workdir' is a relative path)
# mkdir workdir/+packages; cd workdir/+packages
(i copied one of my packages, tofu, managed through arch)
# cd tofu-0.5; tla-buildpackage
 * dpkg-parsechangelog
 * dpkg-parsechangelog
Current working directory /tmp/workdir/+packages/tofu-0.5
is not part of working copy build area
 /tmp/workdir/+packages/tofu-0.5/workdir/+packages/tofu/tofu-0.5
Exiting.
# cat ~/.tla-buildpackage
workdir

Instead of looking for /tmp/workdir, it is appending the relative path i
gave on the command line to the current path. This is due to
tbp-initarchive not expanding the path before creating the
~/.tla-buildpackage config file.

Regards

-- 
Marc Dequènes (Duck)

Attachment: pgpnzlCZsddAN.pgp
Description: PGP signature


Reply to: