Hi Andreas,
I removed the gbp.conf file from the repository and am using a local one as
you suggested. In order for the cowbuilder to work, I had to add a
.pbuilderrc file with 'COMPONENTS="main universe multiverse restricted"' in
it (as suggested here:
http://askubuntu.com/questions/174378/cowbuilder-create-distribution-lucid-fails).
I added a missing dependency to the control file and now have a successful
git-buildpackage! The output is attached, can you confirm it is all good?
So, to the next step... Should I switch back to not using pbuilder? I am
not sure I got its purpose, is it to debug the build process? I also need
to fix the lintian javascript errors.
Thanks
On 16 March 2015 at 09:29, Andreas Tille wrote:
> Hi Yves,
>
> On Mon, Mar 16, 2015 at 12:27:07AM +0100, Yves wrote:
> > Thanks Andreas, I was on the wrong path! I was trying things that were
> not
> > appropriate.
>
> No problem. MoM was initiated to help people get on the right path. ;-)
>
> > cp: cannot stat '/var/cache/pbuilder/base.cow': No such file or directory
> > Failed cowcopy.
> > gbp:error: Couldn't run '~/bin/git-pbuilder': ~/bin/git-pbuilder
> returned 1
> >
> > I hope I did not skip a policy again!
>
> You possibly found a missing part. The policy silently assumes that people
> have setup cowbuilder first.
>
>sudo apt-get install cowbuilder
>sudo cowbuilder --create
>
> (untested from memory - if it does not work please try man cowbuilder).
>
> Hope this helps
>
> Andreas.
>
> --
> http://fam-tille.de
>
>
> --
> To UNSUBSCRIBE, email to debian-med-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: https://lists.debian.org/20150316082912.ga3...@an3as.eu
>
>
I: using cowbuilder as pbuilder
dpkg-buildpackage: source package dwv-orthanc-plugin
dpkg-buildpackage: source version 0.3.1-1
dpkg-buildpackage: source distribution UNRELEASED
dpkg-buildpackage: source changed by Yves
dpkg-source -i.git -I.git --before-build dwv-orthanc-plugin
fakeroot debian/rules clean
dh clean
dh_testdir
dh_auto_clean
dh_clean
dpkg-source -i.git -I.git -b dwv-orthanc-plugin
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building dwv-orthanc-plugin using existing
./dwv-orthanc-plugin_0.3.1.orig.tar.gz
dpkg-source: info: building dwv-orthanc-plugin in
dwv-orthanc-plugin_0.3.1-1.debian.tar.gz
dpkg-source: info: building dwv-orthanc-plugin in dwv-orthanc-plugin_0.3.1-1.dsc
dpkg-genchanges -S >../dwv-orthanc-plugin_0.3.1-1_source.changes
dpkg-genchanges: including full source code in upload
dpkg-source -i.git -I.git --after-build dwv-orthanc-plugin
dpkg-buildpackage: full upload (original source is included)
-> Copying COW directory
forking: rm -rf /var/cache/pbuilder/build//cow.27972
forking: cp -al /var/cache/pbuilder/base.cow
/var/cache/pbuilder/build//cow.27972
I: unlink for ilistfile /var/cache/pbuilder/build//cow.27972/.ilist failed, it
didn't exist?
forking: chroot /var/cache/pbuilder/build//cow.27972 cowdancer-ilistcreate
/.ilist find . -xdev -path ./home -prune -o \( \( -type l -o -type f \) -a
-links +1 -print0 \) | xargs -0 stat --format '%d %i '
-> Invoking pbuilder
forking: pbuilder build --debbuildopts --debbuildopts -i\.git -I.git
--buildplace /var/cache/pbuilder/build//cow.27972 --buildresult
/var/cache/pbuilder/result/ --debbuildopts -i\.git -I.git --no-targz
--internal-chrootexec chroot /var/cache/pbuilder/build//cow.27972 cow-shell
/home/yves/dev/dwv-orthanc-plugin_0.3.1-1.dsc
I: Running in no-targz mode
I: using fakeroot in build.
I: Current time: Mon Mar 16 22:56:55 CET 2015
I: pbuilder-time-stamp: 1426543015
I: copying local configuration
I: mounting /proc filesystem
I: mounting /run/shm filesystem
I: mounting /dev/pts filesystem
I: policy-rc.d already exists
I: Obtaining the cached apt archive contents
I: Installing the build-deps
-> Attempting to satisfy build-dependencies
-> Creating pbuilder-satisfydepends-dummy package
Package: pbuilder-satisfydepends-dummy
Version: 0.invalid.0
Architecture: i386
Maintainer: Debian Pbuilder Team
Description: Dummy package to satisfy dependencies with aptitude - created by
pbuilder
This package was created automatically by pbuilder to satisfy the
build-dependencies of the package being currently built.
Depends: debhelper (>= 9), cmake (>= 2.8), python
dpkg-deb: building package `pbuilder-satisfydepends-dummy' in
`/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Selecting previously unselected package pbuilder-satisfydepends-dummy.
(Reading database ... 11866 files and directories currently installed.)
Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ...
Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ...
dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring
anyway as you requested:
pbuilder-satisfydepends-dummy depends on debhelper (>= 9); however:
Package debhelper is not installed.