[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: setting up a sbuild chroot - which key?



Hi,

John Paul Adrian Glaubitz wrote:
Yes, you need “buildd”.

Oh, I thought that buildd was only for participating in debian build not for local builds.

So let me retry:

sudo sbuild-createchroot unstable debian-powerpc --arch=powerpc --variant=buildd --include=debian-ports-archive-keyring --keyring /usr/share/keyrings/debian-ports-archive-keyring.gpg http://ftp.ports.debian.org/debian-ports


Unknown option: variant
E: Error parsing command-line options

Manpage [1] says sbuild-createchroot is equivalent to debootstrap --variant=buildd --include=fakeroot,build-essential, so it seems that variant is implicit.


so I remove my local debian-powerpc directory and cleanups suggested by sbuild-destroychroot,

I reissue: (difference from my first attempt is --arch=powerpc)

sudo sbuild-createchroot unstable debian-powerpc --arch=powerpc --include=debian-ports-archive-keyring --keyring /usr/share/keyrings/debian-ports-archive-keyring.gpg http://ftp.ports.debian.org/debian-ports




Did you run sbuild-createchroot and did it succeed?
There is no bookworm for powerpc, just sid.

Ok.. wrong supposition, all is fine. sbuild-createchroot appears to have completed fine.

Ok, then that shouldn't be the issue.


Last libesfrom sbuild-createchroot are:
E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
(Reading database ... 11843 files and directories currently installed.)
Preparing to unpack .../linux-libc-dev_6.7.12-1_all.deb ...
Unpacking linux-libc-dev (6.7.12-1) over (6.7.9-2) ...
Setting up linux-libc-dev (6.7.12-1) ...
I: Successfully set up unstable chroot.

I hope the log issue is harmless. Chroot should be set up.


+==============================================================================+
| python2.7 2.7.18-13.2 (powerpc)              Fri, 10 May 2024 11:17:06 +0000 |
+==============================================================================+

Package: python2.7
Version: 2.7.18-13.2
Source Version: 2.7.18-13.2
Distribution: sid
Machine Architecture: powerpc
Host Architecture: powerpc
Build Architecture: powerpc
Build Type: binary

E: Chroot for distribution sid, architecture powerpc not found
E: Error creating chroot

.... apparently sid is not equivalent to unstable!



 sbuild -d unstable --arch-all --arch=powerpc python2.7_2.7.18-13.2.dsc


got thing to the point of churning along.... getting a lot of strange dependencies... will let it working and report back.


Thanks for now,


Riccardo

[1] https://manpages.debian.org/unstable/sbuild/sbuild-createchroot.8.en.html


Reply to: