-
Notifications
You must be signed in to change notification settings - Fork 484
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restore Oracle setup on Travis CI server #326
Conversation
It looks like |
Vadim, thank you for the extra pair of eyes. I hope it's been corrected now. |
There is one more issue to solve: SOCI build vs OCI binaries architecture.
Possible solutions:
|
The option 1. discussed above seems to work, partially. There is a problem with CMake finding 64-bit Boost, even if 32-bit build is requested. I asked about it on CMake ml: FindBoost.cmake issue while targeting 32-bit build on Linux 64-bit. |
Holy cow, it's green now! Summary: 64-bit Travis CI builds 32-bit SOCI without Boost but with Oracle. |
It was green for a moment, then somewhat mysteriously it stopped working due to ORA-12520 errors. Apparently, SOCI tests require higher value of Oracle XE's PROCESSES parameter. After bumping it from default 40 to value from range of 100-200 it's green again. |
Install Oracle 10g (32-bit) using old packages from https://oss.oracle.com/debian/. Disable Boost dependency due to Ubuntu bug that prevents installation of libboost i386 packages on amd64 host (see details at https://bugs.launchpad.net/ubuntu/+source/boost1.48/+bug/918438). Switch SOCI_TRAVIS_BACKEND=oracle build to target 32-bit architecture. Increase Oracle XE parameter PROCESSES from default 40 to 200 to prevent random ORA-12520 errors while running tests against Oracle. The configuration is based on solution worked out by P6Spy folks at p6spy/p6spy#116. Kudos! Closes #224
Restore Oracle setup on Travis CI server Closes #224
SOCI_TRAVIS_BACKEND=oracle build job needs to build SOCI 32-bit to target 32-bit OCI installed with Oracle 10g. Due to Ubuntu bug that prevents installation of libboost i386 packages on amd64 host (https://bugs.launchpad.net/ubuntu/+source/boost1.48/+bug/918438), we had to disable Boost. See #326 for details. [ci skip]
Solution for task #224 will be either based on p6spy/p6spy#116 or https://github.com/cbandy/travis-oracle/