XPost: linux.debian.bugs.dist
From: jspricke@debian.org
Hi Cyril,
thanks a lot for the speedy reply!
* Cyril Brulebois [2025-08-29 10:57]:
>Jochen Sprickerhof (2025-08-29):
>> I have opened a MR to make fakeroot a requirement:
>>
>> https://salsa.debian.org/installer-team/debian-installer/-
/merge_requests/68
>
>Those happened earlier:
> - d495f01afe467d054f6fd93dffc8cc22d00d106d
Ha, missed that one while rebasing my commit :).
> - 5f8888f0dfa11fdd577aee209a935161aa3663ff
Oh, thanks for cleaning up after my change :).
>I'm happy to have a comment around the fakeroot package in Build-Depends but
>let's avoid duplicates? :-)
Agreed and updated the MR.
* Cyril Brulebois [2025-08-29 11:31]:
>Roland Clobus (2025-08-29):
>> I'm wondering whether the fakeroot package is actually required.
>> As I wrote in the initial text, I did not need to have fakeroot available,
>> and could prevent calls to fakeroot by setting the environment variable
>> ROOTCMD to a space (as an empty value would still set it to 'fakeroot').
>>
>> As I understand it, invoking 'chroot' requires being root (it is in
>> /usr/sbin), so within the chroot-environment one is already root and
>> therefore does not need fakeroot on top.
>> But there might be some scenarios, that I'm unaware of, that invoke the
>> scripts of the installer differently and therefore the package fakeroot is
>> indeed a requirement.
>
>I'll let Jochen comment on that, who's apparently more familiar with
>those things than I am. Speaking of which, the initial R€€ addition
>(which is modified by !68) happened by applying a suggestion from Niels.
build/Makefile used mknod which needs (real) root or fakeroot (that
tracks the faked device files). So when Niels tested setting R€€
src:debian-installer did not depend on fakeroot and the package FTBFSed.
The simple solution was to set R€€ to binary-targets so dpkg-buildpackage
runs with fakeroot. But actually only build/Makefile needs it so we can
drop the binary-targets again.
I recommend using my patch from the RT ticket to not run the daily
builds with real root, btw.
>> I'm also wondering whether !68 is still required, given that fakeroot
>> has been added as a dependency about 2 weeks ago. Is the MR based on
>> work that started earlier?
>
>If you look at timestamps, you'll see there are just a few hours between
>my commits and Jochen's, so presumably some work was being staged.
Yes it is required as currently R€€ being binary-targets triggers a
special setup in debrebuild to work around the missing fakeroot in the
buildinfo files. That setup makes build/Makefile not execute fakeroot
and the mknod and build fails. It is also no longer needed to set R€€ as
the build works without \\o/.
Cheers Jochen
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEc7KZy9TurdzAF+h6W//cwljmlDMFAmixffcACgkQW//cwljm
lDPO2A//RenCBMub7zfqNbSBZk+3+sVBUNljaUnVIKZh50Fd4QkztWYOUVXJArAx
qSKEKhj4t7Hovsu2UUUsqwLV2Ij1/XX9ca4uefznB380Augr/79svZh2//ueOyI1
tL1n/YGUvroRVBveqHqnx1ww9XrCHQeF1QudUWht0PkbzUUdSB4ZYGjQu05kLeld
oLjaxzgtH5pmUqLXSl1285b5jVmdbPx0oBPqDHA7luzVqRlwX91cfbUwaadSr+/l
uHCwVD7twfgmAhnfLmEePOQ4ENexyWUrIrGhmdxeqq89LdHbPvcvl3HMYBq0Ntt1
AIGjbLGo5FzqmkmlRo5X7rLI58EYGaeLv0laP/zfcBfCKTTQbdVc3Gkl5GPVBd+Z
ZcIbusTgIRrx7VjvwX7ZYMWUvnj8JXpIgP5tBKdRC2CzQu+lPvxoba2RS2xil3fW
nxupf3eUf8jWu9z/R8FnbqJ6C7gMrUj01WTekoLXOsxOEgBVC5SUfd0580Hq4xpO
BZPkMnvjKjTMPPKVKeuLBQNJxgpS5XJKFM8xr9SNe/v/VbJjXUDMHXBh5FCV59/j
KBM5GoBplsoZHgMGlnBSYAFPowW6HRUrZD622GUjuxxAwlKDiU/iz9RnBo8S7qlq
hGvM+uYWyCodWrGsz9FeANCU0/gm5BIzycqw7WIoaBxZovuzNZg=
=FfrL
-----END PGP SIGNATURE-----
--- SoupGate-Win32 v1.05
* Origin: you cannot sedate... all the things you hate (1:229/2)
|