Bug#1054490: libboost1.74-dev: GCC reports -Werror=uninitialized when compiling with boost::accumulators

2023-10-24 Thread kefu chai
Package: libboost1.74-dev
Version: 1.74.0+ds1-23
Severity: normal
Tags: upstream
X-Debbugs-Cc: tchai...@gmail.com

Hello Maintainers,

GCC-13 warn us like:

In copy constructor ‘constexpr 
boost::accumulators::impl::extended_p_square_quantile_impl::extended_p_square_quantile_impl(const 
boost::accumulators::impl::extended_p_square_quantile_impl&)’,
inlined from ‘boost::accumulators::detail::accumulator_wrapper::accumulator_wrapper(const 
boost::accumulators::detail::accumulator_wrapper&) [with 
Accumulator = 
boost::accumulators::impl::extended_p_square_quantile_impl; Feature = 
boost::accumulators::tag::extended_p_square_quantile_quadratic]’ at 
/usr/include/boost/accumulators/framework/depends_on.hpp:320:69,
inlined from ‘constexpr boost::fusion::cons::cons(typename 
boost::fusion::detail::call_param::type, typename 
boost::fusion::detail::call_param::type) [with Car = 
boost::accumulators::detail::accumulator_wrapper, 
boost::accumulators::tag::extended_p_square_quantile_quadratic>; Cdr = 
boost::fusion::cons, boost::accumulators::tag::sum>, 
boost::fusion::cons, boost::accumulators::tag::mean>, 
boost::fusion::cons,
 boost::accumulators::tag::max>, boost::fusion::nil_> > >]’ at 
/usr/include/boost/fusion/container/list/cons.hpp:66:15,
inlined from ‘static boost::accumulators::detail::build_acc_list::type boost::accumulators::detail::build_acc_list::call(const Args&, const First&, const Last&) [with Args = 
boost::parameter::aux::flat_like_arg_list, void> >, std::integral_constant >, 
boost::parameter::aux::flat_like_arg_tuple,
 
boost::parameter::aux::tagged_argument,
 std::array >, std::integral_constant > >; First = 
boost::fusion::mpl_iterator,
 boost::accumulators::tag::max>, 
boost::mpl::v_item, boost::accumulators::tag::mean>, 
boost::mpl::v_item, boost::accumulators::tag::sum>, 
boost::mpl::v_item, 
boost::accumulators::tag::extended_p_square_quantile_quadratic>, 
boost::mpl::v_item,
 boost::accumulators::tag::extended_p_square>, 
boost::mpl::v_item, boost::mpl::vector0, 0>, 0>, 0>, 
0>, 0>, 0>, 2> >; Last = 
boost::fusion::mpl_iterator,
 boost::accumulators::tag::max>, 
boost::mpl::v_item, boost::accumulators::tag::mean>, 
boost::mpl::v_item, boost::accumulators::tag::sum>, 
boost::mpl::v_item, 
boost::accumulators::tag::extended_p_square_quantile_quadratic>, 
boost::mpl::v_item,
 boost::accumulators::tag::extended_p_square>, 
boost::mpl::v_item, boost::mpl::vector0, 0>, 0>, 0>, 
0>, 0>, 0>, 6> >]’ at 
/usr/include/boost/accumulators/framework/depends_on.hpp:252:86,
inlined from ‘static boost::accumulators::detail::build_acc_list::type boost::accumulators::detail::build_acc_list::call(const Args&, const First&, const Last&) [with Args = 
boost::parameter::aux::flat_like_arg_list, void> >, std::integral_constant >, 
boost::parameter::aux::flat_like_arg_tuple,
 
boost::parameter::aux::tagged_argument,
 std::array >, std::integral_constant > >; First = 
boost::fusion::mpl_iterator,
 boost::accumulators::tag::max>, 
boost::mpl::v_item, boost::accumulators::tag::mean>, 
boost::mpl::v_item, boost::accumulators::tag::sum>, 
boost::mpl::v_item, 
boost::accumulators::tag::extended_p_square_quantile_quadratic>, 
boost::mpl::v_item,
 boost::accumulators::tag::extended_p_square>, 
boost::mpl::v_item, boost::mpl::vector0, 0>, 0>, 0>, 
0>, 0>, 0>, 1> >; Last = 
boost::fusion::mpl_iterator,
 boost::accumulators::tag::max>, 
boost::mpl::v_item, boost::accumulators::tag::mean>, 
boost::mpl::v_item, boost::accumulators::tag::sum>, 
boost::mpl::v_item, 
boost::accumulators::tag::extended_p_square_quantile_quadratic>, 
boost::mpl::v_item,
 boost::accumulators::tag::extended_p_square>, 
boost::mpl::v_item, boost::mpl::vector0, 0>, 0>, 0>, 
0>, 0>, 0>, 6> >]’ at 
/usr/include/boost/accumulators/framework/depends_on.hpp:252:86:
/usr/include/boost/accumulators/statistics/extended_p_square_quantile.hpp:57:12:
 error: 
