Change in osmo-ci[master]: gsm-tester: Manual build and install of patchelf v0.10

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Fri Feb 14 19:35:57 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/17128 )

Change subject: gsm-tester: Manual build and install of patchelf v0.10
......................................................................

gsm-tester: Manual build and install of patchelf v0.10

Due to [1], we require both debian9 patchelf v0.9 and v0.10 to be
available and used by osmo-gsm-teser depending on the binary to be
patched.

[1] https://github.com/NixOS/patchelf/issues/192
Related: OS#4389
Change-Id: I28825d723b85900fb51cc5b8a9d14c6ef346e667
---
M ansible/roles/gsm-tester/tasks/main.yml
1 file changed, 25 insertions(+), 0 deletions(-)

Approvals:
  pespin: Verified
  laforge: Looks good to me, approved



diff --git a/ansible/roles/gsm-tester/tasks/main.yml b/ansible/roles/gsm-tester/tasks/main.yml
index 88f072e..0a5a838 100644
--- a/ansible/roles/gsm-tester/tasks/main.yml
+++ b/ansible/roles/gsm-tester/tasks/main.yml
@@ -129,6 +129,31 @@
   tags:
     - ofono
 
+# patchelf 0.9 available in debian has bugs with certain binaries. Version 0.10
+# fails on other binaries, so we need both 0.9 and 0.10 versions installed.
+- name: setup patchelf v0.10 repository
+  git:
+    repo: 'https://github.com/NixOS/patchelf.git'
+    dest: /root/patchelf
+    version: "0.10"
+    clone: yes
+    update: no
+  tags:
+    - patchelf
+
+- name: build patchelf v0.10
+  shell: |
+      autoreconf -fi && \
+      ./configure --prefix=/opt && \
+      make && \
+      mkdir -p /opt/bin/ && \
+      cp src/patchelf /opt/bin/patchelf-v0.10
+  args:
+    chdir: /root/patchelf
+    creates: /opt/bin/patchelf-v0.10
+  tags:
+    - patchelf
+
 - name: install gsm tester dependencies
   apt:
     name: "{{ item }}"

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/17128
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I28825d723b85900fb51cc5b8a9d14c6ef346e667
Gerrit-Change-Number: 17128
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200214/950703d3/attachment.htm>


More information about the gerrit-log mailing list