dpkg-source: info: local changes detected and gbp:error: Cannot parse archive name
- To: debian-mentors@lists.debian.org
- Subject: dpkg-source: info: local changes detected and gbp:error: Cannot parse archive name
- From: Marcin Dulak <marcin.dulak@gmail.com>
- Date: Sun, 31 May 2015 17:03:29 +0200
- Message-id: <[🔎] 556B22C1.2000708@gmail.com>
- In-reply-to: <20150531141655.C4B9A259@bendel.debian.org>
- References: <20150531141535.19905246@bendel.debian.org> <20150531141539.9E528259@bendel.debian.org> <556B17CE.9020506@gmail.com> <20150531141655.C4B9A259@bendel.debian.org>
Hi,
i'm trying to make my first deb package:
https://lists.debian.org/debian-science/2015/05/msg00074.html
and running into problems:
Problem 1.
While following
https://wiki.debian.org/IntroDebianPackaging#Step_4:_Build_the_package
$ debuild -us -uc
...
dpkg-source: info: building gpaw using existing
./gpaw_0.10.0.11364.orig.tar.gz
dpkg-source: info: local changes detected, the modified files are:
gpaw-0.10.0.11364/configuration.log
...
It looks to me like the configuration.log file, which is written during
compilation of gpaw
is treated as a source modification. How should I handle this?
I'm using the following debian/rules
#####################################
#!/usr/bin/make -f
DH_VERBOSE=1
PYTHON2=$(shell pyversions -vr)
%:
dh $@ --buildsystem=python_distutils --with=python2
test-python%:
set -ex && mkdir tmp && cd tmp && \
PYTHONPATH=../ python$* ../tools/gpaw-test && \
cd - && rm -rf tmp; \
override_dh_auto_test: $(PYTHON2:%=test-python%)
#####################################
Problem 2.
I would also like to upload the files to git.debian.org. I already setup
http://anonscm.debian.org/cgit/debian-science/packages/gpaw.git
and while following
https://wiki.debian.org/Games/VCS/git#Uploading_a_package_to_the_repository
on a local machine getting an error:
$ git import-dsc --pristine-tar gpaw.dsc
gbp:error: Cannot parse archive name from '/root/gpaw.dsc'
My gpaw.dsc is below (i tried to guess the contents based on other
similar packages):
#####################################
Format: 3.0 (quilt)
Source: gpaw
Binary: gpaw
Architecture: any
Version: 0.10.0.11364-1
Maintainer: Marcin Dulak <Marcin.Dulak@gmail.com>
Homepage: https://wiki.fysik.dtu.dk/gpaw/
Build-Depends: debhelper (>= 9),
python-all-dev (>= 2.6),
libblas-dev,
liblapack-dev,
mpi-default-bin,
mpi-default-dev,
libblacs-mpi-dev,
libscalapack-mpi-dev,
openssh-client,
libxc-dev,
gpaw-setups,
python-ase
Package-List:
gpaw deb science optional arch=any
Checksums-Sha1:
c09f8bb3a99e072cea1b3755e211aa366389fb49 gpaw_0.10.0.11364.orig.tar.gz
Checksums-Sha256:
d6b8af8c531baae76b6ace918586db359b96315b75c7630d5cee9805e0483a23
gpaw_0.10.0.11364.orig.tar.gz
Files:
a14f715484afceb370889a47d7c69efc gpaw_0.10.0.11364.orig.tar.gz
#####################################
Best regards,
Marcin
Reply to: