Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 940599 - dev-lang/ada-bootstrap-0_p2021-r1 fails to compile: gcc: error: unrecognized command line option -fno-diagnostics-color
Summary: dev-lang/ada-bootstrap-0_p2021-r1 fails to compile: gcc: error: unrecognized ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux ADA team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-01 07:49 UTC by Agostino Sarubbo
Modified: 2024-10-01 08:03 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,586.63 KB, text/plain)
2024-10-01 07:49 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-10-01 07:49:47 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-lang/ada-bootstrap-0_p2021-r1 fails to compile.
Discovered on: amd64 (internal ref: ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-10-01 07:49:49 UTC
Created attachment 904535 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-10-01 07:49:49 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


checking whether objcopy supports debuglink... objcopy: /tmp/ls127: cannot fill debug link section `x': No such file or directory
*** This configuration is not supported in the following subdirectories:
gcc: error: unrecognized command line option '-fno-diagnostics-color'
Comment 3 Larry the Git Cow gentoo-dev 2024-10-01 08:03:48 UTC
The bug has been closed via the following commit(s):

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

commit 2b7de2c956266fd4748ccffff8bcdff4db15da66
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-10-01 08:01:32 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-10-01 08:03:10 +0000

    dev-lang/ada-bootstrap: try harder to strip flags
    
    I can't reproduce the failure reported but let's try this.
    
    Closes: https://bugs.gentoo.org/940599
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-lang/ada-bootstrap/ada-bootstrap-0_p2021-r1.ebuild | 2 ++
 1 file changed, 2 insertions(+)