View Bug Details

IDProjectCategoryView StatusLast Update
0002945DCP-o-maticPackagingpublic2025-01-13 22:49
Reporterbradel Assigned Tocarl  
PrioritynormalSeverityblockReproducibilityalways
Status resolvedResolutionfixed 
Platform64-bitOSLinuxOS VersionArch
Summary0002945: Build failure for DoM 2.18.4 on Arch Linux
Description

Hi Carl

Happy new year! :)
The current DoM 2.18.4 fails on Arch when building src/tools/dcpomatic_player.cc with the following error:

[405/484] Compiling src/tools/dcpomatic_player.cc
../src/tools/dcpomatic_player.cc: In member function ‘void DOMFrame::load_dcp(boost::filesystem::path)’:
../src/tools/dcpomatic_player.cc:430:83: error: call of overloaded ‘bind<void>(DOMFrame::load_dcp(boost::filesystem::path)::<lambda(std::weak_ptr<Film>, std::weak_ptr<Job>, std::weak_ptr<Content>)>&, std::weak_ptr<Film>, std::weak_ptr<Job>, std::weak_ptr<Content>)’ is ambiguous
430 | _examine_job_connection = job->Finished.connect(bind<void>(add_dcp_to_film, weak_ptr<Film>(film), weak_ptr<Job>(job), weak_ptr<Content>(dcp)));
| ~~^~~~~~~~~~~~~~~~~~~

I think the code which gcc moans about was introduced with commit 5afe6b7ca7214196d36917ece0d4b2f10c2c088c

Hope this helps you. Please let me know if you need any additional information or testing from my side.
Cheers, Benjamin

Steps To Reproduce

Try to compile DCPoMatic on a recent Arch system with
gcc 14.2.1

TagsNo tags attached.
Branch
Estimated weeks required
Estimated work required

Activities

bradel

2025-01-13 22:29

reporter  

build.log (9,993 bytes)   
Waf: Entering directory `/home/benjamin/.cache/yay/dcpomatic/src/dcpomatic/build'
Writing version information to src/lib/version.cc
[405/484] Compiling src/tools/dcpomatic_player.cc
23:24:39 runner ['/usr/bin/g++', '-march=x86-64', '-mtune=generic', '-O2', '-pipe', '-fno-plt', '-fexceptions', '-Wp,-D_FORTIFY_SOURCE=3', '-Wformat', '-Werror=format-security', '-fstack-clash-protection', '-fcf-protection', '-fno-omit-frame-pointer', '-mno-omit-leaf-frame-pointer', '-Wp,-D_GLIBCXX_ASSERTIONS', '-flto=auto', '-D__STDC_CONSTANT_MACROS', '-D__STDC_LIMIT_MACROS', '-D__STDC_FORMAT_MACROS', '-fno-strict-aliasing', '-Wall', '-Wextra', '-Wwrite-strings', '-Wno-nonnull', '-Wno-error=deprecated', '-Wno-ignored-qualifiers', '-D_FILE_OFFSET_BITS=64', '-std=c++11', '-msse', '-mfpmath=sse', '-Wno-cast-function-type', '-Wno-maybe-uninitialized', '-Wsuggest-override', '-Wno-stringop-overflow', '-O2', '-DDCPOMATIC_POSIX', '-DLINUX_LOCALE_PREFIX="/usr/share/locale"', '-DLINUX_SHARE_PREFIX="/usr/share"', '-DDCPOMATIC_LINUX', '-Wlogical-op', '-Wcast-align', '-std=c++17', '-DGL_GLEXT_PROTOTYPES', '-DGLX_GLXEXT_PROTOTYPES', '-DwxNO_UNSAFE_WXSTRING_CONV', '-DwxNO_IMPLICIT_WXSTRING_ENCODING', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-Isrc', '-I../src', '-Isrc', '-I../src', '-I/usr/include/libdcp-1.0', '-I/usr/include/libxml++-2.6', '-I/usr/lib/libxml++-2.6/include', '-I/usr/include/glibmm-2.4', '-I/usr/lib/glibmm-2.4/include', '-I/usr/include/glib-2.0', '-I/usr/lib/glib-2.0/include', '-I/usr/include/sysprof-6', '-I/usr/include/sigc++-2.0', '-I/usr/lib/sigc++-2.0/include', '-I/usr/include/xmlsec1', '-I/usr/include/libxml2', '-I/usr/include/libasdcp-dcpomatic', '-I/usr/include/cairomm-1.0', '-I/usr/lib/cairomm-1.0/include', '-I/usr/include/cairo', '-I/usr/include/freetype2', '-I/usr/include/libpng16', '-I/usr/include/harfbuzz', '-I/usr/include/pixman-1', '-I/usr/include/pangomm-1.4', '-I/usr/lib/pangomm-1.4/include', '-I/usr/include/pango-1.0', '-I/usr/include/libmount', '-I/usr/include/blkid', '-I/usr/include/fribidi', '-I/usr/include/libsub-1.0', '-I/usr/include/rtaudio', '-I/usr/include/libdcp\\[\\]', '-I/usr/lib/wx/include/gtk3-unicode-3.2', '-I/usr/include/wx-3.2', '-DSSE=1', '-DHAVE_CURL=1', '-DHAVE_ICU=1', '-DICU_I18N_VERSION="75.1"', '-DHAVE_SAMPLERATE=1', '-DHAVE_GLIB=1', '-DHAVE_ZIP=1', '-DDCPOMATIC_HAVE_ZIP_SOURCE_T=1', '-DDCPOMATIC_HAVE_ZIP_FILE_ADD=1', '-DDCPOMATIC_HAVE_ZIP_RDONLY=1', '-DHAVE_FONTCONFIG=1', '-DHAVE_PANGOMM=1', '-DHAVE_CAIROMM=1', '-DHAVE_LEQM_NRT=1', '-DHAVE_CXML=1', '-DHAVE_DCP=1', '-DHAVE_SUB=1', '-DHAVE_XMLPP=1', '-DHAVE_NETTLE=1', '-DHAVE_PNG=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVFILTER=1', '-DHAVE_AVCODEC=1', '-DHAVE_AVUTIL=1', '-DHAVE_SWSCALE=1', '-DHAVE_POSTPROC=1', '-DHAVE_SWRESAMPLE=1', '-DHAVE_SQLITE3=1', '-DDCPOMATIC_HAVE_SQLITE3_PREPARE_V3=1', '-DHAVE_VALGRIND_MEMCHECK_H=1', '-DLOCALEDIR="/usr/share/locale"', '-DDATADIR="/usr/share"', '-DHAVE_WXWIDGETS=1', '-DHAVE_RTAUDIO=1', '-DHAVE_GL=1', '-DHAVE_GLU=1', '-DXMLSEC_CRYPTO_DYNAMIC_LOADING=1', '-D__XMLSEC_FUNCTION__=__func__', '-DXMLSEC_NO_FTP=1', '-DXMLSEC_NO_HTTP=1', '-DXMLSEC_NO_MD5=1', '-DXMLSEC_NO_RIPEMD160=1', '-DXMLSEC_NO_GOST=1', '-DXMLSEC_NO_GOST2012=1', '-DXMLSEC_DL_LIBLTDL=1', '-D_REENTRANT', '-DWXUSINGDLL', '-D__WXGTK3__', '-D__WXGTK__', '-D_FILE_OFFSET_BITS=64', '-DWXUSINGDLL', '-D__WXGTK3__', '-D__WXGTK__', '-D_FILE_OFFSET_BITS=64', '../src/tools/dcpomatic_player.cc', '-c', '-o/home/benjamin/.cache/yay/dcpomatic/src/dcpomatic/build/src/tools/dcpomatic_player.cc.11.o']
../src/tools/dcpomatic_player.cc: In member function ‘void DOMFrame::load_dcp(boost::filesystem::path)’:
../src/tools/dcpomatic_player.cc:430:83: error: call of overloaded ‘bind<void>(DOMFrame::load_dcp(boost::filesystem::path)::<lambda(std::weak_ptr<Film>, std::weak_ptr<Job>, std::weak_ptr<Content>)>&, std::weak_ptr<Film>, std::weak_ptr<Job>, std::weak_ptr<Content>)’ is ambiguous
  430 |                         _examine_job_connection = job->Finished.connect(bind<void>(add_dcp_to_film, weak_ptr<Film>(film), weak_ptr<Job>(job), weak_ptr<Content>(dcp)));
      |                                                                         ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/boost/thread/detail/thread.hpp:33,
                 from /usr/include/boost/thread/thread_only.hpp:22,
                 from /usr/include/boost/thread/thread.hpp:12,
                 from /usr/include/boost/thread.hpp:13,
                 from ../src/lib/signal_manager.h:28,
                 from ../src/lib/signaller.h:26,
                 from ../src/wx/video_view.h:29,
                 from ../src/wx/film_viewer.h:28,
                 from ../src/tools/dcpomatic_player.cc:23:
/usr/include/boost/bind/bind.hpp:497:5: note: candidate: ‘boost::_bi::bind_t<R, F, typename boost::_bi::list_av<A ...>::type> boost::bind(F, A ...) [with R = void; F = DOMFrame::load_dcp(boost::filesystem::path)::<lambda(std::weak_ptr<Film>, std::weak_ptr<Job>, std::weak_ptr<Content>)>; A = {std::weak_ptr<Film>, std::weak_ptr<Job>, std::weak_ptr<Content>}; typename _bi::list_av<A ...>::type = _bi::list<_bi::value<std::weak_ptr<Film> >, _bi::value<std::weak_ptr<Job> >, _bi::value<std::weak_ptr<Content> > >]’
  497 |     BOOST_BIND( F f, A... a )
      |     ^~~~~~~~~~
In file included from /usr/include/wx-3.2/wx/string.h:4324,
                 from /usr/include/wx-3.2/wx/memory.h:15,
                 from /usr/include/wx-3.2/wx/object.h:19,
                 from /usr/include/wx-3.2/wx/wx.h:15,
                 from ../src/wx/about_dialog.h:28,
                 from ../src/tools/dcpomatic_player.cc:21:
/usr/include/c++/14.2.1/functional:913:5: note: candidate: ‘typename std::_Bindres_helper<_Result, _Func, _BoundArgs>::type std::bind(_Func&&, _BoundArgs&& ...) [with _Result = void; _Func = DOMFrame::load_dcp(boost::filesystem::path)::<lambda(weak_ptr<Film>, weak_ptr<Job>, weak_ptr<Content>)>&; _BoundArgs = {weak_ptr<Film>, weak_ptr<Job>, weak_ptr<Content>}; typename _Bindres_helper<_Result, _Func, _BoundArgs>::type = _Bindres_helper<void, DOMFrame::load_dcp(boost::filesystem::path)::<lambda(weak_ptr<Film>, weak_ptr<Job>, weak_ptr<Content>)>&, weak_ptr<Film>, weak_ptr<Job>, weak_ptr<Content> >::type]’
  913 |     bind(_Func&& __f, _BoundArgs&&... __args)
      |     ^~~~

Waf: Leaving directory `/home/benjamin/.cache/yay/dcpomatic/src/dcpomatic/build'
Build failed
 -> task in 'dcpomatic2_player' failed with exit status 1: 
	{task 125072503993664: cxx dcpomatic_player.cc -> dcpomatic_player.cc.11.o}
