Re: [MacPorts] #59808: cmake @3.16.0 – patch file patch-cmake-3-12-libuv-tiger.diff fails with this version in Utilities/cmlibuv/src/unix/fs.c

MacPorts noreply at macports.org
Tue Dec 3 18:27:32 UTC 2019


#59808: cmake @3.16.0 – patch file patch-cmake-3-12-libuv-tiger.diff fails with
this version in Utilities/cmlibuv/src/unix/fs.c
------------------------+--------------------
  Reporter:  ballapete  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.2
Resolution:             |   Keywords:  tiger
      Port:  cmake      |
------------------------+--------------------

Comment (by ballapete):

 Build fails with:

 {{{
 /opt/local/bin/g++-mp-7 -L/opt/local/lib -Wl,-headerpad_max_install_names
 -lMacportsLegacySupport -Wl,-framework -Wl,ApplicationServices
 -lMacportsLegacySupport -arch ppc -framework CoreFoundation -pipe -Os
 -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc       -DCMAKE_BOOTSTRAP
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.16.0/Bootstrap.cmk
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.16.0/Source
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.16.0/Source/LexerParser
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.16.0/Utilities/std
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.16.0/Utilities
 cmAddCustomCommandCommand.o cmAddCustomTargetCommand.o
 cmAddDefinitionsCommand.o cmAddDependenciesCommand.o
 cmAddExecutableCommand.o cmAddLibraryCommand.o cmAddSubDirectoryCommand.o
 cmAddTestCommand.o cmArgumentParser.o cmBinUtilsLinker.o
 cmBinUtilsLinuxELFGetRuntimeDependenciesTool.o cmBinUtilsLinuxELFLinker.o
 cmBinUtilsLinuxELFObjdumpGetRuntimeDependenciesTool.o
 cmBinUtilsMacOSMachOGetRuntimeDependenciesTool.o
 cmBinUtilsMacOSMachOLinker.o
 cmBinUtilsMacOSMachOOToolGetRuntimeDependenciesTool.o
 cmBinUtilsWindowsPEGetRuntimeDependenciesTool.o
 cmBinUtilsWindowsPEDumpbinGetRuntimeDependenciesTool.o
 cmBinUtilsWindowsPELinker.o
 cmBinUtilsWindowsPEObjdumpGetRuntimeDependenciesTool.o cmBreakCommand.o
 cmBuildCommand.o cmCMakeMinimumRequired.o cmCMakePolicyCommand.o
 cmCPackPropertiesGenerator.o cmCacheManager.o cmCheckCustomOutputs.o
 cmCommand.o cmCommandArgumentParserHelper.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
 cmDocumentationFormatter.o cmEnableLanguageCommand.o
 cmEnableTestingCommand.o cmExecProgramCommand.o cmExecuteProcessCommand.o
 cmExpandedCommandArgument.o cmExportBuildFileGenerator.o
 cmExportFileGenerator.o cmExportInstallFileGenerator.o cmExportSet.o
 cmExportTryCompileFileGenerator.o cmExprParserHelper.o
 cmExternalMakefileProjectGenerator.o cmFileCommand.o cmFileCopier.o
 cmFileInstaller.o cmFileTime.o cmFileTimeCache.o cmFileTimes.o
 cmFindBase.o cmFindCommon.o cmFindFileCommand.o cmFindLibraryCommand.o
 cmFindPackageCommand.o cmFindPathCommand.o cmFindProgramCommand.o
 cmForEachCommand.o cmFunctionBlocker.o cmFunctionCommand.o
 cmFSPermissions.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 cmGetPipes.o cmGetPropertyCommand.o
 cmGetSourceFilePropertyCommand.o cmGetTargetPropertyCommand.o
 cmGetTestPropertyCommand.o cmGlobalCommonGenerator.o cmGlobalGenerator.o
 cmGlobalUnixMakefileGenerator3.o cmGlobVerificationManager.o
 cmHexFileConverter.o cmIfCommand.o cmIncludeCommand.o
 cmIncludeGuardCommand.o cmIncludeDirectoryCommand.o
 cmIncludeRegularExpressionCommand.o cmInstallCommand.o
 cmInstallCommandArguments.o cmInstallDirectoryGenerator.o
 cmInstallExportGenerator.o cmInstallFilesCommand.o
 cmInstallFilesGenerator.o cmInstallGenerator.o cmInstallScriptGenerator.o
 cmInstallSubdirectoryGenerator.o cmInstallTargetGenerator.o
 cmInstallTargetsCommand.o cmInstalledFile.o cmLDConfigLDConfigTool.o
 cmLDConfigTool.o cmLinkDirectoriesCommand.o cmLinkItem.o
 cmLinkLineComputer.o cmLinkLineDeviceComputer.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
 cmPropertyDefinition.o cmPropertyDefinitionMap.o cmPropertyMap.o
 cmReturnCommand.o cmRulePlaceholderExpander.o cmRuntimeDependencyArchive.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
 cmString.o cmStringAlgorithms.o cmStringReplaceHelper.o cmStringCommand.o
 cmSubcommandTable.o cmSubdirCommand.o cmSystemTools.o cmTarget.o
 cmTargetCompileDefinitionsCommand.o cmTargetCompileFeaturesCommand.o
 cmTargetCompileOptionsCommand.o cmTargetIncludeDirectoriesCommand.o
 cmTargetLinkLibrariesCommand.o cmTargetPrecompileHeadersCommand.o
 cmTargetPropCommandBase.o cmTargetPropertyComputer.o
 cmTargetSourcesCommand.o cmTest.o cmTestGenerator.o cmTimestamp.o
 cmTryCompileCommand.o cmTryRunCommand.o cmUnsetCommand.o cmUVHandlePtr.o
 cmUVProcessChain.o cmVersion.o cmWhileCommand.o cmWorkingDirectory.o
 cmake.o cmakemain.o cmcmd.o string_view.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 uv-
 src-strscpy.c.o uv-src-timer.c.o uv-src-uv-common.c.o uv-src-unix-cmake-
 bootstrap.c.o uv-src-unix-core.c.o uv-src-unix-fs.c.o uv-src-unix-loop.c.o
 uv-src-unix-loop-watcher.c.o uv-src-unix-no-fsevents.c.o uv-src-unix-
 pipe.c.o uv-src-unix-poll.c.o uv-src-unix-posix-hrtime.c.o uv-src-unix-
 posix-poll.c.o uv-src-unix-process.c.o uv-src-unix-signal.c.o uv-src-unix-
 stream.c.o  -o cmake
 Undefined symbols:
   "_close$NOCANCEL$UNIX2003", referenced from:
       _uv__close_nocancel in uv-src-unix-core.c.o
       _uv__close_nocheckstdio in uv-src-unix-core.c.o
 ld: symbol(s) not found
 collect2: error: ld returned 1 exit status
 gmake: *** [Makefile:2: cmake] Error 1
 ---------------------------------------------
 Error when bootstrapping CMake:
 Problem while running gmake
 ---------------------------------------------
 Log of errors:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.16.0/Bootstrap.cmk/cmake_bootstrap.log
 ---------------------------------------------
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.16.0"
 && ./configure --prefix=/opt/local --docdir=share/doc/cmake --parallel=1
 --init=/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.16.0/macports.cmake
 --system-libs --no-system-jsoncpp --no-system-librhash --no-qt-gui
 Exit code: 9
 }}}

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


More information about the macports-tickets mailing list