Re: sbuild on hurd-amd64...

Johannes Schauer Marin Rodrigues <[email protected]> Tue, 09 Jun 2026 23:04:14 +0200
Newsgroups gmane.linux.debian.ports.hurd
Message-ID <178103905474.1054759.6676287575837125047@localhost>
--===============5807656926677903569==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

Quoting Samuel Thibault (2026-06-09 20:47:35)
> Johannes Schauer Marin Rodrigues, le mar. 09 juin 2026 20:41:27 +0200, a =
ecrit:
> > curl --silent http://ftp.ports.debian.org/debian-ports/dists/unstable/m=
ain/binary-hurd-i386/Packages.xz | unxz | grep-dctrl -F Package netdde
> >=20
> > The above comes back empty. The netdde package is not part of the unsta=
ble
> > suite (but it is present in unreleased) and that's why mmdebstrap does =
not pick
> > it up when it is told to install a chroot for the suite called "unstabl=
e".
> >=20
> > Is this intentional?
>=20
> debian doesn't really want to see old linux code getting into the
> main archive just for the purpose of the hurd port. Same goes for
> rumpkernel and such.
>=20
> > Should I add a workaround?
>=20
> Yes, ports are often not really bootstrapable without the unreleased suit=
e.

Thank you! I manually added netdde for this reason and updated the debvm me=
rge
request accordingly:

https://salsa.debian.org/helmutg/debvm/-/merge_requests/39

With these changes I can create a bootable Hurd system on Linux by running:

mmdebstrap --unshare-helper \
  bin/debvm-create \
  -o ~/tmp/rootfs.ext4 \
  --sshkey /tmp/id_rsa.pub \
  --release=3Dunstable \
  --initsystem=3Dsysv \
  --architecture=3Dhurd-i386 \
  -- \
  --mode=3Dchrootless \
  --customize-hook=3D'echo root | passwd --prefix "$1" --stdin root' \
  "deb http://ftp.ports.debian.org/debian-ports/ unstable main" \
  "deb http://ftp.ports.debian.org/debian-ports/ unreleased main" \
  "deb [trusted=3Dyes] http://127.0.0.1:8080 ./"

I can then either log into this system as root with password root (but youpi
fixed autologin with the next src:hurd upload) or via ssh:

ssh -o NoHostAuthenticationForLocalhost=3Dyes -p 2222 [email protected]

You can see that a custom local repo is still needed. This is for some pack=
ages
with patches that were not yet merged by the respective maintainers:

 * openssh https://salsa.debian.org/ssh-team/openssh/-/merge_requests/39
 * ifupdown https://salsa.debian.org/debian/ifupdown/-/merge_requests/31
 * init-system-helpers https://salsa.debian.org/debian/init-system-helpers/=
-/merge_requests/33
 * ucf https://salsa.debian.org/debian/ucf/-/merge_requests/5

For bit-by-bit reproducible installation we also need (but not strictly
required):

 * pam https://salsa.debian.org/vorlon/pam/-/merge_requests/33

And for the sysvinit/update-rc debhelper postinst snippet, some binNMUs sti=
ll
have to be carried out:

 * dbus https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1139311
 * seedfiles https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1139342

Theoretially a binNMU would've been necessary but its maintainer just did a
no-changes source upload instead.

So this is the current status. Patches exist and "just" need to get merged.=
 :)

Thanks!

cheers, josch
--===============5807656926677903569==
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Description: signature
Content-Type: application/pgp-signature; name="signature.asc"; charset="us-ascii"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEElFhU6KL81LF4wVq58sulx4+9g+EFAmoof8kACgkQ8sulx4+9
g+H36xAApsyZsC74Gbraevukhz98FtLMYw06CNOV1EjjfZRbud8X5stcC1QO9nPi
N20LXQ0hkr/YgtMHR7c7l34GOYwF4Cg1FjW5zlqeL1aRWASeObHNQbGL650dIxUd
bk7HCcFNNlCpJxJE+Yc1jxtJ1rfYjHkC0/tSxltfJzy7LXCZA9D/AoBG09Zny0aW
cFi65mdinh0qk74nKWVqNxdN8TkkrZ2xZvZAfNbc/bCnaAP8DmdsYsQVL2Ln70/6
q7I1P4AQEIvLlLBKfSis7XDoWWGvlo1ko/rL0pojD6OZfYvp9L5ZyDsMgcxQNFPc
DoNy9D+MBHLE9NWJefD1RFMlTZm3uyHxy7nyVuaB+b0LqZ9k08gmlUyHJKvy9yNT
F3dCY3zrq2A6CumlQcMEIm7ionFipXBX+XW5nj/8nxNA0owCZgO/CYbvN9g4LzTL
WlopKgc6O2D27TzygVUpqRYe9mKneVsG/QIoIt1f8L/U+UB/TA6JU2lFQLe9q+R2
dglxB2RuCkhTS5PVHcLQ0AT+WbJLbZnp4694eue26X5BssB5jU0ek73ZWBj7Q64k
Hz3JOPcD+qth9+BLDJcnJH2a6UImteoab46YwsVmU57wp1d/Oylht1TIdB4i0QxW
mbKASZfHjRH6OeTfHo0gHhGNYcKhJQ64jZ8AZnwu9FDUNb+40Gw=
=yrks
-----END PGP SIGNATURE-----

--===============5807656926677903569==--