Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 898750 - dev-util/gn-0.2077 fails tests (GCC-13-SYSTEM): span.h:393:12: error: ISO C++ forbids declaration of type name with no type [-fpermissive]
Summary: dev-util/gn-0.2077 fails tests (GCC-13-SYSTEM): span.h:393:12: error: ISO C++...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Chromium Project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: gcc-13
  Show dependency tree
 
Reported: 2023-03-02 09:09 UTC by Agostino Sarubbo
Modified: 2023-04-19 16:43 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,177.32 KB, text/plain)
2023-03-02 09:09 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 2023-03-02 09:09:13 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-util/gn-0.2077 fails tests (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-03-02 09:09:15 UTC
Created attachment 855624 [details]
build.log

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


FAILED: src/gn/resolved_target_deps_unittest.o 
../src/base/containers/span.h:393:12: error: ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive]
Comment 3 Stephan Hartmann (RETIRED) gentoo-dev 2023-04-19 11:12:35 UTC
I fixed it for gn already:
https://gn-review.googlesource.com/c/gn/+/15240
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-19 11:13:42 UTC
(In reply to Stephan Hartmann from comment #3)
> I fixed it for gn already:
> https://gn-review.googlesource.com/c/gn/+/15240

Thanks! Can you pull it in or shall I? I'm currently grabbing all the chromium ones and will do a PR.
Comment 5 Stephan Hartmann (RETIRED) gentoo-dev 2023-04-19 11:18:29 UTC
dev-util/gn-0.2088 is in my devspace. Needs testing and a bump.
Comment 6 Stephan Hartmann (RETIRED) gentoo-dev 2023-04-19 11:57:15 UTC
(In reply to Sam James from comment #4)
> (In reply to Stephan Hartmann from comment #3)
> > I fixed it for gn already:
> > https://gn-review.googlesource.com/c/gn/+/15240
> 
> Thanks! Can you pull it in or shall I? I'm currently grabbing all the
> chromium ones and will do a PR.

chromium-114 should have most patches for GCC 13 already. You have opened the CL already for base::span in chromium. Just fix it up and merge.
Comment 7 Larry the Git Cow gentoo-dev 2023-04-19 16:32:25 UTC
The bug has been referenced in the following commit(s):

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

commit e9206a75ac7a1c2dbceb1e7fe451894687a1d1e4
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2023-04-19 16:21:58 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2023-04-19 16:21:58 +0000

    dev-util/gn: add 0.2088
    
    Bug: https://bugs.gentoo.org/898750
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 dev-util/gn/Manifest         |  1 +
 dev-util/gn/gn-0.2088.ebuild | 64 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)