[MacPorts] #55415: cmake @3.10.1 does not build on PPC Tiger, Mac OS X 10.4.11, due to various issues building libuv
MacPorts
noreply at macports.org
Fri Mar 23 18:29:30 UTC 2018
#55415: cmake @3.10.1 does not build on PPC Tiger, Mac OS X 10.4.11, due to various
issues building libuv
------------------------+-----------------------
Reporter: ballapete | Owner: michaelld
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.4.2
Resolution: | Keywords: tiger
Port: cmake |
------------------------+-----------------------
Comment (by ballapete):
Replying to [comment:34 ballapete]:
>
> Are the now in GCC6 existing
>
> {{{
> -rw-r--r-- 1 root admin 6848 13 Feb 22:09
/opt/local/lib/libgcc/libgcc_ext.10.4.dylib
> -rw-r--r-- 1 root admin 6380 13 Feb 22:09
/opt/local/lib/libgcc/libgcc_ext.10.5.dylib
> }}}
>
> causing the failure?
I don't think so! I added `configure.ldflags-append -t` to `Portfile`.
With this switch I get:
{{{
/opt/local/bin/g++-mp-6 -L/opt/local/lib -Wl,-headerpad_max_install_names
-t -framework CoreFoundation -pipe -Os -D_GLIBCXX_USE_CXX11_ABI=0 -m32
-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.10.3/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.10.3/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.10.3/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.10.3/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 cmIncludeGuardCommand.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
cmTargetCompileDefinitionsCommand.o cmTargetCompileFeaturesCommand.o
cmTargetCompileOptionsCommand.o cmTargetIncludeDirectoriesCommand.o
cmTargetLinkLibrariesCommand.o cmTargetPropCommandBase.o
cmTargetPropertyComputer.o cmTargetSourcesCommand.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 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 uv-src-unix-timer.c.o -o
cmake
/usr/lib/crt1.o
/opt/local/lib/gcc6/gcc/ppc-apple-darwin8/6.4.0/crt3.o
/System/Library/Frameworks//CoreFoundation.framework/CoreFoundation
<<many, many object files>>
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
uv-src-unix-timer.c.o
/opt/local/lib/gcc6/libstdc++.dylib
>>> /usr/lib/libgcc_s.10.4.dylib <<<
/opt/local/lib/gcc6/libgcc_ext.10.4.dylib
/opt/local/lib/gcc6/gcc/ppc-apple-darwin8/6.4.0/libgcc.a
/usr/lib/libSystemStubs.a
/usr/lib/libSystem.dylib
/usr/lib/libicucore.A.dylib
/usr/lib/libauto.dylib
/usr/lib/libobjc.A.dylib
/usr/lib/system/libmathCommon.A.dylib
/opt/local/lib/gcc6/gcc/ppc-apple-darwin8/6.4.0/libgcc.a(darwin-
gpsave.old: warning: object file compiled with -mlong-branch which is no
longer needed. To remove this warning, recompile without -mlong-branch:
/opt/local/lib/gcc6/gcc/ppc-apple-darwin8/6.4.0/crt3.o
)
loading initial cache file
/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.10.3/Bootstrap.cmk/InitialCacheFlags.cmake
-- The C compiler identification is GNU 6.4.0
-- The CXX compiler identification is GNU 6.4.0
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
}}}
`/usr/lib/libgcc_s.10.4.dylib` instead of
`/opt/local/lib/gcc6/libgcc_s.1.dylib` (symlink to
`/opt/local/lib/libgcc/libgcc_s.1.dylib`) or
`/opt/local/lib/gcc6/libgcc_s_ppc64.1.dylib` or
`/opt/local/lib/gcc6/libgcc_s_x86_64.1.dylib` (both symlinks to
`libgcc_s.1.dylib`) is used/found because GCC6 is incorrectly installed on
Tiger: No file name *without* `.1` and no file name *with* `10.4` instead.
--
Ticket URL: <https://trac.macports.org/ticket/55415#comment:35>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list