conan-io / conan-center-index

Recipes for the ConanCenter repository
https://conan.io/center
MIT License
965 stars 1.77k forks source link

[package] libtool/2.4.6: Fails to build with Visual Studio 2022 #9002

Open SpaceIm opened 2 years ago

SpaceIm commented 2 years ago

Package and Environment Details (include every applicable attribute)

Conan profile (output of conan profile show default or conan profile show <profile> if custom profile is in use)

[settings]
os=Windows
arch=x86_64
compiler=Visual Studio
compiler.version=17
build_type=Release
[options]
[build_requires]
[env]
CC=cl.exe
CXX=cl.exe
LD=link.exe

Steps to reproduce (Include if Applicable)

conan install libtool/2.4.6@ -b missing

Logs (Include/Attach if Applicable)

Click to expand log ``` Configuration: [settings] arch=x86_64 build_type=Release compiler=Visual Studio compiler.runtime=MD compiler.version=17 os=Windows [options] [build_requires] [env] CC=cl.exe CXX=cl.exe LD=link.exe Installing package: libtool/2.4.6 Requirements autoconf/2.71 from 'conancenter' - Cache automake/1.16.4 from 'conancenter' - Cache libtool/2.4.6 from 'conancenter' - Cache m4/1.4.19 from 'conancenter' - Cache Packages autoconf/2.71:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache automake/1.16.4:3e48e69237f7f2196164383ef9dedf0f93cbf249 - Cache libtool/2.4.6:909f3388bde7b947d90419b048c458d28f935966 - Build m4/1.4.19:0a420ff5c47119e668867cdb51baff0eca1fdb68 - Cache Build requirements gnu-config/cci.20201022 from 'conancenter' - Cache msys2/cci.latest from 'conancenter' - Cache Build requirements packages gnu-config/cci.20201022:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache msys2/cci.latest:eee3fba89db6d777329de604625af8c30d46f080 - Cache Installing (downloading, building) binaries... gnu-config/cci.20201022: Already installed! gnu-config/cci.20201022: Appending PATH environment variable: C:\Users\spaceim\.conan\data\gnu-config\cci.20201022\_\_\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\bin [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK m4/1.4.19: Already installed! m4/1.4.19: Appending PATH environment variable: C:\Users\spaceim\.conan\data\m4\1.4.19\_\_\package\0a420ff5c47119e668867cdb51baff0eca1fdb68\bin m4/1.4.19: Setting M4 environment variable: C:/Users/spaceim/.conan/data/m4/1.4.19/_/_/package/0a420ff5c47119e668867cdb51baff0eca1fdb68/bin/m4.exe [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK msys2/cci.latest: Already installed! msys2/cci.latest: Creating MSYS_ROOT env var : C:\Users\spaceim\.conan_short\e44064\1\bin\msys64 msys2/cci.latest: Creating MSYS_BIN env var : C:\Users\spaceim\.conan_short\e44064\1\bin\msys64\usr\bin msys2/cci.latest: Appending PATH env var with : C:\Users\spaceim\.conan_short\e44064\1\bin\msys64\usr\bin [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK autoconf/2.71: Already installed! autoconf/2.71: Appending PATH env var with : C:\Users\spaceim\.conan\data\autoconf\2.71\_\_\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\bin autoconf/2.71: Setting AC_MACRODIR to C:\Users\spaceim\.conan\data\autoconf\2.71\_\_\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\bin\share\autoconf autoconf/2.71: Setting AUTOCONF to /c/users/spaceim/.conan/data/autoconf/2.71/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/bin/autoconf autoconf/2.71: Setting AUTORECONF to /c/users/spaceim/.conan/data/autoconf/2.71/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/bin/autoreconf autoconf/2.71: Setting AUTOHEADER to /c/users/spaceim/.conan/data/autoconf/2.71/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/bin/autoheader autoconf/2.71: Setting AUTOM4TE to /c/users/spaceim/.conan/data/autoconf/2.71/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/bin/autom4te autoconf/2.71: Setting AUTOM4TE_PERLLIBDIR to C:\Users\spaceim\.conan\data\autoconf\2.71\_\_\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\bin\share\autoconf [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK automake/1.16.4: Already installed! automake/1.16.4: Appending PATH environment variable:: C:\Users\spaceim\.conan\data\automake\1.16.4\_\_\package\3e48e69237f7f2196164383ef9dedf0f93cbf249\bin automake/1.16.4: Appending ACLOCAL environment variable with: /c/users/spaceim/.conan/data/automake/1.16.4/_/_/package/3e48e69237f7f2196164383ef9dedf0f93cbf249/bin/aclocal.exe automake/1.16.4: Setting AUTOMAKE_DATADIR to /c/users/spaceim/.conan/data/automake/1.16.4/_/_/package/3e48e69237f7f2196164383ef9dedf0f93cbf249/res automake/1.16.4: Setting AUTOMAKE_LIBDIR to /c/users/spaceim/.conan/data/automake/1.16.4/_/_/package/3e48e69237f7f2196164383ef9dedf0f93cbf249/res/automake-1.16 automake/1.16.4: Setting AUTOMAKE_PERLLIBDIR to /c/users/spaceim/.conan/data/automake/1.16.4/_/_/package/3e48e69237f7f2196164383ef9dedf0f93cbf249/res/automake-1.16 automake/1.16.4: Setting AUTOMAKE to /c/users/spaceim/.conan/data/automake/1.16.4/_/_/package/3e48e69237f7f2196164383ef9dedf0f93cbf249/bin/automake.exe automake/1.16.4: Append M4 include directories to AUTOMAKE_CONAN_INCLUDES environment variable [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK libtool/2.4.6: Applying build-requirement: gnu-config/cci.20201022 libtool/2.4.6: Applying build-requirement: msys2/cci.latest libtool/2.4.6: WARN: Build folder is dirty, removing it: C:\Users\spaceim\.conan\data\libtool\2.4.6\_\_\build\909f3388bde7b947d90419b048c458d28f935966 libtool/2.4.6: Copying sources to build folder libtool/2.4.6: Building your package in C:\Users\spaceim\.conan\data\libtool\2.4.6\_\_\build\909f3388bde7b947d90419b048c458d28f935966 libtool/2.4.6: Generator txt created conanbuildinfo.txt libtool/2.4.6: 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 libtool/2.4.6: Calling build() ********************************************************************** ** Visual Studio 2022 Developer Command Prompt v17.0.5 ** Copyright (c) 2021 Microsoft Corporation ********************************************************************** [vcvarsall.bat] Environment initialized for: 'x64' libtool/2.4.6: run_in_windows_bash: C:\Users\spaceim\.conan_short\e44064\1\bin\msys64\usr\bin\bash.exe --login -c ^"cd \^"/c/users/spaceim/.conan/data/libtool/2.4.6/_/_/build/909f3388bde7b947d90419b048c458d28f935966\^" ^&^& PATH=\^"/c/users/spaceim/.conan/data/gnu-config/cci.20201022/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/bin:/c/users/spaceim/.conan_short/e44064/1/bin/msys64/usr/bin:/c/users/spaceim/.conan/data/automake/1.16.4/_/_/package/3e48e69237f7f2196164383ef9dedf0f93cbf249/bin:/c/users/spaceim/.conan/data/autoconf/2.71/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/bin:/c/users/spaceim/.conan/data/m4/1.4.19/_/_/package/0a420ff5c47119e668867cdb51baff0eca1fdb68/bin:$PATH\^" ^&^& /c/users/spaceim/.conan/data/libtool/2.4.6/_/_/build/909f3388bde7b947d90419b048c458d28f935966/source_subfolder/configure --help ^" `configure' configures GNU Libtool 2.4.6 to adapt to many kinds of systems. Usage: /c/users/spaceim/.conan/data/libtool/2.4.6/_/_/build/909f3388bde7b947d90419b048c458d28f935966/source_subfolder/configure [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print `checking ...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for `--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or `..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [/usr/local] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, `make install' will install all the files in `/usr/local/bin', `/usr/local/lib' etc. You can specify an installation prefix other than `/usr/local' using `--prefix', for instance `--prefix=$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/libtool] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names System types: --build=BUILD configure for building on BUILD [guessed] --host=HOST cross-compile to build programs to run on HOST [BUILD] Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-silent-rules less verbose build output (undo: "make V=1") --disable-silent-rules verbose build output (undo: "make V=0") --disable-ltdl-install do not install libltdl --enable-dependency-tracking do not reject slow dependency extractors --disable-dependency-tracking speeds up one-time build --enable-shared[=PKGS] build shared libraries [default=yes] --enable-static[=PKGS] build static libraries [default=yes] --enable-fast-install[=PKGS] optimize for fast installation [default=yes] --disable-libtool-lock avoid locking (might break parallel builds) --enable-ltdl-install install libltdl Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use both] --with-aix-soname=aix|svr4|both shared library versioning (aka "SONAME") variant to provide on AIX, [default=aix]. --with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-sysroot[=DIR] Search for dependent libraries within DIR (or the compiler's sysroot if not specified). Some influential environment variables: M4 Location of GNU M4 1.4.6 or later. Defaults to the first program of 'm4', 'gm4', or 'gnum4' on PATH that meets Autoconf needs. CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory LIBS libraries to pass to the linker, e.g. -l CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor LT_SYS_LIBRARY_PATH User-defined run-time library search path. CXX C++ compiler command CXXFLAGS C++ compiler flags CXXCPP C++ preprocessor F77 Fortran 77 compiler command FFLAGS Fortran 77 compiler flags FC Fortran compiler command FCFLAGS Fortran compiler flags Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to . GNU Libtool home page: . General help using GNU software: . libtool/2.4.6: Calling: > /c/users/spaceim/.conan/data/libtool/2.4.6/_/_/build/909f3388bde7b947d90419b048c458d28f935966/source_subfolder/configure --datarootdir=/c/users/spaceim/.conan/data/libtool/2.4.6/_/_/package/909f3388bde7b947d90419b048c458d28f935966/res --prefix=/c/users/spaceim/.conan/data/libtool/2.4.6/_/_/package/909f3388bde7b947d90419b048c458d28f935966 --enable-shared --enable-static --enable-ltdl-install libtool/2.4.6: run_in_windows_bash: C:\Users\spaceim\.conan_short\e44064\1\bin\msys64\usr\bin\bash.exe --login -c ^"cd \^"/c/users/spaceim/.conan/data/libtool/2.4.6/_/_/build/909f3388bde7b947d90419b048c458d28f935966\^" ^&^& PATH=\^"/c/users/spaceim/.conan/data/gnu-config/cci.20201022/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/bin:/c/users/spaceim/.conan_short/e44064/1/bin/msys64/usr/bin:/c/users/spaceim/.conan/data/automake/1.16.4/_/_/package/3e48e69237f7f2196164383ef9dedf0f93cbf249/bin:/c/users/spaceim/.conan/data/autoconf/2.71/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/bin:/c/users/spaceim/.conan/data/m4/1.4.19/_/_/package/0a420ff5c47119e668867cdb51baff0eca1fdb68/bin:$PATH\^" ^&^& /c/users/spaceim/.conan/data/libtool/2.4.6/_/_/build/909f3388bde7b947d90419b048c458d28f935966/source_subfolder/configure --datarootdir=/c/users/spaceim/.conan/data/libtool/2.4.6/_/_/package/909f3388bde7b947d90419b048c458d28f935966/res --prefix=/c/users/spaceim/.conan/data/libtool/2.4.6/_/_/package/909f3388bde7b947d90419b048c458d28f935966 --enable-shared --enable-static --enable-ltdl-install ^" configure: loading site script /etc/config.site ## ------------------------- ## ## Configuring libtool 2.4.6 ## ## ------------------------- ## checking for GNU M4 that supports accurate traces... C:/Users/spaceim/.conan/data/m4/1.4.19/_/_/package/0a420ff5c47119e668867cdb51baff0eca1fdb68/bin/m4.exe checking whether C:/Users/spaceim/.conan/data/m4/1.4.19/_/_/package/0a420ff5c47119e668867cdb51baff0eca1fdb68/bin/m4.exe accepts --gnu... yes checking how m4 supports trace files... --debugfile checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /c/users/spaceim/.conan_short/e44064/1/bin/msys64/usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking build system type... x86_64-w64-mingw32 checking host system type... x86_64-w64-mingw32 configure: autobuild project... GNU Libtool configure: autobuild revision... 2.4.6 configure: autobuild hostname... DESKTOP-HC4LK2Q configure: autobuild mode... default configure: autobuild timestamp... 20220120T234659Z checking for gcc... cl.exe checking whether the C compiler works... yes checking for C compiler default output file name... conftest.exe checking for suffix of executables... .exe checking whether we are cross compiling... no checking for suffix of object files... obj checking whether we are using the GNU C compiler... no checking whether cl.exe accepts -g... yes checking for cl.exe option to accept ISO C89... none needed checking whether cl.exe understands -c and -o together... no checking for style of include used by make... GNU checking dependency style of /c/users/spaceim/.conan/data/libtool/2.4.6/_/_/build/909f3388bde7b947d90419b048c458d28f935966/source_subfolder/build-aux/compile cl.exe... msvc7 checking how to run the C preprocessor... /c/users/spaceim/.conan/data/libtool/2.4.6/_/_/build/909f3388bde7b947d90419b048c458d28f935966/source_subfolder/build-aux/compile cl.exe -E checking for grep that handles long lines and -e... /c/users/spaceim/.conan_short/e44064/1/bin/msys64/usr/bin/grep checking for egrep... /c/users/spaceim/.conan_short/e44064/1/bin/msys64/usr/bin/grep -E checking for Minix Amsterdam compiler... no checking for ar... ar checking for ranlib... ranlib checking how to run the C preprocessor... /c/users/spaceim/.conan/data/libtool/2.4.6/_/_/build/909f3388bde7b947d90419b048c458d28f935966/source_subfolder/build-aux/compile cl.exe -E checking how to print strings... printf checking for a sed that does not truncate output... /c/users/spaceim/.conan_short/e44064/1/bin/msys64/usr/bin/sed checking for fgrep... /c/users/spaceim/.conan_short/e44064/1/bin/msys64/usr/bin/grep -F checking for non-GNU ld... link.exe checking if the linker (link.exe) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /c/users/spaceim/.conan_short/e44064/1/bin/msys64/usr/bin/nm -B checking the name lister (/c/users/spaceim/.conan_short/e44064/1/bin/msys64/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... no, using cp -pR checking the maximum length of command line arguments... 8192 checking how to convert x86_64-w64-mingw32 file names to x86_64-w64-mingw32 format... func_convert_file_msys_to_w32 checking how to convert x86_64-w64-mingw32 file names to toolchain format... func_convert_file_msys_to_w32 checking for link.exe option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL checking for dlltool... dlltool checking how to associate runtime and link libraries... func_cygming_dll_for_implib checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... (cached) ranlib checking command to parse /c/users/spaceim/.conan_short/e44064/1/bin/msys64/usr/bin/nm -B output from /c/users/spaceim/.conan/data/libtool/2.4.6/_/_/build/909f3388bde7b947d90419b048c458d28f935966/source_subfolder/build-aux/compile cl.exe object... ok checking for sysroot... no checking for a working dd... /c/users/spaceim/.conan_short/e44064/1/bin/msys64/usr/bin/dd checking how to truncate binary pipes... /c/users/spaceim/.conan_short/e44064/1/bin/msys64/usr/bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... yes 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... no checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... no checking for dlfcn.h... no checking for as... as checking for dlltool... (cached) dlltool checking for objdump... (cached) objdump checking for objdir... .libs checking for /c/users/spaceim/.conan/data/libtool/2.4.6/_/_/build/909f3388bde7b947d90419b048c458d28f935966/source_subfolder/build-aux/compile cl.exe option to produce PIC... -DDLL_EXPORT -DPIC checking if /c/users/spaceim/.conan/data/libtool/2.4.6/_/_/build/909f3388bde7b947d90419b048c458d28f935966/source_subfolder/build-aux/compile cl.exe PIC flag -DDLL_EXPORT -DPIC works... yes checking if /c/users/spaceim/.conan/data/libtool/2.4.6/_/_/build/909f3388bde7b947d90419b048c458d28f935966/source_subfolder/build-aux/compile cl.exe static flag works... yes checking if /c/users/spaceim/.conan/data/libtool/2.4.6/_/_/build/909f3388bde7b947d90419b048c458d28f935966/source_subfolder/build-aux/compile cl.exe supports -c -o file.obj... yes checking if /c/users/spaceim/.conan/data/libtool/2.4.6/_/_/build/909f3388bde7b947d90419b048c458d28f935966/source_subfolder/build-aux/compile cl.exe supports -c -o file.obj... (cached) yes checking whether the /c/users/spaceim/.conan/data/libtool/2.4.6/_/_/build/909f3388bde7b947d90419b048c458d28f935966/source_subfolder/build-aux/compile cl.exe linker (link.exe) supports shared libraries... yes checking dynamic linker characteristics... Win32 link.exe 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... yes checking whether to build static libraries... yes checking what extension is used for runtime loadable modules... .dll checking what variable specifies run-time module search path... PATH checking for the default library search path... /lib /usr/lib checking for library containing dlopen... no checking for dlopen in -lsvld... no checking for shl_load... no checking for shl_load in -ldld... no checking whether cygwin_conv_path is declared... no checking for dld_link in -ldld... no checking for _ prefix in compiled symbols... no checking whether deplibs are loaded by dlopen... unknown checking for argz.h... no checking for error_t... no checking for argz_add... no checking for argz_append... no checking for argz_count... no checking for argz_create_sep... no checking for argz_insert... no checking for argz_next... no checking for argz_stringify... no checking whether libtool supports -dlopen/-dlpreopen... yes checking for unistd.h... (cached) no checking for dl.h... no checking for sys/dl.h... no checking for dld.h... no checking for mach-o/dyld.h... no checking for dirent.h... no checking for closedir... no checking for opendir... no checking for readdir... no checking for strlcat... no checking for strlcpy... no checking whether we are using the GNU C++ compiler... no checking whether cl.exe accepts -g... yes checking dependency style of cl.exe... msvc7 checking how to run the C++ preprocessor... cl.exe -E checking whether the cl.exe linker (link.exe) supports shared libraries... yes checking for cl.exe option to produce PIC... -DDLL_EXPORT -DPIC checking if cl.exe PIC flag -DDLL_EXPORT -DPIC works... yes checking if cl.exe static flag works... yes checking if cl.exe supports -c -o file.obj... no checking if cl.exe supports -c -o file.obj... (cached) no checking whether the cl.exe linker (link.exe) supports shared libraries... yes checking dynamic linker characteristics... Win32 link.exe checking how to hardcode library paths into programs... immediate checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... gfortran checking whether we are using the GNU Fortran 77 compiler... no checking whether gfortran accepts -g... no checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for gfortran option to produce PIC... -DDLL_EXPORT checking if gfortran PIC flag -DDLL_EXPORT works... no checking if gfortran static flag works... yes checking if gfortran supports -c -o file.obj... yes checking if gfortran supports -c -o file.obj... (cached) yes checking whether the gfortran linker (link.exe) supports shared libraries... yes checking dynamic linker characteristics... Win32 ld.exe checking how to hardcode library paths into programs... immediate checking for gfortran... gfortran checking whether we are using the GNU Fortran compiler... no checking whether gfortran accepts -g... no checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for gfortran option to produce PIC... -DDLL_EXPORT checking if gfortran PIC flag -DDLL_EXPORT works... no checking if gfortran static flag works... yes checking if gfortran supports -c -o file.obj... yes checking if gfortran supports -c -o file.obj... (cached) yes checking whether the gfortran linker (link.exe) supports shared libraries... yes checking dynamic linker characteristics... Win32 ld.exe checking how to hardcode library paths into programs... immediate checking for gccgo... no checking for gcj... no checking for windres... windres checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: linking /c/users/spaceim/.conan/data/libtool/2.4.6/_/_/build/909f3388bde7b947d90419b048c458d28f935966/source_subfolder/GNUmakefile to GNUmakefile config.status: executing tests/atconfig commands config.status: executing depfiles commands config.status: executing libtool commands libtool/2.4.6: run_in_windows_bash: C:\Users\spaceim\.conan_short\e44064\1\bin\msys64\usr\bin\bash.exe --login -c ^"cd \^"/c/users/spaceim/.conan/data/libtool/2.4.6/_/_/build/909f3388bde7b947d90419b048c458d28f935966\^" ^&^& PATH=\^"/c/users/spaceim/.conan/data/gnu-config/cci.20201022/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/bin:/c/users/spaceim/.conan_short/e44064/1/bin/msys64/usr/bin:/c/users/spaceim/.conan/data/automake/1.16.4/_/_/package/3e48e69237f7f2196164383ef9dedf0f93cbf249/bin:/c/users/spaceim/.conan/data/autoconf/2.71/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/bin:/c/users/spaceim/.conan/data/m4/1.4.19/_/_/package/0a420ff5c47119e668867cdb51baff0eca1fdb68/bin:$PATH\^" ^&^& make -j8 ^" GEN libtoolize GEN libltdl/libltdl/lt__argz.h make all-recursive make[1]: Entering directory '/c/users/spaceim/.conan/data/libtool/2.4.6/_/_/build/909f3388bde7b947d90419b048c458d28f935966' Making all in . make[2]: Entering directory '/c/users/spaceim/.conan/data/libtool/2.4.6/_/_/build/909f3388bde7b947d90419b048c458d28f935966' CC libltdl/lt__argz.lo CC libltdl/lt__dirent.lo CC libltdl/lt__strl.lo CC libltdl/loaders/libltdl_libltdl_la-preopen.lo CC libltdl/libltdl_libltdl_la-lt__alloc.lo CC libltdl/libltdl_libltdl_la-lt_dlloader.lo CC libltdl/libltdl_libltdl_la-lt_error.lo CC libltdl/libltdl_libltdl_la-ltdl.lo Microsoft (R) C/C++ Optimizing Compiler Version 19.30.30709 for x64 Copyright (C) Microsoft Corporation. All rights reserved. Microsoft (R) C/C++ Optimizing Compiler Version 19.30.30709 for x64 Copyright (C) Microsoft Corporation. All rights reserved. Microsoft (R) C/C++ Optimizing Compiler Version 19.30.30709 for x64 Copyright (C) Microsoft Corporation. All rights reserved. Microsoft (R) C/C++ Optimizing Compiler Version 19.30.30709 for x64 Copyright (C) Microsoft Corporation. All rights reserved. Microsoft (R) C/C++ Optimizing Compiler Version 19.30.30709 for x64 Copyright (C) Microsoft Corporation. All rights reserved. Microsoft (R) C/C++ Optimizing Compiler Version 19.30.30709 for x64 Copyright (C) Microsoft Corporation. All rights reserved. Microsoft (R) C/C++ Optimizing Compiler Version 19.30.30709 for x64 Copyright (C) Microsoft Corporation. All rights reserved. Microsoft (R) C/C++ Optimizing Compiler Version 19.30.30709 for x64 Copyright (C) Microsoft Corporation. All rights reserved. lt__argz.c lt__strl.c CC libltdl/libltdl_libltdl_la-slist.lo lt__dirent.c lt__alloc.c CC libltdl/loaders/loadlibrary.lo lt_dlloader.c lt_error.c C:/users/spaceim/.conan/data/libtool/2.4.6/_/_/build/909f3388bde7b947d90419b048c458d28f935966/source_subfolder/libltdl/lt_error.c(56): warning C4090: 'function': different 'const' qualifiers preopen.c ltdl.c Microsoft (R) C/C++ Optimizing Compiler Version 19.30.30709 for x64 Copyright (C) Microsoft Corporation. All rights reserved. Microsoft (R) C/C++ Optimizing Compiler Version 19.30.30709 for x64 Copyright (C) Microsoft Corporation. All rights reserved. slist.c loadlibrary.c CCLD libltdl/loadlibrary.la CCLD libltdl/libltdl.la Microsoft (R) C/C++ Optimizing Compiler Version 19.30.30709 for x64 Copyright (C) Microsoft Corporation. All rights reserved. libltdlS.c Microsoft (R) C/C++ Optimizing Compiler Version 19.30.30709 for x64 Copyright (C) Microsoft Corporation. All rights reserved. cl -link -EXPORT:__local_stdio_printf_options -link -EXPORT:_vfprintf_l -link -EXPORT:_vsnprintf_l -link -EXPORT:_vsprintf_l -link -EXPORT:fprintf -link -EXPORT:lt__alloc_die,DATA -link -EXPORT:lt__alloc_die_callback -link -EXPORT:lt__argz_append -link -EXPORT:lt__argz_create_sep -link -EXPORT:lt__argz_insert -link -EXPORT:lt__argz_next -link -EXPORT:lt__argz_stringify -link -EXPORT:lt__closedir -link -EXPORT:lt__error_string -link -EXPORT:lt__get_last_error -link -EXPORT:lt__malloc -link -EXPORT:lt__memdup -link -EXPORT:lt__opendir -link -EXPORT:lt__readdir -link -EXPORT:lt__realloc -link -EXPORT:lt__set_last_error -link -EXPORT:lt__slist_box -link -EXPORT:lt__slist_concat -link -EXPORT:lt__slist_cons -link -EXPORT:lt__slist_delete -link -EXPORT:lt__slist_find -link -EXPORT:lt__slist_foreach -link -EXPORT:lt__slist_length -link -EXPORT:lt__slist_nth -link -EXPORT:lt__slist_remove -link -EXPORT:lt__slist_reverse -link -EXPORT:lt__slist_sort -link -EXPORT:lt__slist_tail -link -EXPORT:lt__slist_unbox -link -EXPORT:lt__strdup -link -EXPORT:lt__zalloc -link -EXPORT:lt_dladderror -link -EXPORT:lt_dladdsearchdir -link -EXPORT:lt_dladvise_destroy -link -EXPORT:lt_dladvise_ext -link -EXPORT:lt_dladvise_global -link -EXPORT:lt_dladvise_init -link -EXPORT:lt_dladvise_local -link -EXPORT:lt_dladvise_preload -link -EXPORT:lt_dladvise_resident -link -EXPORT:lt_dlcaller_get_data -link -EXPORT:lt_dlcaller_set_data -link -EXPORT:lt_dlclose -link -EXPORT:lt_dlerror -link -EXPORT:lt_dlexit -link -EXPORT:lt_dlforeachfile -link -EXPORT:lt_dlgetinfo -link -EXPORT:lt_dlgetsearchpath -link -EXPORT:lt_dlhandle_fetch -link -EXPORT:lt_dlhandle_iterate -link -EXPORT:lt_dlhandle_map -link -EXPORT:lt_dlinit -link -EXPORT:lt_dlinsertsearchdir -link -EXPORT:lt_dlinterface_free -link -EXPORT:lt_dlinterface_register -link -EXPORT:lt_dlisresident -link -EXPORT:lt_dlloader_add -link -EXPORT:lt_dlloader_find -link -EXPORT:lt_dlloader_get -link -EXPORT:lt_dlloader_next -link -EXPORT:lt_dlloader_remove -link -EXPORT:lt_dlmakeresident -link -EXPORT:lt_dlopen -link -EXPORT:lt_dlopenadvise -link -EXPORT:lt_dlopenext -link -EXPORT:lt_dlpreload -link -EXPORT:lt_dlpreload_default -link -EXPORT:lt_dlpreload_open -link -EXPORT:lt_dlseterror -link -EXPORT:lt_dlsetsearchpath -link -EXPORT:lt_dlsym -link -EXPORT:lt_libltdl_LTX_preloaded_symbols,DATA -link -EXPORT:lt_strlcat -link -EXPORT:lt_strlcpy -link -EXPORT:preopen_LTX_get_vtable -link -EXPORT:sprintf Microsoft (R) Incremental Linker Version 14.30.30709.0 Copyright (C) Microsoft Corporation. All rights reserved. /out:libltdl\.libs\libltdl-7.dll -EXPORT:__local_stdio_printf_options -EXPORT:_vfprintf_l -EXPORT:_vsnprintf_l -EXPORT:_vsprintf_l -EXPORT:fprintf -EXPORT:lt__alloc_die,DATA -EXPORT:lt__alloc_die_callback -EXPORT:lt__argz_append -EXPORT:lt__argz_create_sep -EXPORT:lt__argz_insert -EXPORT:lt__argz_next -EXPORT:lt__argz_stringify -EXPORT:lt__closedir -EXPORT:lt__error_string -EXPORT:lt__get_last_error -EXPORT:lt__malloc -EXPORT:lt__memdup -EXPORT:lt__opendir -EXPORT:lt__readdir -EXPORT:lt__realloc -EXPORT:lt__set_last_error -EXPORT:lt__slist_box -EXPORT:lt__slist_concat -EXPORT:lt__slist_cons -EXPORT:lt__slist_delete -EXPORT:lt__slist_find -EXPORT:lt__slist_foreach -EXPORT:lt__slist_length -EXPORT:lt__slist_nth -EXPORT:lt__slist_remove -EXPORT:lt__slist_reverse -EXPORT:lt__slist_sort -EXPORT:lt__slist_tail -EXPORT:lt__slist_unbox -EXPORT:lt__strdup -EXPORT:lt__zalloc -EXPORT:lt_dladderror -EXPORT:lt_dladdsearchdir -EXPORT:lt_dladvise_destroy -EXPORT:lt_dladvise_ext -EXPORT:lt_dladvise_global -EXPORT:lt_dladvise_init -EXPORT:lt_dladvise_local -EXPORT:lt_dladvise_preload -EXPORT:lt_dladvise_resident -EXPORT:lt_dlcaller_get_data -EXPORT:lt_dlcaller_set_data -EXPORT:lt_dlclose -EXPORT:lt_dlerror -EXPORT:lt_dlexit -EXPORT:lt_dlforeachfile -EXPORT:lt_dlgetinfo -EXPORT:lt_dlgetsearchpath -EXPORT:lt_dlhandle_fetch -EXPORT:lt_dlhandle_iterate -EXPORT:lt_dlhandle_map -EXPORT:lt_dlinit -EXPORT:lt_dlinsertsearchdir -EXPORT:lt_dlinterface_free -EXPORT:lt_dlinterface_register -EXPORT:lt_dlisresident -EXPORT:lt_dlloader_add -EXPORT:lt_dlloader_find -EXPORT:lt_dlloader_get -EXPORT:lt_dlloader_next -EXPORT:lt_dlloader_remove -EXPORT:lt_dlmakeresident -EXPORT:lt_dlopen -EXPORT:lt_dlopenadvise -EXPORT:lt_dlopenext -EXPORT:lt_dlpreload -EXPORT:lt_dlpreload_default -EXPORT:lt_dlpreload_open -EXPORT:lt_dlseterror -EXPORT:lt_dlsetsearchpath -EXPORT:lt_dlsym -EXPORT:lt_libltdl_LTX_preloaded_symbols,DATA -EXPORT:lt_strlcat -EXPORT:lt_strlcpy -EXPORT:preopen_LTX_get_vtable -EXPORT:sprintf -DLL -IMPLIB:libltdl\.libs\libltdl.dll.lib libltdl/loaders/.libs/libltdl_libltdl_la-preopen.obj libltdl/.libs/libltdl_libltdl_la-lt__alloc.obj libltdl/.libs/libltdl_libltdl_la-lt_dlloader.obj libltdl/.libs/libltdl_libltdl_la-lt_error.obj libltdl/.libs/libltdl_libltdl_la-ltdl.obj libltdl/.libs/libltdl_libltdl_la-slist.obj libltdl/.libs/lt__argz.obj libltdl/.libs/lt__dirent.obj libltdl/.libs/lt__strl.obj libltdl/.libs/libltdlS.obj libltdl/.libs/libltdl.lax/loadlibrary.lib/loadlibrary.obj Creating library libltdl\.libs\libltdl.dll.lib and object libltdl\.libs\libltdl.dll.exp libltdl_libltdl_la-ltdl.obj : error LNK2019: unresolved external symbol lt_ltdl_LTX_preloaded_symbols referenced in function lt_dlinit libltdl\.libs\libltdl-7.dll : fatal error LNK1120: 1 unresolved externals make[2]: *** [Makefile:1136: libltdl/libltdl.la] Error 2 make[2]: Leaving directory '/c/users/spaceim/.conan/data/libtool/2.4.6/_/_/build/909f3388bde7b947d90419b048c458d28f935966' make[1]: *** [Makefile:1606: all-recursive] Error 1 make[1]: Leaving directory '/c/users/spaceim/.conan/data/libtool/2.4.6/_/_/build/909f3388bde7b947d90419b048c458d28f935966' make: *** [Makefile:995 : all] Erreur 2 libtool/2.4.6: libtool/2.4.6: ERROR: Package '909f3388bde7b947d90419b048c458d28f935966' build failed libtool/2.4.6: WARN: Build folder C:\Users\spaceim\.conan\data\libtool\2.4.6\_\_\build\909f3388bde7b947d90419b048c458d28f935966 ERROR: libtool/2.4.6: Error in build() method, line 111 autotools.make() ConanException: Error 2 while executing make -j8 ```
fregate commented 2 years ago

Can't compile on Apple MacBook Pro M1 Max too

$ conan install libtool/2.4.6@ -b missing Configuration: [settings] arch=armv8 arch_build=armv8 build_type=Release os=Macos os_build=Macos [options] [build_requires] [env]

ERROR: libtool/2.4.6: 'settings.compiler' value not defined

$ conan install libtool/2.4.6@ -b missing --profile:host m1 ERROR: Profile not found: m1

$ conan profile show m1 ERROR: Profile not found: m1

According to this post https://blog.conan.io/2021/09/21/m1.html conan have to already has m1 profile

$ conan --version Conan version 1.45.0

SpaceIm commented 2 years ago

It's not the same issue, your profile is illformed.

Pro commented 1 year ago

A fix for this issue can be found here: https://github.com/conan-io/conan-center-index/pull/15644#issuecomment-1430315172