[Bug 223761] devel/talloc, databases/tdb, devel/tevent: invalid Python syntax during configure

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Nov 20 07:34:22 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223761

            Bug ID: 223761
           Summary: devel/talloc, databases/tdb, devel/tevent: invalid
                    Python syntax during configure
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: timur at FreeBSD.org
          Reporter: ml+freebsd-bugs at vishwin.info
          Assignee: timur at FreeBSD.org
             Flags: maintainer-feedback?(timur at FreeBSD.org)

On systems with Python 3 set as default, the build for all of these ports fails
during configure with an identical error. Below is an example from
devel/tevent:

=======================<phase: configure      >============================
===>  Configuring for tevent-0.9.34
Traceback (most recent call last):
  File "buildtools/bin/waf", line 75, in <module>
    import Scripting
  File
"/wrkdirs/usr/ports/devel/tevent/work/tevent-0.9.34/third_party/waf/wafadmin/Scripting.py",
line 146
    except Utils.WafError, e:
                         ^
SyntaxError: invalid syntax
===>  Script "configure" failed unexpectedly.
Please report the problem to timur at FreeBSD.org [maintainer] and attach the
"/wrkdirs/usr/ports/devel/tevent/work/tevent-0.9.34/bin/config.log" including
the output of the failure of your make command. Also, it might be a good idea
to provide an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/tevent

Restricting USES to python:2.7 instead of python:2.7+ fixes this problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list