Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 895536

Summary: app-text/xournalpp-1.1.1-r3 fails to compile (GCC-13-SYSTEM): BackgroundConfig.h:28:47: error: uint32_t has not been declared
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Andreas K. Hüttel <dilfridge>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=894720
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 865117    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2023-02-20 11:55:32 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-text/xournalpp-1.1.1-r2 fails to compile (GCC-13-SYSTEM).
Discovered on: amd64 (internal ref: gcc13_tinderbox)

NOTE:
(GCC-13-SYSTEM) in the summary means that the bug was found on a machine that runs gcc-13 but this bug MAY or MAY NOT BE related to the new compiler
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-20 11:55:35 UTC
Created attachment 853190 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-02-20 11:55:36 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: src/CMakeFiles/xournalpp-core.dir/view/background/BackgroundConfig.cpp.o 
/var/tmp/portage/app-text/xournalpp-1.1.1-r2/work/xournalpp-1.1.1/src/view/background/BackgroundConfig.h:28:47: error: ‘uint32_t’ has not been declared
Comment 3 Larry the Git Cow gentoo-dev 2023-04-10 03:38:43 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92eb2acc80acbdc7874a07fea529201047ea9dee

commit 92eb2acc80acbdc7874a07fea529201047ea9dee
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-04-10 03:37:19 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-04-10 03:37:19 +0000

    app-text/xournalpp: support Lua 5.4, fix build w/ gcc 13
    
    Bug: https://bugs.gentoo.org/854615
    Closes: https://bugs.gentoo.org/894720
    Closes: https://bugs.gentoo.org/895536
    Signed-off-by: Sam James <sam@gentoo.org>

 .../xournalpp/files/xournalpp-1.1.3-gcc13.patch    | 12 +++++
 .../xournalpp/files/xournalpp-1.1.3-lua-5-4.patch  | 14 ++++++
 app-text/xournalpp/xournalpp-1.1.3-r1.ebuild       | 58 ++++++++++++++++++++++
 app-text/xournalpp/xournalpp-9999.ebuild           | 15 ++++--
 4 files changed, 96 insertions(+), 3 deletions(-)
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2023-08-02 10:04:34 UTC
Not fixed in -r3, sorry