Bug#1024544: fakeroot: FTBFS on mipsel blocking fix for #1023286

2023-03-01 Thread Shengjing Zhu
X-Debbugs-Cc: z...@debian.org, ni...@thykier.net, z...@debian.org
Control: tags -1 + patch

Hi,

On Thu, Dec 15, 2022 at 09:49:36AM +0100, Chris Hofstaedtler wrote:
> * Niels Thykier :
> > The fakeroot/1.30.1-1 FTBFS on mipsel (release arch) which blocks the fix
> > for #1023286 from affecting mipsel binaries.
> 
> I'll note that the FTBFS is caused by a test failure in test
> "t.chown". stat(1) is used to check the expected owner of a file,
> and the test reveals (I think) a wrapping problem.
> 
> I *think* the actual function called by stat(1) might not be wrapped
> in the running stat(1) process, but I cannot tell if this is a
> problem with the LD_PRELOAD approach or a missing wrapper or
> something else.
> 
> Unfortunately most of the code seemingly relevant is "documented"
> using words like "hack", "stuff" and "shuffle", making it harder to
> follow than maybe necessary.
> 

While fixing #1030638, I have verified my patch[1] fixes mipsel as well.

[1] https://salsa.debian.org/clint/fakeroot/-/merge_requests/22



Processed: Re: Bug#1024544: fakeroot: FTBFS on mipsel blocking fix for #1023286

2023-03-01 Thread Debian Bug Tracking System
Processing control commands:

> tags -1 + patch
Bug #1024544 [fakeroot] fakeroot: FTBFS on mipsel blocking fix for #1023286
Added tag(s) patch.

-- 
1024544: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1024544
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#1024544: fakeroot: FTBFS on mipsel blocking fix for #1023286

2022-12-15 Thread Chris Hofstaedtler
* Niels Thykier :
> The fakeroot/1.30.1-1 FTBFS on mipsel (release arch) which blocks the fix
> for #1023286 from affecting mipsel binaries.

I'll note that the FTBFS is caused by a test failure in test
"t.chown". stat(1) is used to check the expected owner of a file,
and the test reveals (I think) a wrapping problem.

I *think* the actual function called by stat(1) might not be wrapped
in the running stat(1) process, but I cannot tell if this is a
problem with the LD_PRELOAD approach or a missing wrapper or
something else.

Unfortunately most of the code seemingly relevant is "documented"
using words like "hack", "stuff" and "shuffle", making it harder to
follow than maybe necessary.

Chris



Bug#1024544: fakeroot: FTBFS on mipsel blocking fix for #1023286

2022-11-20 Thread Niels Thykier

Package: fakeroot
Version: 1.29-1
Severity: serious
X-Debbugs-Cc: ni...@thykier.net

Hi,

The fakeroot/1.30.1-1 FTBFS on mipsel (release arch) which blocks the 
fix for #1023286 from affecting mipsel binaries.


The #1023286 also seems to be source of a lot of a dbgsym packages
having the wrong ownership in them (see #1024261).  With
debhelper/13.11, the dbgsym packages will no longer be a problem but
we risk that the bug leaks into regular debs as well (no one has
tested for this).

Thanks,
~Niels