On 26/07/15 15:33, Ian Jackson wrote:
> Control: tags 793671 + patch pending
>
> Ian Jackson writes ("Re: Bug#793671: dgit clone python-numpy experimental
> fails"):
>> dgit needs to get rid of things like this. (Currently it bails if it
>> finds .git in the package toplevel, but I think it would be better if
>> it removed this, and .git anywhere else too. Perhaps with a warning.)
>
> A fix for this is here, or in the patch below.
>
> http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=shortlog;h=refs/heads/fix.793671
>
> (NB that is the result of a rebase onto 1.0, so the future history
> will not descend from that.)
Thanks for your prompt response and patch!
I have tried it out, and it seems to work, however there is a similar
looking issue when building the package.
$ dgit build
dpkg-buildpackage: source package python-numpy
dpkg-buildpackage: source version 1:1.9.2-1
dpkg-buildpackage: source distribution experimental
dpkg-buildpackage: source changed by Sandro Tosi <[email protected]>
dpkg-buildpackage: host architecture amd64
fakeroot debian/rules clean
dh clean --with python2,python3
dh_testdir
debian/rules override_dh_auto_clean
make[1]: Entering directory '/tmp/python-numpy'
dh_auto_clean
python-dbg setup.py clean -a
running clean
'build/lib.linux-x86_64-2.7-pydebug' does not exist -- can't clean it
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-2.7' does not exist -- can't clean it
[72875 refs]
python setup.py clean -a
running clean
'build/lib.linux-x86_64-2.7' does not exist -- can't clean it
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-2.7' does not exist -- can't clean it
find . -name \*.pyc -exec rm {} \+
rm -rf `find -name build -type d`
rm -rf `find . -name "*.pyc" -type f`
rm -rf doc/fontList.cache numpy/f2py/docs/usersguide/index.html
rm -rf doc/source/reference/generated
# cython generated
rm -f numpy/random/mtrand/mtrand.c
make[1]: Leaving directory '/tmp/python-numpy'
dh_clean
Format `3.0 (quilt)', checking/updating patch stack
HEAD is now at 3d29e58
fatal: Not a git repository:
/home/vagrant/repos/numpy/.git/modules/doc/sphinxext
dgit: failed command: git add .
dgit: subprocess failed with error exit status 128
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]