Bug 1129292
| Summary: | postgis fails to build in rawhide due to json-c | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Marcin Juszkiewicz <mjuszkie> | ||||
| Component: | postgis | Assignee: | Jozef Mlich <jmlich> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | admiller, devrim, hhorak, jmlich, praiskup | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-09-19 09:30:47 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | 1129295 | ||||||
| Bug Blocks: | 922257 | ||||||
| Attachments: |
|
||||||
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. |
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): 2.1.3-3 How reproducible: always Steps to Reproduce: 1. fedpkg clone -a postgis 2. fedpkg mockbuild 3. Actual results: 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 #include <json/json.h> ^ compilation terminated. Expected results: package builds Additional info: On AArch64 it is also unable to find proper gdal-config but I have other bug report to fill for it.