Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 590790 - www-servers/apache-2.4.23 install fails due to rsync broken pipe
Summary: www-servers/apache-2.4.23 install fails due to rsync broken pipe
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Sparc64 Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-08 16:27 UTC by Nathan M
Modified: 2017-11-09 11:26 UTC (History)
2 users (show)

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


Attachments
Build log (590790 build log.txt,361.70 KB, text/plain)
2016-08-08 16:28 UTC, Nathan M
Details
emerge --info (590790 emerge --info.txt,4.59 KB, text/plain)
2016-08-08 16:29 UTC, Nathan M
Details
emerge -pvq (590790 emerge -pqv.txt,1.01 KB, text/plain)
2016-08-08 16:29 UTC, Nathan M
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan M 2016-08-08 16:27:42 UTC
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
Comment 1 Nathan M 2016-08-08 16:28:44 UTC
Created attachment 442800 [details]
Build log

Build log from V210
Comment 2 Nathan M 2016-08-08 16:29:09 UTC
Created attachment 442802 [details]
emerge --info

emerge --info output from V210
Comment 3 Nathan M 2016-08-08 16:29:35 UTC
Created attachment 442804 [details]
emerge -pvq

emerge -pqv output from V210
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-08-10 08:03:57 UTC
Isn't this rather a problem with rsync? Does rsync work if you call it manually?
Comment 5 Rolf Eike Beer archtester 2016-08-10 08:13:49 UTC
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
Comment 6 Jack Morgan (RETIRED) gentoo-dev 2016-08-10 18:37:05 UTC
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.
Comment 7 Jack Morgan (RETIRED) gentoo-dev 2016-08-10 18:38:41 UTC
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
Comment 8 Rolf Eike Beer archtester 2016-08-10 18:38:59 UTC
I updated my kernel to 4.7.0, then I was able to emerge apache successfully.
Comment 9 Nathan M 2016-08-10 23:10:12 UTC
I can confirm the rsync failure does not occur using a 4.7.0 kernel from gentoo-sources.