******************************************************************************** conan install hiredis/0.14.1@ --build=hiredis --profile=/home/conan/w/BuildSingleReference/69222/2d4ed3d9-8fe5-4aa2-ab97-adaa07624bd2/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=8 os=Linux [options] hiredis:shared=True [build_requires] [env] hiredis/0.14.1: Forced build from source Installing package: hiredis/0.14.1 Requirements hiredis/0.14.1 from local cache - Cache Packages hiredis/0.14.1:1dab02a32a1a97c1102b3e06d1e2208a835226a4 - Build Installing (downloading, building) binaries... hiredis/0.14.1: Copying sources to build folder hiredis/0.14.1: Building your package in /home/conan/w/BuildSingleReference/.conan/data/hiredis/0.14.1/_/_/build/1dab02a32a1a97c1102b3e06d1e2208a835226a4 hiredis/0.14.1: Generator txt created conanbuildinfo.txt hiredis/0.14.1: Aggregating env generators [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK hiredis/0.14.1: Calling build() ----Running------ > make -j3 ----------------- /usr/bin/gcc -std=c99 -pedantic -c -O3 -m64 -O3 -s -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb net.c /usr/bin/gcc -std=c99 -pedantic -c -O3 -m64 -O3 -s -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb hiredis.c /usr/bin/gcc -std=c99 -pedantic -c -O3 -m64 -O3 -s -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb sds.c /usr/bin/gcc -std=c99 -pedantic -c -O3 -m64 -O3 -s -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb async.c /usr/bin/gcc -std=c99 -pedantic -c -O3 -m64 -O3 -s -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb read.c /usr/bin/gcc -std=c99 -pedantic -c -O3 -m64 -O3 -s -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb alloc.c /usr/bin/gcc -std=c99 -pedantic -c -O3 -m64 -O3 -s -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb test.c Generating hiredis.pc for pkgconfig... /usr/bin/gcc -shared -Wl,-soname,libhiredis.so.0.14 -o libhiredis.so -m64 net.o hiredis.o sds.o async.o read.o alloc.o ar rcs libhiredis.a net.o hiredis.o sds.o async.o read.o alloc.o Makefile:81: recipe for target 'libhiredis.so' failed hiredis/0.14.1: /usr/bin/ld: hiredis.o: relocation R_X86_64_PC32 against symbol `freeReplyObject' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: Bad value collect2: error: ld returned 1 exit status make: *** [libhiredis.so] Error 1 make: *** Waiting for unfinished jobs.... hiredis/0.14.1: WARN: Build folder is dirty, removing it: /home/conan/w/BuildSingleReference/.conan/data/hiredis/0.14.1/_/_/build/1dab02a32a1a97c1102b3e06d1e2208a835226a4 hiredis/0.14.1: ERROR: Package '1dab02a32a1a97c1102b3e06d1e2208a835226a4' build failed hiredis/0.14.1: WARN: Build folder /home/conan/w/BuildSingleReference/.conan/data/hiredis/0.14.1/_/_/build/1dab02a32a1a97c1102b3e06d1e2208a835226a4 ERROR: hiredis/0.14.1: Error in build() method, line 51 autoTools.make() ConanException: Error 2 while executing make -j3