Open SpaceIm opened 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
It's not the same issue, your profile is illformed.
A fix for this issue can be found here: https://github.com/conan-io/conan-center-index/pull/15644#issuecomment-1430315172
Package and Environment Details (include every applicable attribute)
Conan profile (output of
conan profile show default
orconan profile show <profile>
if custom profile is in use)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