Bug 194917 - [PATCH] Fix Python build dependency for net/openpgm
Summary: [PATCH] Fix Python build dependency for net/openpgm
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Veniamin Gvozdikov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-09 23:26 UTC by Andrew Berg
Modified: 2015-01-20 11:47 UTC (History)
1 user (show)

See Also:
berg2839: maintainer-feedback? (vg)


Attachments
openpgm python fix (416 bytes, patch)
2014-11-09 23:26 UTC, Andrew Berg
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Berg 2014-11-09 23:26:57 UTC
Created attachment 149232 [details]
openpgm python fix

net/openpgm requires Python 2 during build for version_generator.py.

--- version.c ---
  File "./version_generator.py", line 53
    """%(build_date, build_time, platform.system(), platform.machine(), build_rev)
      ^
SyntaxError: invalid syntax
*** [version.c] Error code 1

Looking at version_generator.py, this is actually the end of a print statement, which is invalid syntax in Python 3.

Full log of failed build: https://candace.robotsondrugs.com/poudriere/data/101x64-default/2014.11.09_16:52:40/logs/errors/openpgm-5.2.122_1.log
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-11-09 23:26:57 UTC
Auto-assigned to maintainer vg@FreeBSD.org
Comment 2 commit-hook freebsd_committer freebsd_triage 2015-01-20 11:46:53 UTC
A commit references this bug:

Author: vg
Date: Tue Jan 20 11:46:50 UTC 2015
New revision: 377506
URL: https://svnweb.freebsd.org/changeset/ports/377506

Log:
  - Fix build when using python3

  PR:		ports/194917
  Submitted by:	Andrew Berg <aberg010@my.hennepintech.edu>

Changes:
  head/net/openpgm/Makefile
Comment 3 Veniamin Gvozdikov freebsd_committer freebsd_triage 2015-01-20 11:47:21 UTC
Commited, thank you!