Opened 7 years ago

Closed 6 years ago

Last modified 6 years ago

#53589 closed defect (fixed)

py27-lint @1.6.5_0: build fails with infinite recursion (py36-lint OK)

Reported by: JDLH (Jim DeLaHunt) Owned by: blair (Blair Zajac)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: stromnov (Andrey Stromnov), petrrr, kurthindenburg (Kurt Hindenburg)
Port: py-pylint

Description

When I try to install py27-lint, the build fails with a "command execution failed" error. Looking at the log, I see in infinite recursion sequence in the code. By contrast, I can build py36-lint with no problem.

% port installed 'py*lint'
The following ports are currently installed:
  py-pylint @1.4.3_1 (active)
  py27-pylint @1.4.3_1 (active)
% sudo port clean py-pylint py27-pylint
Password:
--->  Cleaning py-pylint
--->  Cleaning py27-pylint
% sudo port upgrade py-pylint
--->  Computing dependencies for py27-pylint
--->  Fetching archive for py27-pylint
--->  Attempting to fetch py27-pylint-1.6.5_0.darwin_14.noarch.tbz2 from https://packages.macports.org/py27-pylint
--->  Attempting to fetch py27-pylint-1.6.5_0.darwin_14.noarch.tbz2 from http://sea.us.packages.macports.org/macports/packages/py27-pylint
--->  Attempting to fetch py27-pylint-1.6.5_0.darwin_14.noarch.tbz2 from http://kmq.jp.packages.macports.org/py27-pylint
--->  Fetching distfiles for py27-pylint
--->  Verifying checksums for py27-pylint
--->  Extracting py27-pylint
--->  Configuring py27-pylint
--->  Building py27-pylint
Error: Failed to build py27-pylint: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-pylint/py27-pylint/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
%

I've attached py27-pylint/main.log.

% sudo port install py36-pylint
--->  Computing dependencies for py36-pylint
The following dependencies will be installed: 
 py36-flake8-mccabe
 py36-isort
Continue? [Y/n]: y
--->  Fetching archive for py36-flake8-mccabe
--->  Attempting to fetch py36-flake8-mccabe-0.5.2_0.darwin_14.noarch.tbz2 from https://packages.macports.org/py36-flake8-mccabe
--->  Attempting to fetch py36-flake8-mccabe-0.5.2_0.darwin_14.noarch.tbz2.rmd160 from https://packages.macports.org/py36-flake8-mccabe
--->  Installing py36-flake8-mccabe @0.5.2_0
--->  Activating py36-flake8-mccabe @0.5.2_0
--->  Cleaning py36-flake8-mccabe
--->  Fetching archive for py36-isort
--->  Attempting to fetch py36-isort-4.2.5_0.darwin_14.noarch.tbz2 from https://packages.macports.org/py36-isort
--->  Attempting to fetch py36-isort-4.2.5_0.darwin_14.noarch.tbz2.rmd160 from https://packages.macports.org/py36-isort
--->  Installing py36-isort @4.2.5_0
--->  Activating py36-isort @4.2.5_0
--->  Cleaning py36-isort
--->  Fetching archive for py36-pylint
--->  Attempting to fetch py36-pylint-1.6.5_0.darwin_14.noarch.tbz2 from https://packages.macports.org/py36-pylint
--->  Attempting to fetch py36-pylint-1.6.5_0.darwin_14.noarch.tbz2 from http://sea.us.packages.macports.org/macports/packages/py36-pylint
--->  Attempting to fetch py36-pylint-1.6.5_0.darwin_14.noarch.tbz2 from http://kmq.jp.packages.macports.org/py36-pylint
--->  Fetching distfiles for py36-pylint
--->  Verifying checksums for py36-pylint
--->  Extracting py36-pylint
--->  Configuring py36-pylint
--->  Building py36-pylint
--->  Staging py36-pylint into destroot
--->  Installing py36-pylint @1.6.5_0
--->  Activating py36-pylint @1.6.5_0
--->  Cleaning py36-pylint
--->  Updating database of binaries
--->  Scanning binaries for linking errors               
Warning: Error parsing file /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/markupsafe/_speedups.so: Error opening or reading file
[Multiple similar Warnings omitted for brevity, I think that's a separate issue]
Warning: Error parsing file /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/cryptography/hazmat/bindings/_padding.so: Error opening or reading file
--->  No broken files found.                             
--->  Some of the ports you installed have notes:
  py36-pylint has the following notes:
    To make the Python 3.6 version of pylint the one that is run when you execute the commands without a version suffix,
    e.g. 'pylint', run:
    
    port select --set pylint pylint36
%

Attachments (1)

main.log (14.2 KB) - added by JDLH (Jim DeLaHunt) 7 years ago.
py27-pylint/main.log (some of the infinite recursion omitted)

Download all attachments as: .zip

Change History (6)

Changed 7 years ago by JDLH (Jim DeLaHunt)

Attachment: main.log added

py27-pylint/main.log (some of the infinite recursion omitted)

comment:1 Changed 7 years ago by mf2k (Frank Schima)

Cc: stromnov added
Owner: set to blair
Port: py-pylint added
Status: newassigned

In the future, please fill in the Port field and Cc the port maintainers (port info --maintainers py27-pylint), if any.

comment:2 Changed 7 years ago by petrrr

Cc: petrrr added

comment:3 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)

Cc: kurthindenburg added

Can you try the newest version 1.7.1 - it works for me.

comment:4 Changed 6 years ago by kurthindenburg (Kurt Hindenburg)

Resolution: fixed
Status: assignedclosed

reopen if you still have issues

comment:5 Changed 6 years ago by JDLH (Jim DeLaHunt)

Sorry, didn't notice the fix message 4 months ago. Yes, installing py27-pylint @1.7.4_0 works successfully for me. I agree, bug is fixed.

Note: See TracTickets for help on using tickets.