Opened 3 weeks ago

Last modified 3 weeks ago

#61989 assigned defect

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 (2)

comment:1 Changed 3 weeks ago by jmroot (Joshua Root)

Owner: set to nano103
Status: newassigned

comment:2 Changed 3 weeks ago by drebes (Roberto Jung Drebes)

Cc: drebes added
Note: See TracTickets for help on using tickets.