[Pkg-ime-devel] Bug#834126: This bug is in sunpinyin-utils

Adrian Bunk bunk at stusta.de
Tue Oct 4 11:20:46 UTC 2016


Control: reassign 834126 sunpinyin-utils
Control: found 834126 2.0.3+git20140127-5
Control: tags 834126 +patch
Control: affects 834126 src:open-gram

This bug happens when sunpinyin-utils was compiled with gcc 6, but not 
when sunpinyin-utils was compiled with gcc 5.

The cause seems to be some semantics change between C++98 and C++11,
and a workaround is:

--- debian/rules.old	2016-10-04 11:13:35.000000000 +0000
+++ debian/rules	2016-10-04 11:17:20.000000000 +0000
@@ -3,6 +3,9 @@
 # Liang Guo <bluestonechina at gmail.com> 2010
 # YunQiang Su <wzssyqa at gmail.com>, 2012
 
+# workaround for crashes in tslmpack, see #834126
+export DEB_CXXFLAGS_MAINT_APPEND = -std=gnu++98
+
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 SCONS=scons 


cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed



More information about the Pkg-ime-devel mailing list