Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 938685 - dev-qt/qtwebengine-5.15.14_p20240510 fails to compile: cpdf_function.h:35:13: error: uint32_t has not been declared
Summary: dev-qt/qtwebengine-5.15.14_p20240510 fails to compile: cpdf_function.h:35:13:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-15
  Show dependency tree
 
Reported: 2024-08-29 14:56 UTC by Agostino Sarubbo
Modified: 2024-10-30 02:55 UTC (History)
0 users

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


Attachments
build.log.xz (build.log.xz,100.16 KB, application/x-xz)
2024-08-29 14:56 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-08-29 14:56:45 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-qt/qtwebengine-5.15.14_p20240510 fails to compile.
Discovered on: amd64 (internal ref: gcc15_tinderbox)
System: GCC-15-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-15)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-08-29 14:56:46 UTC
Created attachment 901535 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2024-08-29 14:56:47 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: obj/third_party/pdfium/core/fpdfapi/page/page/cpdf_expintfunc.o 
FAILED: obj/third_party/pdfium/core/fpdfapi/page/page/cpdf_function.o 
FAILED: obj/third_party/pdfium/core/fpdfapi/page/page/cpdf_psfunc.o 
FAILED: obj/third_party/pdfium/core/fpdfapi/page/page/cpdf_sampledfunc.o 
../../../../qtwebengine-5.15.13_p20240510/src/3rdparty/chromium/third_party/pdfium/core/fpdfapi/page/cpdf_function.h:35:13: error: ‘uint32_t’ has not been declared
Comment 4 Larry the Git Cow gentoo-dev 2024-10-21 12:31:06 UTC
The bug has been closed via the following commit(s):

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

commit e5a20b4a5f5ea23af5d64c7455344e69b90b9dfc
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-10-21 12:30:21 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-10-21 12:30:36 +0000

    dev-qt/qtwebengine: add cstdints for GCC 15
    
    Closes: https://bugs.gentoo.org/938685
    Signed-off-by: Sam James <sam@gentoo.org>

 ...webengine-5.15.14_p20240510-gcc15-cstdint.patch | 30 ++++++++++++++++++++++
 .../qtwebengine-5.15.14_p20240510.ebuild           |  1 +
 2 files changed, 31 insertions(+)
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-10-21 12:32:02 UTC
(In reply to Paul Zander from comment #3)
> https://github.com/gentoo/gentoo/compare/master...negril:gentoo:dev-qt/
> webengine/gcc15~1

Can you separate the template changes out from any remaining cstdints?
Comment 6 Larry the Git Cow gentoo-dev 2024-10-30 02:55:26 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f6b652f94f4649890a6e54d3aa919f9026edeaa

commit 0f6b652f94f4649890a6e54d3aa919f9026edeaa
Author:     Paul Zander <negril.nx+gentoo@gmail.com>
AuthorDate: 2024-10-22 23:12:45 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-10-30 02:54:43 +0000

    dev-qt/qtwebengine: 5.15.14_p20240510 Fix template-id in ctor
    
    Bug: https://bugs.gentoo.org/938685
    Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 ...5.15.14_p20240510-gcc15-template-id-cdtor.patch | 93 ++++++++++++++++++++++
 .../qtwebengine-5.15.14_p20240510.ebuild           |  1 +
 2 files changed, 94 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=445284d6aa7e99eea9043e09fd34e1c3d6a7f24c

commit 445284d6aa7e99eea9043e09fd34e1c3d6a7f24c
Author:     Paul Zander <negril.nx+gentoo@gmail.com>
AuthorDate: 2024-08-23 18:22:58 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-10-30 02:54:32 +0000

    dev-qt/qtwebengine: 5.15.14_p20240510 Fix compilation on GCC 15
    
    Bug: https://bugs.gentoo.org/938685
    Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 ...webengine-5.15.14_p20240510-gcc15-cstdint.patch | 132 ++++++++++++++++++++-
 1 file changed, 131 insertions(+), 1 deletion(-)