Package: libnitrokey Version: 3.2-1 Severity: minor Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu bionic ubuntu-patch
Hi Scott, libnitrokey 3.2-1 fails to build on ppc4el in Ubuntu because the symbols files don't match. This is because Ubuntu builds its ppc64el port with -O3 by default, and some C++ symbols are removed when building with higher optimization levels. The attached patch makes the symbols file work when building with either -O2 or -O3 (at least on ppc64el). Please consider including this in Debian. Thanks, -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer http://www.debian.org/ slanga...@ubuntu.com vor...@debian.org
diff -Nru libnitrokey-3.2/debian/libnitrokey3.symbols libnitrokey-3.2/debian/libnitrokey3.symbols --- libnitrokey-3.2/debian/libnitrokey3.symbols 2018-01-16 18:18:41.000000000 -0800 +++ libnitrokey-3.2/debian/libnitrokey3.symbols 2018-03-22 16:07:47.000000000 -0700 @@ -109,7 +109,7 @@ _ZN32LongOperationInProgressExceptionD0Ev@Base 3.1 _ZN32LongOperationInProgressExceptionD1Ev@Base 3.1 _ZN32LongOperationInProgressExceptionD2Ev@Base 3.1 - _ZN8nitrokey11vector_copyIA20_hhEEvRT_RSt6vectorIT0_SaIS5_EE@Base 3.1 + (optional=templinst)_ZN8nitrokey11vector_copyIA20_hhEEvRT_RSt6vectorIT0_SaIS5_EE@Base 3.1 _ZN8nitrokey15NitrokeyManager10disconnectEv@Base 3.1 _ZN8nitrokey15NitrokeyManager10erase_slotEhPKc@Base 3.1 _ZN8nitrokey15NitrokeyManager10get_statusEv@Base 3.1 @@ -455,7 +455,7 @@ (optional=templinst|arch=!armel)_ZNSt23_Sp_counted_ptr_inplaceIN8nitrokey6device7Stick20ESaIS2_ELN9__gnu_cxx12_Lock_policyE2EED0Ev@Base 3.1 (optional=templinst|arch=!armel)_ZNSt23_Sp_counted_ptr_inplaceIN8nitrokey6device7Stick20ESaIS2_ELN9__gnu_cxx12_Lock_policyE2EED1Ev@Base 3.1 (optional=templinst|arch=!armel)_ZNSt23_Sp_counted_ptr_inplaceIN8nitrokey6device7Stick20ESaIS2_ELN9__gnu_cxx12_Lock_policyE2EED2Ev@Base 3.1 - _ZNSt5mutex4lockEv@Base 3.1 + (optional)_ZNSt5mutex4lockEv@Base 3.1 (optional=templinst)_ZNSt6vectorISt10shared_ptrIN8nitrokey6device6DeviceEESaIS4_EED1Ev@Base 3.1 (optional=templinst)_ZNSt6vectorISt10shared_ptrIN8nitrokey6device6DeviceEESaIS4_EED2Ev@Base 3.1 (optional=templinst)_ZNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEE12_M_constructIPKwEEvT_S8_St20forward_iterator_tag@Base 3.1