<p style="white-space: pre-wrap; word-wrap: break-word;">Hi, answering to your questions:</p><ul><li>I agree adding new param to change_elf_rpath sounds better than adding a new function</li></ul><ul><li>I think it makes sense having different jenkins-build-*.sh script to build on different platforms. We do that for instance when building software we run in a sysmobts or OC2G BTS (armv5(?) each with its own yocto SDK and hence library versions), see jenkins-build-osmo-bts-* and jenkins-build-osmo-pcu-*.sh. The idea is to reuse as much as possible the -common.sh bits from the new file, ex jenkins-build-srslte-bbu.sh. You could add for instance a new global envvar PATCHELF_EXTRA_ARGS in -common.sh and then set it in jenkins-build-srslte-bbu.sh PATCHELF_EXTRA_ARGS="--force-rpath".</li></ul><ul><li>Regarding LD_LIBRARY_PATH failing, it would be great to know why. Generally the way to find out is to ssh into the target host, then run the process manually: LD_LIBRARY_PATH="..." ./srsenb and see what it errors about. Also using ldd quickly tells you which is the library not being found: LD_LIBRARY_PATH="..." ldd ./srsenb. IIRC there's also some envvar you can set to tell the dynamic loader to enter debug mode and print lots of info.</li><li></li></ul><p><a href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/24272">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/24272">change 24272</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/24272"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-gsm-tester </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I2d4a105d4843c0d31d6b5d8f8d4195247b290aec </div>
<div style="display:none"> Gerrit-Change-Number: 24272 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: alealcon <alejandro.leal@srs.io> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-CC: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Thu, 03 Jun 2021 11:20:56 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>