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

Re: Errors Packaging Nebula, length of package name



On Sun, Jul 04, 2021 at 12:45:49AM +0530, Nilesh Patra wrote:
> Hi Geert,

Hi All,

 
> 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?
 
Nope,  got it working with `uscan -dd`.
And thanks for telling about `origtargz`.


> 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

Original poster added to CC:


> 
> 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

That looks indeed like a solution to

|The following packages have unmet dependencies:                                                                       
| sbuild-build-depends-main-dummy : Depends: golang-metrics-dev but it is not installable                              
|E: Unable to correct problems, you have held broken packages.                                                         
|apt-get failed.                                                                                                       
|E: Package installation failed                                                                                        
|Not removing build depends: cloned chroot in use

 
> 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

Thanks


Groeten
Geert Stappers
-- 
Silence is hard to parse


Reply to: