microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
22.86k stars 6.31k forks source link

[libgwenhywfar] Build failue #31216

Open autoantwort opened 1 year ago

autoantwort commented 1 year ago

Package: libgwenhywfar[core,qt5]:arm64-osx -> 5.6.0#3

Host Environment

To Reproduce

vcpkg x-set-installed libgwenhywfar[core,qt5]

Failure logs

-- Using cached gwenhywfar-5.6.0.tar.gz.
-- Extracting source /Users/leanderSchulten/git_projekte/vcpkg/downloads/gwenhywfar-5.6.0.tar.gz
-- Using source at /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/libgwenhywfar/src/5.6.0-7b89005ea8.clean
-- Found external ninja('1.11.1').
-- Getting CMake variables for arm64-osx-dbg
-- Getting CMake variables for arm64-osx-rel
-- Configuring arm64-osx-dbg
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
    Command failed: /bin/bash -c "V=1 ./../src/5.6.0-7b89005ea8.clean/configure  \"--disable-silent-rules\" \"--disable-binreloc\" \"--with-guis=qt5\" \"--with-libgpg-error-prefix=/Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/tools/libgpg-error\" \"--with-libgcrypt-prefix=/Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/tools/libgcrypt\" \"--with-qt5-qmake=/Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/tools/qt5/bin/qmake\" \"--with-qt5-moc=/Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/tools/qt5/bin/moc\" \"--with-qt5-uic=/Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/tools/qt5/bin/uic\" \"LDFLAGS=-framework CoreFoundation -framework Security\" \"--disable-silent-rules\" \"--verbose\" \"--disable-shared\" \"--enable-static\" \"--prefix=/Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/debug\" \"--bindir=\\${prefix}/../tools/libgwenhywfar/debug/bin\" \"--sbindir=\\${prefix}/../tools/libgwenhywfar/debug/sbin\" \"--libdir=\\${prefix}/lib\" \"--includedir=\\${prefix}/../include\" \"--datarootdir=\\${prefix}/share/libgwenhywfar\""
    Working Directory: /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/libgwenhywfar/arm64-osx-dbg
    Error code: 1
    See logs for more information:
      /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/libgwenhywfar/config-arm64-osx-dbg-config.log
      /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/libgwenhywfar/config-arm64-osx-dbg-out.log
      /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/libgwenhywfar/config-arm64-osx-dbg-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_make.cmake:833 (vcpkg_execute_required_process)
  ports/libgwenhywfar/portfile.cmake:36 (vcpkg_configure_make)
  scripts/ports.cmake:147 (include)
/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/libgwenhywfar/config-arm64-osx-dbg-out.log ``` checking build system type... arm-apple-darwin22.4.0 checking host system type... arm-apple-darwin22.4.0 checking for a BSD-compatible install... /opt/homebrew/bin/ginstall -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /opt/homebrew/bin/gmkdir -p checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking host system type... posix checking for gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -fPIC -g 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 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -fPIC -g accepts -g... yes checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -fPIC -g option to accept ISO C89... none needed checking whether /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -fPIC -g understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -fPIC -g... gcc3 checking whether we are using the GNU C++ compiler... yes checking whether /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ accepts -g... yes checking dependency style of /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++... gcc3 checking how to run the C preprocessor... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -fPIC -g -E checking for gcc... gcc checking whether we are using the GNU Objective C compiler... yes checking whether gcc accepts -g... yes checking dependency style of gcc... gcc3 checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /opt/homebrew/bin/ggrep checking for egrep... /opt/homebrew/bin/ggrep -E checking for fgrep... /opt/homebrew/bin/ggrep -F checking for ld used by /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -fPIC -g... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm checking the name lister (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 786432 checking how to convert arm-apple-darwin22.4.0 file names to arm-apple-darwin22.4.0 format... func_convert_file_noop checking how to convert arm-apple-darwin22.4.0 file names to toolchain format... func_convert_file_noop checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r checking for objdump... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/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... no checking for strip... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip checking for ranlib... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib checking command to parse /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm output from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -fPIC -g object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for dsymutil... dsymutil checking for nmedit... nmedit checking for lipo... lipo checking for otool... otool checking for otool64... no checking for -single_module linker flag... yes checking for -exported_symbols_list linker flag... yes checking for -force_load linker flag... 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... 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 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -fPIC -g supports -fno-rtti -fno-exceptions... yes checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -fPIC -g option to produce PIC... -fno-common -DPIC checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -fPIC -g PIC flag -fno-common -DPIC works... yes checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -fPIC -g static flag -static works... no checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -fPIC -g supports -c -o file.o... yes checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -fPIC -g supports -c -o file.o... (cached) yes checking whether the /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -fPIC -g linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin22.4.0 dyld 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 how to run the C++ preprocessor... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -E checking for ld used by /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no checking whether the /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ option to produce PIC... -fno-common -DPIC checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ PIC flag -fno-common -DPIC works... yes checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ static flag -static works... no checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ supports -c -o file.o... yes checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ supports -c -o file.o... (cached) yes checking whether the /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin22.4.0 dyld checking how to hardcode library paths into programs... immediate checking for windres... no checking for windres... no checking for gawk... (cached) awk checking for dot... YES checking for sed... /usr/bin/sed checking for astyle... echo checking for dlopen in -ldl... yes checking whether /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -fPIC -g is Clang... yes checking whether Clang needs flag to prevent "argument unused" warning when linking with -pthread... no checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for ld used by GCC... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no checking for shared library run path origin... done checking for iconv... yes checking for working iconv... yes checking how to link with libiconv... -liconv checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking localcharset.h usability... yes checking localcharset.h presence... yes checking for localcharset.h... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for syslog.h... (cached) yes checking for sys/stat.h... (cached) yes checking for sys/types.h... (cached) yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking endian.h usability... no checking endian.h presence... no checking for endian.h... no checking whether sigprocmask is declared... yes checking for an ANSI C-conforming const... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking whether closedir returns void... no checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for alarm... yes checking for working mktime... no checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking for gethostbyaddr... yes checking for gethostbyname... yes checking for inet_ntoa... yes checking for isascii... yes checking for getpid... yes checking for memmove... yes checking for memset... yes checking for select... yes checking for socket... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for snprintf... yes checking for symlink... yes checking for setlocale... yes checking for srandom... yes checking for random... yes checking whether binary relocation support should be enabled... no checking if gwen is a subproject... no checking whether system-wide trusted certificates should be set... yes checking network connectivity can be assumed available during 'make check'... yes checking whether to enable test code... no checking whether local installation mode is wanted... no checking plugin search dir... ${libdir}/gwenhywfar/plugins/79 checking data search dir... ${datadir}/gwenhywfar checking system data search dir... ${datadir} checking locale search dir... $(localedir) checking cfg search dir... $(sysconfdir) checking if compiling with variadic macros... yes checking if profiling is to be supported... no checking for dpkg-architecture... no checking for multiarch paths... not found checking for libgcrypt-config... /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/tools/libgcrypt/bin/libgcrypt-config checking for LIBGCRYPT - version >= 1.2.0... yes (1.10.1-unknown) checking LIBGCRYPT API version... okay checking for gpg-error-config... /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/tools/libgpg-error/bin/gpg-error-config checking for GPG Error - version >= 0.0... yes (1.46-unknown) checking pkg-config is at least version 0.9.0... yes checking for LIBGNUTLS... yes checking for OPENSSL... yes checking for preselected distribution name... no, will have to determine it checking whether this is a Debian derivate... no checking whether this is an RPM distribution... no (no RPM installed) checking for xgettext... xgettext checking for msgfmt... /opt/homebrew/bin/msgfmt checking for locale.h... (cached) yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for library containing gettext... no checking for iconv.h... (cached) yes checking for iconv... no checking for iconv in -liconv... yes checking libXML2-depending code... no checking for X... no checking for Qt... yes: QT_CXXFLAGS= QT_DIR=/Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/lib QT_LIBS= QT_UIC=/Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/tools/qt5/bin/uic QT_MOC=/Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/tools/qt5/bin/moc QT_LRELEASE= QT_LUPDATE= checking correct functioning of Qt installation... failure ```
/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/libgwenhywfar/config-arm64-osx-dbg-err.log ``` rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory configure: WARNING: *** *** The config script /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/tools/libgcrypt/bin/libgcrypt-config was *** built for aarch64-apple-darwin22.4.0 and thus may not match the *** used host arm-apple-darwin22.4.0. *** You may want to use the configure option --with-libgcrypt-prefix *** to specify a matching config script or use $SYSROOT. *** configure: WARNING: *** *** The config script /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/tools/libgpg-error/bin/gpg-error-config was *** built for aarch64-apple-darwin22.4.0 and thus may not match the *** used host arm-apple-darwin22.4.0. *** You may want to use the configure option --with-libgpg-error-prefix *** to specify a matching config script or use $SYSROOT. *** Project WARNING: Qt has only been tested with version 12 of the platform SDK, you're using 13. Project WARNING: This is an unsupported configuration. You may experience build issues, and by using Project WARNING: the 13.3 SDK you are opting in to new features that Qt has not been prepared for. Project WARNING: Please downgrade the SDK you use to build your app to version 12, or configure Project WARNING: with CONFIG+=sdk_no_version_check when running qmake to silence this warning. Cannot find file: tmp.WBwf1ID8. make: *** [/var/folders/2t/jzczznpx033c6tbrdt24ldhw0000gn/T/tmp.14Jq7sGX] Error 2 Cannot find file: tmp.WBwf1ID8. make: *** [/var/folders/2t/jzczznpx033c6tbrdt24ldhw0000gn/T/tmp.14Jq7sGX] Error 2 configure: error: Failed to find matching components of a complete Qt installation. Try using more options, see ./configure --help. ```

Additional context

vcpkg.json ``` { "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json", "name": "lichtsteuerung", "version-string": "2.0 $.0", "dependencies": [ { "name": "gz-tools2", "default-features": false, "features": [] } ], "$overrides": [ { "name": "capstone", "version": "4.0.1-120373dc" } ], "$builtin-baseline": "338f99eed499b6df1628829e40695b396a70a1f7" } ```
autoantwort commented 1 year ago

config-arm64-osx-dbg-config.log

jimwang118 commented 1 year ago

The same problem is also reproduced on local x64-osx. I will fix it.

dg0yt commented 11 months ago

34135 comes with three relevant changes:

github-actions[bot] commented 5 months ago

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 180 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.