Ah. The -dev packages are meant to include only source code, so they are
architecture-independent (= they work on, say, i386 and amd64 computers).

Your binaries need to go into a separate, architecture-dependent, package.
See e.g.
https://sources.debian.org/src/codesearch/0.0~hg20120502-3/debian/control/
for a package which ships both binaries and a -dev package.

Hope that helps,

On Sun, Dec 23, 2018 at 4:28 PM Utkarsh Gupta <[email protected]>
wrote:

>
> On Sun, Dec 23, 2018 at 8:53 PM Michael Stapelberg <[email protected]>
> wrote:
>
>> I cannot find the word “binary-error” in the output you linked. Which of
>> the numerous errors specifically are you referring to?
>>
>>
> I'm referring to the following errors:
> 1. E: golang-github-sebest-xff-dev:
> arch-independent-package-contains-binary-or-object usr/bin/negroni
> 2. E: golang-github-sebest-xff-dev: unstripped-binary-or-object
> usr/bin/negroni
> 3. E: golang-github-sebest-xff-dev:
> arch-independent-package-contains-binary-or-object usr/bin/nethttp
> 4. E: golang-github-sebest-xff-dev: unstripped-binary-or-object
> usr/bin/nethttp
> 5. E: golang-github-sebest-xff-dev: missing-dependency-on-libc needed by
> usr/bin/negroni and 1 others
>
>
>> On Sun, Dec 23, 2018 at 4:21 PM Utkarsh Gupta <[email protected]>
>> wrote:
>>
>>> Hey.
>>>
>>> I was trying to build a package and was running "lintian" on it. And got
>>> the following error: https://paste.debian.net/1057146/
>>>
>>> What am I supposed to do regarding the "binary-error"?
>>>
>>> Thanks,
>>> Utkarsh Gupta
>>>
>>
>>
>> --
>> Best regards,
>> Michael
>>
>

-- 
Best regards,
Michael

Reply via email to