******************************************************************************** conan install hiredis/0.14.1@ --build=hiredis --profile=/home/conan/w/BuildSingleReference/69222/17ec68a7-62d8-4c5b-a622-50bab461eac9/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=11 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:1748639999ed79b998e4fe4a6d292ed8e874736a - 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/1748639999ed79b998e4fe4a6d292ed8e874736a 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 ----------------- cc -std=c99 -pedantic -c -O3 -m64 -O3 -s -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb net.c cc -std=c99 -pedantic -c -O3 -m64 -O3 -s -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb hiredis.c cc -std=c99 -pedantic -c -O3 -m64 -O3 -s -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb sds.c cc -std=c99 -pedantic -c -O3 -m64 -O3 -s -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb async.c cc -std=c99 -pedantic -c -O3 -m64 -O3 -s -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb read.c cc -std=c99 -pedantic -c -O3 -m64 -O3 -s -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb alloc.c cc -std=c99 -pedantic -c -O3 -m64 -O3 -s -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb test.c Generating hiredis.pc for pkgconfig... cc -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: net.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC net.o: error adding symbols: 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/1748639999ed79b998e4fe4a6d292ed8e874736a hiredis/0.14.1: ERROR: Package '1748639999ed79b998e4fe4a6d292ed8e874736a' build failed hiredis/0.14.1: WARN: Build folder /home/conan/w/BuildSingleReference/.conan/data/hiredis/0.14.1/_/_/build/1748639999ed79b998e4fe4a6d292ed8e874736a ERROR: hiredis/0.14.1: Error in build() method, line 51 autoTools.make() ConanException: Error 2 while executing make -j3