Package: fakeroot
Version: 1.31-1.2
Severity: critical

Hello,

After upgrading the host system to Debian Trixie, package builds using sbuild 
intermittently freeze when fakeroot is invoked. The builds are run inside a 
Debian Bookworm-based Docker container.

The build starts to intermittently freeze starting from this point:
```
Command: dpkg-buildpackage --sanitize-env -us -uc -b -rfakeroot
dpkg-buildpackage: info: source package samefile
dpkg-buildpackage: info: source version 2.14
dpkg-buildpackage: info: source distribution UNRELEASED
dpkg-buildpackage: info: source changed by Unknown maintainer 
<[email protected]>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
 fakeroot debian/rules clean

```

As a result, a build that previously took only a few seconds now takes around 
45 minutes to complete.

Host machine's Debian and kernel versions:
```
$ cat /etc/debian_version
13.1

# Default Trixie kernel
$ uname -r
6.12.43+deb13-amd64

# Installed 6.16 kernel from forky just to test the behaviour
$ uname -r
6.16.3+deb14-amd64
```

Note:
1. If fakeroot is not invoked, by editing Debian/control file and setting 
"Rules-Requires-Root: no" it doesn't freeze. . (fakeroot version in Bookworm: 
1.31-1.2)
2. When the freeze happens, the CPU usage jumps to 100% and stays there.
3. If I target to build Trixie packages inside the container, it doesn't 
freeze. (fakeroot version in Trixie: 1.37-1) 

Similar issue: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1072521
The issue was resolved in fakeroot version 1.35-1 or later, available in Debian 
Trixie.


Thanks and Regards,
Badrikesh

Reply via email to