build failures on armhf/armel
Version: 2.6.0 / 2.6.1
The latest version of exempi fails to build on armhf and armel as can be seen at https://buildd.debian.org/status/package.php?p=exempi
g++ -DPACKAGE_NAME=\"exempi\" -DPACKAGE_TARNAME=\"exempi\" -DPACKAGE_VERSION=\"2.6.1\" -DPACKAGE_STRING=\"exempi\ 2.6.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"exempi\" -DVERSION=\"2.6.1\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CXX11=1 -DCHECKED_ENDIANNESS=1 -DICONV_CONST= -DTLS=__thread -DHAVE_NATIVE_TLS=1 -I. -I../../public/include -I../.. -DUNIX_ENV=1 -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fexceptions -funsigned-char -fPIC -Wno-multichar -Wno-ctor-dtor-privacy -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fvisibility=hidden -Wchar-subscripts -Wcast-align -Wextra -Wexceptions -Wformat-security -Wlogical-not-parentheses -Wmisleading-indentation -Wmissing-noreturn -Woverloaded-virtual -Wpointer-arith -Wshadow -Wsign-compare -Wno-suggest-attribute=noreturn -Wunreachable-code -Wunused -Wwrite-strings -c -o ReadingXMP.o ReadingXMP.cpp
/bin/bash ../../libtool --tag=CXX --mode=link g++ -fexceptions -funsigned-char -fPIC -Wno-multichar -Wno-ctor-dtor-privacy -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fvisibility=hidden -Wchar-subscripts -Wcast-align -Wextra -Wexceptions -Wformat-security -Wlogical-not-parentheses -Wmisleading-indentation -Wmissing-noreturn -Woverloaded-virtual -Wpointer-arith -Wshadow -Wsign-compare -Wno-suggest-attribute=noreturn -Wunreachable-code -Wunused -Wwrite-strings -Wl,-z,relro -Wl,-z,now -o xmpfilescoverage XMPFilesCoverage.o ../../XMPCore/source/libXMPCore.la ../../XMPFiles/source/libXMPFiles.la ../../source/libxmpcommon.la -lexpat -lz ../../third-party/zuid/interfaces/libmd5.la -ldl -lrt
/bin/bash ../../libtool --tag=CXX --mode=link g++ -fexceptions -funsigned-char -fPIC -Wno-multichar -Wno-ctor-dtor-privacy -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fvisibility=hidden -Wchar-subscripts -Wcast-align -Wextra -Wexceptions -Wformat-security -Wlogical-not-parentheses -Wmisleading-indentation -Wmissing-noreturn -Woverloaded-virtual -Wpointer-arith -Wshadow -Wsign-compare -Wno-suggest-attribute=noreturn -Wunreachable-code -Wunused -Wwrite-strings -Wl,-z,relro -Wl,-z,now -o dumpxmp DumpScannedXMP.o ../../XMPCore/source/libXMPCore.la ../../XMPFiles/source/libXMPFiles.la ../../source/libxmpcommon.la -lexpat -lz ../../third-party/zuid/interfaces/libmd5.la -ldl -lrt
libtool: link: g++ -fexceptions -funsigned-char -fPIC -Wno-multichar -Wno-ctor-dtor-privacy -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fvisibility=hidden -Wchar-subscripts -Wcast-align -Wextra -Wexceptions -Wformat-security -Wlogical-not-parentheses -Wmisleading-indentation -Wmissing-noreturn -Woverloaded-virtual -Wpointer-arith -Wshadow -Wsign-compare -Wno-suggest-attribute=noreturn -Wunreachable-code -Wunused -Wwrite-strings -Wl,-z -Wl,relro -Wl,-z -Wl,now -o xmpfilescoverage XMPFilesCoverage.o ../../XMPCore/source/.libs/libXMPCore.a ../../XMPFiles/source/.libs/libXMPFiles.a ../../source/.libs/libxmpcommon.a -lexpat -lz ../../third-party/zuid/interfaces/.libs/libmd5.a -ldl -lrt
/usr/bin/ld: ../../XMPFiles/source/.libs/libXMPFiles.a(XMPFiles_Impl.o):(.rodata+0x5c): multiple definition of `typeinfo name for TXMPMeta<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >'; libtool: link: g++ -fexceptions -funsigned-char -fPIC -Wno-multichar -Wno-ctor-dtor-privacy -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fvisibility=hidden -Wchar-subscripts -Wcast-align -Wextra -Wexceptions -Wformat-security -Wlogical-not-parentheses -Wmisleading-indentation -Wmissing-noreturn -Woverloaded-virtual -Wpointer-arith -Wshadow -Wsign-compare -Wno-suggest-attribute=noreturn -Wunreachable-code -Wunused -Wwrite-strings -Wl,-z -Wl,relro -Wl,-z -Wl,now -o dumpxmp DumpScannedXMP.o ../../XMPCore/source/.libs/libXMPCore.a ../../XMPFiles/source/.libs/libXMPFiles.a ../../source/.libs/libxmpcommon.a -lexpat -lz ../../third-party/zuid/interfaces/.libs/libmd5.a -ldl -lrt
XMPFilesCoverage.o:(.rodata+0x0): first defined here
/usr/bin/ld: ../../XMPFiles/source/.libs/libXMPFiles.a(XMPFiles_Impl.o):(.data.rel.ro+0x0): multiple definition of `typeinfo for TXMPMeta<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >'; XMPFilesCoverage.o:(.data.rel.ro+0x0): first defined here
/usr/bin/ld: ../../XMPFiles/source/.libs/libXMPFiles.a(XMPFiles_Impl.o):(.rodata+0xb0): multiple definition of `typeinfo name for TXMPIterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >'; XMPFilesCoverage.o:(.rodata+0x40): first defined here
/usr/bin/ld: ../../XMPFiles/source/.libs/libXMPFiles.a(XMPFiles_Impl.o):(.data.rel.ro+0x10): multiple definition of `typeinfo for TXMPIterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >'; XMPFilesCoverage.o:(.data.rel.ro+0x8): first defined here
/usr/bin/ld: ../../XMPFiles/source/.libs/libXMPFiles.a(XMPFiles_Impl.o):(.rodata+0xf8): multiple definition of `typeinfo name for TXMPFiles<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >'; XMPFilesCoverage.o:(.rodata+0x88): first defined here
/usr/bin/ld: ../../XMPFiles/source/.libs/libXMPFiles.a(XMPFiles_Impl.o):(.data.rel.ro+0x18): multiple definition of `typeinfo for TXMPFiles<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >'; XMPFilesCoverage.o:(.data.rel.ro+0x10): first defined here
/bin/bash ../../libtool --tag=CXX --mode=link g++ -fexceptions -funsigned-char -fPIC -Wno-multichar -Wno-ctor-dtor-privacy -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fvisibility=hidden -Wchar-subscripts -Wcast-align -Wextra -Wexceptions -Wformat-security -Wlogical-not-parentheses -Wmisleading-indentation -Wmissing-noreturn -Woverloaded-virtual -Wpointer-arith -Wshadow -Wsign-compare -Wno-suggest-attribute=noreturn -Wunreachable-code -Wunused -Wwrite-strings -Wl,-z,relro -Wl,-z,now -o dumpmainxmp DumpMainXMP.o ../../XMPCore/source/libXMPCore.la ../../XMPFiles/source/libXMPFiles.la ../../source/libxmpcommon.la -lexpat -lz ../../third-party/zuid/interfaces/libmd5.la -ldl -lrt
libtool: link: g++ -fexceptions -funsigned-char -fPIC -Wno-multichar -Wno-ctor-dtor-privacy -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fvisibility=hidden -Wchar-subscripts -Wcast-align -Wextra -Wexceptions -Wformat-security -Wlogical-not-parentheses -Wmisleading-indentation -Wmissing-noreturn -Woverloaded-virtual -Wpointer-arith -Wshadow -Wsign-compare -Wno-suggest-attribute=noreturn -Wunreachable-code -Wunused -Wwrite-strings -Wl,-z -Wl,relro -Wl,-z -Wl,now -o dumpmainxmp DumpMainXMP.o ../../XMPCore/source/.libs/libXMPCore.a ../../XMPFiles/source/.libs/libXMPFiles.a ../../source/.libs/libxmpcommon.a -lexpat -lz ../../third-party/zuid/interfaces/.libs/libmd5.a -ldl -lrt
/usr/bin/ld: ../../XMPFiles/source/.libs/libXMPFiles.a(XMPFiles_Impl.o):(.rodata+0x5c): multiple definition of `typeinfo name for TXMPMeta<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >'; DumpMainXMP.o:(.rodata+0x0): first defined here
/usr/bin/ld: ../../XMPFiles/source/.libs/libXMPFiles.a(XMPFiles_Impl.o):(.data.rel.ro+0x0): multiple definition of `typeinfo for TXMPMeta<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >'; DumpMainXMP.o:(.data.rel.ro+0x0): first defined here
/usr/bin/ld: ../../XMPFiles/source/.libs/libXMPFiles.a(XMPFiles_Impl.o):(.rodata+0xb0): multiple definition of `typeinfo name for TXMPIterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >'; DumpMainXMP.o:(.rodata+0x40): first defined here
/usr/bin/ld: ../../XMPFiles/source/.libs/libXMPFiles.a(XMPFiles_Impl.o):(.data.rel.ro+0x10): multiple definition of `typeinfo for TXMPIterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >'; DumpMainXMP.o:(.data.rel.ro+0x8): first defined here
/usr/bin/ld: ../../XMPFiles/source/.libs/libXMPFiles.a(XMPFiles_Impl.o):(.rodata+0xf8): multiple definition of `typeinfo name for TXMPFiles<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >'; DumpMainXMP.o:(.rodata+0x88): first defined here
/usr/bin/ld: ../../XMPFiles/source/.libs/libXMPFiles.a(XMPFiles_Impl.o):(.data.rel.ro+0x18): multiple definition of `typeinfo for TXMPFiles<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >'; DumpMainXMP.o:(.data.rel.ro+0x10): first defined here
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:584: xmpfilescoverage] Error 1
make[3]: *** Waiting for unfinished jobs....
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:548: dumpmainxmp] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/samples/source'
make[2]: *** [Makefile:416: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/samples'
make[1]: *** [Makefile:450: all-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:6: binary-arch] Error 25
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2
--------------------------------------------------------------------------------
The full build logs are available at https://buildd.debian.org/status/fetch.php?pkg=exempi&arch=armel&ver=2.6.1-1&stamp=1650055715&raw=0
and
https://buildd.debian.org/status/fetch.php?pkg=exempi&arch=armhf&ver=2.6.1-1&stamp=1650053826&raw=0