[MacPorts] #66293: The imported target "Qt5::Core" references the file :info:configure "/usr/local/.//mkspecs/macx-clang" :info:configure but this file does not exist. (was: cmake-bootstrap: CheckSymbolExists.c:8:19: error: use of undeclared identifier 'environ')

MacPorts noreply at macports.org
Sat Nov 19 04:29:33 UTC 2022


#66293: The imported target "Qt5::Core" references the file :info:configure
"/usr/local/.//mkspecs/macx-clang" :info:configure but this file does not
exist.
------------------------------+--------------------
  Reporter:  wealthychef1     |      Owner:  (none)
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:
Resolution:                   |   Keywords:
      Port:  cmake-bootstrap  |
------------------------------+--------------------

Comment (by wealthychef1):

 I forgot to run xcode-select --install, which moved me to the next error.
 {{{
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-
 bootstrap/work/cmake-3.9.6/Source/kwsys/Terminal.c -o Terminal.o
 :info:configure /usr/bin/clang++ -L/opt/local/libexec/cmake-bootstrap/lib
 -Wl,-headerpad_max_install_names
 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk
 -arch arm64 -framework CoreFoundation -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch arm64
 -std=gnu++14
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-
 bootstrap/work/cmake-3.9.6/Bootstrap.cmk
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-
 bootstrap/work/cmake-3.9.6/Source
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-
 bootstrap/work/cmake-3.9.6/Source/LexerParser
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-
 bootstrap/work/cmake-3.9.6/Utilities  cmAddCustomCommandCommand.o
 cmAddCustomTargetCommand.o cmAddDefinitionsCommand.o
 cmAddDependenciesCommand.o cmAddExecutableCommand.o cmAddLibraryCommand.o
 cmAddSubDirectoryCommand.o cmAddTestCommand.o cmBreakCommand.o
 cmBuildCommand.o cmCMakeMinimumRequired.o cmCMakePolicyCommand.o
 cmCPackPropertiesGenerator.o cmCacheManager.o cmCommand.o
 cmCommandArgumentParserHelper.o cmCommandArgumentsHelper.o cmCommands.o
 cmCommonTargetGenerator.o cmComputeComponentGraph.o cmComputeLinkDepends.o
 cmComputeLinkInformation.o cmComputeTargetDepends.o cmConditionEvaluator.o
 cmConfigureFileCommand.o cmContinueCommand.o cmCoreTryCompile.o
 cmCreateTestSourceList.o cmCustomCommand.o cmCustomCommandGenerator.o
 cmDefinePropertyCommand.o cmDefinitions.o cmDepends.o cmDependsC.o
 cmDisallowedCommand.o cmDocumentationFormatter.o cmEnableLanguageCommand.o
 cmEnableTestingCommand.o cmExecProgramCommand.o cmExecuteProcessCommand.o
 cmExpandedCommandArgument.o cmExportBuildFileGenerator.o
 cmExportFileGenerator.o cmExportInstallFileGenerator.o cmExportSet.o
 cmExportSetMap.o cmExportTryCompileFileGenerator.o cmExprParserHelper.o
 cmExternalMakefileProjectGenerator.o cmFileCommand.o
 cmFileTimeComparison.o cmFindBase.o cmFindCommon.o cmFindFileCommand.o
 cmFindLibraryCommand.o cmFindPackageCommand.o cmFindPathCommand.o
 cmFindProgramCommand.o cmForEachCommand.o cmFunctionCommand.o
 cmGeneratedFileStream.o cmGeneratorExpression.o
 cmGeneratorExpressionContext.o cmGeneratorExpressionDAGChecker.o
 cmGeneratorExpressionEvaluationFile.o cmGeneratorExpressionEvaluator.o
 cmGeneratorExpressionLexer.o cmGeneratorExpressionNode.o
 cmGeneratorExpressionParser.o cmGeneratorTarget.o
 cmGetCMakePropertyCommand.o cmGetDirectoryPropertyCommand.o
 cmGetFilenameComponentCommand.o cmGetPropertyCommand.o
 cmGetSourceFilePropertyCommand.o cmGetTargetPropertyCommand.o
 cmGetTestPropertyCommand.o cmGlobalCommonGenerator.o cmGlobalGenerator.o
 cmGlobalUnixMakefileGenerator3.o cmHexFileConverter.o cmIfCommand.o
 cmIncludeCommand.o cmIncludeDirectoryCommand.o
 cmIncludeRegularExpressionCommand.o cmInstallCommand.o
 cmInstallCommandArguments.o cmInstallDirectoryGenerator.o
 cmInstallExportGenerator.o cmInstallFilesCommand.o
 cmInstallFilesGenerator.o cmInstallGenerator.o cmInstallScriptGenerator.o
 cmInstallTargetGenerator.o cmInstallTargetsCommand.o cmInstalledFile.o
 cmLinkDirectoriesCommand.o cmLinkLineComputer.o cmListCommand.o
 cmListFileCache.o cmLocalCommonGenerator.o cmLocalGenerator.o
 cmLocalUnixMakefileGenerator3.o cmMSVC60LinkLineComputer.o
 cmMacroCommand.o cmMakeDirectoryCommand.o cmMakefile.o
 cmMakefileExecutableTargetGenerator.o cmMakefileLibraryTargetGenerator.o
 cmMakefileTargetGenerator.o cmMakefileUtilityTargetGenerator.o
 cmMarkAsAdvancedCommand.o cmMathCommand.o cmMessageCommand.o cmMessenger.o
 cmNewLineStyle.o cmOSXBundleGenerator.o cmOptionCommand.o
 cmOrderDirectories.o cmOutputConverter.o cmParseArgumentsCommand.o
 cmPathLabel.o cmPolicies.o cmProcessOutput.o cmProjectCommand.o
 cmProperty.o cmPropertyDefinition.o cmPropertyDefinitionMap.o
 cmPropertyMap.o cmReturnCommand.o cmRulePlaceholderExpander.o
 cmScriptGenerator.o cmSearchPath.o cmSeparateArgumentsCommand.o
 cmSetCommand.o cmSetDirectoryPropertiesCommand.o cmSetPropertyCommand.o
 cmSetSourceFilesPropertiesCommand.o cmSetTargetPropertiesCommand.o
 cmSetTestsPropertiesCommand.o cmSiteNameCommand.o cmSourceFile.o
 cmSourceFileLocation.o cmState.o cmStateDirectory.o cmStateSnapshot.o
 cmStringCommand.o cmSubdirCommand.o cmSystemTools.o cmTarget.o
 cmTargetLinkLibrariesCommand.o cmTargetPropertyComputer.o cmTest.o
 cmTestGenerator.o cmTimestamp.o cmTryCompileCommand.o cmTryRunCommand.o
 cmUnexpectedCommand.o cmUnsetCommand.o cmVersion.o cmWhileCommand.o
 cmWorkingDirectory.o cmake.o cmakemain.o cmcmd.o cmCommandArgumentLexer.o
 cmCommandArgumentParser.o cmExprLexer.o cmExprParser.o cmListFileLexer.o
 Directory.o EncodingCXX.o FStream.o Glob.o RegularExpression.o
 SystemTools.o EncodingC.o ProcessUNIX.o String.o System.o Terminal.o -o
 cmake
 :info:configure ld: warning: directory not found for option
 '-L/opt/local/libexec/cmake-bootstrap/lib'
 :info:configure loading initial cache file
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-
 bootstrap/work/cmake-3.9.6/Bootstrap.cmk/InitialCacheFlags.cmake
 :info:configure CMake Error at
 /usr/local/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:14 (message):
 :info:configure   The imported target "Qt5::Core" references the file
 :info:configure      "/usr/local/.//mkspecs/macx-clang"
 :info:configure   but this file does not exist.  Possible reasons include:
 :info:configure   * The file was deleted, renamed, or moved to another
 location.
 :info:configure   * An install or uninstall procedure did not complete
 successfully.
 :info:configure   * The installation package was faulty and contained
 :info:configure
 "/usr/local/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake"
 :info:configure   but not all the files it references.
 :info:configure Call Stack (most recent call first):
 :info:configure
 /usr/local/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake:56
 (_qt5_Core_check_file_exists)
 :info:configure   /usr/local/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:227
 (include)
 :info:configure   Tests/RunCMake/CMakeLists.txt:250 (find_package)
 :info:configure -- Configuring incomplete, errors occurred!
 :info:configure See also
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-
 bootstrap/work/cmake-3.9.6/CMakeFiles/CMakeOutput.log".
 :info:configure See also
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-
 bootstrap/work/cmake-3.9.6/CMakeFiles/CMakeError.log".
 :info:configure ---------------------------------------------
 :info:configure Error when bootstrapping CMake:
 :info:configure Problem while running initial CMake
 :info:configure ---------------------------------------------
 :info:configure Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-
 bootstrap/work/cmake-3.9.6" && ./configure --prefix=/opt/local/libexec
 /cmake-bootstrap --docdir=share/doc/cmake --parallel=10 --no-system-libs
 --no-server
 :info:configure Exit code: 11
 :error:configure Failed to configure cmake-bootstrap: consult
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-
 bootstrap/work/cmake-3.9.6/CMakeFiles/CMakeError.log
 :error:configure Failed to configure cmake-bootstrap: configure failure:
 command execution failed
 :debug:configure Error code: NONE
 :debug:configure Backtrace: configure failure: command execution failed
 :debug:configure     while executing
 :debug:configure "$procedure $targetname"
 :error:configure See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-
 bootstrap/main.log for details.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/66293#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list