[MacPorts] #61108: LyX fails to build because wrong compiler

MacPorts noreply at macports.org
Tue Sep 1 16:49:37 UTC 2020


#61108: LyX fails to build because wrong compiler
---------------------+----------------------------
  Reporter:  metbic  |      Owner:  kurthindenburg
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.6.3
Resolution:          |   Keywords:  yosemite
      Port:  LyX     |
---------------------+----------------------------
Changes (by ryandesign):

 * status:  new => assigned
 * owner:  (none) => kurthindenburg
 * type:  update => defect


Old description:

> Hello.
>
> After half a year, I decided to upgrade my Macports. However, LyX doesn't
> build. The upgrade program tells me I use an too old compiler and fails
> to build. I cleaned LyX and tried again, failed again. How do I set the
> right compiler for LyX? Did I somehow trigger a wrong system variable?
> What is to be done?
>
> Below is the Warning message I get before the build fails:
>
> \\
>

>

>
> Warning: The port 'LyX' uses the cxx11 PortGroup which is deprecated.
>
> Warning: Please instead specify the required c++ standard directly using
>
> Warning:     compiler.cxx_standard  2011
>
> Warning: replacing 2011 with newer standards (e.g. 2014, 2017) as
> required.
>
> Warning: For more details see
> https://trac.macports.org/wiki/CompilerSelection

New description:

 Hello.

 After half a year, I decided to upgrade my Macports. However, LyX doesn't
 build. The upgrade program tells me I use an too old compiler and fails to
 build. I cleaned LyX and tried again, failed again. How do I set the right
 compiler for LyX? Did I somehow trigger a wrong system variable?
 What is to be done?

 Below is the Warning message I get before the build fails:

 \\




 {{{
 Warning: The port 'LyX' uses the cxx11 PortGroup which is deprecated.
 Warning: Please instead specify the required c++ standard directly using
 Warning:     compiler.cxx_standard  2011
 Warning: replacing 2011 with newer standards (e.g. 2014, 2017) as
 required.
 Warning: For more details see
 https://trac.macports.org/wiki/CompilerSelection
 }}}

--

Comment:

 The cxx11 PortGroup warning is only a warning. Yes we should fix it but it
 should not prevent the port from being installed or upgraded.

 If you were not able to install or upgrade the port due to an error,
 please attach the main.log file so that we can see what the problem was. I
 do see from our [https://ports.macports.org/port/LyX/summary Lyx port
 status page] that we do have a problem building LyX for 10.11 and earlier.

-- 
Ticket URL: <https://trac.macports.org/ticket/61108#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list