[MacPorts] #58722: mythtv-core @0.28: Build error on Mojave

MacPorts noreply at macports.org
Sun Jul 14 22:39:27 UTC 2019


#58722: mythtv-core @0.28: Build error on Mojave
-----------------------------+--------------------
  Reporter:  y-lee           |      Owner:  (none)
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.5.4
Resolution:                  |   Keywords:  mojave
      Port:  mythtv-core.28  |
-----------------------------+--------------------
Description changed by y-lee:

Old description:

> After upgrading to MacOS 10.14 Mojave from 10.13 High Sierra and
> migrating Macports, I could not build `mythtv-core.26` which I'd been
> maintaining locally after being marked obsolete in the Macports tree.
> When building `mythtv-core.28`, I see
>
> {{{
> :info:build tv_play.cpp:216:34: error: reference member 'm_menu' binds to
> a temporary object whose lifetime would be shorter than the lifetime of
> the constructed object
> :info:build     MenuNodeTuple(void) : m_menu(MenuBase()) {}
> :info:build                                  ^~~~~~~~~~
> :info:build tv_play.cpp:217:21: note: reference member declared here
> :info:build     const MenuBase &m_menu;
> :info:build                     ^
> }}}
>
> Full log attached.

New description:

 After upgrading to MacOS 10.14 Mojave from 10.13 High Sierra and migrating
 Macports, I could not build `mythtv-core.26` which I'd been maintaining
 locally after being marked obsolete in the Macports tree. When building
 `mythtv-core.28`, I see

 {{{
 :info:build tv_play.cpp:216:34: error: reference member 'm_menu' binds to
 a temporary object whose lifetime would be shorter than the lifetime of
 the constructed object
 :info:build     MenuNodeTuple(void) : m_menu(MenuBase()) {}
 :info:build                                  ^~~~~~~~~~
 :info:build tv_play.cpp:217:21: note: reference member declared here
 :info:build     const MenuBase &m_menu;
 :info:build                     ^
 }}}

 Full log attached.

--

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


More information about the macports-tickets mailing list