On Wed, 2017-10-04 at 00:57 +1100, doiggl@velocitynet.com.au wrote:
Hello, What can be changed so the x86_64 builds pass and not fail. Where is the 'Unescaped left brace ' as listed in x86_64 .spec , build log ? The i586 i686 build passed.
For the record: this started to fail with the upgrade of perl to version 5.26
result of x86_64 failed build.
[ 96s] + popd [ 96s] ~/rpmbuild/BUILD/pesign-repackage-1.0 [ 96s] + /usr/lib/rpm/pesign/pesign-gen-repackage-spec --directory=/home/abuild/rpmbuild/BUILDROOT/pesign-repackage-1.0- 1.1.x86_64 /home/abuild/rpmbuild/SOURCES/kernel-vanilla-4.13.4-1.1.x86_64.rpm /home/abuild/rpmbuild/SOURCES/kernel-vanilla-base-4.13.4- 1.1.x86_64.rpm /home/abuild/rpmbuild/SOURCES/kernel-vanilla-devel-4.13.4- 1.1.x86_64.rpm [ 96s] Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\%{ <-- HERE -n\*}/ at /usr/lib/rpm/pesign/pesign-gen-repackage-spec line 477. [ 96s] error: Bad exit status from /var/tmp/rpm-tmp.fQJlMG (%install)
The error actually contains pretty much all the info - once it's understood, the message makes sense. so, an unescaped left brace is "{"; an escaped left brace would be "\{" You will need to patch the code to change { to \{ - the position where this is wrong is given in the error message as well. Cheers, Dominique