Re: [MoM] dwv

2015-03-16 Thread Andreas Tille
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



[MoM] Re: [dwv-orthanc-plugin] 02/02: Buildpackage to use pdebuild.

2015-03-16 Thread Andreas Tille
Hi Yvves,

I checked your commits and found something not so good:

On Sun, Mar 15, 2015 at 10:58:39PM +, Yves Martelli wrote:
> 
> commit 717fdc371fbf5d414d90665812521fcc65deab20
> Author: ivmartel-guest 
> Date:   Sun Mar 15 23:35:56 2015 +0100
> 
> Buildpackage to use pdebuild.
> ---
>  debian/gbp.conf | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/debian/gbp.conf b/debian/gbp.conf
> new file mode 100644
> index 000..b63a25d
> --- /dev/null
> +++ b/debian/gbp.conf
> @@ -0,0 +1,2 @@
> +[DEFAULT]
> +builder = ~/bin/git-pbuilder

Here you assume that every other packager has a script
~/bin/git-pbuilder.  In the worst case he has `sudo rm -rf /` in this
script.  Well, OK anybody who names a script like this deserves the
result but I guess you understand that this is a local setting at your
side and the content belongs rather to your

   ~/.gbp.conf

than into a packages debian/gbp.conf.

Kind regards

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/20150316083527.gb3...@an3as.eu



What version of PHyML should be distributed by Debian

2015-03-16 Thread Andreas Tille
Hi Stéphane,

I'm writing you on behalf of the Debian Med team who tries to integrate free
software that is relevant in medicine and biology into official Debian.  As
you can see we also have packaged PHyML:

  http://blends.debian.org/med/tasks/bio#phyml

I noticed that the source code went from Google Code to Github and is now
maintained at

  https://github.com/stephaneguindon/phyml

I also noticed that there exist a separate location for releases:

  https://github.com/stephaneguindon/phyml-downloads/releases

This is a bit unusual since most projects use a major.minor.subminor (or
some other versioning scheme) release tagging inside the Git repository
and Github creates downloadable archives from those release tags.  But
you might have your reasons to do so.  However, the content of your
separate release area shows three different releases one is named
stable, one development and one "latest patch" (which is not as late as
development).

I wonder which of these three you personally would consider best suited
for beeing distributed by Debian - in other word you want to be used by
the "generic user of PHyML.

Kind regards

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/20150316155345.gb10...@an3as.eu



Re: [MoM] dwv

2015-03-16 Thread Yves
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.