Bug 985154 - GCC6: cram fails to build
GCC6: cram fails to build
Status: RESOLVED FIXED
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other
Current
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: Jan Matejek
E-mail List
:
Depends on:
Blocks: 984984
  Show dependency treegraph
 
Reported: 2016-06-16 13:36 UTC by Dominique Leuenberger
Modified: 2016-08-08 15:44 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominique Leuenberger 2016-06-16 13:36:51 UTC
Since the update to GCC6, openSUSE:Factory/ cram fails to build
Comment 1 Martin Pluskal 2016-06-17 08:59:21 UTC
[   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
Comment 2 Dominique Leuenberger 2016-08-08 15:44:57 UTC
Fixed by https://build.opensuse.org/request/show/404467