1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source4/heimdal_build
Amitay Isaacs b6efa1507c heimdal-build: Avoid using python str.format()
In python 2.6, the format fields need to be numbered explicitly.  This
causes the build to fail on RHEL6/Centos6 with following error:

 File "/home/amitay/samba.git/source4/heimdal_build/wscript_build", line 87, in HEIMDAL_ASN1
    os.path.join(bld.path.abspath(), option_file)))
ValueError: zero length field name in format

To use str.format() in HEIMDAL_ASN1(),

   "--option-file='{}'"  needs to be   "--options-file='{0}'"

Or this fix which avoids str.format() completely.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>

Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Fri Sep 21 03:06:44 CEST 2018 on sn-devel-144
2018-09-21 03:06:44 +02:00
..
krb5
asn1_compile_wrapper.sh
config.h heimdal_build: use closefrom from libreplace 2018-02-21 14:19:19 +01:00
crypto-headers.h
et_compile_wrapper.sh
gssapi-glue.c
hdb-glue.c
ifaddrs.hin
kafs.h
krb5-glue.c
krb5-types.h heimdal: Fix build with system provided heimdal library 2018-07-10 07:30:26 +02:00
lexyacc.sh
perl_path_wrapper.sh
print_version.h
replace.c
roken.h heimdal_build: Try again to sort out the strerror_r mess 2013-01-19 10:32:17 +01:00
version.c
vis.h
wscript_build heimdal-build: Avoid using python str.format() 2018-09-21 03:06:44 +02:00
wscript_configure source4/heimdal_build/wscript_configure: update to handle waf 2.0.4 2018-09-05 06:37:24 +02:00