[omd-commits] OMD Git: omd: Python: Fixed RPM build issue (libpython2.7.so.1 not found)

git version control git at mathias-kettner.de
Sat Jun 11 10:03:24 CEST 2016


Module:   omd
Branch:   master
Commit:   69cfb74e61785ac0a5115b9fa1937083345b9632
URL:      http://omdistro.org/projects/omd/repository/revisions/69cfb74e61785ac0a5115b9fa1937083345b9632

Author:   Lars Michelsen <lm at larsmichelsen.com>
Date:     Sat Jun 11 10:03:19 2016 +0200
Commiter: Lars Michelsen <lm at larsmichelsen.com>
Date:     Sat Jun 11 10:03:19 2016 +0200

Python: Fixed RPM build issue (libpython2.7.so.1 not found)

---

 Makefile |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/Makefile b/Makefile
index 96dee0b..abd49a0 100644
--- a/Makefile
+++ b/Makefile
@@ -239,6 +239,9 @@ rpm:
 	cp $(SOURCE_TGZ) $(RPM_TOPDIR)/SOURCES
 	# NO_BRP_STALE_LINK_ERROR ignores errors when symlinking from skel to
 	# share,lib,bin because the link has a invalid target until the site is created
+	# NO_BRP_CHECK_RPATH ignores errors with the compiled python2.7 binary which
+	# has a rpath hard coded to the OMD shipped libpython2.7.
+	NO_BRP_CHECK_RPATH="yes" \
 	NO_BRP_STALE_LINK_ERROR="yes" \
 	rpmbuild -ba --define "_topdir $(RPM_TOPDIR)" \
 	     --buildroot=$$(pwd)/rpm.buildroot omd.spec



More information about the omd-commits mailing list