Bug#838016: chasen FTBFS on mips and mipsel: error: symbols mismatch

2016-09-21 Thread Radovan Birdic
Control: reopen -1
control: found -1 2.4.5-27

Package chasen_2.4.5-27 still fails on mips and mipsel.
These two symbols are causing the problem:

>   _ZNKSt5ctypeIcE8do_widenEc@Base 2.4.5
> - 
> _ZNSt6vectorIN5Darts15DoubleArrayImplIchlmNS0_6LengthIcEEE6node_tESaIS5_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS5_S7_EERKS5_@Base
>  2.4.5
> +#MISSING: 2.4.5-27# 
> _ZNSt6vectorIN5Darts15DoubleArrayImplIchlmNS0_6LengthIcEEE6node_tESaIS5_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS5_S7_EERKS5_@Base
>  2.4.5
>  
> _ZNSt6vectorIN5Darts15DoubleArrayImplIchlmNS0_6LengthIcEEE6node_tESaIS5_EE19_M_emplace_back_auxIJRKS5_EEEvDpOT_@Base
>  2.4.5
> - 
> _ZNSt6vectorIlSaIlEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPlS1_EERKl@Base
>  2.4.5
> +#MISSING: 2.4.5-27# 
> _ZNSt6vectorIlSaIlEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPlS1_EERKl@Base
>  2.4.5
>   _ZNSt6vectorIlSaIlEE19_M_emplace_back_auxIJRKlEEEvDpOT_@Base 2.4.5


We still have symbols mismatch as well as in the previous version of the 
package.
When we remove these symbols, build is successful.

See full build log:
https://buildd.debian.org/status/fetch.php?pkg=chasen=mipsel=2.4.5-27=1474351439



Bug#838016: chasen FTBFS on mips and mipsel: error: symbols mismatch

2016-09-16 Thread Radovan Birdic
Package: chasen
Version: 2.4.5-26
Severity: important
Tags: sid + patch
Justification: FTBFS
User: debian-m...@lists.debian.org
Usertags: mips-patch


Package chasen_2.4.5-26 FTBFS on mips and mipsel with following error:

> dpkg-gensymbols: warning: some new symbols appeared in the symbols file: see 
> diff output below
> dpkg-gensymbols: warning: some symbols or patterns disappeared in the symbols 
> file: see diff output below
> dpkg-gensymbols: warning: debian/libchasen2/DEBIAN/symbols doesn't match 
> completely debian/libchasen2.symbols.mips
> --- debian/libchasen2.symbols.mips (libchasen2_2.4.5-26_mips)
> +++ dpkg-gensymbolsbocCuK 2016-08-23 07:18:06.307976447 +
> @@ -30,8 +30,11 @@
>   _ZN5Darts15DoubleArrayImplIchlmNS_6LengthIcEEED0Ev@Base 2.4.5
>   _ZN5Darts15DoubleArrayImplIchlmNS_6LengthIcEEED1Ev@Base 2.4.5
>   _ZN5Darts15DoubleArrayImplIchlmNS_6LengthIcEEED2Ev@Base 2.4.5
> - 
> _ZNSt6vectorIN5Darts15DoubleArrayImplIchlmNS0_6LengthIcEEE6node_tESaIS5_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS5_S7_EERKS5_@Base
>  2.4.5
> - 
> _ZNSt6vectorIlSaIlEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPlS1_EERKl@Base
>  2.4.5
> + _ZNKSt5ctypeIcE8do_widenEc@Base 2.4.5-26
> +#MISSING: 2.4.5-26# 
> _ZNSt6vectorIN5Darts15DoubleArrayImplIchlmNS0_6LengthIcEEE6node_tESaIS5_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS5_S7_EERKS5_@Base
>  2.4.5
> + 
> _ZNSt6vectorIN5Darts15DoubleArrayImplIchlmNS0_6LengthIcEEE6node_tESaIS5_EE19_M_emplace_back_auxIJRKS5_EEEvDpOT_@Base
>  2.4.5-26
> +#MISSING: 2.4.5-26# 
> _ZNSt6vectorIlSaIlEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPlS1_EERKl@Base
>  2.4.5
> + _ZNSt6vectorIlSaIlEE19_M_emplace_back_auxIJRKlEEEvDpOT_@Base 2.4.5-26
>  #MISSING: 2.4.5-10# 
> _ZNSt8_Rb_treeISsSt4pairIKSslESt10_Select1stIS2_ESt4lessISsESaIS2_EE10_M_insert_EPKSt18_Rb_tree_node_baseSB_RKS2_@Base
>  2.4.5
>  #MISSING: 2.4.5# 
> _ZNSt8_Rb_treeISsSt4pairIKSslESt10_Select1stIS2_ESt4lessISsESaIS2_EE15_M_insert_equalERKS2_@Base
>  2.4.5
  _ZTIN5Darts15DoubleArrayImplIchlmNS_6LengthIc@Base 2.4.5
