Description of problem: iksemel fails to build on Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1. Build iksemel on devel/x86_64 2. 3. Actual results: Making check in test make[1]: Entering directory `/builddir/build/BUILD/iksemel-1.2/test' make check-TESTS make[2]: Entering directory `/builddir/build/BUILD/iksemel-1.2/test' PASS: tst-ikstack PASS: tst-iks /bin/sh: line 4: 22955 Segmentation fault ${dir}$tst FAIL: tst-sax PASS: tst-dom PASS: tst-sha PASS: tst-md5 PASS: tst-filter PASS: tst-jid =================== 1 of 8 tests failed =================== make[2]: *** [check-TESTS] Error 1 make[2]: Leaving directory `/builddir/build/BUILD/iksemel-1.2/test' make[1]: *** [check-am] Error 2 make[1]: Leaving directory `/builddir/build/BUILD/iksemel-1.2/test' make: *** [check-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.83551 (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.83551 (%check) Expected results: Making check in test make[1]: Entering directory `/builddir/build/BUILD/iksemel-1.2/test' make check-TESTS make[2]: Entering directory `/builddir/build/BUILD/iksemel-1.2/test' PASS: tst-ikstack PASS: tst-iks PASS: tst-sax PASS: tst-dom PASS: tst-sha PASS: tst-md5 PASS: tst-filter PASS: tst-jid ================== All 8 tests passed ================== make[2]: Leaving directory `/builddir/build/BUILD/iksemel-1.2/test' make[1]: Leaving directory `/builddir/build/BUILD/iksemel-1.2/test' Additional info: Build logs at: http://buildsys.fedoraproject.org/logs/fedora-development-extras/13310-iksemel-1.2-5.fc6/
Created attachment 141412 [details] PATCH fixing make check on 64 bit args Hi, Since I've been getting quite into fixing 64 bit bugs I've taken a quick look at this, fixing it was easy. This patch fixes it, the problem was that 0 was getting passed to a vararg function as NULL pointer, while that will work fine on 32 bits args, it will fail on 64 bit as 0 == 32bits and NULL == 64bits there.
Thanks for the patch! "make check" on PPC is still failing, but that's a different issue...
p.s. Don't forget to send this upstream, please.