Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 492974 - net-libs/openpgm 5.1.118 - version-generator.py not compatible with python 3*
Summary: net-libs/openpgm 5.1.118 - version-generator.py not compatible with python 3*
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Alexander Vershilov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-30 19:43 UTC by Dmitri Ivanov
Modified: 2015-08-24 10:30 UTC (History)
2 users (show)

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


Attachments
net-libs:openpgm-5.1.118:20131202-111322.log (20131202-111322.log,17.35 KB, text/plain)
2013-12-02 11:15 UTC, Jeroen Roovers (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitri Ivanov 2013-11-30 19:43:57 UTC
version-generator.py file from libpgm-5.1.118 distfile is not compatible with python 3.x This file executes just before source compilation and "syntax error" aborts build if python 3.x selected as main system python interpreter.

But you can emerge package if you switch to python 2.7 (through eselect python) for the time of building.

So, version-independent python script needed or ability to use exact interpreter (2.7) for this file.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-12-02 11:15:32 UTC
Created attachment 364442 [details]
net-libs:openpgm-5.1.118:20131202-111322.log
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2013-12-24 11:09:54 UTC
+*openpgm-5.2.122 (24 Dec 2013)
+
+  24 Dec 2013; Justin Lecher <jlec@gentoo.org> +openpgm-5.2.122.ebuild,
+  metadata.xml:
+  Version Bump; move to autotools-utils.eclass; fix buildtime python support,
+  #492974
+
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2015-07-13 05:28:52 UTC
This isn't fixed in 5.1.118 which is needed for net-libs/zeromq-3.2.3.
Comment 4 Ian Delaney (RETIRED) gentoo-dev 2015-07-14 09:01:09 UTC
(In reply to Jeroen Roovers from comment #3)
> This isn't fixed in 5.1.118 which is needed for net-libs/zeromq-3.2.3.

*openpgm-5.1.118 (19 Dec 2011)

Do we seriously expect openpgm-5.1.118 from this vintage to be made py3 capable today?
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2015-08-24 03:50:29 UTC
(In reply to Ian Delaney from comment #4)
> Do we seriously expect openpgm-5.1.118 from this vintage to be made py3
> capable today?

No, just an ebuild that uses [python]-r1.eclass to set python2 as interpreter.
Comment 6 Justin Lecher (RETIRED) gentoo-dev 2015-08-24 10:30:19 UTC
commit 5e8438f8c65044e20dd3d6eaff30fdfcc1a426ea
Author: Justin Lecher <jlec@gentoo.org>
Date:   Mon Aug 24 12:29:47 2015 +0200
    
    net-libs/openpgm: Make compatible with py2
    
    Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=492974
    
    Package-Manager: portage-2.2.20.1
    Signed-off-by: Justin Lecher <jlec@gentoo.org>
    
    https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e8438f8c65044e20dd3d6eaff30fdfcc1a426ea