[MacPorts] #55415: cmake @3.10.0 does not build on PPC Tiger, Mac OS X 10.4.11, because error: void value not ignored as it ought to be
MacPorts
noreply at macports.org
Fri Dec 1 00:41:40 UTC 2017
#55415: cmake @3.10.0 does not build on PPC Tiger, Mac OS X 10.4.11, because error:
void value not ignored as it ought to be
------------------------+-----------------------
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):
I looked at the use of *birthtime*. It only happens with archives (`Cmake`
brings its own `libarchive`). `Tiger` has `archive_entry.h` which has the
birthtimes declared. So the problem with birthtime not found in `struct
stat` might be solved with the provided second patch file, `patch-
birthtime at Tiger.diff`. At least fs.c gets now compiled. But a new error
now happens:
{{{
/opt/local/bin/g++-mp-6 -L/opt/local/lib -Wl,-headerpad_max_install_names
-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.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.10.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.10.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.10.0/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
ld: 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
Undefined symbols:
"_sendfile", referenced from:
_uv__fs_work in uv-src-unix-fs.c.o
(maybe you meant: _uv_fs_sendfile)
ld: symbol(s) not found
collect2: error: ld returned 1 exit status
gmake: *** [Makefile:2: cmake] Error 1
}}}
This might related to that warning:
{{{
/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.0/Utilities/cmlibuv/src/unix/fs.c:
In function 'uv__fs_sendfile':
/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.0/Utilities/cmlibuv/src/unix/fs.c:658:9:
warning: implicit declaration of function 'sendfile' [-Wimplicit-function-
declaration]
r = sendfile(in_fd, out_fd, req->off, &len, NULL, 0);
^~~~~~~~
}}}
Just a missing `#include <sys/socket.h>`?
I did not perform a `diff` on directories, just `grep`ped for *birthtime*.
The more accurate comparison of the two software versions I might perform
some other day. (Or night.)
--
Ticket URL: <https://trac.macports.org/ticket/55415#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list