Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Nov 2017 07:34:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 223761] devel/talloc, databases/tdb, devel/tevent: invalid Python syntax during configure
Message-ID:  <bug-223761-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223761

            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@FreeBSD.org
          Reporter: ml+freebsd-bugs@vishwin.info
          Assignee: timur@FreeBSD.org
             Flags: maintainer-feedback?(timur@FreeBSD.org)

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

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase=
: configure      >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D>  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/wafadmi=
n/Scripting.py",
line 146
    except Utils.WafError, e:
                         ^
SyntaxError: invalid syntax
=3D=3D=3D>  Script "configure" failed unexpectedly.
Please report the problem to timur@FreeBSD.org [maintainer] and attach the
"/wrkdirs/usr/ports/devel/tevent/work/tevent-0.9.34/bin/config.log" includi=
ng
the output of the failure of your make command. Also, it might be a good id=
ea
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223761-13>