Control: tag -1 + moreinfo

Hi,

On Fri, 22 Jul 2022 14:58:22 +0200 Helmut Grohne <hel...@subdivi.de> wrote:
> Antonio attempted cross building a ruby extension with a custom gem2deb
> and tried doing so with sbuild --extra-package. Apparently, that didn't
> work out.
> 
> I tried:
> 
>     sbuild --host=arm64 -d unstable --extra-package=./hostname_..._arm64.deb 
> hostname
> 
> This is kinda stupid, I know, but we see this:
> 
> | Err:4 file:/build/hostname-emvq9a/resolver-5aZssX/apt_archive ./ Packages
> |   Could not open file 
> /build/hostname-emvq9a/resolver-5aZssX/apt_archive/./Packages - open (13: 
> Permission denied)
> 
> In particular, my foreign hostname wasn't installed.
> 
> I think Antonio has found a bug.

there is a bug, yes. I am able to create a situation in which I see that line
in my log.

But I cannot reproduce the failure to install a foreign architecture binary
package passed via --extra-package. I chose src:hello to test this. I first
bumped the version with `dch -i` and then cross-built it normally to produce
hello_2.10-2.1_arm64.deb. I then added "hello:arm64 (=2.10-2.1)" to the
Build-Depends and rebuilt again with
--extra-package=/tmp/hello_2.10-2.1_arm64.deb and I get this:

Get:4 file:/build/hello-OnCNa2/resolver-xXDWfu/apt_archive ./ Packages [630 B]
Err:4 file:/build/hello-OnCNa2/resolver-xXDWfu/apt_archive ./ Packages
  Could not open file 
/build/hello-OnCNa2/resolver-xXDWfu/apt_archive/./Packages - open (13: 
Permission denied)
Get:4 file:/build/hello-OnCNa2/resolver-xXDWfu/apt_archive ./ Packages [969 B]
[...]
Get:2 file:/<<BUILDDIR>>/resolver-xXDWfu/apt_archive ./ hello 2.10-2.1 [58.2 kB]
[...]
Selecting previously unselected package hello:arm64.
Preparing to unpack .../076-hello_2.10-2.1_arm64.deb ...
Unpacking hello:arm64 (2.10-2.1) ...
[...]
Setting up hello:arm64 (2.10-2.1) ...

So yes, there is an error message from apt (no idea why it is produced yet) but
the package gets installed.

Do you have a full build log of your build failure?

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature

Reply via email to