Bug 14271 - compilation error with rsync command for permission
Summary: compilation error with rsync command for permission
Status: RESOLVED WORKSFORME
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2021.08
Hardware: All Linux
: P5 minor
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-10 19:57 UTC by ledoux
Modified: 2021-11-02 20:20 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ledoux 2021-10-10 19:57:45 UTC
>>> skeleton-init-common  Installing to staging directory
rsync -a --ignore-times --exclude .svn --exclude .git --exclude .hg --exclude .bzr --exclude CVS --chmod=u=rwX,go=rX --exclude .empty --exclude '*~' system/skeleton/ /home/ledoux/Documents/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/


So this command generate a lot of errors : 

rsync: [generator] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/dev": Function not implemented (38)
rsync: [generator] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/etc": Function not implemented (38)
rsync: [generator] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/etc/profile.d": Function not implemented (38)
rsync: [generator] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/media": Function not implemented (38)
rsync: [generator] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/mnt": Function not implemented (38)
rsync: [generator] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/opt": Function not implemented (38)
rsync: [generator] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/proc": Function not implemented (38)
rsync: [generator] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/root": Function not implemented (38)
rsync: [generator] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/run": Function not implemented (38)
rsync: [generator] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/sys": Function not implemented (38)
rsync: [generator] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/tmp": Function not implemented (38)
rsync: [generator] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/usr/bin": Function not implemented (38)
rsync: [generator] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/usr/lib": Function not implemented (38)
rsync: [generator] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/usr/sbin": Function not implemented (38)
rsync: [receiver] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/etc/.group.nsk97w": Function not implemented (38)
rsync: [receiver] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/etc/.hosts.yBRyXu": Function not implemented (38)
rsync: [receiver] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/etc/.passwd.0Uncqt": Function not implemented (38)
rsync: [receiver] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/etc/.profile.0E8enu": Function not implemented (38)
rsync: [receiver] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/etc/.protocols.DJb4ew": Function not implemented (38)
rsync: [receiver] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/etc/.services.AO2ruv": Function not implemented (38)
rsync: [receiver] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/etc/.shadow.QE0FTt": Function not implemented (38)
rsync: [receiver] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/etc/profile.d/.umask.sh.IN0rhw": Function not implemented (38)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1333) [sender=3.2.3]
make: *** [package/pkg-generic.mk:333 : /root/buildroot/output/build/skeleton-init-common/.stamp_staging_installed] Erreur 23
Comment 1 Thomas Petazzoni 2021-11-02 20:20:56 UTC
According to https://unix.stackexchange.com/questions/671132/rsync-failed-to-set-permissions-for-a-local-copy-function-not-implemented this doesn't seem to be a Buildroot issue, but an issue in the rsync version your Linux distribution is using. Please update your rsync utility.