[mythtv-users] Latest master: cross-compilation failed on unit-tests

Warpme warpme at o2.pl
Thu Aug 1 15:14:22 UTC 2013


Hi,
I'm trying to build current mater in cross-compiled (32bit Intel i3 
host; 64-bit Intel atom target) environment.
I finally managed to successfully build but process failed on executing 
unit-tests.
Not strange as unit-test are build for 64bit while myth build process 
tries execute then on 32bit environment.
Is there way to disable building/execution test-units?
./configure --help shows nothing related....

Here is log from failed build:

make[3]: Leaving directory 
`/home/piotro/minimyth-dev/script/myth-master/mythtv/work/main.d/mythtv-master-20130801-g5b93775/mythtv/libs/libmyth/test'
make[4]: Leaving directory 
`/home/piotro/minimyth-dev/script/myth-master/mythtv/work/main.d/mythtv-master-20130801-g5b93775/mythtv/libs/libmythbase/test/test_mythtimer'
make[3]: Leaving directory 
`/home/piotro/minimyth-dev/script/myth-master/mythtv/work/main.d/mythtv-master-20130801-g5b93775/mythtv/libs/libmythbase/test'
../programs/scripts/unittests.sh
../programs/scripts/unittests.sh: line 23: 
././libmythbase/test/test_mythtimer/test_mythtimer: cannot execute 
binary file
error: A unit test failed.
../programs/scripts/unittests.sh: line 23: 
././libmythbase/test/test_mythsystemlegacy/test_mythsystemlegacy: cannot 
execute binary file
error: A unit test failed.
../programs/scripts/unittests.sh: line 23: 
././libmythbase/test/test_mythsystem/test_mythsystem: cannot execute 
binary file
error: A unit test failed.
../programs/scripts/unittests.sh: line 23: 
././libmythbase/test/test_template/test_template: cannot execute binary file
error: A unit test failed.
../programs/scripts/unittests.sh: line 23: 
././libmyth/test/test_audioconvert/test_audioconvert: cannot execute 
binary file
error: A unit test failed.
../programs/scripts/unittests.sh: line 23: 
././libmyth/test/test_audioutils/test_audioutils: cannot execute binary file
error: A unit test failed.
../programs/scripts/unittests.sh: line 23: 
././libmythtv/test/test_mpegtables/test_mpegtables: cannot execute 
binary file
error: A unit test failed.
error: At least one unit test failed, returning 1
make[2]: *** [test] Error 1
make[2]: Leaving directory 
`/home/piotro/minimyth-dev/script/myth-master/mythtv/work/main.d/mythtv-master-20130801-g5b93775/mythtv/libs'
make[1]: [test] Error 2 (ignored)
make[1]: Leaving directory 
`/home/piotro/minimyth-dev/script/myth-master/mythtv/work/main.d/mythtv-master-20130801-g5b93775/mythtv'
     [build] complete for mythtv.

Thx in advance
-------------- next part --------------
A non-text attachment was scrubbed...
Name: warpme.vcf
Type: text/x-vcard
Size: 83 bytes
Desc: not available
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20130801/0ff4227c/attachment.vcf>


More information about the mythtv-users mailing list