CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY BZIP2_FOUND: TRUE BZIP2_NEED_PREFIX: TRUE BZIP2_INCLUDE_DIRS: /home/conan/w/cci_PR-4684/.conan/data/bzip2/1.0.8/_/_/package/d91c5078b0c5af8e17bc80e2389019770a579bcc/include BZIP2_INCLUDE_DIR: /home/conan/w/cci_PR-4684/.conan/data/bzip2/1.0.8/_/_/package/d91c5078b0c5af8e17bc80e2389019770a579bcc/include BZIP2_LIBRARIES: BZIP2_VERSION_STRING: 1.0.8 CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_INSTALL_BINDIR CMAKE_INSTALL_DATAROOTDIR CMAKE_INSTALL_INCLUDEDIR CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_OLDINCLUDEDIR CMAKE_INSTALL_SBINDIR /usr/bin/ld: CMakeFiles/test_package.dir/test_package.c.o: in function `main': test_package.c:(.text+0x352): undefined reference to `BZ2_bzlibVersion' /usr/bin/ld: test_package.c:(.text+0x751): undefined reference to `BZ2_bzlibVersion' /usr/bin/ld: CMakeFiles/test_package.dir/test_package.c.o: in function `usage': test_package.c:(.text+0xf5f): undefined reference to `BZ2_bzlibVersion' /usr/bin/ld: CMakeFiles/test_package.dir/test_package.c.o: in function `compress': test_package.c:(.text+0x1500): undefined reference to `BZ2_bzWriteOpen' /usr/bin/ld: test_package.c:(.text+0x159a): undefined reference to `BZ2_bzWrite' /usr/bin/ld: test_package.c:(.text+0x15c3): undefined reference to `BZ2_bzWriteClose64' /usr/bin/ld: test_package.c:(.text+0x1c0e): undefined reference to `BZ2_bzWriteClose64' /usr/bin/ld: CMakeFiles/test_package.dir/test_package.c.o: in function `uncompress': test_package.c:(.text+0x21b7): undefined reference to `BZ2_bzReadOpen' /usr/bin/ld: test_package.c:(.text+0x21ff): undefined reference to `BZ2_bzRead' /usr/bin/ld: test_package.c:(.text+0x2261): undefined reference to `BZ2_bzReadGetUnused' /usr/bin/ld: test_package.c:(.text+0x241b): undefined reference to `BZ2_bzReadClose' /usr/bin/ld: test_package.c:(.text+0x2474): undefined reference to `BZ2_bzReadOpen' /usr/bin/ld: test_package.c:(.text+0x2545): undefined reference to `BZ2_bzReadClose' /usr/bin/ld: CMakeFiles/test_package.dir/test_package.c.o: in function `testf': test_package.c:(.text+0x2d1f): undefined reference to `BZ2_bzReadOpen' /usr/bin/ld: test_package.c:(.text+0x2d63): undefined reference to `BZ2_bzRead' /usr/bin/ld: test_package.c:(.text+0x2d9a): undefined reference to `BZ2_bzReadGetUnused' /usr/bin/ld: test_package.c:(.text+0x2f5e): undefined reference to `BZ2_bzReadClose' /usr/bin/ld: test_package.c:(.text+0x2fae): undefined reference to `BZ2_bzReadOpen' /usr/bin/ld: test_package.c:(.text+0x2fce): undefined reference to `BZ2_bzReadClose' clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [CMakeFiles/test_package.dir/build.make:103: bin/test_package] Error 1 make[1]: *** [CMakeFiles/Makefile2:95: CMakeFiles/test_package.dir/all] Error 2 make: *** [Makefile:103: all] Error 2 ERROR: bzip2/1.0.8 (test package): Error in build() method, line 12 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/cci_PR-4684/2/6d41d201-1ed7-4d25-aa15-34e5f8ebeaa6/recipes/bzip2/all/test_package/build/749c46246194c90378e917dbba4d2182f773f332' '--' '-j3'