‘.boost::accumulators::detail::accumulator_wrapper, 
boost::accumulators::tag::extended_p_square_quantile_quadratic>::.boost::accumulators::impl::extended_p_square_quantile_impl::probability’ 
is used uninitialized [-Werror=uninitialized]
   57 | struct extended_p_square_quantile_impl
  |^~~

when compiling code using boost::accumulators

A fix is already available upstream, see 
https://github.com/boostorg/accumulators/pull/54
but it is not included Debian's libboost1.74-dev package. Would you please 
apply this patch
in the packaging?

regards,

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-2-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to 

Bug#661122: bug#661122: cqrlog: ftbfs with fpc in sid

2012-04-24 Thread kefu chai
Hi Dave,

I just found that the patch sent out yesterday is a wrong one, so here
is the the right one.

Le 24 avril 2012 08:47, David A Aitcheson david.aitche...@gmail.com a écrit :

 Kefu,

 #1 primal_scream Arrrggg! /primal_scream

 #2 see http://www.freepascal.org/ for information on free pascal

 #3 see http://www.arrl.org/what-is-ham-radio for information about ham
 radio in the USA

 #4 see http://www.cqrlog.com/ for information about the program you are
 messing with

 #5 realise that cqrlog (1.2.2-2) has been superseded by cqrlog (1.3.1)
 thus your patch may be breaking more than it is fixing

Ah! Sorry, I didn't notice that. But #661122 is marked as a RC bug in unstable.
That's why I tried to fix it. Anyway, I will stop here.



 #6 goto #2, #3, #4, #5 again if not clearly understood else goto #7

Thanks for pointing me to these sites. I've been lookup docs at
www.freepascal.com while fixing this issue.



 On 04/23/2012 04:41 PM, Kefu Chai wrote:
  tag 661122 patch thanks hi, I am not quite familiar with free pascal
  or a ham radio. just came across this bug while looking for RC bugs.
  please find attached patch.

 #7 Where in the world are you? (just so we can point you to the ham
 radio educators in your area)

I am from Shanghai.

have a good day,

--
Regards
Kefu Chai


ftbfs-661122.diff
Description: Binary data


Bug#661122: bug#661122: cqrlog: ftbfs with fpc in sid

2012-04-23 Thread kefu chai
tags 661122 + patch
thanks

Le 24 avril 2012 04:41, Kefu Chai tchai...@gmail.com a écrit :

 tag 661122 patch
 thanks

 hi,

 I am not quite familiar with free pascal or a ham radio. just came across
 this bug while looking for RC bugs.

 please find attached patch.




-- 
Regards
Kefu Chai


Bug#617753: [Pkg-ime-devel] Bug#617753: sunpinyin:FTBFS: sh4: ./config.h:125:3: error: #error can not detect the endianness!

2011-03-13 Thread kefu chai
Hi Nobuhiro,

 Hi,

 sunpinyin FTBFS on sh4.
  http://buildd.debian-ports.org/fetch.php?pkg=sunpinyinarch=sh4ver=2.0.3-1stamp=1299807591file=logas=raw

 -
 scons: done reading SConscript files.
 scons: Building targets ...
 g++ -o src/portability.os -c -g -O2 -pipe -DHAVE_CONFIG_H
 -DSUNPINYIN_DATA_DIR='/usr/lib/sunpinyin/data' -fPIC -I. -Isrc
 -Isrc/slm -Isrc/slm/slmbuild -Isrc/slm/tslmendian -Isrc/slm/tools
 -Isrc/slm/tslmpack -Isrc/slm/slmseg -Isrc/slm/thread
 -Isrc/slm/slmprune -Isrc/slm/getWordFreq -Isrc/slm/slminfo
 -Isrc/slm/mmseg -Isrc/slm/ids2ngram -Isrc/slm/tslminfo -Isrc/lexicon
 -Isrc/ime-core -Isrc/pinyin src/portability.cpp
 In file included from src/portability.cpp:39:
 ./config.h:125:3: error: #error can not detect the endianness!
 scons: *** [src/portability.os] Error 1
 scons: building terminated because of errors.
 make: [install-stamp] Error 2 (ignored)
 -

 SConstruct of sunpinyin does not support Renesas SuperH.
 I made patch to support SH. Could you apply this patch?

Thanks for your patch. I just applied it to the upstream repo.




-- 
Regards
Kov Chai



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#604836: python-socksipy: new upstream version 1.02 available

2010-11-24 Thread kefu chai
Package: python-socksipy
Version: 1.0-1
Severity: important

python-socksipy has a new upstream at
http://code.google.com/p/socksipy-branch/.
the one on sf.net is no more maintained by its original author, Dan Haim.

