[MacPorts] #63418: 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>"
MacPorts
noreply at macports.org
Sun Feb 20 02:05:30 UTC 2022
#63418: 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>"
---------------------------+------------------------
Reporter: sambthompson | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords: elcapitan
Port: mkvtoolnix |
---------------------------+------------------------
Comment (by sambthompson):
Additional data points on this. After inadvertently uninstalling
mkvtoolnix, I tried a fresh install with trace on and the GUI variant
suppressed, and it the build and install was successful:
{{{
% sudo port -t install mkvtoolnix -qtgui
}}}
The trace showed masses of boost include files were accessed:
{{{
Warning: The following files inside the MacPorts prefix not installed by a
port were accessed:
/opt/local/etc/xml/catalog
/opt/local/include/boost/algorithm/string.hpp
/opt/local/include/boost/algorithm/string/case_conv.hpp
...
/opt/local/include/boost/variant/variant_fwd.hpp
/opt/local/include/boost/variant/visitor_ptr.hpp
}}}
Not sure if this warning suggests there's an issue with the port install,
since I have boost showing as installed:
{{{
% sudo port installed | grep boost
boost @1.76_0 (active)
boost176 @1.76.0_3+clang13+no_single+no_static+python39 (active)
}}}
With the trace, but not the variant suppression:
{{{
% sudo port -t install mkvtoolnix -qtgui
}}}
This also succeeded, but I got an additional set of warnings on non-port
accessed files during configuration phase as well:
{{{
Warning: The following files inside the MacPorts prefix not installed by a
port were accessed:
/opt/local/libexec/qt5/include/QtCore/QCoreApplication
/opt/local/libexec/qt5/include/QtCore/QObject
...
/opt/local/libexec/qt5/include/QtCore/qwineventnotifier.h
/opt/local/libexec/qt5/include/QtCore/qxmlstream.h
/opt/local/libexec/qt5/lib/QtConcurrent.framework/Versions/Current/QtConcurrent
/opt/local/libexec/qt5/lib/QtCore.framework/Versions/Current/QtCore
/opt/local/libexec/qt5/lib/QtGui.framework/Versions/Current/QtGui
/opt/local/libexec/qt5/lib/QtMultimedia.framework/Versions/Current/QtMultimedia
/opt/local/libexec/qt5/lib/QtNetwork.framework/Versions/Current/QtNetwork
/opt/local/libexec/qt5/lib/QtWidgets.framework/Versions/Current/QtWidgets
}}}
Again, I have qt5 installed:
{{{
% sudo port installed | grep qt5
qscintilla-qt5 @2.13.1_0 (active)
qt511-qtbase @5.11.3_7+openssl (active)
qt511-qtdeclarative @5.11.3_0 (active)
qt511-qtmacextras @5.11.3_0 (active)
qt511-qtmultimedia @5.11.3_0 (active)
qt511-qtsvg @5.11.3_0 (active)
qt511-qttools @5.11.3_1 (active)
qt511-qttranslations @5.11.3_0 (active)
qt511-qtxmlpatterns @5.11.3_0 (active)
wireshark2
@2.6.19_2+cares+chmodbpf+geoip+gnutls+kerberos5+libgcrypt+libsmi+portaudio+qt5+zlib
(active)
}}}
Not sure if that offers any insights, but hope so. Trace from second run
attached.
--
Ticket URL: <https://trac.macports.org/ticket/63418#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list