[sanlock] branch master updated: python: Fix build on Fedora 29
by pagure@pagure.io
This is an automated email from the git hooks/post-receive script.
teigland pushed a commit to branch master
in repository sanlock.
The following commit(s) were added to refs/heads/master by this push:
new 5d535c0 python: Fix build on Fedora 29
5d535c0 is described below
commit 5d535c0d800a84665879f6dc50c87915cf6657da
Author: Nir Soffer <nsoffer(a)redhat.com>
AuthorDate: Mon Jan 28 23:02:02 2019 +0200
python: Fix build on Fedora 29
On Fedora 29 "python" is not installed by default, so the build fail
with:
+ make -C python
make: Entering directory '/builddir/build/BUILD/sanlock-3.6.0/python'
python setup.py build
make: Leaving directory '/builddir/build/BUILD/sanlock-3.6.0/python'
BUILDSTDERR: make: python: Command not found
Using python2 fixes this issue.
Signed-off-by: Nir Soffer <nsoffer(a)redhat.com>
---
python/Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/python/Makefile b/python/Makefile
index ff24e1d..06c2201 100644
--- a/python/Makefile
+++ b/python/Makefile
@@ -5,13 +5,13 @@
# of the GNU General Public License v.2.
all:
- python setup.py build
+ python2 setup.py build
inplace:
- python setup.py build_ext --inplace
+ python2 setup.py build_ext --inplace
install:
- python setup.py install --root=$(DESTDIR)
+ python2 setup.py install --root=$(DESTDIR)
clean:
rm -rf build
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
4 years, 8 months
[PATCH] python: Fix build on Fedora 29
by Nir Soffer
From: Nir Soffer <nsoffer(a)redhat.com>
On Fedora 29 "python" is not installed by default, so the build fail
with:
+ make -C python
make: Entering directory '/builddir/build/BUILD/sanlock-3.6.0/python'
python setup.py build
make: Leaving directory '/builddir/build/BUILD/sanlock-3.6.0/python'
BUILDSTDERR: make: python: Command not found
Using python2 fixes this issue.
Signed-off-by: Nir Soffer <nsoffer(a)redhat.com>
---
python/Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/python/Makefile b/python/Makefile
index ff24e1d..06c2201 100644
--- a/python/Makefile
+++ b/python/Makefile
@@ -3,16 +3,16 @@
# This copyrighted material is made available to anyone wishing to use,
# modify, copy, or redistribute it subject to the terms and conditions
# of the GNU General Public License v.2.
all:
- python setup.py build
+ python2 setup.py build
inplace:
- python setup.py build_ext --inplace
+ python2 setup.py build_ext --inplace
install:
- python setup.py install --root=$(DESTDIR)
+ python2 setup.py install --root=$(DESTDIR)
clean:
rm -rf build
--
2.17.2
4 years, 8 months
[sanlock] branch master updated: travis: Update to GCC 8
by git repository hosting
This is an automated email from the git hooks/post-receive script.
teigland pushed a commit to branch master
in repository sanlock.
The following commit(s) were added to refs/heads/master by this push:
new a904a3d travis: Update to GCC 8
a904a3d is described below
commit a904a3de2997bc7ce55b6cb3647d5ec347f0a2fa
Author: Nir Soffer <nsoffer(a)redhat.com>
AuthorDate: Tue Dec 25 02:50:38 2018 +0200
travis: Update to GCC 8
Travis latest Ubuntu images come with GCC 5.0.4, which fail to compile
with:
cc: error: unrecognized command line option ‘-fstack-clash-protection’
Using GCC 8 from ubuntu-toolchain-r-test fixes this issue.
Signed-off-by: Nir Soffer <nsoffer(a)redhat.com>
---
.travis.yml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/.travis.yml b/.travis.yml
index 675768d..8cc2859 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,10 +1,20 @@
dist: xenial
language: python
+addons:
+ apt:
+ sources:
+ - ubuntu-toolchain-r-test
+ packages:
+ - gcc-8
+
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y make gcc libaio-dev libblkid-dev
+env:
+ - CC="gcc-8"
+
script:
- make -C wdmd
- make -C src
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
4 years, 9 months