Opened 4 years ago

Closed 4 years ago

#61989 closed defect (fixed)

libp11 does not compile under Big Sur

Reported by: iay (Ian Young) Owned by: nano103
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc: drebes (Roberto Jung Drebes)
Port: libp11

Description

Under:

:debug:sysinfo macOS 11.1 (darwin/20.2.0) arch i386
:debug:sysinfo MacPorts 2.6.4
:debug:sysinfo Xcode 12.3
:debug:sysinfo SDK 11.1
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 11.1

There are a couple of these in the log, resulting in failure:

:info:build p11_atfork.c:78:9: error: implicit declaration of function 'getpid' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build         return getpid();
:info:build                ^

It looks like this was addressed in this commit:

https://github.com/OpenSC/libp11/commit/97700cb51ac1e84f5ac8bc402e6f9e0fc271d76b

That implies that bumping the port from 0.4.10 to 0.4.11 might fix things.

Change History (4)

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

Owner: set to nano103
Status: newassigned

comment:2 Changed 4 years ago by drebes (Roberto Jung Drebes)

Cc: drebes added

comment:3 Changed 4 years ago by iay (Ian Young)

I have submitted a PR for this one: https://github.com/macports/macports-ports/pull/10130

comment:4 Changed 4 years ago by iay (Ian Young)

Resolution: fixed
Status: assignedclosed

In 9095f134f1f5c9609a2a9d9f58c942c046fbb883/macports-ports (master):

libp11: update to 0.4.11

Update to libp11 0.4.11:

  • Pick up a change allowing the port to compile under macOS 11 Big Sur
  • Enable tests

Closes #61989

Note: See TracTickets for help on using tickets.