> dh_makeshlibs: failing due to earlier errors
> debian/rules:7: recipe for target 'binary-arch' failed
> make: *** [binary-arch] Error 2
> dpkg-buildpackage: error: fakeroot debian/rules binary-arch gave error exit 
> status 2

Full build log:
https://buildd.debian.org/status/fetch.php?pkg=chasen=mips=2.4.5-26=1471936694

The problem is in libchasen2.symbols.mips and libchasen2.symbols.mipsel files, 
where these symbols are missing.

I have created and attached a patch that adds missing symbols into these files 
and resolves this issue.
With this patch package builds successfully.

Regards,
RadovanBinary files chasen_orig/chasen-2.4.5/debian/.swp and chasen_26/chasen-2.4.5/debian/.swp differ
diff -upNr chasen_orig/chasen-2.4.5/debian/libchasen2.symbols.mips chasen_26/chasen-2.4.5/debian/libchasen2.symbols.mips
--- chasen_orig/chasen-2.4.5/debian/libchasen2.symbols.mips	2016-08-23 06:16:10.0 +
+++ chasen_26/chasen-2.4.5/debian/libchasen2.symbols.mips	2016-09-16 09:09:51.0 +
@@ -30,8 +30,11 @@ libchasen.so.2 libchasen2 #MINVER#
  _ZN5Darts15DoubleArrayImplIchlmNS_6LengthIcEEED0Ev@Base 2.4.5
  _ZN5Darts15DoubleArrayImplIchlmNS_6LengthIcEEED1Ev@Base 2.4.5
  _ZN5Darts15DoubleArrayImplIchlmNS_6LengthIcEEED2Ev@Base 2.4.5
- _ZNSt6vectorIN5Darts15DoubleArrayImplIchlmNS0_6LengthIcEEE6node_tESaIS5_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS5_S7_EERKS5_@Base 2.4.5
- _ZNSt6vectorIlSaIlEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPlS1_EERKl@Base 2.4.5
+ _ZNKSt5ctypeIcE8do_widenEc@Base 2.4.5-26
+#MISSING: 2.4.5-26# _ZNSt6vectorIN5Darts15DoubleArrayImplIchlmNS0_6LengthIcEEE6node_tESaIS5_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS5_S7_EERKS5_@Base 2.4.5
+ _ZNSt6vectorIN5Darts15DoubleArrayImplIchlmNS0_6LengthIcEEE6node_tESaIS5_EE19_M_emplace_back_auxIJRKS5_EEEvDpOT_@Base 2.4.5-26
+#MISSING: 2.4.5-26# _ZNSt6vectorIlSaIlEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPlS1_EERKl@Base 2.4.5
+ _ZNSt6vectorIlSaIlEE19_M_emplace_back_auxIJRKlEEEvDpOT_@Base 2.4.5-26
 #MISSING: 2.4.5-10# _ZNSt8_Rb_treeISsSt4pairIKSslESt10_Select1stIS2_ESt4lessISsESaIS2_EE10_M_insert_EPKSt18_Rb_tree_node_baseSB_RKS2_@Base 2.4.5
 #MISSING: 2.4.5# _ZNSt8_Rb_treeISsSt4pairIKSslESt10_Select1stIS2_ESt4lessISsESaIS2_EE15_M_insert_equalERKS2_@Base 2.4.5
  _ZTIN5Darts15DoubleArrayImplIchlmNS_6LengthIc@Base 2.4.5
diff -upNr chasen_orig/chasen-2.4.5/debian/libchasen2.symbols.mipsel chasen_26/chasen-2.4.5/debian/libchasen2.symbols.mipsel
--- chasen_orig/chasen-2.4.5/debian/libchasen2.symbols.mipsel	2016-08-23 06:16:10.0 +
+++ chasen_26/chasen-2.4.5/debian/libchasen2.symbols.mipsel	2016-09-16 10:57:21.0 +
@@ -30,8 +30,13 @@ libchasen.so.2 libchasen2 #MINVER#
  _ZN5Darts15DoubleArrayImplIchlmNS_6LengthIcEEED0Ev@Base 2.4.5
  _ZN5Darts15DoubleArrayImplIchlmNS_6LengthIcEEED1Ev@Base 2.4.5
  _ZN5Darts15DoubleArrayImplIchlmNS_6LengthIcEEED2Ev@Base 2.4.5
-