Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 908432 - www-client/chromium Needs Attached for arm64
Summary: www-client/chromium Needs Attached for arm64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL: https://chromium-review.googlesource....
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: gcc-13
  Show dependency tree
 
Reported: 2023-06-13 08:32 UTC by Roy Bamford
Modified: 2023-06-15 20:26 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roy Bamford gentoo-dev 2023-06-13 08:32:40 UTC
www-client/chromium-113.0.5672.126 fails to build on arm64.

Fixes described below.

Reproducible: Always

Steps to Reproduce:
1. emerge =www-client/chromium-113.0.5672.126 on arm64
2.
3.
Actual Results:  
Build fails quite quickly due to a missing header.

Expected Results:  
=www-client/chromium-113.0.5672.126 installs.

The USE flag lto is forced off. Good.
-flto must not be in CFLAGS/CXXFLAGS either. (That's my problem)



/etc/portage/patches/www-client/chromium/chromium/chromium-113.0.5672.126.patch

--- a/base/cpu.h_org    2023-06-12 18:00:27.193095919 +0100
+++ b/base/cpu.h        2023-06-12 17:13:17.838760898 +0100
@@ -5,6 +5,7 @@
 #ifndef BASE_CPU_H_
 #define BASE_CPU_H_
 
+#include <cstdint>
 #include <string>
 
 #include "base/base_export.h"

fixes a missing header.
Then it builds.
Comment 1 Larry the Git Cow gentoo-dev 2023-06-14 15:09:59 UTC
The bug has been referenced in the following commit(s):

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

commit 95dc28cd8feecf8fd7e7d9d9310ccfa08a2e8ec8
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2023-06-14 15:08:31 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2023-06-14 15:09:56 +0000

    www-client/chromium: backport fix for missing includes
    
    Bug: https://bugs.gentoo.org/908432
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 www-client/chromium/chromium-114.0.5735.133.ebuild |  1 +
 .../chromium/files/chromium-114-iwyu-gcc-13.patch  | 75 ++++++++++++++++++++++
 2 files changed, 76 insertions(+)
Comment 2 Larry the Git Cow gentoo-dev 2023-06-15 20:26:24 UTC
The bug has been closed via the following commit(s):

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

commit d6bbecf1257852a8129762ad4f0d2bbef16eafc0
Author:     Stephan Hartmann <sultan@gentoo.org>
AuthorDate: 2023-06-15 20:25:44 +0000
Commit:     Stephan Hartmann <sultan@gentoo.org>
CommitDate: 2023-06-15 20:25:55 +0000

    www-client/chromium: beta channel bump to 115.0.5790.32
    
    Closes: https://bugs.gentoo.org/908432
    Closes: https://bugs.gentoo.org/908467
    Signed-off-by: Stephan Hartmann <sultan@gentoo.org>

 www-client/chromium/Manifest                                          | 4 ++--
 .../{chromium-115.0.5790.24.ebuild => chromium-115.0.5790.32.ebuild}  | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)