Hi all,
I believe the nss-softokn build failures on i686 are caused by a recent update to the build machines.
nss-3.15.5 doesn't have any significant changes. In fact I tried a scratch build of the prevoius succeccesfull build of nss-softokn-3.15.4-3.fc21 done on Sun, 26 Jan 2014 it will now fails.
Here is my analysis: On http://koji.fedoraproject.org/koji/getfile?taskID=6563716&name=build.log... we see ----- cd Linux3.12_x86_glibc_PTH_OPT.OBJ ; sh "/builddir/build/BUILD/nss-softokn-3.15.5/nss/cmd/shlibsign/."/sign.sh "/builddir/build/BUILD/nss-softokn-3.15.5/nss/cmd/shlibsign/../../../dist/Linux3.12_x86_glibc_PTH_OPT.OBJ" \ "/builddir/build/BUILD/nss-softokn-3.15.5/nss/cmd/shlibsign/Linux3.12_x86_glibc_PTH_OPT.OBJ" Linux \ "/usr/lib " "/builddir/build/BUILD/nss-softokn-3.15.5/nss/cmd/shlibsign/../../../dist/Linux3.12_x86_glibc_PTH_OPT.OBJ/lib/libsoftokn3.so" /builddir/build/BUILD/nss-softokn-3.15.5/nss/cmd/shlibsign/./sign.sh: line 36: cd: /usr/lib : No such file or directory ^^^--- this one I don't understand yet but is not the cause
/builddir/build/BUILD/nss-softokn-3.15.5/nss/cmd/shlibsign/Linux3.12_x86_glibc_PTH_OPT.OBJ/shlibsign -v -i /builddir/build/BUILD/nss-softokn-3.15.5/nss/cmd/shlibsign/../../../dist/Linux3.12_x86_glibc_PTH_OPT.OBJ/lib/libsoftokn3.so /builddir/build/BUILD/nss-softokn-3.15.5/nss/cmd/shlibsign/./sign.sh: line 13: 17175 Floating point exception"${2}"/shlibsign -v -i "${5}" ^^^^^^^^^^ - doesn't make sense make[2]: *** [../../../dist/Linux3.12_x86_glibc_PTH_OPT.OBJ/lib/libsoftokn3.chk] Error 136 make[2]: Leaving directory `/builddir/build/BUILD/nss-softokn-3.15.5/nss/cmd/shlibsign' ---------------------------- This is running shlibsign tool to sign the shared library. It's doing a DSA signature operation. There is no floating point at all. I mentioned this to Bob, here copied, and and he tells me with mmx the same registes are used for intteger and floating point operations.
In http://en.wikipedia.org/wiki/MMX_%28instruction_set%29 - Technical details I see:
MMX defined eight registers, known as MM0 through MM7 (henceforth referred to as MMn). To avoid compatibility problems with the context switch >mechanisms in existing operating systems, these registers were aliases for the existing x87 FPU stack registers (so no new registers needed to be saved >or restored). Hence, anything that was done to the floating point stack would also affect the MMX registers and vice versa. However, unlike the FP >stack, the MMn registers are directly addressable (random access).
Could it also be that though the host machine may have the hardware support the the version of Linux used by RHEL-6 does not have the support? We once had an analogous problem last year when we were working on RHEL-6.5 that Bob was able to diagnose.
By the way, I have added to the spec file lines to print cpu info. On http://kojipkgs.fedoraproject.org//work/tasks/3716/6563716/build.log look at ############## CPU INFO ##################
vendor_id : GenuineIntel cpu family : 6 model : 13 model name : QEMU Virtual CPU version (cpu64-rhel6) ------------ .... skipped ... flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pse36 clflush mmx fxsr sse sse2 syscall nx lm nopl pni cx16 hypervisor lahf_lm ------------------------------------------------------------------------------------------^^^....... ..... skipping the rest as is best to read it online
This is blocking any builds of nss-softoken as they will fail on i686. Could you please help us find what's the cause?
Thanks in advance,
-Elio
P.S. You can find me on IRC on Frrenoed on the #fedora-devel and #fedora-admin channels.
----- Forwarded Message ----- From: "Fedora Koji Build System" buildsys@fedoraproject.org To: emaldonado@fedoraproject.org Sent: Sunday, February 23, 2014 7:25:02 PM Subject: Package: nss-softokn-3.15.5-1.fc21 Tag: f21 Status: failed Built by: emaldonado
Package: nss-softokn-3.15.5-1.fc21 Tag: f21 Status: failed Built by: emaldonado ID: 499394 Started: Mon, 24 Feb 2014 03:21:35 UTC Finished: Mon, 24 Feb 2014 03:24:42 UTC
nss-softokn-3.15.5-1.fc21 (499394) failed on arm02-builder11.arm.fedoraproject.org (noarch), buildvm-03.phx2.fedoraproject.org (i386): BuildError: error building package (arch i686), mock exited with status 1; see build.log for more information SRPMS: nss-softokn-3.15.5-1.fc21.src.rpm
Failed tasks: -------------
Task 6563705 on arm02-builder11.arm.fedoraproject.org Task Type: build (rawhide, /nss-softokn:bac2276e803bcc8102501baf764c3989bba78f80)
Task 6563716 on buildvm-03.phx2.fedoraproject.org Task Type: buildArch (nss-softokn-3.15.5-1.fc21.src.rpm, i686) logs: http://koji.fedoraproject.org/koji/getfile?taskID=6563716&name=build.log http://koji.fedoraproject.org/koji/getfile?taskID=6563716&name=mock_outp... http://koji.fedoraproject.org/koji/getfile?taskID=6563716&name=root.log http://koji.fedoraproject.org/koji/getfile?taskID=6563716&name=state.log
Canceled tasks: ---------------
Task 6563714 on arm04-builder20.arm.fedoraproject.org Task Type: buildArch (nss-softokn-3.15.5-1.fc21.src.rpm, armv7hl) logs: http://koji.fedoraproject.org/koji/getfile?taskID=6563714&name=build.log http://koji.fedoraproject.org/koji/getfile?taskID=6563714&name=mock_outp... http://koji.fedoraproject.org/koji/getfile?taskID=6563714&name=root.log http://koji.fedoraproject.org/koji/getfile?taskID=6563714&name=state.log
Task 6563715 on buildvm-06.phx2.fedoraproject.org Task Type: buildArch (nss-softokn-3.15.5-1.fc21.src.rpm, x86_64) logs: http://koji.fedoraproject.org/koji/getfile?taskID=6563715&name=build.log http://koji.fedoraproject.org/koji/getfile?taskID=6563715&name=mock_outp... http://koji.fedoraproject.org/koji/getfile?taskID=6563715&name=root.log http://koji.fedoraproject.org/koji/getfile?taskID=6563715&name=state.log
Closed tasks: -------------
Task 6563706 on arm02-builder19.arm.fedoraproject.org Task Type: buildSRPMFromSCM (/nss-softokn:bac2276e803bcc8102501baf764c3989bba78f80) logs: http://koji.fedoraproject.org/koji/getfile?taskID=6563706&name=build.log http://koji.fedoraproject.org/koji/getfile?taskID=6563706&name=checkout.... http://koji.fedoraproject.org/koji/getfile?taskID=6563706&name=mock_outp... http://koji.fedoraproject.org/koji/getfile?taskID=6563706&name=root.log http://koji.fedoraproject.org/koji/getfile?taskID=6563706&name=state.log
Task Info: http://koji.fedoraproject.org/koji/taskinfo?taskID=6563705 Build Info: http://koji.fedoraproject.org/koji/buildinfo?buildID=499394
On 02/23/2014 09:15 PM, Elio Maldonado wrote:
Hi all,
I believe the nss-softokn build failures on i686 are caused by a recent update to the build machines.
nss-3.15.5 doesn't have any significant changes. In fact I tried a scratch build of the prevoius succeccesfull build of nss-softokn-3.15.4-3.fc21 done on Sun, 26 Jan 2014 it will now fails.
Here is my analysis: On http://koji.fedoraproject.org/koji/getfile?taskID=6563716&name=build.log... we see
cd Linux3.12_x86_glibc_PTH_OPT.OBJ ; sh "/builddir/build/BUILD/nss-softokn-3.15.5/nss/cmd/shlibsign/."/sign.sh "/builddir/build/BUILD/nss-softokn-3.15.5/nss/cmd/shlibsign/../../../dist/Linux3.12_x86_glibc_PTH_OPT.OBJ" \ "/builddir/build/BUILD/nss-softokn-3.15.5/nss/cmd/shlibsign/Linux3.12_x86_glibc_PTH_OPT.OBJ" Linux \ "/usr/lib " "/builddir/build/BUILD/nss-softokn-3.15.5/nss/cmd/shlibsign/../../../dist/Linux3.12_x86_glibc_PTH_OPT.OBJ/lib/libsoftokn3.so" /builddir/build/BUILD/nss-softokn-3.15.5/nss/cmd/shlibsign/./sign.sh: line 36: cd: /usr/lib : No such file or directory ^^^--- this one I don't understand yet but is not the cause
/builddir/build/BUILD/nss-softokn-3.15.5/nss/cmd/shlibsign/Linux3.12_x86_glibc_PTH_OPT.OBJ/shlibsign -v -i /builddir/build/BUILD/nss-softokn-3.15.5/nss/cmd/shlibsign/../../../dist/Linux3.12_x86_glibc_PTH_OPT.OBJ/lib/libsoftokn3.so /builddir/build/BUILD/nss-softokn-3.15.5/nss/cmd/shlibsign/./sign.sh: line 13: 17175 Floating point exception"${2}"/shlibsign -v -i "${5}" ^^^^^^^^^^ - doesn't make sense make[2]: *** [../../../dist/Linux3.12_x86_glibc_PTH_OPT.OBJ/lib/libsoftokn3.chk] Error 136 make[2]: Leaving directory `/builddir/build/BUILD/nss-softokn-3.15.5/nss/cmd/shlibsign'
This is running shlibsign tool to sign the shared library. It's doing a DSA signature operation. There is no floating point at all. I mentioned this to Bob, here copied, and and he tells me with mmx the same registes are used for intteger and floating point operations.
In http://en.wikipedia.org/wiki/MMX_%28instruction_set%29 - Technical details I see:
MMX defined eight registers, known as MM0 through MM7 (henceforth referred to as MMn). To avoid compatibility problems with the context switch >mechanisms in existing operating systems, these registers were aliases for the existing x87 FPU stack registers (so no new registers needed to be saved >or restored). Hence, anything that was done to the floating point stack would also affect the MMX registers and vice versa. However, unlike the FP >stack, the MMn registers are directly addressable (random access).
Could it also be that though the host machine may have the hardware support the the version of Linux used by RHEL-6 does not have the support? We once had an analogous problem last year when we were working on RHEL-6.5 that Bob was able to diagnose.
By the way, I have added to the spec file lines to print cpu info. On http://kojipkgs.fedoraproject.org//work/tasks/3716/6563716/build.log look at ############## CPU INFO ##################
vendor_id : GenuineIntel cpu family : 6 model : 13 model name : QEMU Virtual CPU version (cpu64-rhel6) ------------ .... skipped ... flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pse36 clflush mmx fxsr sse sse2 syscall nx lm nopl pni cx16 hypervisor lahf_lm ------------------------------------------------------------------------------------------^^^....... ..... skipping the rest as is best to read it online
This is blocking any builds of nss-softoken as they will fail on i686. Could you please help us find what's the cause?
The cpu info i have is for the virtual machine. I can't collect information on the host myself. We need to compare environments before and after the update. The hardware being used, the Version of RHEL-6 used oh the host, KVM/QEMU may have changed as well. This is preventing me from any further builds of nss-softokn for all versions of fedora.
-Elio
Thanks in advance,
-Elio
P.S. You can find me on IRC on Frrenoed on the #fedora-devel and #fedora-admin channels.
----- Forwarded Message ----- From: "Fedora Koji Build System" buildsys@fedoraproject.org To: emaldonado@fedoraproject.org Sent: Sunday, February 23, 2014 7:25:02 PM Subject: Package: nss-softokn-3.15.5-1.fc21 Tag: f21 Status: failed Built by: emaldonado
Package: nss-softokn-3.15.5-1.fc21 Tag: f21 Status: failed Built by: emaldonado ID: 499394 Started: Mon, 24 Feb 2014 03:21:35 UTC Finished: Mon, 24 Feb 2014 03:24:42 UTC
nss-softokn-3.15.5-1.fc21 (499394) failed on arm02-builder11.arm.fedoraproject.org (noarch), buildvm-03.phx2.fedoraproject.org (i386): BuildError: error building package (arch i686), mock exited with status 1; see build.log for more information SRPMS: nss-softokn-3.15.5-1.fc21.src.rpm
Failed tasks:
Task 6563705 on arm02-builder11.arm.fedoraproject.org Task Type: build (rawhide, /nss-softokn:bac2276e803bcc8102501baf764c3989bba78f80)
Task 6563716 on buildvm-03.phx2.fedoraproject.org Task Type: buildArch (nss-softokn-3.15.5-1.fc21.src.rpm, i686) logs: http://koji.fedoraproject.org/koji/getfile?taskID=6563716&name=build.log http://koji.fedoraproject.org/koji/getfile?taskID=6563716&name=mock_outp... http://koji.fedoraproject.org/koji/getfile?taskID=6563716&name=root.log http://koji.fedoraproject.org/koji/getfile?taskID=6563716&name=state.log
Canceled tasks:
Task 6563714 on arm04-builder20.arm.fedoraproject.org Task Type: buildArch (nss-softokn-3.15.5-1.fc21.src.rpm, armv7hl) logs: http://koji.fedoraproject.org/koji/getfile?taskID=6563714&name=build.log http://koji.fedoraproject.org/koji/getfile?taskID=6563714&name=mock_outp... http://koji.fedoraproject.org/koji/getfile?taskID=6563714&name=root.log http://koji.fedoraproject.org/koji/getfile?taskID=6563714&name=state.log
Task 6563715 on buildvm-06.phx2.fedoraproject.org Task Type: buildArch (nss-softokn-3.15.5-1.fc21.src.rpm, x86_64) logs: http://koji.fedoraproject.org/koji/getfile?taskID=6563715&name=build.log http://koji.fedoraproject.org/koji/getfile?taskID=6563715&name=mock_outp... http://koji.fedoraproject.org/koji/getfile?taskID=6563715&name=root.log http://koji.fedoraproject.org/koji/getfile?taskID=6563715&name=state.log
Closed tasks:
Task 6563706 on arm02-builder19.arm.fedoraproject.org Task Type: buildSRPMFromSCM (/nss-softokn:bac2276e803bcc8102501baf764c3989bba78f80) logs: http://koji.fedoraproject.org/koji/getfile?taskID=6563706&name=build.log http://koji.fedoraproject.org/koji/getfile?taskID=6563706&name=checkout.... http://koji.fedoraproject.org/koji/getfile?taskID=6563706&name=mock_outp... http://koji.fedoraproject.org/koji/getfile?taskID=6563706&name=root.log http://koji.fedoraproject.org/koji/getfile?taskID=6563706&name=state.log
Task Info: http://koji.fedoraproject.org/koji/taskinfo?taskID=6563705 Build Info: http://koji.fedoraproject.org/koji/buildinfo?buildID=499394
rel-eng@lists.fedoraproject.org