#33115: Boost @1.4.8 +debug Build Error ---------------------------------------------+------------------------------ Reporter: led@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: Boost Lion Xcode 4.2.1 gcc LLVM | Port: Boost ---------------------------------------------+------------------------------ Installing the Boost Library using Macports fails, due to an unrecognized command line option. In particular, I tried to install the boost library using the command: sudo port install boost +debug Macports fails to install the port and provides the error message: {{{ Error: Target org.macports.build returned: shell command failed (see log for details) Log for boost is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_boost/boost/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> }}} I'm using Mac OSX Lion 10.7.2 and XCode 4.2.1. The used compiler is LLVM- GCC-4.2.1 {{{ i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00) Copyright (C) 2007 Free Software Foundation, Inc. }}} From the logs: The cause of the error seems to be some unrecognized c++ options: {{{ :info:build cc1plus: error: unrecognized command line option "-Wno-long- double" }}} {{{ :info:build cc1plus: error: unrecognized command line option "-fcoalesce- templates" }}} Is there an option to fix this bug? -- Ticket URL: <https://trac.macports.org/ticket/33115> MacPorts <http://www.macports.org/> Ports system for Mac OS