['/usr/bin/g++', '-march=x86-64', '-mtune=generic', '-O2', '-pipe', '-fno-plt', '-fexceptions', '-Wp,-D_FORTIFY_SOURCE=3', '-Wformat', '-Werror=format-security', '-fstack-clash-protection', '-fcf-protection', '-fno-omit-frame-pointer', '-mno-omit-leaf-frame-pointer', '-Wp,-D_GLIBCXX_ASSERTIONS', '-flto=auto', '-D__STDC_CONSTANT_MACROS', '-D__STDC_LIMIT_MACROS', '-D__STDC_FORMAT_MACROS', '-fno-strict-aliasing', '-Wall', '-Wextra', '-Wwrite-strings', '-Wno-nonnull', '-Wno-error=deprecated', '-Wno-ignored-qualifiers', '-D_FILE_OFFSET_BITS=64', '-std=c++11', '-msse', '-mfpmath=sse', '-Wno-cast-function-type', '-Wno-maybe-uninitialized', '-Wsuggest-override', '-Wno-stringop-overflow', '-O2', '-DDCPOMATIC_POSIX', '-DLINUX_LOCALE_PREFIX="/usr/share/locale"', '-DLINUX_SHARE_PREFIX="/usr/share"', '-DDCPOMATIC_LINUX', '-Wlogical-op', '-Wcast-align', '-std=c++17', '-DGL_GLEXT_PROTOTYPES', '-DGLX_GLXEXT_PROTOTYPES', '-DwxNO_UNSAFE_WXSTRING_CONV', '-DwxNO_IMPLICIT_WXSTRING_ENCODING', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-Isrc', '-I../src', '-Isrc', '-I../src', '-I/usr/include/libdcp-1.0', '-I/usr/include/libxml++-2.6', '-I/usr/lib/libxml++-2.6/include', '-I/usr/include/glibmm-2.4', '-I/usr/lib/glibmm-2.4/include', '-I/usr/include/glib-2.0', '-I/usr/lib/glib-2.0/include', '-I/usr/include/sysprof-6', '-I/usr/include/sigc++-2.0', '-I/usr/lib/sigc++-2.0/include', '-I/usr/include/xmlsec1', '-I/usr/include/libxml2', '-I/usr/include/libasdcp-dcpomatic', '-I/usr/include/cairomm-1.0', '-I/usr/lib/cairomm-1.0/include', '-I/usr/include/cairo', '-I/usr/include/freetype2', '-I/usr/include/libpng16', '-I/usr/include/harfbuzz', '-I/usr/include/pixman-1', '-I/usr/include/pangomm-1.4', '-I/usr/lib/pangomm-1.4/include', '-I/usr/include/pango-1.0', '-I/usr/include/libmount', '-I/usr/include/blkid', '-I/usr/include/fribidi', '-I/usr/include/libsub-1.0', '-I/usr/include/rtaudio', '-I/usr/include/libdcp\\[\\]', '-I/usr/lib/wx/include/gtk3-unicode-3.2', '-I/usr/include/wx-3.2', '-DSSE=1', '-DHAVE_CURL=1', '-DHAVE_ICU=1', '-DICU_I18N_VERSION="75.1"', '-DHAVE_SAMPLERATE=1', '-DHAVE_GLIB=1', '-DHAVE_ZIP=1', '-DDCPOMATIC_HAVE_ZIP_SOURCE_T=1', '-DDCPOMATIC_HAVE_ZIP_FILE_ADD=1', '-DDCPOMATIC_HAVE_ZIP_RDONLY=1', '-DHAVE_FONTCONFIG=1', '-DHAVE_PANGOMM=1', '-DHAVE_CAIROMM=1', '-DHAVE_LEQM_NRT=1', '-DHAVE_CXML=1', '-DHAVE_DCP=1', '-DHAVE_SUB=1', '-DHAVE_XMLPP=1', '-DHAVE_NETTLE=1', '-DHAVE_PNG=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVFILTER=1', '-DHAVE_AVCODEC=1', '-DHAVE_AVUTIL=1', '-DHAVE_SWSCALE=1', '-DHAVE_POSTPROC=1', '-DHAVE_SWRESAMPLE=1', '-DHAVE_SQLITE3=1', '-DDCPOMATIC_HAVE_SQLITE3_PREPARE_V3=1', '-DHAVE_VALGRIND_MEMCHECK_H=1', '-DLOCALEDIR="/usr/share/locale"', '-DDATADIR="/usr/share"', '-DHAVE_WXWIDGETS=1', '-DHAVE_RTAUDIO=1', '-DHAVE_GL=1', '-DHAVE_GLU=1', '-DXMLSEC_CRYPTO_DYNAMIC_LOADING=1', '-D__XMLSEC_FUNCTION__=__func__', '-DXMLSEC_NO_FTP=1', '-DXMLSEC_NO_HTTP=1', '-DXMLSEC_NO_MD5=1', '-DXMLSEC_NO_RIPEMD160=1', '-DXMLSEC_NO_GOST=1', '-DXMLSEC_NO_GOST2012=1', '-DXMLSEC_DL_LIBLTDL=1', '-D_REENTRANT', '-DWXUSINGDLL', '-D__WXGTK3__', '-D__WXGTK__', '-D_FILE_OFFSET_BITS=64', '-DWXUSINGDLL', '-D__WXGTK3__', '-D__WXGTK__', '-D_FILE_OFFSET_BITS=64', '../src/tools/dcpomatic_player.cc', '-c', '-o/home/benjamin/.cache/yay/dcpomatic/src/dcpomatic/build/src/tools/dcpomatic_player.cc.11.o']
build.log (9,993 bytes)   

carl

2025-01-13 22:38

administrator   ~0006756

Hi, happy new year!

I just pushed 16484d60808cee08f08318166fba5147ec81559c to main which might fix this, if you could try again, perhaps?

bradel

2025-01-13 22:49

reporter   ~0006757

Hi!

Thank you for the fast resolution! With 16484d60808cee08f08318166fba5147ec81559c DCPoMatic builds and installs fine.

carl

2025-01-13 22:49

administrator   ~0006758

Great, thanks for letting me know!

carl

2025-01-13 22:49

administrator   ~0006759

I need to make a 2.18.5 quite soon.

Bug History

Date Modified Username Field Change
2025-01-13 22:29 bradel New Bug
2025-01-13 22:29 bradel File Added: build.log
2025-01-13 22:38 carl Assigned To => carl
2025-01-13 22:38 carl Status new => feedback
2025-01-13 22:38 carl Note Added: 0006756
2025-01-13 22:49 bradel Note Added: 0006757
2025-01-13 22:49 bradel Status feedback => assigned
2025-01-13 22:49 carl Status assigned => resolved
2025-01-13 22:49 carl Resolution open => fixed
2025-01-13 22:49 carl Note Added: 0006758
2025-01-13 22:49 carl Note Added: 0006759