Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920043 - kde-plasma/wacomtablet-3.2.0-r3[test] with gcc-13: autotests/faketablet/faketablet.cpp:86:28: error: ‘UINT16_MAX’ was not declared in t his scope
Summary: kde-plasma/wacomtablet-3.2.0-r3[test] with gcc-13: autotests/faketablet/faket...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: gcc-13 917265
  Show dependency tree
 
Reported: 2023-12-15 19:34 UTC by matoro
Modified: 2023-12-16 09:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log and emerge --info (file_920043.txt,52.44 KB, text/plain)
2023-12-15 19:35 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2023-12-15 19:34:25 UTC
build.log and emerge --info in attachment.

/var/tmp/portage/kde-plasma/wacomtablet-3.2.0-r3/work/wacomtablet-3.2.0/autotests/faketablet/faketablet.cpp: In function ‘void init_device(int)’:
/var/tmp/portage/kde-plasma/wacomtablet-3.2.0-r3/work/wacomtablet-3.2.0/autotests/faketablet/faketablet.cpp:86:28: error: ‘UINT16_MAX’ was not declared in this scope
   86 |     xabs.absinfo.maximum = UINT16_MAX;
      |                            ^~~~~~~~~~
/var/tmp/portage/kde-plasma/wacomtablet-3.2.0-r3/work/wacomtablet-3.2.0/autotests/faketablet/faketablet.cpp:34:1: note: ‘UINT16_MAX’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
   33 | #  include <linux/uinput.h>
  +++ |+#include <cstdint>
   34 | #endif

Reproducible: Always
Comment 1 matoro archtester 2023-12-15 19:35:09 UTC
Created attachment 879506 [details]
build.log and emerge --info
Comment 2 Andreas Sturmlechner gentoo-dev 2023-12-16 09:39:39 UTC
I'm building it with GCC-13 successfully for a long time...?
Comment 3 Andreas Sturmlechner gentoo-dev 2023-12-16 09:42:54 UTC
...and yet, it does fail all of a sudden.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-16 09:44:35 UTC
(In reply to Sam James from comment #4)
> https://invent.kde.org/plasma/wacomtablet/-/commit/
> c6bdd5a15c2e200aae6a7fe3597bbf11691e7e5f

or i guess https://invent.kde.org/plasma/wacomtablet/-/commit/2dcb1d407d5d019802161e04760e6af41d4fabce
Comment 6 Larry the Git Cow gentoo-dev 2023-12-16 09:46:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=787439df5431f5eb576b7aa348238d1c558fe47b

commit 787439df5431f5eb576b7aa348238d1c558fe47b
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2023-12-16 09:44:53 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-12-16 09:46:15 +0000

    kde-plasma/wacomtablet: Add missing include
    
    Closes: https://bugs.gentoo.org/920043
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-plasma/wacomtablet/wacomtablet-3.2.0-r3.ebuild | 1 +
 1 file changed, 1 insertion(+)
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-16 09:52:11 UTC Comment hidden (obsolete)