Description of problem:
PostGIS is not buildable in current rawhide as it finds json-c/json.h header but still tries to use non-existing json/json.h one.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. fedpkg clone -a postgis
2. fedpkg mockbuild
libtool: compile: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -Wall -Wmissing-prototypes -I/usr/include -c lwtin.c -fPIC -DPIC -o .libs/lwtin.o
lwin_geojson.c:20:23: fatal error: json/json.h: No such file or directory
On AArch64 it is also unable to find proper gdal-config but I have other bug report to fill for it.
Created attachment 926080 [details]
backport + spec changes
Thanks for reporting!
It seems, the json-c package is changing very quickly. I have turned it on recently, but it seems it is causing more troubles than benefits it brings. I will disable the package for now.
(In reply to Jozef Mlich from comment #2)
> Thanks for reporting!
> It seems, the json-c package is changing very quickly. I have turned it on
> recently, but it seems it is causing more troubles than benefits it brings.
> I will disable the package for now.
I bumped the json-c to 0.12, and it has 1 API change without soname bump discovered later.
Please track this with the upstream.
#include <json/json.h> has been obsolete for releases, 0.12 finally drops it.