leper Posted January 7, 2012 Report Share Posted January 7, 2012 (edited) Inspired by the Build on FreeBSD thread i decided to try and build 0ad on OpenIndiana. I'm currently doing this in a x86 VM.Add SFE repositorypkg set-publisher -p http://pkg.openindiana.org/sfeNeeded packagesg++/wxwidgets (from sfe) (the graphics/wxwidgets version misses a gl library)gcc (from sfe)subversionboostopenalsystem/headerheader-mathgettext (for pkg-config)developer/library/lintother needed packages like libxml2 are included in the default install.After installing these packages checkout the svn repo withsvn co http://svn.wildfiregames.com/public/ps/trunk/ 0adand apply the patch i created to get fcollada to build without errors.NOTE:The spidermonkey build still fails but i'm trying to fix those errors too.EDIT:The error messages from spidermonkeyIn file included from ../v8-dtoa/v8.h:47:0, from ../v8-dtoa/conversions.cc:30:../v8-dtoa/platform.h:70:5: error: expected unqualified-id before '__extension__'In file included from ../v8-dtoa/platform.h:77:0, from ../v8-dtoa/v8.h:47, from ../v8-dtoa/conversions.cc:30:./dist/system_wrappers_js/stdarg.h:2:37: error: expected declaration before end of linegmake[1]: *** [conversions.o] Error 1gmake[1]: *** Waiting for unfinished jobs....gmake[1]: Leaving directory `/home/test/build/0ad/libraries/spidermonkey/js-1.8.5/js/src/build-debug'gmake: *** [default] Error 2ERROR: SpiderMonkey build failedEDIT2:I managed to get nvtt to build (while using the same header file as linux...)The patch to get nvtt to build and for fcollada is openindiana_support_fcollada_and_nvtt-2012-01-07.patchEDIT3: fixed wxwidgets dependency0ad-openindiana-support-fcollada_2012-01-07.patchopenindiana_support_fcollada_and_nvtt-2012-01-07.patch Edited January 15, 2012 by leper Quote Link to comment Share on other sites More sharing options...
Sonarpulse Posted January 10, 2012 Report Share Posted January 10, 2012 Good luck. The more OSes the better. Quote Link to comment Share on other sites More sharing options...
leper Posted January 11, 2012 Author Report Share Posted January 11, 2012 I finally managed to get 0ad to compile.I'm currently cleaning up my edits and I am trying to edit the build scripts to make an easy build possible. I will release a patch here once I finished that. Quote Link to comment Share on other sites More sharing options...
historic_bruno Posted January 12, 2012 Report Share Posted January 12, 2012 Nice job Do you think it would work on other Solaris/OpenSolaris variants? Quote Link to comment Share on other sites More sharing options...
leper Posted January 12, 2012 Author Report Share Posted January 12, 2012 Nice job Do you think it would work on other Solaris/OpenSolaris variants?Thanks. I think it should work without any real problems if all the dependencies are satisfied. When there is a .iso of StormOS available it shouldn't be a lot of work to get 0ad running (due to the availability of the Debian repositiories).Now the promised patch for 0ad on OpenIndiana:openindiana_support-2012-01-12.patch is applied to the clone of the svn repo.openindiana-support-spidermonkey-2012-01-09.patch is applied to 0ad/libraries/spidermonkey/js185-1.0.0.tar.gz (NOTE: i saved it as js185-1.0.0-leper-fix.tar.gz as it is referenced in the other patch)To build 0ad (Building Atlas is not working at the moment)cd 0ad/build/workspaces./update-workspaces.sh -j3cd gccgmake Collada pyrogenesis config=release -j3Now we just need to fix a misnamed library (I don't know where to put that in the buildfiles as I am not sure when this file is copied there):cd ../../../binaries/system # or cd to 0ad/binaries/systemln -s libmozjs185-ps-release.so.1.0 libmozjs185-ps-release.soIn an ideal world we could now just run 0ad with ./pyrogenesis but since that complains about not found libraries we need to specify those to run it:LD_PRELOAD=./libmozjs185-ps-release.so:/usr/g++/lib/libboost_signals.so.1.47.0:/usr/g++/lib/libboost_filesystem.so.1.47.0:/usr/g++/lib/libboost_system.so.1.47.0:./libenet.so.1:./libnvcore.so:./libnvmath.so:./libnvimage.so:./libnvtt.so:./libCollada.so ./pyrogenesis Quote Link to comment Share on other sites More sharing options...
leper Posted January 29, 2012 Author Report Share Posted January 29, 2012 (edited) UPDATE: Modified (or rather simplified) my patch (only the build scripts) due to the better support for FreeBSD in svn. Got AtlasUI to compile (see the changes in update-workspaces.sh in the 2012-01-31.patch) if I remove the wxUSE_DEBUGREPORT block from source/tools/atlas/AtlasUI/Misc/DLLInterface.cpp. The two tests are still failing and I couldn't solve the elf class mismatch.As some of the FreeBSD patches are going into trunk I got motivated again and cleaned up some of the build modifications in my patch. To get spidermonkey to compile you still need the patch from my previous post.Now everything is compiling fine with the one exception being AtlasUI:test@openindiana:~/build/0ad/build/workspaces/gcc$ gmake==== Building mocks_real (release) ======== Building network (release) ======== Building simulation2 (release) ======== Building scriptinterface (release) ======== Building engine (release) ======== Building graphics (release) ======== Building atlas (release) ======== Building gui (release) ======== Building lowlevel (release) ======== Building mongoose (release) ======== Building pyrogenesis (release) ======== Building mocks_test (release) ======== Building AtlasObject (release) ======== Building AtlasScript (release) ======== Building AtlasUI (release) ====DLLInterface.cpp../../../source/tools/atlas/AtlasUI/Misc/DLLInterface.cpp: In member function 'virtual void AtlasDLLApp::OnFatalException()':../../../source/tools/atlas/AtlasUI/Misc/DLLInterface.cpp:248:3: error: 'wxDebugReport' was not declared in this scope../../../source/tools/atlas/AtlasUI/Misc/DLLInterface.cpp:248:17: error: expected ';' before 'report'../../../source/tools/atlas/AtlasUI/Misc/DLLInterface.cpp:249:3: error: 'wxDebugReportPreviewStd' was not declared in this scope../../../source/tools/atlas/AtlasUI/Misc/DLLInterface.cpp:249:27: error: expected ';' before 'preview'../../../source/tools/atlas/AtlasUI/Misc/DLLInterface.cpp:251:3: error: 'report' was not declared in this scope../../../source/tools/atlas/AtlasUI/Misc/DLLInterface.cpp:253:7: error: 'preview' was not declared in this scopegmake[1]: *** [obj/AtlasUI_Release/DLLInterface.o] Error 1gmake: *** [AtlasUI] Error 2That code is only compiled if wxUSE_DEBUGREPORT is set. If it isn't set you just need to add -mimpure-text to the LDFLAGS and remove -fstack-protector-all from the CFLAGS in AtlasUI.make to make AtlasUI compile and link properly.So to compile the game just use:gmake Collada pyrogenesis testNow just cd to binaries/system and run test with:LD_PRELOAD=/usr/g++/lib/libboost_system.so.1.48.0 ./test2 tests are failingRunning 258 tests..................................................................................................trace.cpp(67): Assertion failed: "dummy == ':'"Assertion failed: "dummy == ':'"Location: trace.cpp:67 (TraceEntry)Call stack:(85252af) /home/test/build/0ad/binaries/system/test'_Z15debug_DumpStackPwjPvPKw+0x2f [0x85252af](84d1164) /home/test/build/0ad/binaries/system/test'_Z23debug_BuildErrorMessagePKwS0_iPKcPvS0_P15ErrorMessageMem.constprop.59+0x1a4 [0x84d1164](84d1f13) /home/test/build/0ad/binaries/system/test'_Z18debug_DisplayErrorPKwjPvS0_S0_iPKcPVi.part.47+0xd3 [0x84d1f13](84d2219) /home/test/build/0ad/binaries/system/test'_Z24debug_OnAssertionFailurePKwPViS0_iPKc+0xd9 [0x84d2219](84ded82) /home/test/build/0ad/binaries/system/test'_ZN10TraceEntryC2ERKSbIwSt11char_traitsIwESaIwEE+0x302 [0x84ded82](81c8965) /home/test/build/0ad/binaries/system/test'_ZN14TestTraceEntry10test_entryEv+0x925 [0x81c8965](8159b34) /home/test/build/0ad/binaries/system/test'_ZN7CxxTest19RealTestDescription3runEv+0x24 [0x8159b34](816198f) /home/test/build/0ad/binaries/system/test'_ZN7CxxTest13PsTestWrapper6runGuiERiPPcRNS_12TestListenerE+0x23f [0x816198f](85a2cd7) /home/test/build/0ad/binaries/system/test'main+0xc7 [0x85a2cd7](81547b3) /home/test/build/0ad/binaries/system/test'_start+0x83 [0x81547b3]errno = 0 (Invalid alignment)OS error = ?(C)ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?Ctrace.cpp(70): Assertion failed: "action == 'L' || action == 'S'"Assertion failed: "action == 'L' || action == 'S'"Location: trace.cpp:70 (TraceEntry)Call stack:(85252af) /home/test/build/0ad/binaries/system/test'_Z15debug_DumpStackPwjPvPKw+0x2f [0x85252af](84d1164) /home/test/build/0ad/binaries/system/test'_Z23debug_BuildErrorMessagePKwS0_iPKcPvS0_P15ErrorMessageMem.constprop.59+0x1a4 [0x84d1164](84d1f13) /home/test/build/0ad/binaries/system/test'_Z18debug_DisplayErrorPKwjPvS0_S0_iPKcPVi.part.47+0xd3 [0x84d1f13](84d2219) /home/test/build/0ad/binaries/system/test'_Z24debug_OnAssertionFailurePKwPViS0_iPKc+0xd9 [0x84d2219](84def34) /home/test/build/0ad/binaries/system/test'_ZN10TraceEntryC2ERKSbIwSt11char_traitsIwESaIwEE+0x4b4 [0x84def34](81c8965) /home/test/build/0ad/binaries/system/test'_ZN14TestTraceEntry10test_entryEv+0x925 [0x81c8965](8159b34) /home/test/build/0ad/binaries/system/test'_ZN7CxxTest19RealTestDescription3runEv+0x24 [0x8159b34](816198f) /home/test/build/0ad/binaries/system/test'_ZN7CxxTest13PsTestWrapper6runGuiERiPPcRNS_12TestListenerE+0x23f [0x816198f](85a2cd7) /home/test/build/0ad/binaries/system/test'main+0xc7 [0x85a2cd7](81547b3) /home/test/build/0ad/binaries/system/test'_start+0x83 [0x81547b3]errno = 0 (No error reported here)OS error = ?(C)ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?(C)ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?Ctrace.cpp(74): Assertion failed: "dummy == '"'"Assertion failed: "dummy == '"'"Location: trace.cpp:74 (TraceEntry)Call stack:(85252af) /home/test/build/0ad/binaries/system/test'_Z15debug_DumpStackPwjPvPKw+0x2f [0x85252af](84d1164) /home/test/build/0ad/binaries/system/test'_Z23debug_BuildErrorMessagePKwS0_iPKcPvS0_P15ErrorMessageMem.constprop.59+0x1a4 [0x84d1164](84d1f13) /home/test/build/0ad/binaries/system/test'_Z18debug_DisplayErrorPKwjPvS0_S0_iPKcPVi.part.47+0xd3 [0x84d1f13](84d2219) /home/test/build/0ad/binaries/system/test'_Z24debug_OnAssertionFailurePKwPViS0_iPKc+0xd9 [0x84d2219](84dedfc) /home/test/build/0ad/binaries/system/test'_ZN10TraceEntryC2ERKSbIwSt11char_traitsIwESaIwEE+0x37c [0x84dedfc](81c8965) /home/test/build/0ad/binaries/system/test'_ZN14TestTraceEntry10test_entryEv+0x925 [0x81c8965](8159b34) /home/test/build/0ad/binaries/system/test'_ZN7CxxTest19RealTestDescription3runEv+0x24 [0x8159b34](816198f) /home/test/build/0ad/binaries/system/test'_ZN7CxxTest13PsTestWrapper6runGuiERiPPcRNS_12TestListenerE+0x23f [0x816198f](85a2cd7) /home/test/build/0ad/binaries/system/test'main+0xc7 [0x85a2cd7](81547b3) /home/test/build/0ad/binaries/system/test'_start+0x83 [0x81547b3]errno = 0 (No error reported here)OS error = ?(C)ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?(C)ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?Ctrace.cpp(82): Assertion failed: "stream.get() == '\n'"Assertion failed: "stream.get() == '\n'"Location: trace.cpp:82 (TraceEntry)Call stack:(85252af) /home/test/build/0ad/binaries/system/test'_Z15debug_DumpStackPwjPvPKw+0x2f [0x85252af](84d1164) /home/test/build/0ad/binaries/system/test'_Z23debug_BuildErrorMessagePKwS0_iPKcPvS0_P15ErrorMessageMem.constprop.59+0x1a4 [0x84d1164](84d1f13) /home/test/build/0ad/binaries/system/test'_Z18debug_DisplayErrorPKwjPvS0_S0_iPKcPVi.part.47+0xd3 [0x84d1f13](84d2219) /home/test/build/0ad/binaries/system/test'_Z24debug_OnAssertionFailurePKwPViS0_iPKc+0xd9 [0x84d2219](84df0a2) /home/test/build/0ad/binaries/system/test'_ZN10TraceEntryC2ERKSbIwSt11char_traitsIwESaIwEE+0x622 [0x84df0a2](81c8965) /home/test/build/0ad/binaries/system/test'_ZN14TestTraceEntry10test_entryEv+0x925 [0x81c8965](8159b34) /home/test/build/0ad/binaries/system/test'_ZN7CxxTest19RealTestDescription3runEv+0x24 [0x8159b34](816198f) /home/test/build/0ad/binaries/system/test'_ZN7CxxTest13PsTestWrapper6runGuiERiPPcRNS_12TestListenerE+0x23f [0x816198f](85a2cd7) /home/test/build/0ad/binaries/system/test'main+0xc7 [0x85a2cd7](81547b3) /home/test/build/0ad/binaries/system/test'_start+0x83 [0x81547b3]errno = 0 (No error reported here)OS error = ?(C)ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?(C)ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?Ctrace.cpp(83): Assertion failed: "stream.good()"Assertion failed: "stream.good()"Location: trace.cpp:83 (TraceEntry)Call stack:(85252af) /home/test/build/0ad/binaries/system/test'_Z15debug_DumpStackPwjPvPKw+0x2f [0x85252af](84d1164) /home/test/build/0ad/binaries/system/test'_Z23debug_BuildErrorMessagePKwS0_iPKcPvS0_P15ErrorMessageMem.constprop.59+0x1a4 [0x84d1164](84d1f13) /home/test/build/0ad/binaries/system/test'_Z18debug_DisplayErrorPKwjPvS0_S0_iPKcPVi.part.47+0xd3 [0x84d1f13](84d2219) /home/test/build/0ad/binaries/system/test'_Z24debug_OnAssertionFailurePKwPViS0_iPKc+0xd9 [0x84d2219](84df0e6) /home/test/build/0ad/binaries/system/test'_ZN10TraceEntryC2ERKSbIwSt11char_traitsIwESaIwEE+0x666 [0x84df0e6](81c8965) /home/test/build/0ad/binaries/system/test'_ZN14TestTraceEntry10test_entryEv+0x925 [0x81c8965](8159b34) /home/test/build/0ad/binaries/system/test'_ZN7CxxTest19RealTestDescription3runEv+0x24 [0x8159b34](816198f) /home/test/build/0ad/binaries/system/test'_ZN7CxxTest13PsTestWrapper6runGuiERiPPcRNS_12TestListenerE+0x23f [0x816198f](85a2cd7) /home/test/build/0ad/binaries/system/test'main+0xc7 [0x85a2cd7](81547b3) /home/test/build/0ad/binaries/system/test'_start+0x83 [0x81547b3]errno = 0 (No error reported here)OS error = ?(C)ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?(C)ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?CIn TestTraceEntry::test_entry:../../../libraries/boost/include/../../../source/lib/file/common/tests/test_trace.h:54: Error: Expected (t3.Action() == TraceEntry::Load), found ({ 30 00 00 00 } != { 4C 00 00 00 })../../../libraries/boost/include/../../../source/lib/file/common/tests/test_trace.h:55: Error: Expected ((t3.Pathname()).string() == (OsPath(L"example.txt")).string()), found (L"7052: L " != L"example.txt")../../../libraries/boost/include/../../../source/lib/file/common/tests/test_trace.h:56: Error: Expected (t3.Size() == (size_t)1234), found (0 != 1234)trace.cpp(67): Assertion failed: "dummy == ':'"Assertion failed: "dummy == ':'"Location: trace.cpp:67 (TraceEntry)Call stack:(85252af) /home/test/build/0ad/binaries/system/test'_Z15debug_DumpStackPwjPvPKw+0x2f [0x85252af](84d1164) /home/test/build/0ad/binaries/system/test'_Z23debug_BuildErrorMessagePKwS0_iPKcPvS0_P15ErrorMessageMem.constprop.59+0x1a4 [0x84d1164](84d1f13) /home/test/build/0ad/binaries/system/test'_Z18debug_DisplayErrorPKwjPvS0_S0_iPKcPVi.part.47+0xd3 [0x84d1f13](84d2219) /home/test/build/0ad/binaries/system/test'_Z24debug_OnAssertionFailurePKwPViS0_iPKc+0xd9 [0x84d2219](84ded82) /home/test/build/0ad/binaries/system/test'_ZN10TraceEntryC2ERKSbIwSt11char_traitsIwESaIwEE+0x302 [0x84ded82](81c8b73) /home/test/build/0ad/binaries/system/test'_ZN14TestTraceEntry10test_entryEv+0xb33 [0x81c8b73](8159b34) /home/test/build/0ad/binaries/system/test'_ZN7CxxTest19RealTestDescription3runEv+0x24 [0x8159b34](816198f) /home/test/build/0ad/binaries/system/test'_ZN7CxxTest13PsTestWrapper6runGuiERiPPcRNS_12TestListenerE+0x23f [0x816198f](85a2cd7) /home/test/build/0ad/binaries/system/test'main+0xc7 [0x85a2cd7](81547b3) /home/test/build/0ad/binaries/system/test'_start+0x83 [0x81547b3]errno = 0 (No error reported here)OS error = ?(C)ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?(C)ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?Ctrace.cpp(70): Assertion failed: "action == 'L' || action == 'S'"Assertion failed: "action == 'L' || action == 'S'"Location: trace.cpp:70 (TraceEntry)Call stack:(85252af) /home/test/build/0ad/binaries/system/test'_Z15debug_DumpStackPwjPvPKw+0x2f [0x85252af](84d1164) /home/test/build/0ad/binaries/system/test'_Z23debug_BuildErrorMessagePKwS0_iPKcPvS0_P15ErrorMessageMem.constprop.59+0x1a4 [0x84d1164](84d1f13) /home/test/build/0ad/binaries/system/test'_Z18debug_DisplayErrorPKwjPvS0_S0_iPKcPVi.part.47+0xd3 [0x84d1f13](84d2219) /home/test/build/0ad/binaries/system/test'_Z24debug_OnAssertionFailurePKwPViS0_iPKc+0xd9 [0x84d2219](84def34) /home/test/build/0ad/binaries/system/test'_ZN10TraceEntryC2ERKSbIwSt11char_traitsIwESaIwEE+0x4b4 [0x84def34](81c8b73) /home/test/build/0ad/binaries/system/test'_ZN14TestTraceEntry10test_entryEv+0xb33 [0x81c8b73](8159b34) /home/test/build/0ad/binaries/system/test'_ZN7CxxTest19RealTestDescription3runEv+0x24 [0x8159b34](816198f) /home/test/build/0ad/binaries/system/test'_ZN7CxxTest13PsTestWrapper6runGuiERiPPcRNS_12TestListenerE+0x23f [0x816198f](85a2cd7) /home/test/build/0ad/binaries/system/test'main+0xc7 [0x85a2cd7](81547b3) /home/test/build/0ad/binaries/system/test'_start+0x83 [0x81547b3]errno = 0 (No error reported here)OS error = ?(C)ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?(C)ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?Ctrace.cpp(74): Assertion failed: "dummy == '"'"Assertion failed: "dummy == '"'"Location: trace.cpp:74 (TraceEntry)Call stack:(85252af) /home/test/build/0ad/binaries/system/test'_Z15debug_DumpStackPwjPvPKw+0x2f [0x85252af](84d1164) /home/test/build/0ad/binaries/system/test'_Z23debug_BuildErrorMessagePKwS0_iPKcPvS0_P15ErrorMessageMem.constprop.59+0x1a4 [0x84d1164](84d1f13) /home/test/build/0ad/binaries/system/test'_Z18debug_DisplayErrorPKwjPvS0_S0_iPKcPVi.part.47+0xd3 [0x84d1f13](84d2219) /home/test/build/0ad/binaries/system/test'_Z24debug_OnAssertionFailurePKwPViS0_iPKc+0xd9 [0x84d2219](84dedfc) /home/test/build/0ad/binaries/system/test'_ZN10TraceEntryC2ERKSbIwSt11char_traitsIwESaIwEE+0x37c [0x84dedfc](81c8b73) /home/test/build/0ad/binaries/system/test'_ZN14TestTraceEntry10test_entryEv+0xb33 [0x81c8b73](8159b34) /home/test/build/0ad/binaries/system/test'_ZN7CxxTest19RealTestDescription3runEv+0x24 [0x8159b34](816198f) /home/test/build/0ad/binaries/system/test'_ZN7CxxTest13PsTestWrapper6runGuiERiPPcRNS_12TestListenerE+0x23f [0x816198f](85a2cd7) /home/test/build/0ad/binaries/system/test'main+0xc7 [0x85a2cd7](81547b3) /home/test/build/0ad/binaries/system/test'_start+0x83 [0x81547b3]errno = 0 (No error reported here)OS error = ?(C)ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?(C)ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?Ctrace.cpp(82): Assertion failed: "stream.get() == '\n'"Assertion failed: "stream.get() == '\n'"Location: trace.cpp:82 (TraceEntry)Call stack:(85252af) /home/test/build/0ad/binaries/system/test'_Z15debug_DumpStackPwjPvPKw+0x2f [0x85252af](84d1164) /home/test/build/0ad/binaries/system/test'_Z23debug_BuildErrorMessagePKwS0_iPKcPvS0_P15ErrorMessageMem.constprop.59+0x1a4 [0x84d1164](84d1f13) /home/test/build/0ad/binaries/system/test'_Z18debug_DisplayErrorPKwjPvS0_S0_iPKcPVi.part.47+0xd3 [0x84d1f13](84d2219) /home/test/build/0ad/binaries/system/test'_Z24debug_OnAssertionFailurePKwPViS0_iPKc+0xd9 [0x84d2219](84df0a2) /home/test/build/0ad/binaries/system/test'_ZN10TraceEntryC2ERKSbIwSt11char_traitsIwESaIwEE+0x622 [0x84df0a2](81c8b73) /home/test/build/0ad/binaries/system/test'_ZN14TestTraceEntry10test_entryEv+0xb33 [0x81c8b73](8159b34) /home/test/build/0ad/binaries/system/test'_ZN7CxxTest19RealTestDescription3runEv+0x24 [0x8159b34](816198f) /home/test/build/0ad/binaries/system/test'_ZN7CxxTest13PsTestWrapper6runGuiERiPPcRNS_12TestListenerE+0x23f [0x816198f](85a2cd7) /home/test/build/0ad/binaries/system/test'main+0xc7 [0x85a2cd7](81547b3) /home/test/build/0ad/binaries/system/test'_start+0x83 [0x81547b3]errno = 0 (No error reported here)OS error = ?(C)ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?(C)ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?Ctrace.cpp(83): Assertion failed: "stream.good()"Assertion failed: "stream.good()"Location: trace.cpp:83 (TraceEntry)Call stack:(85252af) /home/test/build/0ad/binaries/system/test'_Z15debug_DumpStackPwjPvPKw+0x2f [0x85252af](84d1164) /home/test/build/0ad/binaries/system/test'_Z23debug_BuildErrorMessagePKwS0_iPKcPvS0_P15ErrorMessageMem.constprop.59+0x1a4 [0x84d1164](84d1f13) /home/test/build/0ad/binaries/system/test'_Z18debug_DisplayErrorPKwjPvS0_S0_iPKcPVi.part.47+0xd3 [0x84d1f13](84d2219) /home/test/build/0ad/binaries/system/test'_Z24debug_OnAssertionFailurePKwPViS0_iPKc+0xd9 [0x84d2219](84df0e6) /home/test/build/0ad/binaries/system/test'_ZN10TraceEntryC2ERKSbIwSt11char_traitsIwESaIwEE+0x666 [0x84df0e6](81c8b73) /home/test/build/0ad/binaries/system/test'_ZN14TestTraceEntry10test_entryEv+0xb33 [0x81c8b73](8159b34) /home/test/build/0ad/binaries/system/test'_ZN7CxxTest19RealTestDescription3runEv+0x24 [0x8159b34](816198f) /home/test/build/0ad/binaries/system/test'_ZN7CxxTest13PsTestWrapper6runGuiERiPPcRNS_12TestListenerE+0x23f [0x816198f](85a2cd7) /home/test/build/0ad/binaries/system/test'main+0xc7 [0x85a2cd7](81547b3) /home/test/build/0ad/binaries/system/test'_start+0x83 [0x81547b3]errno = 0 (No error reported here)OS error = ?(C)ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?(C)ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?C../../../libraries/boost/include/../../../source/lib/file/common/tests/test_trace.h:59: Error: Expected (t4.Action() == TraceEntry::Store), found ({ 30 00 00 00 } != { 53 00 00 00 })../../../libraries/boost/include/../../../source/lib/file/common/tests/test_trace.h:60: Error: Expected ((t4.Pathname()).string() == (OsPath(L"example two.txt")).string()), found (L"7139: S " != L"example two.txt")../../../libraries/boost/include/../../../source/lib/file/common/tests/test_trace.h:61: Error: Expected (t4.Size() == (size_t)16777216), found (0 != 16777216)....In TestMatrix::test_getRotation:../../../source/maths/tests/../../../source/maths/tests/test_Matrix3d.h:140: Error: Expected (m.GetYRotation() == a) up to 0.001f (0.0010), found (3.1415 != -3.1415)..........................................................................................................................................................Failed 2 of 258 testsSuccess rate: 99%Now (probably due to a version bump of the available boost library to 1.48) executingLD_PRELOAD=/usr/g++/lib/libboost_signals.so.1.48.0:/usr/g++/lib/libboost_filesystem.so.1.48.0:/usr/g++/lib/libboost_system.so.1.48.0 ./pyrogenesisresults in a elf class mismatch:WARNING: Invalid locale settingsWARNING: LC_ALL="(unset)"WARNING: LC_COLLATE="(unset)"WARNING: LC_CTYPE="(unset)"WARNING: LC_MONETARY="(unset)"WARNING: LC_NUMERIC="(unset)"WARNING: LC_TIME="(unset)"WARNING: LC_MESSAGES="(unset)"WARNING: LANG="en_US.UTF-8"WARNING: Setting LC_ALL env variable to: CCache: 200 (total: 2047) MiBTIMER| InitVfs: 4.60571 msTIMER| InitScripting: 25.5709 msTIMER| CONFIG_Init: 14.4873 msld.so.1: ps: fatal: /usr/g++/lib/libboost_signals.so.1.48.0: wrong ELF class: ELFCLASS32OpenGL Warning: Failed to connect to host. Make sure 3D acceleration is enabled for this VM.OpenGL Warning: glXChooseVisual: ignoring attribute 0x22ld.so.1: ps: fatal: /usr/g++/lib/libboost_signals.so.1.48.0: wrong ELF class: ELFCLASS32OpenGL Warning: Failed to connect to host. Make sure 3D acceleration is enabled for this VM.Segmentation Fault (core dumped)even though pyrogenesis and libboost_signals.so.1.48.0 are both ELFCLASS32.elfdump -e pyrogenesisELF Header ei_magic: { 0x7f, E, L, F } ei_class: ELFCLASS32 ei_data: ELFDATA2LSB ei_osabi: ELFOSABI_SOLARIS ei_abiversion: EAV_SUNW_CURRENT e_machine: EM_386 e_version: EV_CURRENT e_type: ET_EXEC e_flags: 0 e_entry: 0x8127d10 e_ehsize: 52 e_shstrndx: 2726 e_shoff: 0x4f73d0c e_shentsize: 40 e_shnum: 2727 e_phoff: 0x34 e_phentsize: 32 e_phnum: 7elfdump -e /usr/g++/lib/libboost_signals.so.1.48.0 ELF Header ei_magic: { 0x7f, E, L, F } ei_class: ELFCLASS32 ei_data: ELFDATA2LSB ei_osabi: ELFOSABI_SOLARIS ei_abiversion: EAV_SUNW_CURRENT e_machine: EM_386 e_version: EV_CURRENT e_type: ET_DYN e_flags: 0 e_entry: 0 e_ehsize: 52 e_shstrndx: 60 e_shoff: 0x19c04 e_shentsize: 40 e_shnum: 61 e_phoff: 0x34 e_phentsize: 32 e_phnum: 4EDIT: Fixed AtlasUI buildopenindiana_support-2012-01-29.patchopenindiana_support-2012-01-31.patch Edited January 31, 2012 by leper Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.