[request-tracker-maintainers] Building RT from our git repo?
Andrew Ruthven
andrew at etc.gen.nz
Sat Jul 4 14:03:52 BST 2020
I worked out what was wrong. I have git configured with
diff.noprefix=true which prevents showing "a/" and "b/" in git diffs.
Turns out dpkg-source and friends don't like that, they expect there to
be a directory (possibly even a and b).
I removed that setting and now I can build the packages.
Cheers,
Andrew
On Sat, 2020-07-04 at 12:12 +0100, Dominic Hargreaves wrote:
> I don't think I've ever run git-dpm prepare before... if you run
> the commands in the README.source, I think dpkg-buildpackage should
> work fine afterwards - that's the expectation - the master branch
> should always be buildable using the vanilla tools.
>
> (my workflow is generally dpkg-buildpackage -us -uc -S && cd .. &&
> sbuild ... but that shouldn't make a difference if you're building
> on the right Debian release, but for final testing sbuild or
> equivalent
> is obviously recommended)
>
> Cheers
> Dominic
>
> On Sat, Jul 04, 2020 at 08:49:46PM +1200, Andrew Ruthven wrote:
> > Hey,
> >
> > Okay, this may be a dumb question, but how do I build the package
> > from
> > the git repo? When I run the following (from the git-dpm man page):
> >
> > git-dpm prepare && dpkg-buildpackage -rfakeroot -us -uc
> >
> > I get:
> >
> > dpkg-buildpackage: info: source package request-tracker5
> > dpkg-buildpackage: info: source version 5.0.0beta2-1
> > dpkg-buildpackage: info: source distribution UNRELEASED
> > dpkg-buildpackage: info: source changed by Andrew Ruthven <
> > andrew at etc.gen.nz>
> > dpkg-buildpackage: info: host architecture amd64
> > dpkg-source --before-build .
> > dpkg-source: error: none of the filenames in ---/+++ are valid in
> > diff
> > 'request-tracker5/debian/patches/layout.diff' (line 16)
> > dpkg-buildpackage: error: dpkg-source --before-build . subprocess
> > returned exit status 255
> > puck at dirk:~/work/RT/request-tracker5$
> >
> > I imported the orig tarballs using the commands given in
> > debian/README.source .
> >
> > Cheers,
> > Andrew
> > --
> > Andrew Ruthven, Wellington, New Zealand
> > andrew at etc.gen.nz |
> > Catalyst Cloud: | This space intentionally left
> > blank
> > https://catalystcloud.nz |
> >
> >
> > _______________________________________________
> > pkg-request-tracker-maintainers mailing list
> > pkg-request-tracker-maintainers at alioth-lists.debian.net
> > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-request-tracker-maintainers
--
Andrew Ruthven, Wellington, New Zealand
andrew at etc.gen.nz |
Catalyst Cloud: | This space intentionally left blank
https://catalystcloud.nz |
More information about the pkg-request-tracker-maintainers
mailing list