On 4/29/19 8:09 AM, Cirujano Cuesta, Silvano wrote:

> On Mon, 2019-04-29 at 07:29 -0400, Reinhard Tartler wrote:
>> I'm having a hard time understanding what issue you are facing with and what 
>> you mean fix "fix manually". How are you building the package? Are you using 
>> git-buildpackage, sbuild or pbuilder? I'd
>> strongly recommend to do so, because if you were, I cannot see how you 
>> possibly could run into such issues.
> 
> I'm using none of them, I'm building "the hard way": in a container (from 
> Docker base image debian:sid-slim) with a script that runs the individual 
> steps and builds with 'dpkg-buildpackage'.
> It should be possible to build these packages this way, right? It usually 
> works.

I'm not familiar with building packages that way, please excuse my ignorance, 
but I'd rather focus on tools that I can actually use for uploading packages to 
Debian. I'm afraid that I'm probably unable to help you with this baseimage 
and/or approach to build packages.

> I prefer not to use too much magic (although using containers involves per-se 
> some magic) to better understand what's going on.

Same here. I took a look at 
https://github.com/debuerreotype/docker-debian-artifacts/blob/064f343bfa6ebf043aac2bbd4c870256cfe82f5a/sid/slim/Dockerfile
 and it does look pretty magical to me ;-)

There is not much magic with sbuild, please see https://wiki.debian.org/sbuild 
to get started. 

> What I meant with "fix manually" is executing "rm ostree/ostree_src.go" right 
> after patching and before building.
> 
> I don't know if the 'magic' of any of the mentioned tools is just silently 
> fixing the issue for you and that's why you are not facing it...
> 
>> In any case, a full buildlog, similar to what I attached, could be helpful. 
>> If English is a language barrier, try explaining in German.
> 
> I don't think that it's a language barrier.
> But possibly an expertise barrier: my expertise on building Debian packages 
> (specially for Go) is not as extensive as yours :-)

I don't claim extensive experience with Go, or Go packaging, but I think I do 
have a reasonable grasp of Debian packaging tools.

What I find puzzling in your buildlog is that while you do use 
dpkg-buildpackage, it fails to apply the quilt patches.

Good luck!
-rt

Reply via email to