******************************************************************************** conan install libstudxml/1.0.1@ --build=libstudxml --profile=/home/conan/w/BuildSingleReference/20395/733605e3-78c4-4a37-9c59-796e9e25384a/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++ compiler.version=4.9 os=Linux os_build=Linux [options] libstudxml:shared=False [build_requires] [env] libstudxml/1.0.1: Forced build from source Installing package: libstudxml/1.0.1 Requirements expat/2.4.1 from 'conan-center' - Cache libstudxml/1.0.1 from local cache - Cache Packages expat/2.4.1:faa459aa1cee9a8450dcc823d0d1ea614b9edc35 - Cache libstudxml/1.0.1:545b04b417ca146ef058a3a5ae3e960bd877d424 - Build Installing (downloading, building) binaries... expat/2.4.1: Already installed! [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK libstudxml/1.0.1: Copying sources to build folder libstudxml/1.0.1: Building your package in /home/conan/w/BuildSingleReference/.conan/data/libstudxml/1.0.1/_/_/build/545b04b417ca146ef058a3a5ae3e960bd877d424 libstudxml/1.0.1: Generator txt created conanbuildinfo.txt [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK. 'fPIC' option found and apparently well managed [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK libstudxml/1.0.1: Calling build() libstudxml/1.0.1: Calling: > source_subfolder/configure '--with-external-expat' 'CXXFLAGS="-UNDEBUG"' '--disable-shared' '--enable-static' '--prefix=/home/conan/w/BuildSingleReference/.conan/data/libstudxml/1.0.1/_/_/package/545b04b417ca146ef058a3a5ae3e960bd877d424' '--bindir=${prefix}/bin' '--sbindir=${prefix}/bin' '--libexecdir=${prefix}/bin' '--libdir=${prefix}/lib' '--includedir=${prefix}/include' '--oldincludedir=${prefix}/include' '--datarootdir=${prefix}/share' ----Running------ > source_subfolder/configure '--with-external-expat' 'CXXFLAGS="-UNDEBUG"' '--disable-shared' '--enable-static' '--prefix=/home/conan/w/BuildSingleReference/.conan/data/libstudxml/1.0.1/_/_/package/545b04b417ca146ef058a3a5ae3e960bd877d424' '--bindir=${prefix}/bin' '--sbindir=${prefix}/bin' '--libexecdir=${prefix}/bin' '--libdir=${prefix}/lib' '--includedir=${prefix}/include' '--oldincludedir=${prefix}/include' '--datarootdir=${prefix}/share' ----------------- checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking how to create a ustar tar archive... gnutar checking for style of include used by make... GNU checking for gcc... /usr/bin/gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /usr/bin/gcc accepts -g... yes checking for /usr/bin/gcc option to accept ISO C89... none needed checking dependency style of /usr/bin/gcc... gcc3 checking for ar... ar checking the archiver (ar) interface... ar checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by /usr/bin/gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from /usr/bin/gcc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... /usr/bin/gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if /usr/bin/gcc supports -fno-rtti -fno-exceptions... no checking for /usr/bin/gcc option to produce PIC... -fPIC -DPIC checking if /usr/bin/gcc PIC flag -fPIC -DPIC works... yes checking if /usr/bin/gcc static flag -static works... yes checking if /usr/bin/gcc supports -c -o file.o... yes checking if /usr/bin/gcc supports -c -o file.o... (cached) yes checking whether the /usr/bin/gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking for diff... diff checking whether diff accepts -u... yes checking whether we are using the GNU C++ compiler... no checking whether /usr/bin/g++ accepts -g... yes checking dependency style of /usr/bin/g++... gcc3 checking how to run the C++ preprocessor... /usr/bin/g++ -E checking whether the /usr/bin/g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes libtool.m4: error: problem compiling CXX test program checking for /usr/bin/g++ option to produce PIC... -DPIC checking if /usr/bin/g++ PIC flag -DPIC works... no checking if /usr/bin/g++ static flag works... no checking if /usr/bin/g++ supports -c -o file.o... no checking if /usr/bin/g++ supports -c -o file.o... (cached) no checking whether the /usr/bin/g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... unsupported configure: creating ./config.lt config.lt: creating libtool checking if we should use external expat... yes checking for expat... no libstudxml/1.0.1: configure: error: expat is not found; consider using CPPFLAGS/LDFLAGS to specify its location libstudxml/1.0.1: WARN: Build folder is dirty, removing it: /home/conan/w/BuildSingleReference/.conan/data/libstudxml/1.0.1/_/_/build/545b04b417ca146ef058a3a5ae3e960bd877d424 libstudxml/1.0.1: ERROR: Package '545b04b417ca146ef058a3a5ae3e960bd877d424' build failed libstudxml/1.0.1: WARN: Build folder /home/conan/w/BuildSingleReference/.conan/data/libstudxml/1.0.1/_/_/build/545b04b417ca146ef058a3a5ae3e960bd877d424 ERROR: libstudxml/1.0.1: Error in build() method, line 85 autotools = self._configure_autotools() while calling '_configure_autotools', line 55 self._autotools.configure(configure_dir=self._source_subfolder, args=args) ConanException: Error 1 while executing source_subfolder/configure '--with-external-expat' 'CXXFLAGS="-UNDEBUG"' '--disable-shared' '--enable-static' '--prefix=/home/conan/w/BuildSingleReference/.conan/data/libstudxml/1.0.1/_/_/package/545b04b417ca146ef058a3a5ae3e960bd877d424' '--bindir=${prefix}/bin' '--sbindir=${prefix}/bin' '--libexecdir=${prefix}/bin' '--libdir=${prefix}/lib' '--includedir=${prefix}/include' '--oldincludedir=${prefix}/include' '--datarootdir=${prefix}/share'