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

Re: Errors Packaging Nebula, length of package name



Hi Geert,

On 03/07/21 08:55 PM, Geert Stappers wrote:
> > > Run lintian with the --info flag. I think that it makes
> > > lintian to reveal which filename is the culprit.
> > > 
> 
> My attempts failed on not being able to build the package.
> 
> Both `sbuild` and `debuild -uc -us` complain about missing  .orig.tar.xz

Did you run `$ origtargz` before starting a build?

I'm pasting what works, in case that helps you

$ gbp clone git@salsa.debian.org:flu0r1ne/golang-github-nbrownus-go-metrics-prometheus.git
$ cd golang-github-nbrownus-go-metrics-prometheus
$ origtargz

Then you need to replace a build-dep here. @Alex, please fix this as
well

diff --git a/debian/control b/debian/control
index 9a547f6..d631dd3 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,7 @@ Build-Depends: debhelper-compat (= 12),
                dh-golang,
                golang-any,
                golang-github-stretchr-testify-dev,
-               golang-metrics-dev,
+               golang-github-rcrowley-go-metrics-dev,
                golang-prometheus-client-dev
 Standards-Version: 4.5.1
 Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-nbrownus-go-metrics-prometheus

Post this, simply

$ sbuild -s

This works, hope that helps
You also might want to give the "New workflow" thingy here[1] a quick
look

[1]: https://go-team.pages.debian.net/workflow-changes.html

Nilesh

Attachment: signature.asc
Description: PGP signature


Reply to: