#61354 closed defect (fixed)
jq does not build with Xcode 12.0.1 on macOS 10.15 (darwin/19.6.0)
Reported by: | tgyurci (Teubel György) | Owned by: | raimue (Rainer Müller) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | chrstphrchvz (Christopher Chavez), danchr (Dan Villiom Podlaski Christiansen) | |
Port: | jq |
Description
After upgrading to latest Xcode jq
failed to build:
src/builtin.c:194:31: error: implicit declaration of function 'lgamma_r' is invalid in C99 [-Werror,-Wimplicit-function-declaration] jv ret = JV_ARRAY(jv_number(lgamma_r(jv_number_value(input), &sign)));
Applying the already present patch from patch-src-builtin.c
eliminates the error and jq complies successfully.
System info:
DEBUG: macOS 10.15 (darwin/19.6.0) arch i386 DEBUG: MacPorts 2.6.3 DEBUG: Xcode 12.0.1 DEBUG: SDK 10.15 DEBUG: MACOSX_DEPLOYMENT_TARGET: 10.15
Change History (5)
comment:1 Changed 4 years ago by chrstphrchvz (Christopher Chavez)
comment:2 Changed 4 years ago by chrstphrchvz (Christopher Chavez)
Cc: | chrstphrchvz added |
---|
comment:3 Changed 4 years ago by mf2k (Frank Schima)
Cc: | raimue removed |
---|---|
Owner: | set to raimue |
Status: | new → assigned |
comment:4 Changed 4 years ago by danchr (Dan Villiom Podlaski Christiansen)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:5 Changed 4 years ago by danchr (Dan Villiom Podlaski Christiansen)
Cc: | danchr added |
---|
Note: See
TracTickets for help on using
tickets.
PR opened: https://github.com/macports/macports-ports/pull/8870