Hello, Michael Tautschnig <m...@debian.org> writes:
> Package: u1db > Version: 13.10-2 > Severity: serious > Usertags: goto-cc > > Thanks a lot for fixing the pkg-config error. Yet during another rebuild in a > clean sid chroot (using cowbuilder and pbuilder) the build failed again, with > the following error. > > [...] > -- Found PkgConfig: /usr/bin/pkg-config (found version "0.28") > -- checking for module 'oauth' > -- found oauth, version 1.0.1 > -- Found OAuth: /usr/lib/x86_64-linux-gnu/liboauth.so > -- checking for module 'json' > -- package 'json' not found > CMake Error at > /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 > (message): > Could NOT find JSON (missing: JSON_LIBRARY JSON_INCLUDE_DIR) > Call Stack (most recent call first): > /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 > (_FPHSA_FAILURE_MESSAGE) > cmake/Modules/FindJSON.cmake:27 (find_package_handle_standard_args) > CMakeLists.txt:28 (find_package) > > > -- Configuring incomplete, errors occurred! > See also > "/srv/jenkins-slave/workspace/sid-goto-cc-u1db/u1db-13.10/obj-x86_64-linux-gnu/CMakeFiles/CMakeOutput.log". > dh_auto_configure: cmake .. -DCMAKE_INSTALL_PREFIX=/usr > -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DBUILD_SHARED_LIBS=1 > -DLIB_SUFFIX=/x86_64-linux-gnu returned exit code 1 > debian/rules:10: recipe for target 'override_dh_auto_configure' failed > make[1]: *** [override_dh_auto_configure] Error 2 It looks like the attempt at moving to libjson-c-dev from libjson0-dev didn't work with cmake. I had libjson0-dev still installed in my environment, when I removed it, I also got this error. I've been trying to wrap my head around what needs to be done to make this work. I've pushed the changes I've made so far to get a ways down the road, but I've still got an issue with the linker wanting to use -ljson instead of -ljson-c and so it fails to find the json library at link time. I'm pretty green on cmake, but I've pushed what I've done so far to the repository, if anyone wants to take a look at it. I am a little puzzled by this entire adventure - isn't json-c a totally different library from json? Is switching to json-c really the right thing to be doing here? micah -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org