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

Re: Bug#782543: ITP: gpaw -- DFT and beyond within the projector-augmented wave method



Hi,


On Fri, Jul 10, 2015 at 3:13 PM, Andreas Tille <andreas@an3as.eu> wrote:
Hi Marcin,

On Fri, Jul 10, 2015 at 03:01:28PM +0200, Marcin Dulak wrote:
> debian dir is hopefully already there.

Now its there.

> I'm getting now:
> $ sudo apt-get install -y git-buildpackage
> $ git clone http://anonscm.debian.org/cgit/debian-science/packages/gpaw.git

Please use rather

   gbp clone ssh://git.debian.org/git/debian-science/packages/gpaw.git


(the important part is "gbp clone" - the ssh: URL is just to get a
non-annonymous clone to enable you commiting.)

> $ gbp buildpackage
> gbp:error: upstream/0.10.0.11364 is not a valid treeish

Sure.  Git fetches only master branch.  Simply use gbp (or fetch branches
upstream and pristine-tar manually at your preference).

i don't understand the process, but my impression is that somehow *orig.tar.gz is missing.
What I see is that the error "gbp:error: upstream/0.10.0.11364 is not a valid treeish"
goes away if I create gpaw_0.10.0.11364.orig.tar.gz in the .. directory.
Moreover:
$ git checkout upstream && ls && git checkout master
Switched to branch 'upstream'
Your branch is up-to-date with 'origin/upstream'.
build  config.py   configuration.log  debian  LICENSE    README.txt  setup.py
c      config.pyc  customize.py       gpaw    PKG-INFO    setup.cfg   tools
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.

So the upstream branch contained the gpaw source.
Then I did, inspired by http://honk.sigxcpu.org/projects/git-buildpackage/manual-html/gbp.import.html:
$ gbp import-orig ../gpaw_0.10.0.11364.orig.tar.gz
What is the upstream version? [0.10.0.11364]
gbp:info: Importing '../gpaw_0.10.0.11364.orig.tar.gz' to branch 'upstream'...
gbp:info: Source package is gpaw
gbp:info: Upstream version is 0.10.0.11364
gbp:info: Merging to 'master'
gbp:info: Successfully imported version 0.10.0.11364 of ../gpaw_0.10.0.11364.orig.tar.gz
$ git push
$ rm -rf ../gpaw*
$ cd ..
$ gbp clone ssh://git.debian.org/git/debian-science/packages/gpaw.git
$ cd gpaw
$ gbp buildpackage
gbp:error: upstream/0.10.0.11364 is not a valid treeish

So the orig.tar.gz seems to be needed still. With it in .., gbp buildpackage gives:
...
E: gpaw: missing-dependency-on-numpy-abi
..

In order to perform the build on Debian 7 I configure the Debian 7 repository from:
https://wiki.fysik.dtu.dk/ase/download.html#installation-with-package-manager-on-linux
and: sudo apt-get install -y python-ase gpaw-setups
 

> I couldn't find any gbp guides specific for debian science.

There is no specifix guide for Debian Science.  It works as for any
other package with gbp.

After a very quick look:

  debian/control:  Please use the maintainer list as Maintainer and yourself
                   as uploader (if you have no idea what I'm talking about
                   have a look at any other Debian Science package.
  debian/files: Please delete, thats autogenerated and should not be in Git
  debian/watch: Missing

this should be fixed now.

Marcin
 

Hope this helps

     Andreas.

--
http://fam-tille.de


--
To UNSUBSCRIBE, email to debian-science-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] 20150710131344.GU31582@an3as.eu" rel="noreferrer" target="_blank">https://lists.debian.org/[🔎] 20150710131344.GU31582@an3as.eu



Reply to: