Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 758923 - app-portage/emerge-delta-webrsync emerge-webrsync exausts warnings for every mounted directory within /usr/portage
Summary: app-portage/emerge-delta-webrsync emerge-webrsync exausts warnings for every ...
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Portage team
Depends on:
Reported: 2020-12-07 16:39 UTC by Thomas
Modified: 2020-12-13 01:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Thomas 2020-12-07 16:39:49 UTC
If /usr/portage includes mount points, emerge-webrsync will exaust errors for them, because it cant delete them:

-- emerge-webrsync
Fetching most recent snapshot ...
Trying to retrieve 20201206 snapshot from ...
Fetching file gentoo-20201206.tar.xz.md5sum ...
Fetching file gentoo-20201206.tar.xz.gpgsig ...
Fetching file gentoo-20201206.tar.xz ...
Checking digest ...
Getting snapshot timestamp ...
Syncing local tree ...
rsync: [generator] delete_file: rmdir(build-tmp) failed: Device or resource busy (16)

Number of files: 147,682 (reg: 121,173, dir: 26,509)
Number of created files: 700 (reg: 679, dir: 21)
Number of deleted files: 1,597 (reg: 1,576, dir: 21)
Number of regular files transferred: 6,632
Total file size: 208.21M bytes
Total transferred file size: 27.10M bytes
Literal data: 27.10M bytes
Matched data: 0 bytes
File list size: 1.05M
File list generation time: 0.002 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 17.72M
Total bytes received: 247.81K

sent 17.72M bytes  received 247.81K bytes  59.60K bytes/sec
total size is 208.21M  speedup is 11.59
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1330) [sender=3.2.3]
Cleaning up ...

Reproducible: Always

Steps to Reproduce:
1. Install gentoo, configure, have some directories within /usr/portage mounted
2. Call "emerge-webrsync"
Actual Results:  
rsync will exaust warnings for every mounted directory, because it cant delete it, or set timestamps

Expected Results:  
Should not mumble about mounted directories not able to delete. It should not touch them at all.

This would be useful to be fixed, because it silences an errorless emerge-webrsync run. It is not an error not being able to delete a mountpoint.
Comment 1 Zac Medico gentoo-dev 2020-12-13 01:32:16 UTC
This is what emerge-webrsync does:


Can you try setting PORTAGE_RSYNC_EXTRA_OPTS="--one-file-system" in make.conf to see if that helps?