#42841: Failure upgrading clhep --------------------------------+--------------------- Reporter: graziosi.angelo@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: clhep | --------------------------------+--------------------- Comment (by ryandesign@…): I'll reproduce here some information I sent to Mojca by email:
I am also able to reproduce the issue on Mavericks with Xcode 5.1 which has this version of clang:
{{{ Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn) }}}
The problem also occurs with `configure.compiler=macports-clang-3.4`.
The build succeeds using `configure.compiler=macports-clang-3.3`.
This suggests that you should be able to reproduce the issue on other OS X versions using `configure.compiler=macports-clang-3.4`, and that the developer could reproduce the issue on Linux or whatever by using clang 3.4. It does not sound like a MacPorts or Mac-specific issue; in your bug report I would just mention the clang versions and not mention MacPorts or OS X.
You should be able to make the build work on Mavericks by blacklisting newer versions of clang:
{{{ PortGroup compiler_blacklist_versions 1.0 … compiler.blacklist {clang > 503} macports-clang-3.4 macports-clang-3.5 }}}
Additionally, this does not mean this is “clang’s fault”. New versions of clang often include new errors and warnings, and this often indicates a subtle problem with the project’s source code that should be corrected, not a bug in clang.
-- Ticket URL: <https://trac.macports.org/ticket/42841#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X