def main():
  parser = argparse.ArgumentParser()
  buildutil.linux.BuildEnvironment.add_arguments(parser)
  args = parser.parse_args()

  retval = -1

  env = buildutil.linux.BuildEnvironment(args)

  # Add cmake flags specific to our test build.
  env.cmake_flags = '-DMESSAGE="Hello, World!"'

  try:
    env.git_clean()
    env.run_cmake()
    env.run_make()
    env.make_archive(['Hello'], 'output.zip')

    retval = 0

  except buildutil.common.Error as e:
    print >> sys.stderr, e.error_message % 'Caught buildutil error: %s'
    retval = e.error_code

  except IOError as e:
    print >> sys.stderr, 'Caught IOError for file %s: %s' % (e.filename,
                                                             e.strerror)
    retval = -1

  return retval
dataset/ETHPy150Open google/fplutil/examples/buildutil_example/linux/build.py/main/swapped operands of `%`