Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 592174 - sys-cluster/glusterfs: version bump to 3.8.4
Summary: sys-cluster/glusterfs: version bump to 3.8.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-26 09:41 UTC by Jan Lam
Modified: 2018-06-02 18:45 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
glusterfs-3.8.3 ebuild (glusterfs-3.8.3.ebuild,6.23 KB, text/plain)
2016-08-26 09:41 UTC, Jan Lam
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Lam 2016-08-26 09:41:14 UTC
Created attachment 444174 [details]
glusterfs-3.8.3 ebuild

Attached is an ebuild for sys-cluster/glusterfs-3.8.3. 
It's a modified version of the 3.7.4 ebuild with 1 line added.

The build would fail with an error about gen-defaults.py not being executable, that's why I added the chmod ugo+x ${PORTAGE_TMPDIR}/portage/sys-cluster/${P}/work/${P}/libglusterfs/src/gen-defaults.py
Not sure if that's the way to go, but it worked for me.
Comment 1 Tomáš Mózes 2016-08-27 06:09:27 UTC
If the changeset is so small, maybe it's better to simply post the unified diff.
Comment 2 Michael Klapproth 2016-09-01 23:27:12 UTC
Thanks for the ebuild! It compiled on 1 system, on another it failed:

flex -Pgraphyy -t /var/tmp/portage/sys-cluster/glusterfs-3.8.3/work/glusterfs-3.8.3/libglusterfs/src/graph.l > graph.lex.c
/var/tmp/portage/sys-cluster/glusterfs-3.8.3/work/glusterfs-3.8.3/libglusterfs/src/gen-defaults.py /var/tmp/portage/sys-cluster/glusterfs-3.8.3/work/glusterfs-3.8.3/libglusterfs/src/defaults-tmpl.c > defaults.c
  File "/var/tmp/portage/sys-cluster/glusterfs-3.8.3/work/glusterfs-3.8.3/libglusterfs/src/gen-defaults.py", line 64
    print generate(FAILURE_CBK_TEMPLATE,name,cbk_subs)
                 ^
SyntaxError: invalid syntax

Problem is the active python version. On that system python3 was default version.

=> Switching to python2.7 solved the problem.

I don't know how to switch temporarily in an ebuild the active python version.
Comment 3 Marek Szuba (RETIRED) archtester gentoo-dev 2016-10-07 07:54:00 UTC
3.8.4 came out a month ago. Would be great to have 3.8 into Portage soon, I've got an ebuild queued up for submission which depends on it.
Comment 4 Ultrabug gentoo-dev 2016-11-27 14:54:58 UTC
Bumped to 3.8.6, sorry it took so long

sys-cluster/glusterfs: version bump, fix #560750 #582732 #592174 #589058
 2 files changed, 213 insertions(+)
 create mode 100644 sys-cluster/glusterfs/glusterfs-3.8.6.ebuild