Opened 6 months ago

Closed 6 months ago

#73402 closed defect (fixed)

pinentry 1.2.1: libassuan API version 2 is required, but the current port is version 3

Reported by: weaverba137 (Benjamin Alan Weaver) Owned by: Ionic (Mihai Moldovan)
Priority: Normal Milestone:
Component: ports Version: 2.11.6
Keywords: Cc: tessus (Helmut K. C. Tessarek)
Port: pinentry

Description

The configure stage for pinentry checks for both the version and the API version of libassuan. These values are hardcoded in the pinentry configure script:

#
# libassuan is used for IPC
#
NEED_LIBASSUAN_API=2
NEED_LIBASSUAN_VERSION=2.1.0

However the current libassuan port is 3.0.2 with API version 3. This causes

As a workaround, it is possible to install gnupg2 without pinentry?

Attachments (1)

main.log (49.1 KB) - added by weaverba137 (Benjamin Alan Weaver) 6 months ago.
Build log for pinentry.

Download all attachments as: .zip

Change History (9)

Changed 6 months ago by weaverba137 (Benjamin Alan Weaver)

Attachment: main.log added

Build log for pinentry.

comment:1 Changed 6 months ago by tessus (Helmut K. C. Tessarek)

I also just ran into this on:

macOS 26.2 25C56 (ARM) Xcode 26.2 17C52

and

macOS 15.7.3 24G419 (Intel) Xcode 26.2 17C52

It destroyed my pinentry, because I can't seem to install libassuan@2.5.7_0. Can you either please fix this asap, or tell me how I can install libassuan@2.5.7_0 and pin it?

comment:2 Changed 6 months ago by tessus (Helmut K. C. Tessarek)

Cc: tessus added

comment:3 Changed 6 months ago by jmroot (Joshua Root)

Owner: set to Ionic
Status: newassigned

comment:4 Changed 6 months ago by tessus (Helmut K. C. Tessarek)

comment:5 in reply to:  description Changed 6 months ago by jmroot (Joshua Root)

Replying to weaverba137:

As a workaround, it is possible to install gnupg2 without pinentry?

The gnupg2 port has pinentry and pinentry_mac variants, and the latter is on by default.

comment:6 in reply to:  1 Changed 6 months ago by jmroot (Joshua Root)

Replying to tessus:

tell me how I can install libassuan@2.5.7_0 and pin it?

wiki:howto/InstallingOlderPort

comment:7 Changed 6 months ago by tessus (Helmut K. C. Tessarek)

Thanks for the link how to install and older version. Unfortunately this doesn't help when doing a sudo port upgrade outdated after installing the old version. It seems that pinning is not an option.

Anyhoo, with my PR that updates pinentry all is good again. It just requires merging... ;-)

comment:8 Changed 6 months ago by roederja

Resolution: fixed
Status: assignedclosed

The pinentry version update has been merged.

Note: See TracTickets for help on using tickets.