[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1012958: marked as done (keyman: ftbfs with GCC-12)



Your message dated Sun, 24 Jul 2022 05:34:38 +0000
with message-id <E1oFUGE-000FJ5-HT@fasolo.debian.org>
and subject line Bug#1012958: fixed in keyman 15.0.266-2
has caused the Debian Bug report #1012958,
regarding keyman: ftbfs with GCC-12
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1012958: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1012958
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:keyman
Version: 15.0.235-1
Severity: normal
Tags: sid bookworm
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-12

[This bug is targeted to the upcoming bookworm release]

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-12/g++-12, but succeeds to build with gcc-11/g++-11. The
severity of this report will be raised before the bookworm release.

The full build log can be found at:
http://qa-logs.debian.net/2022/06/09/gcc12/keyman_15.0.235-1_unstable_gcc12.log
The last lines of the build log are at the end of this report.

To build with GCC 11, either set CC=gcc-11 CXX=g++-11 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-11/porting_to.html

GCC 11 defaults to the GNU++17 standard.  If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.

[...]
config.status: creating po/Makefile
# keyman-config
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# keymankeyboardprocessor
cd common/core/desktop && ./build.sh build

VERSION: 15.0.235
TIER: beta
PLATFORM: native
CONFIGURE: false
CLEAN: false
BUILD_CPP: true
TESTS_CPP: false
INSTALL_CPP: false
UNINSTALL_CPP: false
MESON_TARGET: release
TARGET_PATH: /<<PKGBUILDDIR>>/common/core/desktop/build

======= Building C++ library for linux =======
[1/52] Compiling C++ object src/libkmnkbp0.so.0.0.0.p/json.cpp.o
[2/52] Compiling C++ object src/libkmnkbp0.so.0.0.0.p/option.cpp.o
[3/52] Compiling C++ object src/libkmnkbp0.so.0.0.0.p/km_kbp_processevent_api.cpp.o
[4/52] Compiling C++ object src/libkmnkbp0.so.0.0.0.p/keyboard.cpp.o
[5/52] Compiling C++ object src/libkmnkbp0.so.0.0.0.p/km_kbp_options_api.cpp.o
[6/52] Compiling C++ object src/libkmnkbp0.so.0.0.0.p/km_kbp_debug_api.cpp.o
[7/52] Compiling C++ object src/libkmnkbp0.so.0.0.0.p/kmx_kmx_consts.cpp.o
[8/52] Compiling C++ object src/libkmnkbp0.so.0.0.0.p/km_kbp_context_api.cpp.o
[9/52] Compiling C++ object src/libkmnkbp0.so.0.0.0.p/km_kbp_keyboard_api.cpp.o
[10/52] Compiling C++ object src/libkmnkbp0.so.0.0.0.p/kmx_kmx_conversion.cpp.o
[11/52] Compiling C++ object src/libkmnkbp0.so.0.0.0.p/kmx_kmx_capslock.cpp.o
[12/52] Compiling C++ object src/libkmnkbp0.so.0.0.0.p/kmx_kmx_actions.cpp.o
[13/52] Compiling C++ object src/libkmnkbp0.so.0.0.0.p/km_kbp_state_api.cpp.o
[14/52] Compiling C++ object src/libkmnkbp0.so.0.0.0.p/state.cpp.o
[15/52] Compiling C++ object src/libkmnkbp0.so.0.0.0.p/kmx_kmx_context.cpp.o
[16/52] Compiling C++ object src/libkmnkbp0.so.0.0.0.p/kmx_kmx_debug.cpp.o
[17/52] Compiling C++ object src/libkmnkbp0.so.0.0.0.p/kmx_kmx_debugger.cpp.o
[18/52] Compiling C++ object src/libkmnkbp0.so.0.0.0.p/kmx_kmx_processevent.cpp.o
[19/52] Compiling C++ object src/libkmnkbp0.so.0.0.0.p/kmx_kmx_file.cpp.o
FAILED: src/libkmnkbp0.so.0.0.0.p/kmx_kmx_file.cpp.o 
c++ -Isrc/libkmnkbp0.so.0.0.0.p -Isrc -I../../../src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Werror -std=c++14 -O3 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -isystem../../../include -isysteminclude -DKMN_KBP_EXPORTING -Wall -Wctor-dtor-privacy -Wdouble-promotion -Wendif-labels -Wextra -Wno-unknown-pragmas -Wno-missing-field-initializers -Wnon-virtual-dtor -Wshadow -fvisibility=hidden -fvisibility-inlines-hidden -MD -MQ src/libkmnkbp0.so.0.0.0.p/kmx_kmx_file.cpp.o -MF src/libkmnkbp0.so.0.0.0.p/kmx_kmx_file.cpp.o.d -o src/libkmnkbp0.so.0.0.0.p/kmx_kmx_file.cpp.o -c ../../../src/kmx/kmx_file.cpp
../../../src/kmx/kmx_file.cpp: In member function ‘KMX_BOOL km::kbp::kmx::KMX_ProcessEvent::LoadKeyboard(km_kbp_path_name, km::kbp::kmx::tagKEYBOARD**)’:
../../../src/kmx/kmx_file.cpp:186:12: error: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Werror=mismatched-new-delete]
  186 |     delete buf;
      |            ^~~
../../../src/kmx/kmx_file.cpp:159:28: note: returned from ‘void* operator new [](std::size_t)’
  159 |   buf = new KMX_BYTE[sz * 3];
      |                            ^
../../../src/kmx/kmx_file.cpp:201:53: error: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Werror=mismatched-new-delete]
  201 |   if(kbp->dwIdentifier != FILEID_COMPILED) { delete buf; DebugLog("errNotFileID"); return FALSE; }
      |                                                     ^~~
../../../src/kmx/kmx_file.cpp:159:28: note: returned from ‘void* operator new [](std::size_t)’
  159 |   buf = new KMX_BYTE[sz * 3];
      |                            ^
cc1plus: all warnings being treated as errors
[20/52] Compiling C++ object src/libkmnkbp0.so.0.0.0.p/utfcodec.cpp.o
[21/52] Compiling C++ object src/libkmnkbp0.so.0.0.0.p/kmx_kmx_modifiers.cpp.o
[22/52] Compiling C++ object src/libkmnkbp0.so.0.0.0.p/kmx_kmx_environment.cpp.o
[23/52] Compiling C++ object tests/unit/json/jsontest.p/jsontest.cpp.o
[24/52] Compiling C++ object src/libkmnkbp0.so.0.0.0.p/kmx_kmx_xstring.cpp.o
[25/52] Compiling C++ object src/libkmnkbp0.so.0.0.0.p/mock_mock_processor.cpp.o
[26/52] Compiling C++ object tests/unit/utftest/utftest.p/utftest.cpp.o
[27/52] Compiling C++ object src/libkmnkbp0.so.0.0.0.p/kmx_kmx_options.cpp.o
[28/52] Compiling C++ object src/libkmnkbp0.so.0.0.0.p/kmx_kmx_processor.cpp.o
ninja: build stopped: subcommand failed.
make[1]: *** [debian/rules:36: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:16: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: keyman
Source-Version: 15.0.266-2
Done: Boyuan Yang <byang@debian.org>

We believe that the bug you reported is fixed in the latest version of
keyman, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1012958@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Boyuan Yang <byang@debian.org> (supplier of updated keyman package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 24 Jul 2022 01:07:36 -0400
Source: keyman
Architecture: source
Version: 15.0.266-2
Distribution: unstable
Urgency: high
Maintainer: Debian Input Method Team <debian-input-method@lists.debian.org>
Changed-By: Boyuan Yang <byang@debian.org>
Closes: 1012958
Changes:
 keyman (15.0.266-2) unstable; urgency=high
 .
   * Team upload.
   * debian/patches/0001-fix-common-Fix-delete.patch: Apply upstream
     trunk patch to fix FTBFS with GCC 12. (Closes: #1012958)
Checksums-Sha1:
 00fd7487c53870fa646427c89a372926a3893ea2 2883 keyman_15.0.266-2.dsc
 d1f85eeac46fc17e59af21fb8e9016a9308ab123 4130818 keyman_15.0.266.orig.tar.gz
 275fc646c5b1e59e9ea708d5db7f112754e7be10 833 keyman_15.0.266.orig.tar.gz.asc
 1426439d2931867c79c4bbc09ff3dc5044d4560f 11932 keyman_15.0.266-2.debian.tar.xz
 a7f3071351196fe30310bb9b206d023108610069 20385 keyman_15.0.266-2_amd64.buildinfo
Checksums-Sha256:
 e9e77b626db6b47b0a4f906c688e73ede8eb605a64c22ee83129ec82847ac041 2883 keyman_15.0.266-2.dsc
 4fca2f58d31f9c557011bd83063179515f0ff6f25f2cfc5e8b34e2fd4d64a3b8 4130818 keyman_15.0.266.orig.tar.gz
 9a3614b149f1e835bf055e39dd73bc357ff4ff0065ebc341f2ffa9b1d5cbcac8 833 keyman_15.0.266.orig.tar.gz.asc
 e91b862feace0b079e5219fc9570eefd7ae2ccd3259c707a0799e77ffb3971df 11932 keyman_15.0.266-2.debian.tar.xz
 afa3c799e5b56e832382c4d9adc9fd9a0c64a07f8ab2b11992a0cb0586f729ef 20385 keyman_15.0.266-2_amd64.buildinfo
Files:
 d53367766fc9ce5d936853f961ec8ffd 2883 text optional keyman_15.0.266-2.dsc
 9784d11bc6fe4ed546bdd0cd56ceac6a 4130818 text optional keyman_15.0.266.orig.tar.gz
 26ec87cb37cf9146767c87915c5f2c38 833 text optional keyman_15.0.266.orig.tar.gz.asc
 383bbb552f3722800ae4d66dacd091b3 11932 text optional keyman_15.0.266-2.debian.tar.xz
 664f1511497d999ca88d11ec80045e18 20385 text optional keyman_15.0.266-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAmLc1FkACgkQwpPntGGC
Ws7cOQ//RCYIJ8UEfLLQ65y95NE+fxtwp1b9Ou2gfiYWiWD+/WcsCPcSybTcuspF
E4HB9j+fTEJrF5ecTItfTBAxiZ1U9zuCShbRQttaaiBL3qxWz1DMVhGz/Cn9bTJP
Hl38o0y9MSnnMnFN4XH4tBfc8msHraaJL1Dw0lWNHuc0OgNqcjWr9dNHnB/XOJPL
4Vjzyb51RTYu0VCBxPz2uOcJ3URCgTxS8Ipjcy+R2WrZW0tljcAHXbikiM0c/Pbr
pZNyW2yZiSkrQg1ntIXqq8dlyoI/BoN/vSsbVy4zRj8X3HwD123S/lDAjnHupM65
jLsKY5pa+cAwaB4u7q55d1Sp8evDZga++otTOfUAnnRmWW6dblQgdBelQAOZYlwx
jOikb043vx0wiewpE4IdHn7ul15CxkKQMNNAi+y02c1uXUms3qo26mb+dCMB6bbJ
uXV13rLYVl0pT6utY4p5f5VrOcFuC9yrvc/wx0+cBXtsqtdBXb74Z1mR7/f5kwob
iM40xFAFTTMmOysRd51ePAZI6SSEJv9NJxodDOhVQS+6Dj7cjjqmjXP2ycR/aWDt
ZayY/LY0C6qIXar0g9tryiJTgGLO93+BLmaPBijNR9PMBYneFKskpGAqTHC1A7QW
uoZaLLaCvJXI4fxaMHMoV6D6kdX70PUFwxNfzZGuzNkVoCJIoLY=
=bunG
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: