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

Re: squeeze update of chrony?



Hi,
On Fri, Feb 12, 2016 at 03:51:45PM -0500, Antoine Beaupré wrote:
> On 2016-02-11 15:37:27, Vincent Blut wrote:
> > On Thu, Feb 11, 2016 at 02:02:52PM -0500, Antoine Beaupré wrote:
> >>On 2016-02-10 17:33:37, Vincent Blut wrote:
> >>> Ok, it’s done. Please could you review and eventually upload if
> >>> everything is good for you?  Note that the concerned branch is
> >>> *squeeze-lts* and the chrony-1.24 upstream tarball is in a branch named
> >>> *upstream-1.24*.
> >>
> >>Hi!
> >
> > Hello Antoine,
> >
> >
> >>I have tried to build the package using the git repo here:
> >>
> >>git://anonscm.debian.org/collab-maint/chrony.git
> >
> > Could you please give it another shot, I updated the series file?
> 
> Alright, it works...
> 
> >>... i guess i'm not familiar enough with non-quilt packages to handle
> >>this, but I'd be curious to hear how you build the package from the git
> >>repo.
> >
> > If you want to build it from the git tree, the following should suffice:
> > $git clone https://anonscm.debian.org/git/collab-maint/chrony.git
> > $git checkout squeeze-lts
> > $gbp buildpackage --git-pbuilder --git-debian-branch=squeeze-lts --git-upstream-branch=upstream-1.24
> 
> Oddly, enough, that is worse for me - but it is probably related to my

Can you post the invocation and the error you're seeing (probably better
t git-buildpackage@packages.debian.org since this is off topic).

> specific git-buildpackage setup (it tries to build in my sid
> chroot). This works:
> 
> DIST=squeeze ARCH=amd64 git-buildpackage --git-debian-branch=squeeze-lts --git-upstream-branch=upstream-1.24

I think you don't have to pass the upstream branch at all since gbp will
pick up the tag corrssponding with the version from the changelog so:

    gbp buildpackage --git-dist=squeeze --git-debian-branch=debian/squeeze-lts

should be enough or

    gbp buildpackage --git-dist=DEP14 --git-debian-branch=debian/squeeze-lts

so it will derive the distribution from the branch you're building from.
Cheers,
 -- Guido


Reply to: