Bug#1037707: keyman: ftbfs with GCC-13

2023-07-24 Thread Eberhard Beilharz

I just uploaded 16.0.140-1 to mentors which contains a fix.


Eberhard Beilharz wrote on 2023-07-24 09:13:
Yes, I already fixed it in the upstream repo. I'll push a new package 
soon.


Thanks,
    Eberhard

Boyuan Yang wrote on 2023-07-22 01:49:

Hi Eberhard,

Are you going to work on this issue?

Thanks,
Boyuan Yang


On Wed, 14 Jun 2023 09:26:08 + Matthias Klose  
wrote:

Package: src:keyman
Version: 16.0.139-4
Severity: normal
Tags: sid trixie
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-13

[This bug is targeted to the upcoming trixie 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-13/g++-13, but succeeds to build with gcc-12/g++-12. The
severity of this report will be raised before the trixie release.

The full build log can be found at:

http://qa-logs.debian.net/2023/05/22/logs/keyman_16.0.139-4_unstable_gccexp.log 


The last lines of the build log are at the end of this report.

To build with GCC 13, either set CC=gcc-13 CXX=g++-13 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-13/porting_to.html

[...]
../../../src/kmx/kmx_processevent.h:58:27: error: ‘PKMX_BYTE’ has 
not been

declared

 58 |   KMX_BOOL VerifyKeyboard(PKMX_BYTE filebase, size_t sz);
    |   ^
../../../src/kmx/kmx_processevent.h:59:27: error: ‘PKMX_BYTE’ has 
not been

declared

 59 |   KMX_BOOL VerifyChecksum(PKMX_BYTE buf,  size_t sz);
    |   ^
../../../src/kmx/kmx_processevent.h:60:27: error: ‘PKMX_BYTE’ has 
not been

declared

 60 |   PKMX_WCHAR StringOffset(PKMX_BYTE base, KMX_DWORD offset);
    |   ^
../../../src/kmx/kmx_processevent.h:60:43: error: ‘KMX_DWORD’ has 
not been

declared

 60 |   PKMX_WCHAR StringOffset(PKMX_BYTE base, KMX_DWORD offset);
    |   ^
../../../src/kmx/kmx_processevent.h:62:27: error: ‘PKMX_BYTE’ has 
not been

declared

 62 |   LPKEYBOARD CopyKeyboard(PKMX_BYTE bufp, PKMX_BYTE base);
    |   ^
../../../src/kmx/kmx_processevent.h:62:43: error: ‘PKMX_BYTE’ has 
not been

declared

 62 |   LPKEYBOARD CopyKeyboard(PKMX_BYTE bufp, PKMX_BYTE base);
    |   ^
../../../src/kmx/kmx_processevent.h:85:45: error: ‘KMX_DWORD’ has 
not been

declared
 85 |   PKMX_WCHAR GetSystemStore(LPKEYBOARD kb, KMX_DWORD 
SystemID);

    | ^
../../../src/kmx/kmx_processevent.h:89:25: error: ‘KMX_DWORD’ has 
not been

declared

 89 |   KMX_BOOL IsCapsLockOn(KMX_DWORD modifiers);
    | ^
../../../src/kmx/kmx_processevent.h:90:20: error: ‘KMX_DWORD’ has 
not been

declared

 90 |   void SetCapsLock(KMX_DWORD , KMX_BOOL capsLockOn,

KMX_BOOL force = FALSE);



OpenPGP_0xE9140597606020D3.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Bug#1037707: keyman: ftbfs with GCC-13

2023-07-24 Thread Eberhard Beilharz

Yes, I already fixed it in the upstream repo. I'll push a new package soon.

Thanks,
    Eberhard

Boyuan Yang wrote on 2023-07-22 01:49:

Hi Eberhard,

Are you going to work on this issue?

Thanks,
Boyuan Yang


On Wed, 14 Jun 2023 09:26:08 + Matthias Klose  wrote:

Package: src:keyman
Version: 16.0.139-4
Severity: normal
Tags: sid trixie
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-13

[This bug is targeted to the upcoming trixie 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-13/g++-13, but succeeds to build with gcc-12/g++-12. The
severity of this report will be raised before the trixie release.

The full build log can be found at:


http://qa-logs.debian.net/2023/05/22/logs/keyman_16.0.139-4_unstable_gccexp.log

The last lines of the build log are at the end of this report.

To build with GCC 13, either set CC=gcc-13 CXX=g++-13 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-13/porting_to.html

[...]
../../../src/kmx/kmx_processevent.h:58:27: error: ‘PKMX_BYTE’ has not been

declared

     58 |   KMX_BOOL VerifyKeyboard(PKMX_BYTE filebase, size_t sz);
    |   ^
../../../src/kmx/kmx_processevent.h:59:27: error: ‘PKMX_BYTE’ has not been

declared

     59 |   KMX_BOOL VerifyChecksum(PKMX_BYTE buf,  size_t sz);
    |   ^
../../../src/kmx/kmx_processevent.h:60:27: error: ‘PKMX_BYTE’ has not been

declared

     60 |   PKMX_WCHAR StringOffset(PKMX_BYTE base, KMX_DWORD offset);
    |   ^
../../../src/kmx/kmx_processevent.h:60:43: error: ‘KMX_DWORD’ has not been

declared

     60 |   PKMX_WCHAR StringOffset(PKMX_BYTE base, KMX_DWORD offset);
    |   ^
../../../src/kmx/kmx_processevent.h:62:27: error: ‘PKMX_BYTE’ has not been

declared

     62 |   LPKEYBOARD CopyKeyboard(PKMX_BYTE bufp, PKMX_BYTE base);
    |   ^
../../../src/kmx/kmx_processevent.h:62:43: error: ‘PKMX_BYTE’ has not been

declared

     62 |   LPKEYBOARD CopyKeyboard(PKMX_BYTE bufp, PKMX_BYTE base);
    |   ^
../../../src/kmx/kmx_processevent.h:85:45: error: ‘KMX_DWORD’ has not been

declared

     85 |   PKMX_WCHAR  GetSystemStore(LPKEYBOARD kb, KMX_DWORD SystemID);
    | ^
../../../src/kmx/kmx_processevent.h:89:25: error: ‘KMX_DWORD’ has not been

declared

     89 |   KMX_BOOL IsCapsLockOn(KMX_DWORD modifiers);
    | ^
../../../src/kmx/kmx_processevent.h:90:20: error: ‘KMX_DWORD’ has not been

declared

     90 |   void SetCapsLock(KMX_DWORD , KMX_BOOL capsLockOn,

KMX_BOOL force = FALSE);



OpenPGP_0xE9140597606020D3.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Bug#1037707: keyman: ftbfs with GCC-13

2023-07-21 Thread Boyuan Yang
Hi Eberhard,

Are you going to work on this issue?

Thanks,
Boyuan Yang


On Wed, 14 Jun 2023 09:26:08 + Matthias Klose  wrote:
> Package: src:keyman
> Version: 16.0.139-4
> Severity: normal
> Tags: sid trixie
> User: debian-...@lists.debian.org
> Usertags: ftbfs-gcc-13
> 
> [This bug is targeted to the upcoming trixie 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-13/g++-13, but succeeds to build with gcc-12/g++-12. The
> severity of this report will be raised before the trixie release.
> 
> The full build log can be found at:
>
http://qa-logs.debian.net/2023/05/22/logs/keyman_16.0.139-4_unstable_gccexp.log
> The last lines of the build log are at the end of this report.
> 
> To build with GCC 13, either set CC=gcc-13 CXX=g++-13 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-13/porting_to.html
> 
> [...]
> ../../../src/kmx/kmx_processevent.h:58:27: error: ‘PKMX_BYTE’ has not been
declared
>    58 |   KMX_BOOL VerifyKeyboard(PKMX_BYTE filebase, size_t sz);
>   |   ^
> ../../../src/kmx/kmx_processevent.h:59:27: error: ‘PKMX_BYTE’ has not been
declared
>    59 |   KMX_BOOL VerifyChecksum(PKMX_BYTE buf,  size_t sz);
>   |   ^
> ../../../src/kmx/kmx_processevent.h:60:27: error: ‘PKMX_BYTE’ has not been
declared
>    60 |   PKMX_WCHAR StringOffset(PKMX_BYTE base, KMX_DWORD offset);
>   |   ^
> ../../../src/kmx/kmx_processevent.h:60:43: error: ‘KMX_DWORD’ has not been
declared
>    60 |   PKMX_WCHAR StringOffset(PKMX_BYTE base, KMX_DWORD offset);
>   |   ^
> ../../../src/kmx/kmx_processevent.h:62:27: error: ‘PKMX_BYTE’ has not been
declared
>    62 |   LPKEYBOARD CopyKeyboard(PKMX_BYTE bufp, PKMX_BYTE base);
>   |   ^
> ../../../src/kmx/kmx_processevent.h:62:43: error: ‘PKMX_BYTE’ has not been
declared
>    62 |   LPKEYBOARD CopyKeyboard(PKMX_BYTE bufp, PKMX_BYTE base);
>   |   ^
> ../../../src/kmx/kmx_processevent.h:85:45: error: ‘KMX_DWORD’ has not been
declared
>    85 |   PKMX_WCHAR  GetSystemStore(LPKEYBOARD kb, KMX_DWORD SystemID);
>   | ^
> ../../../src/kmx/kmx_processevent.h:89:25: error: ‘KMX_DWORD’ has not been
declared
>    89 |   KMX_BOOL IsCapsLockOn(KMX_DWORD modifiers);
>   | ^
> ../../../src/kmx/kmx_processevent.h:90:20: error: ‘KMX_DWORD’ has not been
declared
>    90 |   void SetCapsLock(KMX_DWORD , KMX_BOOL capsLockOn,
KMX_BOOL force = FALSE);



signature.asc
Description: This is a digitally signed message part