Closed stikonas closed 1 year ago
here my findings:
...
perl-5.32.1: postprocess binaries.
strip: unable to copy file '/tmp/destdir/usr/lib/perl5/5.32.1/i386-linux/CORE/libperl.a'; reason: Permission denied
/usr/src/perl-5.32.1/build/perl-5.32.1 # ls -l /tmp/destdir/usr/lib/perl5/5.32.1/i386-linux/CORE/libperl.a
-r--r--r-- 1 0 0 3045420 Mar 12 16:21 /tmp/destdir/usr/lib/perl5/5.32.1/i386-linux/CORE/libperl.a
/usr/src/perl-5.32.1/build/perl-5.32.1 # cp /tmp/destdir/usr/lib/perl5/5.32.1/i386-linux/CORE/libperl.a /tmp/foo
/usr/src/perl-5.32.1/build/perl-5.32.1 # ls -l /tmp/destdir/usr/lib/perl5/5.32.1/i386-linux/CORE/libperl.a /tmp/foo
-r--r--r-- 1 0 0 3045420 Mar 12 16:21 /tmp/destdir/usr/lib/perl5/5.32.1/i386-linux/CORE/libperl.a
-r--r--r-- 1 0 0 3045420 Mar 12 16:34 /tmp/foo
/usr/src/perl-5.32.1/build/perl-5.32.1 # cp /tmp/foo /tmp/destdir/usr/lib/perl5/5.32.1/i386-linux/CORE/libperl.a
cp: cannot create regular file '/tmp/destdir/usr/lib/perl5/5.32.1/i386-linux/CORE/libperl.a': Permission denied
/usr/src/perl-5.32.1/build/perl-5.32.1 # id
uid=0 gid=0 groups=0,65534
/usr/src/perl-5.32.1/build/perl-5.32.1 # chmod +w /tmp/destdir/usr/lib/perl5/5.32.1/i386-linux/CORE/libperl.a
/usr/src/perl-5.32.1/build/perl-5.32.1 # ls -l /tmp/destdir/usr/lib/perl5/5.32.1/i386-linux/CORE/libperl.a
-rw-r--r-- 1 0 0 3045420 Mar 12 16:21 /tmp/destdir/usr/lib/perl5/5.32.1/i386-linux/CORE/libperl.a
/usr/src/perl-5.32.1/build/perl-5.32.1 # cp /tmp/foo /tmp/destdir/usr/lib/perl5/5.32.1/i386-linux/CORE/libperl.a
/usr/src/perl-5.32.1/build/perl-5.32.1 # echo $?
0
/usr/src/perl-5.32.1/build/perl-5.32.1 # umask
0022
When running in bubblewrap mode I've got this error
/xsubpp.0 /zipdetails.0 perl-5.32.1: postprocess binaries. strip: unable to copy file '/tmp/destdir/usr/lib/perl5/5.32.1/i386-linux/CORE/libperl.a'; reason: Permission denied