Re: Empty binary package
On Sat, 20 Jul 2013 03:11:46 +0000, T o n g wrote:
>>> Did you try to build debian binary package from there?
>>
>> So please tell me what you mean with this sentence, I just don't know
>> what you mean.
>
> build debian binary package from the source package that you just built.
>
>>> I'll get back to you in specific details later, but again just as
>>> normal.
>
> This is EXACTLY what I did (in a empty directory):
>
> dget http://mentors.debian.net/debian/pool/main/libp/libpam-ssh-agent-
> auth/libpam-ssh-agent-auth_0.9.5-2.dsc
>
> dpkg-source -x *.dsc cd libpam-ssh-agent-auth-0.9.5/
>
> debuild -us -uc
>
> As normal as building any binary package to me.
>
> The binary package built this way is empty.
>
>>>Meanwhile, when I said that "the binary package is empty", as I
>>> explained in my OP, I meant that the built binary package will not
>>> contains the files that I want. I.e., it contains nothing except the
>>> copyright & changelog files.
>>
>> That part was fully clear to me. And as I said, in my tries it was
>> always there.
>
> So you did the above normal steps as building any binary package but get
> different result? Or did you do something more than normal?
My bad.
Revisiting my work log, I suddenly realized the "source package" that I
built from is not the one that I built from the upstream source but my
already tweaked one.
Thanks for your tip on renaming the control files. Now my binary package
is no longer empty any more.
>> Sure, remove the second build target
>
> Are you saying changing the line
>
> binary: binary-indep binary-arch
>
> into:
>
> binary: binary-indep # binary-arch
>
> to remove the second binary build target?
> [ . . .]
>
> If you talked about the
>
> build %:
> dh $@
>
> line, I put them there because I want to fix the following lintian
> issues:
>
> W: libpam-ssh-agent-auth source: debian-rules-missing-recommended-
> target build-arch
> W: libpam-ssh-agent-auth source: debian-rules-missing-recommended-
> target build-indep
>
> How else should I fix it then?
So this is the remaining issue for me so far (As you can see I've tried
to find the answer myself and using the build %:\n\tdh $@ is the "answer"
that I found).
Thanks
Reply to: