Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#62826 closed defect (fixed)

py37-pylint, py34-virtualenv, py36-pylint, py39-flake8: can't read "compiler.limit_flags": no such variable

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: cjones051073 (Chris Jones)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc: stromnov (Andrey Stromnov), reneeotten (Renee Otten), larryv (Lawrence Velázquez), petrrr, mascguy (Christopher Nielsen)
Port: py-pylint, py-virtualenv, py-pylint, py-flake8

Description

https://build.macports.org/builders/ports-10.14_x86_64-builder/builds/85902/steps/install-port/logs/stdio

--->  Building py37-pylint
DEBUG: Executing proc-pre-org.macports.build-build-0
xinstall: mkdir /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_py-pylint/py37-pylint/work/compwrap
xinstall: mkdir /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_py-pylint/py37-pylint/work/compwrap/cc
xinstall: mkdir /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_py-pylint/py37-pylint/work/compwrap/cc/usr
xinstall: mkdir /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_py-pylint/py37-pylint/work/compwrap/cc/usr/bin
Error: Failed to build py37-pylint: can't read "compiler.limit_flags": no such variable
DEBUG: Error code: NONE
DEBUG: Backtrace: can't read "compiler.limit_flags": no such variable
    while executing
"$pre $targetname"

Change History (10)

comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: stromnov larryv added
Owner: changed from stromnov to cjones051073
Port: py-virtualenv added
Summary: py37-pylint: can't read "compiler.limit_flags": no such variablepy37-pylint, py34-virtualenv: can't read "compiler.limit_flags": no such variable

https://build.macports.org/builders/ports-10.15_x86_64-builder/builds/56984/steps/install-port/logs/stdio

--->  Building py34-virtualenv
DEBUG: Executing proc-pre-org.macports.build-build-0
xinstall: mkdir /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_py-virtualenv/py34-virtualenv/work/compwrap
xinstall: mkdir /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_py-virtualenv/py34-virtualenv/work/compwrap/cc
xinstall: mkdir /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_py-virtualenv/py34-virtualenv/work/compwrap/cc/usr
xinstall: mkdir /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_py-virtualenv/py34-virtualenv/work/compwrap/cc/usr/bin
Error: Failed to build py34-virtualenv: can't read "compiler.limit_flags": no such variable
DEBUG: Error code: NONE
DEBUG: Backtrace: can't read "compiler.limit_flags": no such variable

comment:2 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Port: py-pylint, py-virtualenvpy-pylint, py-virtualenv, py-pylint
Summary: py37-pylint, py34-virtualenv: can't read "compiler.limit_flags": no such variablepy37-pylint, py34-virtualenv, py36-pylint: can't read "compiler.limit_flags": no such variable

https://build.macports.org/builders/ports-11_x86_64-builder/builds/29665/steps/install-port/logs/stdio

--->  Building py36-pylint
DEBUG: Executing proc-pre-org.macports.build-build-0
xinstall: mkdir /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_py-pylint/py36-pylint/work/compwrap
xinstall: mkdir /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_py-pylint/py36-pylint/work/compwrap/cc
xinstall: mkdir /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_py-pylint/py36-pylint/work/compwrap/cc/usr
xinstall: mkdir /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_py-pylint/py36-pylint/work/compwrap/cc/usr/bin
Error: Failed to build py36-pylint: can't read "compiler.limit_flags": no such variable
DEBUG: Error code: NONE
DEBUG: Backtrace: can't read "compiler.limit_flags": no such variable

comment:3 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: petrrr added
Port: py-flake8 added
Summary: py37-pylint, py34-virtualenv, py36-pylint: can't read "compiler.limit_flags": no such variablepy37-pylint, py34-virtualenv, py36-pylint, py39-flake8: can't read "compiler.limit_flags": no such variable

https://build.macports.org/builders/ports-10.15_x86_64-builder/builds/56973/steps/install-port/logs/stdio

--->  Building py39-flake8
DEBUG: Executing proc-pre-org.macports.build-build-0
xinstall: mkdir /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_py-flake8/py39-flake8/work/compwrap
xinstall: mkdir /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_py-flake8/py39-flake8/work/compwrap/cc
xinstall: mkdir /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_py-flake8/py39-flake8/work/compwrap/cc/usr
xinstall: mkdir /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_py-flake8/py39-flake8/work/compwrap/cc/usr/bin
Error: Failed to build py39-flake8: can't read "compiler.limit_flags": no such variable
DEBUG: Error code: NONE
DEBUG: Backtrace: can't read "compiler.limit_flags": no such variable

comment:4 Changed 4 years ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:5 Changed 4 years ago by mascguy (Christopher Nielsen)

Same issue occurring for issue:62825

comment:6 Changed 4 years ago by DaveStrickland (Dave Strickland)

I am getting the same issue with py37-astroid today (05/06/21).

sudo port install py37-astroid 
--->  Computing dependencies for py37-astroid
--->  Fetching archive for py37-astroid
--->  Attempting to fetch py37-astroid-2.5.6_0.darwin_19.noarch.tbz2 from https://packages.macports.org/py37-astroid
--->  Attempting to fetch py37-astroid-2.5.6_0.darwin_19.noarch.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/py37-astroid
--->  Attempting to fetch py37-astroid-2.5.6_0.darwin_19.noarch.tbz2 from https://mse.uk.packages.macports.org/py37-astroid
--->  Fetching distfiles for py37-astroid
--->  Verifying checksums for py37-astroid
--->  Extracting py37-astroid
--->  Configuring py37-astroid
--->  Building py37-astroid
Error: Failed to build py37-astroid: can't read "compiler.limit_flags": no such variable
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-astroid/py37-astroid/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port py37-astroid failed

Just upgraded to the latest XCode version, not sure if that is related.

XCode version:           12.4.0.0.1.1610135815
XCode CLI tools version: 12.4.0.0.1.1610135815

comment:7 Changed 4 years ago by cjones051073 (Chris Jones)

Apologies, my fault. Did not realise I was using a feature only currently available in the master version of base. Fixed with

https://github.com/macports/macports-ports/commit/f2f3544c8efde787912f43d2bba81a3f77ec12ad

Version 0, edited 4 years ago by cjones051073 (Chris Jones) (next)

comment:8 Changed 4 years ago by cjones051073 (Chris Jones)

Resolution: fixed
Status: assignedclosed

comment:9 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Thanks. Did new builds get triggered for everything that failed because of this?

comment:10 Changed 4 years ago by cjones051073 (Chris Jones)

I tried to yes, although am not 100% I didn't miss some.

Note: See TracTickets for help on using tickets.