Opened 4 years ago

Closed 4 years ago

#60464 closed defect (fixed)

py38-ansible install file missing

Reported by: jhoyt4 Owned by: adfernandes (Andrew Fernandes)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: steenzout (Pedro Salgado)
Port: py-ansible

Description (last modified by jhoyt4)

I'm trying to install py38-ansible, but the file is non-existent. It also hangs the install command indefinitely.

Change History (5)

comment:1 Changed 4 years ago by jhoyt4

Description: modified (diff)

comment:2 in reply to:  description Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: steenzout added
Owner: set to adfernandes
Status: newassigned

Replying to jhoyt4:

I'm trying to install py38-ansible, but the file is non-existent.

Which file is non-existent? If you mean that there is no precompiled binary, that is correct; we are not allowed to provide one due to licensing restrictions:

"py38-ansible" is not distributable because its license "gpl" conflicts with license "OpenSSL" of dependency "openssl"

It also hangs the install command indefinitely.

It installs fine for me on High Sierra with Xcode 9.4.1. What version of macOS and Xcode are you using?

How long did you wait? It looks like our build servers took up to 10 minutes to build this port. Try running sudo port -d install py38-ansible so that you can monitor the progress of what it's doing. If it does ever stop printing output, you can show us the last couple dozen lines before it stopped.

It looks like the port spends a significant amount of time applying a patch to tens of thousands of files. Even on my Mac which has an SSD this takes five minutes. If your Mac has a hard disk, this step could take several times that long.

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

Keywords: py38-ansible removed
Port: py-ansible added; py38-ansible removed

comment:4 Changed 4 years ago by adfernandes (Andrew Fernandes)

I'm looking into it right now (and updating the port from 2.9.5 to 2.9.7, while I'm at it).

It is true and unfortunate that the port patches thousands of files. That's because ansible is really designed for absolute pathnames on install. It's a relic of the prehistoric days in ansible's development, unfortunately.

I might take some time to replace the current Portfile logic and redo it with a find ... -print0 | xargs -0 ... shell command... that might be faster...

(Actually, belay that. I just rebuilt on my stock Late-2014 iMac, and it only took a couple of minutes. Way faster than I thought it would be... looks like the mega-patch happens a lot faster than I remembered!)

Last edited 4 years ago by adfernandes (Andrew Fernandes) (previous) (diff)

comment:5 Changed 4 years ago by Andrew Fernandes <andrew@…>

Resolution: fixed
Status: assignedclosed

In f0e016d5e2c5c5c1d7000a558f108f6f0de2f2d7/macports-ports (master):

py-ansible: trivial update to 2.9.7

Closes: #60464

Note: See TracTickets for help on using tickets.