And some open issues are still in the 1.0-1 version of
python-socksipy. I just ran
into one [1] of them. So it would be great if we can package a new version with
the new socksipy.

Thanks,

--
[1] socksipy does not check the return value of socket.recv(), this
leads to busy
waiting. So CPU usage goes to 100% if peer closes the connection unexpectly.


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.36 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
Regards
Kov Chai



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#478811: Are you still working on the sunpinyin packaging?

2010-08-31 Thread kefu chai
hi Qi,

FYI, Liang has packaged sunpinyin packages and sent out an RFS for
sponsors. And Thomas Goirand z...@debian.org and I are reviewing the
packages. You may reach the packages at mentors.d.n [1].

Most traffic about the packaging of this IME are available on
pkg-ime-de...@lists.alioth.debian.org mailing list. If you have any
comments/question on the packaging, please shot them to the mailing
list and us.

Thanks,

--
[1]
dget 
http://mentors.debian.net/debian/pool/main/s/sunpinyin/sunpinyin_2.0.2-1.dsc
dget 
http://mentors.debian.net/debian/pool/main/o/open-gram/open-gram_0.1.22-1.dsc
dget 
http://mentors.debian.net/debian/pool/main/i/ibus-sunpinyin/ibus-sunpinyin_2.0.2-1.dsc

On Tue, Aug 31, 2010 at 5:22 PM, LIU Qi liuq...@gmail.com wrote:
 Hi Liang,

 Are you still working on the packaging for sunpinyin? Since I use
 sunpinyin and Debian heavily, I am interested in packaging this piece of
 software. Currently I am starting to package or I could help to package
 based on your work if you have started.

 Regards,
 Qi
 --
  LIU Qi

  liuq...@gmail.com
  li...@loongson.cn

  PGP Key fingerprint:
  3D29 FDFD AFB3 225D B744
  7FAB 51C7 4820 63BA 272F






-- 
Regards
Kov Chai



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#478811: RFS: sunpinyin -- An input method engine for Simplified Chinese

2010-06-24 Thread kefu chai
liang,

copying Mike.

On Thu, Jun 17, 2010 at 4:34 PM, Liang Guo bluestonech...@gmail.com wrote:
 2010/3/27 Kov Chai tchai...@gmail.com:
 Dear mentors,

 I am looking for a sponsor for my package sunpinyin.

 Hi, Kov,

 Are you still working on sunpinyin ?


I don't have enough bandwidth for maintaining the package of
sunpinyin. please go ahead if you want to package it. you may also
want to see if Mike can help out. Since SunPinyin was undergoing a
major package re-org in 2.0.2, the debian packaging I put on mentors
does not apply to the latest SunPinyin any more.

-- 
Regards
Kov Chai



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#584727: ITP: scim-googlepinyin -- Google Pinyin IM engine module for SCIM

2010-06-06 Thread kefu chai
Thank you Thomas.

the programming language used in scim-googlepinyin is mainly C++, IMHO.

On Sun, Jun 6, 2010 at 11:21 AM, Thomas Goirand tho...@goirand.fr wrote:
 Package: wnpp
 Severity: wishlist
 Owner: Thomas Goirand tho...@goirand.fr

 * Package name    : scim-googlepinyin
  Version         : 20100606
  Upstream Author : Kov Chai tchai...@gmail.com
 * URL             : http://code.google.com/p/scim-googlepinyin/
 * License         : Apache 2.0
  Programming Lang: C
  Description     : Google Pinyin IM engine module for SCIM

 Long description:
 SCIM (Smart Common Input Method) is an input method (IM) platform.

 scim-googlepinyin tries to bring the open source Google pinyin IME for
 Android to GNU/Linux. And customize it to fit the need on regular
 desktop instead of on mobile device by following Google Pinyin on
 Windows.

 This port is almost a line-by line translation from Java to C++. It's
 still under development. And it needs more testing and bug fixing for
 sure.

 Maintainer note:
 As the author describes his own work as being experimental, my
 intention is to first upload to experimental (makes sense, no?), until
 the author himself confirms that it works ok, and after my Chinese
 wife tests it for a long time in her Ubuntu laptop. For the few times
 I could test it, googlepinyin seems perfectly stable, but I still want
 to hear from the author and test it, before this package reaches SID
 or testing.

 -- System Information:
 Debian Release: 5.0.4
  APT prefers stable
  APT policy: (500, 'stable')
 Architecture: amd64 (x86_64)






-- 
Regards
Kov Chai



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#478811: RFS: sunpinyin -- An input method engine for Simplified Chinese

2010-04-10 Thread kefu chai
Daobing,

