• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

cossacklabs / themis / #7659
88%
master: 83%

Build:
Build:
LAST BUILD BRANCH: release/0.15.0
DEFAULT BRANCH: master
Ran 28 May 2020 05:24AM UTC
Jobs 1
Files 73
Run time 9s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

27 May 2020 05:11PM UTC coverage: 87.692%. Remained the same
#7659

push

travis-ci

web-flow
Fix RPM packaging and installation on CentOS (#645)

* Add /usr/local/lib to linker search path on CentOS

Our default installation path for locally compiled Themis is
/usr/local/lib (meant to avoid conflicts with package managers).
Unfortunately, on CentOS (and possibly other RHEL-based systems)
/usr/local/lib is not included into the default search path for loader.

As another curiosity, GCC *will* look in /usr/local/include and
/usr/local/lib and it is able to build binaries linked against Themis.
However, they will fail to launch until /usr/local/lib is added to the
linker search paths.

In order to make user experience more pleasant, add /usr/local/lib
to linker search paths on CentOS so that Themis is immediately usable.

Since we change global system configuration, tell the user what we are
doing so that they can undo it if they don't need it.

This affects only local installation via "make install". RPM packages
install their stuff into standard directories and nothing in /etc gets
added in the RPM package.

* Improve JDK location autodetection on CentOS

As noted in the comment, CentOS seems to use weird Java builds which
report not entirely correct location of Java home. We cannot locate JNI
headers because we expect to find them in a slightly different place
where all other OpenJDK builds put them.

Add a workaround specifically for such systems and include some
additional paths into header search path, hoping that we can find
headers that we need.

* Avoid extra slashes in directory paths

RPM_LIBDIR is used like "$(PREFIX)/$(RPM_LIBDIR)" so we don't need
another slash there.

* Don't strip /etc/ld.so.conf.d

Now when building CentOS packages the "make install" step creates
a directory named "/etc/ld.so.conf.d" which triggers strip rules.
                          ^^^
Don't stop this directory, strip only files.

* Improve Java library path reporting

Sometimes "jnidir" gets duplicate slashes ... (continued)

3776 of 4306 relevant lines covered (87.69%)

19321.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #7659.1 28 May 2020 05:24AM UTC 0
87.69
Source Files on build #7659
Detailed source file information is not available for this build.
  • Back to Repo
  • 8a003c54 on github
  • Prev Build on HEAD
  • Next Build on HEAD
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc