Opened 2 years ago

Closed 2 years ago

#64074 closed defect (fixed)

cliclick: generate-characterinfo.php: /usr/bin/php: bad interpreter: No such file or directory

Reported by: frink0 (Liam Stitt) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: monterey Cc:
Port: cliclick

Description

Hi. Could you update this to the new version and/or fix the build issue? Log attached.

Attachments (1)

main.log (1.8 MB) - added by frink0 (Liam Stitt) 2 years ago.
Build log.

Download all attachments as: .zip

Change History (5)

Changed 2 years ago by frink0 (Liam Stitt)

Attachment: main.log added

Build log.

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

Keywords: monterey added; cliclick removed
Owner: set to ryandesign
Status: newaccepted
Summary: cliclick: doesn't compile on monterey; also, new upstreamcliclick: generate-characterinfo.php: /usr/bin/php: bad interpreter: No such file or directory
Version: 2.7.1

The error in the log is:

generate-characterinfo.php: /usr/bin/php: bad interpreter: No such file or directory

I guess Apple removed /usr/bin/php from macOS, as they warned some time ago they would do with the various scripting languages.

I know cliclick 5 is available from the developer so I'll update the port and see if that fixes it. If not, we can use a php from MacPorts and/or help the developer convert the php script to something else.

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

In 6a60266a6428e6a447e0092fe0a6d97fff4de885/macports-ports (master):

cliclick: Update to 5.0.1 for macOS 10.15 and up

See: #64074

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

Replying to ryandesign:

see if that fixes it.

Nope: https://build.macports.org/builders/ports-12_arm64-builder/builds/29982/steps/install-port/logs/stdio

If not, we can use a php from MacPorts and/or help the developer convert the php script to something else.

I filed an upstream bug report: https://github.com/BlueM/cliclick/issues/132

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

Resolution: fixed
Status: acceptedclosed

In 384c290eed3728d0222939c18ba6610d0a4fb970/macports-ports (master):

cliclick: Use MacPorts PHP on macOS 12 and later

Closes: #64074

Note: See TracTickets for help on using tickets.