Created attachment 824572 [details] proposed fix build on big endian arches fails with ... -DLT_OBJDIR=\".libs/\" -DWORDS_BIGENDIAN=1 -D_FILE_OFFSET_BITS=64 -DHAVE_FSEEKO=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DSIZEOF_LONG=4 -DSIZEOF_INT=4 -DSIZEOF_OFF_T=8 -DHAVE_LIBM=1 -DG2P_DECODER=1 -I. -I../../../include -I/usr/include/sphinxbase -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m31 -march=z9-109 -mtune=z10 -fPIC -DPIC -c mk_s2sendump.c In file included from mk_s2sendump.c:60:0: mk_s2sendump.c: In function 'fwrite_int32': mk_s2sendump.c:85:5: error: invalid type argument of unary '*' (have 'int32') SWAP_LE_32(val); ^ mk_s2sendump.c:85:5: error: invalid type argument of unary '*' (have 'int32') SWAP_LE_32(val); ^ mk_s2sendump.c:85:5: error: invalid type argument of unary '*' (have 'int32') SWAP_LE_32(val); ^ mk_s2sendump.c:85:5: error: invalid type argument of unary '*' (have 'int32') SWAP_LE_32(val); ^ mk_s2sendump.c:85:5: error: invalid type argument of unary '*' (have 'int32') SWAP_LE_32(val); ^ make[3]: *** [mk_s2sendump.o] Error 1 make[3]: *** Waiting for unfinished jobs.... Version-Release number of selected component (if applicable): sphinxtrain-1.0.8-9.fc20
Created attachment 824573 [details] complete change for fedora git If you agree I can do the change in git and build the updates in all relevant branches.
I agree, that is the correct fix. Please go ahead with the builds. Thanks for the diagnosis and fix. I will send your patch upstream.
sphinxtrain-1.0.8-10.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/sphinxtrain-1.0.8-10.fc20
Package sphinxtrain-1.0.8-10.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing sphinxtrain-1.0.8-10.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-21464/sphinxtrain-1.0.8-10.fc20 then log in and leave karma (feedback).
sphinxtrain-1.0.8-10.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.