#!/usr/bin/python


from bracket import find_fix, rcs2ts, build_op

# Try to find the first version to build without execute permissions
# for src/external/gpl3/binutils/dist/install-sh

# 2013.01.01.00.01.23 build fails on Debian 7 with cfns.gperf:101:1: error: 'gnu_inline' attribute present on 'libc_name_p'
# 2018.06.01.21.22.43 build fails on Debian 7

#find_fix(rcs2ts('2013.01.01.00.01.23'),
#         rcs2ts('2018.05.26.18.18.19'),
#         build_op,
#         confirm = True)

# find amd64 retrobuilding limit

find_fix(rcs2ts('2014.04.05.02.22.56'),
         rcs2ts('2015.10.02.03.08.26'),
         build_op,
         confirm = False)
