[Bug 269931] devel/llvm-devel: Python errors during 'pkg install': SyntaxError: invalid syntax

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 03 Mar 2023 07:19:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269931

            Bug ID: 269931
           Summary: devel/llvm-devel: Python errors during 'pkg install':
                    SyntaxError: invalid syntax
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: brooks@FreeBSD.org
          Reporter: yuri@freebsd.org
             Flags: maintainer-feedback?(brooks@FreeBSD.org)
          Assignee: brooks@FreeBSD.org

$ sudo pkg install -A llvm-devel
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        llvm-devel: 17.0.d20230221

Number of packages to be installed: 1

The process will require 2 GiB more space.

Proceed with this action? [y/N]: y
[1/1] Installing llvm-devel-17.0.d20230221...
[1/1] Extracting llvm-devel-17.0.d20230221: 100%
create symlink for clang-devel
create symlink for clang-devel (world)
create symlink for clang++-devel
create symlink for clang++-devel (world)
>=> Cleaning stale bytecode files...
>=> Byte-compiling Python source files...
*** Error compiling
'/usr/local/lib/python3.9/site-packages/lit-devel/LitConfig.py'...
  File "/usr/local/lib/python3.9/site-packages/lit-devel/LitConfig.py", line 7
    import lit-devel.Test
              ^
SyntaxError: invalid syntax

*** Error compiling
'/usr/local/lib/python3.9/site-packages/lit-devel/LitTestCase.py'...
  File "/usr/local/lib/python3.9/site-packages/lit-devel/LitTestCase.py", line
3
    import lit-devel.discovery
              ^
SyntaxError: invalid syntax

*** Error compiling
'/usr/local/lib/python3.9/site-packages/lit-devel/ShUtil.py'...
  File "/usr/local/lib/python3.9/site-packages/lit-devel/ShUtil.py", line 4
    import lit-devel.util
              ^
SyntaxError: invalid syntax

*** Error compiling
'/usr/local/lib/python3.9/site-packages/lit-devel/Test.py'...
  File "/usr/local/lib/python3.9/site-packages/lit-devel/Test.py", line 5
    from lit-devel.BooleanExpression import BooleanExpression
            ^
SyntaxError: invalid syntax

*** Error compiling
'/usr/local/lib/python3.9/site-packages/lit-devel/TestRunner.py'...
  File "/usr/local/lib/python3.9/site-packages/lit-devel/TestRunner.py", line
21
    from lit-devel.ShCommands import GlobItem, Command
            ^
SyntaxError: invalid syntax

*** Error compiling
'/usr/local/lib/python3.9/site-packages/lit-devel/cl_arguments.py'...
  File "/usr/local/lib/python3.9/site-packages/lit-devel/cl_arguments.py", line
7
    import lit-devel.reports
              ^
SyntaxError: invalid syntax

*** Error compiling
'/usr/local/lib/python3.9/site-packages/lit-devel/discovery.py'...
  File "/usr/local/lib/python3.9/site-packages/lit-devel/discovery.py", line 9
    from lit-devel.TestingConfig import TestingConfig
            ^
SyntaxError: invalid syntax

*** Error compiling
'/usr/local/lib/python3.9/site-packages/lit-devel/display.py'...
  File "/usr/local/lib/python3.9/site-packages/lit-devel/display.py", line 15
    import lit-devel.ProgressBar
              ^
SyntaxError: invalid syntax

*** Error compiling
'/usr/local/lib/python3.9/site-packages/lit-devel/main.py'...
  File "/usr/local/lib/python3.9/site-packages/lit-devel/main.py", line 13
    import lit-devel.cl_arguments
              ^
SyntaxError: invalid syntax

*** Error compiling
'/usr/local/lib/python3.9/site-packages/lit-devel/reports.py'...
  File "/usr/local/lib/python3.9/site-packages/lit-devel/reports.py", line 8
    import lit-devel.Test
              ^
SyntaxError: invalid syntax

*** Error compiling
'/usr/local/lib/python3.9/site-packages/lit-devel/run.py'...
  File "/usr/local/lib/python3.9/site-packages/lit-devel/run.py", line 5
    import lit-devel.Test
              ^
SyntaxError: invalid syntax

*** Error compiling
'/usr/local/lib/python3.9/site-packages/lit-devel/worker.py'...
  File "/usr/local/lib/python3.9/site-packages/lit-devel/worker.py", line 14
    import lit-devel.Test
              ^
SyntaxError: invalid syntax

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