git-build-recipe 'nest' fails if directory exists (bzr-builder works)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
git-build-recipe (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
# fresh bionic container, as root.
$ apt-get update && apt-get install git-build-recipe bzr-builder
$ bzr branch lp:simplestreams trunk.dist
# 460 is the last functional bzr version
$ bzr branch -r 460 trunk.dist upstream-bzr
$ bzr branch lp:~simplestreams-dev/simplestreams/pkg-trusty pkg-trusty
$ git clone https:/
$ cat recipe-bzr
# bzr-builder format 0.3 deb-version 0.1.0~bzr{
./upstream-bzr
nest packaging ./pkg-trusty debian
$ cat recipe-git
# git-build-recipe format 0.4 deb-version {latest-
./upstream-git master
nest packaging ./upstream-git debian ubuntu/
$ cat run-bzr
#!/bin/sh
bzr -Derror dailydeb --safe --no-build \
--manifest=
--distribut
--append-
$ cat run-git
#!/bin/sh
git-build-recipe --safe --no-build \
--manifest=
--distribut
--append-
$ ./run-bzr
Building tree.
Retrieving './upstream-bzr' to put at './worktree-
Retrieving './pkg-trusty' to put at './worktree-
$ ./run-git
Traceback (most recent call last):
File "/usr/bin/
load_
File "/usr/lib/
build_
File "/usr/lib/
_build_
File "/usr/lib/
instruction
File "/usr/lib/
target_
File "/usr/lib/
pull_
File "/usr/lib/
raise TargetAlreadyEx
gitbuildrecipe.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: git-build-recipe 0.3.5
ProcVersionSign
Uname: Linux 4.17.0-6-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
Date: Mon Aug 20 20:12:59 2018
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
LANG=C.UTF-8
SourcePackage: git-build-recipe
UpgradeStatus: No upgrade log present (probably fresh install)