Hi,
On Thu, May 31, 2012 at 06:30:24PM -0400, Antoine Beaupré wrote:
> Package: git-buildpackage
> Version: 0.6.0~git20120415
> Severity: normal
> 
> I am trying to move packaging of Drush into a separate git
> repository. So far it is an upstream branch, which makes management
> difficult so I am trying the overlay feature to get rid of this.

I've pushed a fix for this and I can now build using:

git-buildpackage  --git-overlay --git-verbose --git-export-dir=../build-area

Thanks for the steps to reproduce this.
Cheers,
 -- Guido

> 
> To reproduce:
> 
> git clone git://src.anarcat.ath.cx/pkg-drush
> wget http://ftp.drupal.org/files/projects/drush-7.x-4.5.tar.gz
> ln -s drush-7.x-4.5.tar.gz drush_4.5.orig.tar.gz
> cd pkg-drush
> git-buildpackage
> 
> You should get:
> 
> anarcat@marcos:pkg-drush$ git-buildpackage
> dh clean
>    dh_testdir
>    dh_auto_clean
>    dh_clean
> gbp:info: Orig tarball 'drush_4.5.orig.tar.gz' found at '..'
> gbp:info: Extracting drush_4.5.orig.tar.gz to 
> '/tmp/pkg-drush/build-area/drush-tmp'
> Traceback (most recent call last):
>   File "/usr/bin/git-buildpackage", line 5, in <module>
>     sys.exit(main(sys.argv))
>   File "/usr/lib/python2.7/dist-packages/gbp/scripts/buildpackage.py", line 
> 611, in main
>     export_source(repo, tree, cp, options, tmp_dir, output_dir)
>   File "/usr/lib/python2.7/dist-packages/gbp/scripts/buildpackage.py", line 
> 205, in export_source
>     extract_orig(os.path.join(tarball_dir, du.orig_file(cp, 
> options.comp_type)), dest_dir)
>   File "/usr/lib/python2.7/dist-packages/gbp/scripts/buildpackage.py", line 
> 291, in extract_orig
>     os.rename(f, os.path.join(dest_dir, os.path.basename(f)))
> OSError: [Errno 39] Directory not empty
> 
> 
> -- System Information:
> Debian Release: wheezy/sid
>   APT prefers testing
>   APT policy: (500, 'testing')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
> Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8) (ignored: 
> LC_ALL set to fr_CA.UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> Versions of packages git-buildpackage depends on:
> ii  devscripts       2.11.6
> ii  git              1:1.7.10-1
> ii  python           2.7.2-10
> ii  python-dateutil  1.5-1
> ii  python2.6        2.6.7-4
> ii  python2.7        2.7.3~rc2-2.1
> 
> Versions of packages git-buildpackage recommends:
> ii  cowbuilder    0.69
> ii  pristine-tar  1.24
> 
> Versions of packages git-buildpackage suggests:
> ii  python-notify  0.1.1-3
> ii  unzip          6.0-6
> 
> -- no debconf information
> 
> 



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to