Bug#1022704: ccache: broken in cross-architecture chroot

2022-10-25 Thread Raphaël Halimi
Le 25/10/2022 à 18:40, Joel Rosdahl a écrit : Thanks! Now I understand the problem and will work on a fix. The issue is sharing the inode cache file between architectures. A workaround is to either use separate temporary directories for the architectures (or different cache directories when the

Bug#1022704: ccache: broken in cross-architecture chroot

2022-10-25 Thread Joel Rosdahl
Thanks! Now I understand the problem and will work on a fix. The issue is sharing the inode cache file between architectures. A workaround is to either use separate temporary directories for the architectures (or different cache directories when the temporary directory defaults to the cache direc

Bug#1022704: ccache: broken in cross-architecture chroot

2022-10-24 Thread Joel Rosdahl
On Mon, Oct 24, 2022, at 21:31, Raphaël Halimi wrote: > I don't know how to use strace. Could you please direct me ? If you find the process that hangs (likely a ccache process in this case) with PID P, use strace -p P to attach to it and see which system call it is waiting for. > The file

Bug#1022704: ccache: broken in cross-architecture chroot

2022-10-24 Thread Raphaël Halimi
Le 24/10/2022 à 20:17, Joel Rosdahl a écrit : On Mon, Oct 24, 2022, at 15:26, Raphaël Halimi wrote: Install pbuilder on an amd64 host and prepare an i386 chroot. Then, try to build a package in it (I was rebuilding timidity). It should hang during the configure phase. I've never used pbuilder

Bug#1022704: ccache: broken in cross-architecture chroot

2022-10-24 Thread Joel Rosdahl
On Mon, Oct 24, 2022, at 15:26, Raphaël Halimi wrote: > Install pbuilder on an amd64 host and prepare an i386 chroot. Then, try to > build a package in it (I was rebuilding timidity). It should hang during the > configure phase. I've never used pbuilder before, but I've tried creating an i386 chro

Bug#1022704: ccache: broken in cross-architecture chroot

2022-10-24 Thread Raphaël Halimi
Le 24/10/2022 à 14:31, Joel Rosdahl a écrit : Can you give me more some detailed hints on how I can reproduce the issue? Install pbuilder on an amd64 host and prepare an i386 chroot. Then, try to build a package in it (I was rebuilding timidity). It should hang during the configure phase.

Bug#1022704: ccache: broken in cross-architecture chroot

2022-10-24 Thread Joel Rosdahl
On Mon, Oct 24, 2022, at 13:40, Raphaël Halimi wrote: > I also tested it, it's broken too. Thanks. Can you give me more some detailed hints on how I can reproduce the issue? Regards, Joel

Bug#1022704: ccache: broken in cross-architecture chroot

2022-10-24 Thread Joel Rosdahl
Hi Raphaël, Could you test if ccache 4.7.1-1 improves the situation? Regards, Joel

Bug#1022704: ccache: broken in cross-architecture chroot

2022-10-24 Thread Raphaël Halimi
Le 24/10/2022 à 13:38, Joel Rosdahl a écrit : Hi Raphaël, Could you test if ccache 4.7.1-1 improves the situation? I also tested it, it's broken too. Regards, -- Raphaël Halimi

Bug#1022704: ccache: broken in cross-architecture chroot

2022-10-24 Thread Raphaël Halimi
Package: ccache Version: 4.7-1 Dear maintainer, I use pbuilder to build package both for native architecture (amd64) and foreign architectures (i386, armhf). Since upgrading ccache in Debian Sid to 4.7-1, package building systematically hangs during the configure phase (checking for this, c