Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jul 2019 10:07:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 239196] multimedia/mkvtoolnix: fails to build with boost 1.71
Message-ID:  <bug-239196-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239196

            Bug ID: 239196
           Summary: multimedia/mkvtoolnix: fails to build with boost 1.71
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
            Blocks: 238827

Regressed by https://github.com/boostorg/algorithm/commit/c6f784cb7034

Can you help with a fix or report upstream? Otherwise, the port will be mar=
ked
BROKEN after Boost update.

$ fetch -qo- 'https://reviews.freebsd.org/D20774?download=3Dtrue' |
  patch -Efsp0 -d /usr/ports
$ make all deinstall install clean -C/usr/ports/devel/boost-jam
$ make all deinstall install clean -C/usr/ports/devel/boost-libs
$ make -C/usr/ports/multimedia/mkvtoolnix
[...]
In file included from src/common/xml/ebml_tags_converter.cpp:19:
In file included from src/common/strings/formatting.h:21:
src/common/strings/editing.h:32:10: fatal error: no viable conversion from
returned value of type 'const std::__1::basic_string<char>' to function ret=
urn
type 'std::vector<std::string>' (aka 'vector<basic_string<char,
char_traits<char>, allocator<char> > >')
  return split(text, boost::regex("\\Q"s + pattern, boost::regex::perl), ma=
x);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=
~~
/usr/include/c++/v1/vector:534:5: note: candidate constructor not viable: no
known conversion from 'const std::__1::basic_string<char>' to 'const
std::__1::vector<std::__1::basic_string<char>,
std::__1::allocator<std::__1::basic_string<char> > > &' for 1st argument
    vector(const vector& __x);
    ^
/usr/include/c++/v1/vector:541:5: note: candidate constructor not viable: no
known conversion from 'const std::__1::basic_string<char>' to
'initializer_list<std::__1::vector<std::__1::basic_string<char>,
std::__1::allocator<std::__1::basic_string<char> > >::value_type>' (aka
'initializer_list<std::__1::basic_string<char> >') for 1st argument
    vector(initializer_list<value_type> __il);
    ^
/usr/include/c++/v1/vector:547:5: note: candidate constructor not viable: no
known conversion from 'const std::__1::basic_string<char>' to
'std::__1::vector<std::__1::basic_string<char>,
std::__1::allocator<std::__1::basic_string<char> > > &&' for 1st argument
    vector(vector&& __x)
    ^
/usr/include/c++/v1/string:823:5: note: candidate function
    operator __self_view() const _NOEXCEPT { return __self_view(data(),
size()); }
    ^

http://package18.nyi.freebsd.org/data/120amd64-default-PR238827/2019-07-12_=
20h45m32s/logs/mkvtoolnix-34.0.0_2.log
http://pb2.nyi.freebsd.org/data/120i386-default-PR238827/2019-07-12_20h46m3=
3s/logs/mkvtoolnix-34.0.0_2.log
http://package23.nyi.freebsd.org/data/112i386-default-PR238827/2019-07-12_2=
0h48m21s/logs/mkvtoolnix-34.0.0_2.log

Alternatively, can be reproduced with Boost 1.70 but Algorithm 1.71 headers.

$ cd /usr/ports/multimedia/mkvtoolnix
$ make configure
$ cd $(make -V BUILD_WRKSRC)
$ pkg install git
$ git clone -b master https://github.com/boostorg/algorithm /tmp/algorithm
$ c++ -I/tmp/algorithm/include -Wall -Wno-comment -Wfatal-errors -O3
-D_FILE_OFFSET_BITS=3D64 -DMTX_LOCALE_DIR=3D\"/usr/local/share/locale\"
-DMTX_PKG_DATA_DIR=3D\"/usr/local/share/mkvtoolnix\"
-DMTX_DOC_DIR=3D\"/usr/local/share/doc/mkvtoolnix\" -fstack-protector-strong
-Ilib/nlohmann-json/include -Ilib/fmt/include -I/usr/local/include
-I/usr/local/include -I/usr/local/include -I/usr/local/include -DLIBICONV_P=
LUG
-isystem /usr/local/include -fPIC -std=3Dgnu++14 -Wnon-virtual-dtor -Wextra
-Wno-missing-field-initializers -Wunused -Wpedantic -Woverloaded-virtual
-Wshadow -Qunused-arguments -Wno-self-assign -Wno-mismatched-tags
-Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression
-Wno-extra-semi -I/usr/local/include/qt5/QtCore -I/usr/local/include/qt5
-I/usr/local/include/qt5/QtGui -DQT_WIDGETS_LIB
-I/usr/local/include/qt5/QtWidgets -DQT_MULTIMEDIA_LIB
-I/usr/local/include/qt5/QtMultimedia -I/usr/local/include/qt5/QtNetwork
-DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CONCURRENT_LIB
-I/usr/local/include/qt5/QtConcurrent -DQT_DBUS_LIB
-I/usr/local/include/qt5/QtDBus -DQT_CORE_LIB -I/usr/local/include -O2 -pipe
-DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing -DLIBICONV_PLUG -isystem /usr/local/include -include
src/common/common_pch.h -I. -Ilib -Ilib/avilib-0.6.10 -Isrc
-Ilib/utf8-cpp/source -c -MMD -MF
/wrkdirs/usr/ports/multimedia/mkvtoolnix/work/mkvtoolnix-34.0.0/rake.d/depe=
ndency.d/tmp/src_common_xml_ebml_tags_converter_o.d
-o src/common/xml/ebml_tags_converter.o -x c++
src/common/xml/ebml_tags_converter.cpp


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238827
[Bug 238827] devel/boost-all: Update to 1.71.0 (phase: Beta, ETA: 2019-08-1=
4)
--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239196-7788>