Bug 200579 - iksemel fails to build on developmen/x86_64
Summary: iksemel fails to build on developmen/x86_64
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: iksemel
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeffrey C. Ollie
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-07-28 19:03 UTC by Jeffrey C. Ollie
Modified: 2007-11-30 22:11 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-11-16 23:09:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
PATCH fixing make check on 64 bit args (4.10 KB, patch)
2006-11-16 20:42 UTC, Hans de Goede
no flags Details | Diff

Description Jeffrey C. Ollie 2006-07-28 19:03:43 UTC
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/

Comment 1 Hans de Goede 2006-11-16 20:42:13 UTC
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.

Comment 2 Jeffrey C. Ollie 2006-11-16 23:09:24 UTC
Thanks for the patch!  "make check" on PPC is still failing, but that's a
different issue...


Comment 3 Hans de Goede 2006-11-17 16:31:45 UTC
p.s.

Don't forget to send this upstream, please.




Note You need to log in before you can comment on or make changes to this bug.