[opensuse-packaging] What can be changed so the x86_64 builds pass and not fail. Where is the 'Unescaped left brace ' as x86_64 build fails see log
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. spec and logs. :spec https://build.opensuse.org/package/view_file/home:doiggl/kernel-vanilla/kern... [1] :fail x86_64 https://build.opensuse.org/build/home:doiggl/openSUSE_13.1/x86_64/kernel-van... :pass i586 https://build.opensuse.org/build/home:doiggl/openSUSE_13.1/i586/kernel-vanil... 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) [ 96s] [ 96s] [ 96s] RPM build errors: [ 96s] Bad exit status from /var/tmp/rpm-tmp.fQJlMG (%install) [ 96s] [ 96s] build36 failed "build pesign-repackage.spec" at Tue Oct 3 03:53:35 UTC 2017. [ 96s] [ 96s] ### VM INTERACTION START ### [ 100s] [ 71.649678] reboot: Power down [ 124s] ### VM INTERACTION END ### [ 124s] [ 124s] build36 failed "build pesign-repackage.spec" at Tue Oct 3 03:54:04 UTC 2017. [ 124s] # [ 96s] ++ pesign -n /home/abuild/rpmbuild/BUILD/pesign-repackage-1.0/rsasigned/nss-db -h -i /home/abuild/rpmbuild/BUILDROOT/pesign-repackage-1.0-1.1.x86_64/./boot/vmlinuz-4.13.4-1-vanilla [ 96s] + nhash='hash: 102835091a8faeb6465df1d1110e2c7186a421eb239ffe812bf37dc09f74bf8b' [ 96s] + test 'hash: 102835091a8faeb6465df1d1110e2c7186a421eb239ffe812bf37dc09f74bf8b' '!=' 'hash: 102835091a8faeb6465df1d1110e2c7186a421eb239ffe812bf37dc09f74bf8b' [ 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) [ 96s] [ 96s] [ 96s] RPM build errors: [ 96s] Bad exit status from /var/tmp/rpm-tmp.fQJlMG (%install) [ 96s] [ 96s] build36 failed "build pesign-repackage.spec" at Tue Oct 3 03:53:35 UTC 2017. [ 96s] [ 96s] ### VM INTERACTION START ### [ 100s] [ 71.649678] reboot: Power down [ 124s] ### VM INTERACTION END ### [ 124s] [ 124s] build36 failed "build pesign-repackage.spec" at Tue Oct 3 03:54:04 UTC 2017. # rpms-built: https://download.opensuse.org/repositories/home:/doiggl/openSUSE_13.1/i686/ :other info # osc copypac Kernel:stable kernel-vanilla home:doiggl Sending meta data... Copying files... <revision rev="1" vrev="1"> <srcmd5>c49e0dd2f8390371fc18b506a82f7994</srcmd5> <version>unknown</version> <time>1506993883</time> <user>doiggl</user> <comment>osc copypac from project:Kernel:stable package:kernel-vanilla revision:1951</comment> <requestid/> </revision> Thanks --Glenn -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
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
participants (2)
-
doiggl@velocitynet.com.au
-
Dominique Leuenberger / DimStar