Bugzilla – Bug 985154
GCC6: cram fails to build
Last modified: 2016-08-08 15:44:57 UTC
Since the update to GCC6, openSUSE:Factory/ cram fails to build
[ 86s] + File "/home/abuild/rpmbuild/BUILD/cram-0.7/tests/../scripts/cram", line 7, in <module> [ 86s] + sys.exit(cram.main(sys.argv[1:])) [ 86s] + File "/home/abuild/rpmbuild/BUILD/cram-0.7/cram/_main.py", line 197, in main [ 86s] + refout, postout, diff = test() [ 86s] + File "/home/abuild/rpmbuild/BUILD/cram-0.7/cram/_cli.py", line 121, in testwrapper [ 86s] + if _patch(patchcmd, diff): [ 86s] + File "/home/abuild/rpmbuild/BUILD/cram-0.7/cram/_cli.py", line 54, in _patch [ 86s] + out, retcode = execute([cmd, '-p0'], stdin=b('').join(diff)) [ 86s] + File "/home/abuild/rpmbuild/BUILD/cram-0.7/cram/_process.py", line 53, in execute [ 86s] + out, err = p.communicate(stdin) [ 86s] + File "/usr/lib/python3.5/subprocess.py", line 1053, in communicate [ 86s] + self._stdin_write(input) [ 86s] + File "/usr/lib/python3.5/subprocess.py", line 1026, in _stdin_write [ 86s] + self.stdin.close() [ 86s] + BrokenPipeError: [Errno 32] Broken pipe It seems that this is caused by python3, which seems to behave in this way after it was rebuilt with gcc6
Fixed by https://build.opensuse.org/request/show/404467