On Mon, Apr 5, 2010 at 2:07 PM, LI Daobing lidaob...@debian.org wrote:
 On Mon, Apr 5, 2010 at 01:34, kefu chai tchai...@gmail.com wrote:
 Hi Daobing,

 Thanks a lot for your time!

 On Sun, Apr 4, 2010 at 11:15 AM, LI Daobing lidaob...@debian.org wrote:
 Hello,

 On Sat, Mar 27, 2010 at 22:56, Kov Chai tchai...@gmail.com wrote:
 Dear mentors,

 I am looking for a sponsor for my package sunpinyin.

 * Package name    : sunpinyin
  Version         : 2.0-3
  Upstream Author : Lei Zhang phill.zh...@sun.com and others
 * URL             : http://sunpinyin.googlecode.com/
 * License         : LGPL/CDDL Dual license
  Programming Lang: C++
  Description     : an input method engine for Simplified Chinese.

 It builds these binary packages:
 ibus-sunpinyin - Sunpinyin input method of Chinese Language for IBus
 xsunpinyin - Standalone XIM server with Sunpinyin
 sunpinyin-data-be - Big-endian data file for SunPinyin input method engine
 sunpinyin-data-le - Little-endian data file for SunPinyin input method 
 engine


 The package appears to be lintian clean.

 The upload would fix these bugs: 478811

 The package can be found on mentors.debian.net:
 - URL: http://mentors.debian.net/debian/pool/main/s/sunpinyin/
 - Source repository: deb-src http://mentors.debian.net/debian unstable main
  contrib non-free
 - dget
  http://mentors.debian.net/debian/pool/main/s/sunpinyin/sunpinyin_2.0-3.dsc

 I would be glad if someone uploaded this package for me.

 SunPinyin is an Chinese input method engine based on SLM (Statistical
 Language Model).
 .
 In addition to an IBus input module for Simplified Chinese, SunPinyin now
 also provides a XIM server with this IM engine which works much like fcitx.
 .
 SunPinyin is a Chinese input method engine features intelligent 
 full-sentence
 input. It uses a mature SLM of back-off tri-gram language model. The 
 upstream
 also provides a suite of utilities to train the SLM using raw corpus.

 Kind regards


 rejected

 1. too many lintian warnings and erros
 $ lintian sunpinyin_2.0-3_amd64.changes
 W: sunpinyin source: missing-debian-source-format
 W: ibus-sunpinyin: debian-changelog-file-is-a-symlink
 E: xsunpinyin: malformed-override xsunpinyin-preferences: 
 binary-without-manpage
 W: xsunpinyin: debian-changelog-file-is-a-symlink
 N: 2 tags overridden (2 warnings)

 2. consider use debian 3.0 (quilt) format.

 3. debian/copyright:
 Files: raw/dict.utf8.tar.bz2
 Copyright: 1997-2010, MDBG
           2010 Kov Chai tchai...@gmail.com
 License: CC-BY-SA-3.0

 please paste CC-BY-SA-3.0 license in debian/copyright

 4. debian/copyright:
 Files: debian/*
 Copyright: 2007-2009, Kefu Chai tchai...@gmail.com
 License: GPL

 how about add a version to GPL (such as GPL-3 or GPL-3 or later)
 and add following text:

  On Debian systems, the complete text of GPL-? can be found in
  /usr/share/common-licenses/GPL-?



 I just uploaded a revised package which addresses all your comments.
 Could you take a look at it at your convenience?

 The package can be found on mentors.debian.net:
 - URL: http://mentors.debian.net/debian/pool/main/s/sunpinyin
 - Source repository: deb-src http://mentors.debian.net/debian unstable
 main contrib non-free
 - dget 
 http://mentors.debian.net/debian/pool/main/s/sunpinyin/sunpinyin_2.0-4.dsc


 rejected again:

 the upstream[1] said SHA1 Checksum of sunpinyin-2.0.tar.gz:
 29e2ea68de18cb98cd08a8680c75b8686a0aca85

 but in your .dsc file:
 Checksums-Sha1:
  67be5656db0782ea2e3eab136e46d78d9bd1310c 26316863 sunpinyin_2.0.orig.tar.gz

 I think you should use the origin tarball instead of repack it.

Daobing, thanks for your valuable suggestions. Because the 2.0 tarball
does not allow cross-compilation of the data files and its pinyin
database has some known issues, so I packaged 2.0.1 tarball [1]
instead. Could you take look at it again?

The package can be found on mentors.debian.net:
- URL: http://mentors.debian.net/debian/pool/main/s/sunpinyin
- Source repository: deb-src http://mentors.debian.net/debian unstable
main contrib non-free
- dget 
http://mentors.debian.net/debian/pool/main/s/sunpinyin/sunpinyin_2.0.1-1.dsc

--
[1] 
http://code.google.com/p/sunpinyin/downloads/detail?name=sunpinyin-2.0.1.tar.gzcan=2q=


-- 
Regards
Kov Chai



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org