Opened 5 years ago

Closed 3 years ago

Last modified 3 years ago

#59495 closed defect (fixed)

ansible-lint @3.4.19 fails to build

Reported by: rseichter (Ralph Seichter) Owned by: zdw@…
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc: judaew (Vadym-Valdis Yudaiev)
Port: ansible-lint

Description

Building ansible-lint fails on Catalina:

$ sudo port install ansible-lint
--->  Computing dependencies for ansible-lint
--->  Fetching archive for ansible-lint
--->  Attempting to fetch ansible-lint-3.4.19_0.darwin_19.noarch.tbz2 from http://nue.de.packages.macports.org/ansible-lint
--->  Attempting to fetch ansible-lint-3.4.19_0.darwin_19.noarch.tbz2 from https://packages.macports.org/ansible-lint
--->  Attempting to fetch ansible-lint-3.4.19_0.darwin_19.noarch.tbz2 from http://lil.fr.packages.macports.org/ansible-lint
--->  Fetching distfiles for ansible-lint
--->  Attempting to fetch ansible-lint-3.4.19.tar.gz from http://nue.de.distfiles.macports.org/ansible-lint
--->  Verifying checksums for ansible-lint
--->  Extracting ansible-lint
--->  Configuring ansible-lint
--->  Building ansible-lint
Error: Failed to build ansible-lint: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_ansible-lint/ansible-lint/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port ansible-lint failed

Attachments (1)

main.log (29.6 KB) - added by rseichter (Ralph Seichter) 5 years ago.

Download all attachments as: .zip

Change History (9)

Changed 5 years ago by rseichter (Ralph Seichter)

Attachment: main.log added

comment:1 Changed 5 years ago by jmroot (Joshua Root)

Owner: set to zdw@…
Status: newassigned

comment:2 Changed 3 years ago by thorfi (@thorfi)

Hi, this issue is still persistent on Big Sur - although with a slightly different issue (checksum failure):

% sudo port install ansible-lint
--->  Computing dependencies for ansible-lint
--->  Fetching archive for ansible-lint
--->  Attempting to fetch ansible-lint-3.4.19_0.darwin_20.noarch.tbz2 from http://jog.id.packages.macports.org/macports/packages/ansible-lint
--->  Attempting to fetch ansible-lint-3.4.19_0.darwin_20.noarch.tbz2 from https://kmq.jp.packages.macports.org/ansible-lint
--->  Attempting to fetch ansible-lint-3.4.19_0.darwin_20.noarch.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/ansible-lint
--->  Verifying checksums for ansible-lint
Error: Checksum (rmd160) mismatch for ansible-lint-3.4.19.tar.gz
Error: Checksum (sha256) mismatch for ansible-lint-3.4.19.tar.gz
Error: Failed to checksum ansible-lint: Unable to verify file checksums
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_ansible-lint/ansible-lint/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port ansible-lint failed
% tail -40 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_ansible-lint/ansible-lint/main.log
:debug:main Executing org.macports.main (ansible-lint)
:debug:main dropping privileges: euid changed to 503, egid changed to 502.
:debug:archivefetch archivefetch phase started at Tue Jan 19 11:46:46 AEDT 2021
:msg:archivefetch --->  Fetching archive for ansible-lint
:debug:archivefetch Executing org.macports.archivefetch (ansible-lint)
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 503/502
:info:archivefetch --->  ansible-lint-3.4.19_0.darwin_20.noarch.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch ansible-lint-3.4.19_0.darwin_20.noarch.tbz2 from http://jog.id.packages.macports.org/macports/packages/ansible-lint
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch ansible-lint-3.4.19_0.darwin_20.noarch.tbz2 from https://kmq.jp.packages.macports.org/ansible-lint
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch ansible-lint-3.4.19_0.darwin_20.noarch.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/ansible-lint
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.fetch (ansible-lint)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Tue Jan 19 11:46:50 AEDT 2021
:notice:checksum --->  Verifying checksums for ansible-lint
:debug:checksum Executing org.macports.checksum (ansible-lint)
:info:checksum --->  Checksumming ansible-lint-3.4.19.tar.gz
:debug:checksum Calculated (rmd160) is 34eda770848648fdf00530fa67906ad758d3155d
:error:checksum Checksum (rmd160) mismatch for ansible-lint-3.4.19.tar.gz
:info:checksum Portfile checksum: ansible-lint-3.4.19.tar.gz rmd160 41da918b12b7d3ef9ae7cbee6e07ec653458771b
:info:checksum Distfile checksum: ansible-lint-3.4.19.tar.gz rmd160 34eda770848648fdf00530fa67906ad758d3155d
:debug:checksum Calculated (sha256) is 955b290cf8d7b64732d02f03247dd5677f2cd89dd5b7d0b028a08eb8b74c1e2e
:error:checksum Checksum (sha256) mismatch for ansible-lint-3.4.19.tar.gz
:info:checksum Portfile checksum: ansible-lint-3.4.19.tar.gz sha256 5ef527543ec8a6060da93aa4efcdeb360564242495d0a6e15fcbde071fa5decc
:info:checksum Distfile checksum: ansible-lint-3.4.19.tar.gz sha256 955b290cf8d7b64732d02f03247dd5677f2cd89dd5b7d0b028a08eb8b74c1e2e
:info:checksum The correct checksum line may be:
:info:checksum checksums           rmd160  34eda770848648fdf00530fa67906ad758d3155d \
:info:checksum                     sha256  955b290cf8d7b64732d02f03247dd5677f2cd89dd5b7d0b028a08eb8b74c1e2e \
:info:checksum                     size    34534
:error:checksum Failed to checksum ansible-lint: Unable to verify file checksums
:debug:checksum Error code: NONE
:debug:checksum Backtrace: Unable to verify file checksums
:debug:checksum     while executing
:debug:checksum "$procedure $targetname"
:error:checksum See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_ansible-lint/ansible-lint/main.log for details.
Last edited 3 years ago by thorfi (@thorfi) (previous) (diff)

comment:3 Changed 3 years ago by judaew (Vadym-Valdis Yudaiev)

Cc: judaew added

comment:4 Changed 3 years ago by judaew (Vadym-Valdis Yudaiev)

This port should now be build correctly.

comment:5 Changed 3 years ago by reneeotten (Renee Otten)

Ralph - can you confirm that this indeed works for you so that we can close this ticket?

comment:6 Changed 3 years ago by rseichter (Ralph Seichter)

Well, sudo port install ansible-lint was successful, but I did not build the whole dependency chain from source, and ansible-lint @5.0.12_0 appears to have been pre-built. Given that the ansible-lint port does not have any variants, pre-built is fine by me.

comment:7 Changed 3 years ago by reneeotten (Renee Otten)

Resolution: fixed
Status: assignedclosed

the dependency chain will be build from source on the buildbots and it shouldn't matter in this case I think. If you really wanted you could do sudo port -s install ansible-lint to build that port from source on your computer. But let's close this ticket than as resolved and if you run into other trouble you can comment here or open a new one.

comment:8 Changed 3 years ago by rseichter (Ralph Seichter)

I am aware of the -s flag. Alas, in combination with --force this would cause the whole dependency chain to be built from scratch based on the ports' respective source code, so I did not do that. That being said, I am OK with closing this issue.

Note: See TracTickets for help on using tickets.