Bug#774070: dh-make-perl: Sometimes get "A branch named 'master' already exists" during recursive build

Andy Beverley andy at andybev.com
Sun Dec 28 12:07:04 UTC 2014


Package: dh-make-perl
Version: 0.75-1
Severity: normal
Tags: upstream patch

Under some circumstances when building recursively, it's possible
that Git environment variables will be set from previous builds,
(Git.pm defines them once initialised). This then means that
subsequent calls point to the wrong repo directories, generating
the error "A branch named 'master' already exists"

This patch always undefines them before each call to Git.

-- System Information:
Debian Release: 7.7
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dh-make-perl depends on:
ii  debhelper                               9.20120909
ii  dpkg-dev                                1.16.15
ii  fakeroot                                1.18.4-2
ii  libapt-pkg-perl                         0.1.26+b1
ii  libarray-unique-perl                    0.08-1
ii  libclass-accessor-perl                  0.34-1
ii  libdpkg-perl                            1.16.15
ii  libemail-address-perl                   1.895-1+deb7u1
ii  libemail-date-format-perl               1.002-1
ii  libfile-which-perl                      1.09-1
ii  liblist-moreutils-perl                  0.33-1+b1
ii  libmodule-depends-perl                  0.16-1
ii  libparse-debcontrol-perl                2.005-3
ii  libparse-debianchangelog-perl           1.2.0-1
ii  libsoftware-license-perl                0.103004-2
ii  libtie-ixhash-perl                      1.21-2
ii  libwww-mechanize-perl                   1.71-1
ii  libyaml-perl                            0.81-1
ii  make                                    3.81-8.2
ii  perl                                    5.14.2-21+deb7u2
ii  perl-modules [libmodule-corelist-perl]  5.14.2-21+deb7u2

Versions of packages dh-make-perl recommends:
ii  apt-file      2.5.1
ii  git           1:1.7.10.4-1+wheezy1
ii  pristine-tar  1.25+deb7u1

dh-make-perl suggests no packages.

-- no debconf information



More information about the pkg-perl-maintainers mailing list