Created attachment 504514 [details] build.log Hello. Error: libtool: compile: x86_64-pc-linux-gnu-g++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I../.. -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG -O2 -march=native -mfpmath=sse -fomit-frame-pointer -pipe -frecord-gcc-switches -fvisibility=hidden -DLIBMWAW_VISIBILITY -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -c ApplePictParser.cxx -fPIC -DPIC -o .libs/ApplePictParser.o In file included from MWAWFont.hxx:40:0, from ApplePictParser.cxx:44: libmwaw_internal.hxx: In instantiation of ‘MWAWBox2<T>::MWAWBox2(const MWAWBox2<U>&) [with U = int; T = float]’: ApplePictParser.cxx:2389:38: required from here libmwaw_internal.hxx:1030:30: error: no matching function for call to ‘std::pair<MWAWVec2<float>, MWAWVec2<float> >::pair(const MWAWVec2<int>&, const MWAWVec2<int>&)’ : m_data(p.min(), p.max()) $ emerge -pqv libmwaw [ebuild U ] app-text/libmwaw-0.3.13 [0.3.12] USE="-doc -static-libs -tools"
Created attachment 504516 [details] emerge --info
libmwaw-0.3.12 builds fine on the same machine.
Upstream has a commit that fixed it for me: https://sourceforge.net/p/libmwaw/libmwaw/ci/4bc8ec0481f89b989b0c34236c9d5d9b8038d4a9/
Same problem here.
Thanks for reporting the upstream fix, otherwise I haven't been able to reproduce it yet.
Created attachment 504594 [details, diff] libmwaw-0.3.13-4bc8ec-fix-call-of-explicit-ctor.patch Here's the commit as patch file for easier testing. For me app-text/libmwaw-0.3.13 builds fine after applying the patch.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4f32f600bdc3834c3ec16b07f6989e75f74c6dc commit f4f32f600bdc3834c3ec16b07f6989e75f74c6dc Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2017-11-18 10:51:53 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2017-11-18 10:51:53 +0000 app-text/libmwaw: Add upstream buildfix Reported-by: Coacher <itumaykin+gentoo@gmail.com> Thanks-to: Shannon <roamingangel@gmail.com> Closes: https://bugs.gentoo.org/637692 Package-Manager: Portage-2.3.14, Repoman-2.3.6 app-text/libmwaw/files/libmwaw-0.3.13-buildfix.patch | 19 +++++++++++++++++++ app-text/libmwaw/libmwaw-0.3.13.ebuild | 2 ++ 2 files changed, 21 insertions(+)