Re: Permission denied when chainbuilding packages with mock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



W dniu 08.11.2021 o 07:59, Julian Sikorski pisze:


Am 08.11.21 um 02:48 schrieb Jeremy Allison:
On Sun, Nov 07, 2021 at 11:51:37PM +0100, Julian Sikorski wrote:

Thanks, this looks promising. Do you have any guesses as to why it works for goffice-0.10.50-1.fc35 but not with goffice-0.10.50-2.fc35? Race condition?

No clue, sorry. I'd need to see comparative traces - but all that
will tell me is that it isn't doing the fsync on a read-only file.

I will try to generate a log for the working case later. Having said that, the question becomes: why are some files read-only but others are not, when they are generated by the same software in the same folder? The permissions on both folders are exactly the same:

$ ls -l /mnt/openmediavault/kernel/results/fedora-35-x86_64/goffice-0.10.50-2.fc35/

insgesamt 15360

-rwxr-xr-x. 1 julas julas  864488  7. Nov 23:53 build.log

-rwxr-xr-x. 1 julas julas 2443249  7. Nov 16:39 goffice-0.10.50-2.fc35.src.rpm

-rwxr-xr-x. 1 julas julas 2051776  7. Nov 16:39 goffice-0.10.50-2.fc35.x86_64.rpm

-rwxr-xr-x. 1 julas julas 2195483  7. Nov 16:39 goffice-debuginfo-0.10.50-2.fc35.x86_64.rpm

-rwxr-xr-x. 1 julas julas  967394  7. Nov 16:39 goffice-debugsource-0.10.50-2.fc35.x86_64.rpm

-rwxr-xr-x. 1 julas julas  339221  7. Nov 16:39 goffice-devel-0.10.50-2.fc35.x86_64.rpm

-rwxr-xr-x. 1 julas julas    3050  7. Nov 16:38 hw_info.log

-rwxr-xr-x. 1 julas julas   37268  7. Nov 16:38 installed_pkgs.log

drwxr-xr-x. 2 julas julas       0  7. Nov 16:39 repodata

-rwxr-xr-x. 1 julas julas  301702  7. Nov 23:53 root.log

-rwxr-xr-x. 1 julas julas    1710  7. Nov 23:53 state.log

-rwxr-xr-x. 1 julas julas       0  7. Nov 16:39 success

$ ls -l /mnt/openmediavault/kernel/results/fedora-35-x86_64/goffice-0.10.50-1.fc35/

insgesamt 15360

-rwxr-xr-x. 1 julas julas  864469  7. Nov 16:34 build.log

-rwxr-xr-x. 1 julas julas 2443099  7. Nov 16:30 goffice-0.10.50-1.fc35.src.rpm

-rwxr-xr-x. 1 julas julas 2051631  7. Nov 16:30 goffice-0.10.50-1.fc35.x86_64.rpm

-rwxr-xr-x. 1 julas julas 2192839  7. Nov 16:30 goffice-debuginfo-0.10.50-1.fc35.x86_64.rpm

-rwxr-xr-x. 1 julas julas  967236  7. Nov 16:30 goffice-debugsource-0.10.50-1.fc35.x86_64.rpm

-rwxr-xr-x. 1 julas julas  339086  7. Nov 16:30 goffice-devel-0.10.50-1.fc35.x86_64.rpm

-rwxr-xr-x. 1 julas julas    3050  7. Nov 16:29 hw_info.log

-rwxr-xr-x. 1 julas julas   37268  7. Nov 16:29 installed_pkgs.log

drwxr-xr-x. 2 julas julas       0  7. Nov 16:30 repodata

-rwxr-xr-x. 1 julas julas  301199  7. Nov 16:34 root.log

-rwxr-xr-x. 1 julas julas    1665  7. Nov 16:34 state.log

-rwxr-xr-x. 1 julas julas       0  7. Nov 16:30 success


The other explanation could be that the software (mock) runs fsync on some of the files but not on others.

Best regards,
Julian
I have now generated the logs from the working case:

https://www.dropbox.com/sh/9ucxoeia727xu3k/AABYiTQ0aBqCqnNL9Vz3Jch8a?dl=0

the moment at which failure would have happened is around 16:46:11.

Best regards,
Julian



[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux