On Sat, 2022-12-17 at 12:07:22 +0100, Niels Thykier wrote:
> On Fri, 16 Dec 2022 13:13:34 -0500 Garrett Kajmowicz wrote:
> > One other possibly-related item of note (I can file a separate bug if you 
> > like)
> > and which may have an existing solution:
> > Passing in --buildinfo-option=-u/out still results in a -O option which
> >   refers to the wrong directory. That is, I get the following:
> >     dpkg-genbuildinfo -u/out --build=binary 
> > -O../<package>_2.0.6-1_amd64.buildinfo
> >     dpkg-genbuildinfo: error: cannot write 
> > ../<package>_2.0.6-1_amd64.buildinfo.new: Permission denied
> > 
> > This resulted from an experiment where I was copying the source code to
> > a temporary directory with read/write permissions, but where the parent
> > directory was not writable.

> If it is a bug, then it is a separate one for dpkg. I will let Guillem
> comment on that.

After checking this, I think I'd consider this at most a missing
feature, related to the overall request here, and as part of that to be
able to specify a different global "upload-files-dir".

But for now I think you should be able to overcome this by using the
dpkg-buildpackage --buildinfo-file option.

Thanks,
Guillem

Reply via email to