Opened 4 weeks ago

Last modified 4 weeks ago

#63418 assigned defect

mkvtoolnix @41.0.0_1: fatal error: static_assert failed due to requirement 'sizeof(char) == 0' "If you want to output boost::optional, include header <boost/optional/optional_io.hpp>"

Reported by: sambthompson (Sam Thompson) Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: elcapitan Cc:
Port: mkvtoolnix

Description

Trying to upgrade from 41.0.0_0 to _1; (seems to be the boost pg change). Calls for boost 1.76 and successfully installs it, but the mkvtoolnix build fails at:

... If you want to output boost::optional, include header <boost/optional/optional_io.hpp> ...

Log attached. Not sure if related, but based on notes in the portfile about being limited to 41.00 due to:

    # mkvtoolnix 42.0.0 and later do not build on macOS 10.12 or earlier
    # (at least not with the versions of libc++ included on those systems) because:
    # The following features of the C++11/C++14/C++17 standards are not supported by /usr/bin/clang++:
    #   * std::optional (C++17)

However, not sure if boost is relying on the underlying std library feature?

Attachments (1)

main.log (1.7 MB) - added by sambthompson (Sam Thompson) 4 weeks ago.
mkvtoolnix upgrade main.log

Download all attachments as: .zip

Change History (2)

Changed 4 weeks ago by sambthompson (Sam Thompson)

Attachment: main.log added

mkvtoolnix upgrade main.log

comment:1 Changed 4 weeks ago by ryandesign (Ryan Schmidt)

Cc: ryandesign removed
Keywords: elcapitan added; boost optional removed
Owner: set to ryandesign
Status: newassigned
Summary: mkvtoolnix @ 41.0.0_1 fails to build on 10.11.6 with boost 1.76mkvtoolnix @41.0.0_1: fatal error: static_assert failed due to requirement 'sizeof(char) == 0' "If you want to output boost::optional, include header <boost/optional/optional_io.hpp>"

This is probably fallout from the recent reorganization (splitting) of boost ports. We probably just need to tell the build where boost is located now.

Note: See TracTickets for help on using tickets.