Closed matwey closed 8 years ago
I can catch stderr and make it fail at the right place, but the segmentation fault is apparently not because of my code.
Of course SIGFAULT is not due your code. You should handle process status when you call it. This is what bash does for you.
Every system
should be wrapped somehow like that:
if ! system("abc")
exit($?)
end
I wonder if I should skip installation and -source packaging as well.
I don't know if the build process (which is bash) will stop when ruby script returns an unclean exit.
fixed in master
Look here https://build.opensuse.org/package/live_build_log/home:matwey:influxdb_0.9.6.1/golang-github-golang-protobuf/openSUSE_Leap_42.1/i586
Segmentation fault occurred in go compiler
instead of failing the build right here it proceeds and fails with cryptic error later.
Could you please return old behavior?