[MacPorts] #38131: phantomjs: cc1plus: error: unrecognized command line option "-fconstant-cfstrings" (was: installing PhantomJS fails on Snow Leopard and macport 2.1.3)

MacPorts noreply at macports.org
Wed Feb 20 04:08:18 PST 2013


#38131: phantomjs: cc1plus: error: unrecognized command line option "-fconstant-
cfstrings"
------------------------+--------------------------------
  Reporter:  luca@…     |      Owner:  macports-tickets@…
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.1.3
Resolution:             |   Keywords:
      Port:  phantomjs  |
------------------------+--------------------------------
Changes (by ryandesign@…):

 * cc: luca@… (removed)


Old description:

> I performed a "port clean" the "port install" but installation of
> phantomjs fails:
>
> $ sudo port install phantomjs
> --->  Computing dependencies for phantomjs
> --->  Fetching archive for phantomjs
> --->  Attempting to fetch phantomjs-1.8.0_0.darwin_10.x86_64.tbz2 from
> http://lil.fr.packages.macports.org/phantomjs
> --->  Attempting to fetch phantomjs-1.8.0_0.darwin_10.x86_64.tbz2 from
> http://mse.uk.packages.macports.org/sites/packages.macports.org/phantomjs
> --->  Attempting to fetch phantomjs-1.8.0_0.darwin_10.x86_64.tbz2 from
> http://packages.macports.org/phantomjs
> --->  Fetching distfiles for phantomjs
> --->  Verifying checksum(s) for phantomjs
> --->  Extracting phantomjs
> --->  Applying patches to phantomjs
> --->  Configuring phantomjs
> --->  Building phantomjs
> Error: org.macports.build for port phantomjs returned: command execution
> failed

New description:

 I performed a "port clean" the "port install" but installation of
 phantomjs fails:

 {{{
 $ sudo port install phantomjs
 --->  Computing dependencies for phantomjs
 --->  Fetching archive for phantomjs
 --->  Attempting to fetch phantomjs-1.8.0_0.darwin_10.x86_64.tbz2 from
 http://lil.fr.packages.macports.org/phantomjs
 --->  Attempting to fetch phantomjs-1.8.0_0.darwin_10.x86_64.tbz2 from
 http://mse.uk.packages.macports.org/sites/packages.macports.org/phantomjs
 --->  Attempting to fetch phantomjs-1.8.0_0.darwin_10.x86_64.tbz2 from
 http://packages.macports.org/phantomjs
 --->  Fetching distfiles for phantomjs
 --->  Verifying checksum(s) for phantomjs
 --->  Extracting phantomjs
 --->  Applying patches to phantomjs
 --->  Configuring phantomjs
 --->  Building phantomjs
 Error: org.macports.build for port phantomjs returned: command execution
 failed
 }}}

--

Comment:

 The relevant error seems to be:
 {{{
 :info:build cc1plus: error: unrecognized command line option "-fconstant-
 cfstrings"
 }}}
 Also this port doesn't seem to be UsingTheRightCompiler.

-- 
Ticket URL: <https://trac.macports.org/ticket/38131#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list