Install phase of www-servers/apache-2.4.23 fails due to rsync error. This has been occurring for me for a while; the last version of Apache I was able to build/install was apache-2.4.16. rsync version is net-misc/rsync-3.1.2. This is occuring on both my sparc boxes, a V210 and an Ultra 10. rsync: [sender] write error: Broken pipe (32) rsync error: error in socket IO (code 10) at io.c(820) [sender=3.1.2] Makefile:253: recipe for target 'install-man' failed make[1]: *** [install-man] Error 10
Created attachment 442800 [details] Build log Build log from V210
Created attachment 442802 [details] emerge --info emerge --info output from V210
Created attachment 442804 [details] emerge -pvq emerge -pqv output from V210
Isn't this rather a problem with rsync? Does rsync work if you call it manually?
Yes, it's a problem in rsync or the kernel. It just happens that apache decided to use rsync and now cannot be installed anymore. Previous report on mailing lists: https://archives.gentoo.org/gentoo-sparc/message/6b33ee3500a3054176c96684985684bd http://www.spinics.net/lists/sparclinux/msg15224.html
There is a kernel bug that is causing rsync/ssh/ssl to fail on a local filesystem. This has been fixed upstream and we are currently waiting for the patch to be backported to stable.
Fixed with this commit ID: commit 86505fc06b6f1ee8a13473053a41ed01948e2d4f Merge: 9d3bc3d 7bc3777 Author: Linus Torvalds <torvalds@linux-foundation.org> Date: Fri Jul 29 13:23:18 2016 -0700 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc Pull sparc updates from David Miller: 1) Double spin lock bug in sunhv serial driver, from Dan Carpenter. 2) Use correct RSS estimate when determining whether to grow the huge TSB or not, from Mike Kravetz. 3) Don't use full three level page tables for hugepages, PMD level is sufficient. From Nitin Gupta. 4) Mask out extraneous bits from TSB_TAG_ACCESS register, we only want the address bits. * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc: sparc64: Trim page tables for 8M hugepages sparc64 mm: Fix base TSB sizing when hugetlb pages are used sparc: serial: sunhv: fix a double lock bug sparc32: off by ones in BUG_ON() sparc: Don't leak context bits into thread->fault_address
I updated my kernel to 4.7.0, then I was able to emerge apache successfully.
I can confirm the rsync failure does not occur using a 4.7.0 kernel from gentoo-sources.