Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 847424 - [guru] sci-mathematics/frama-c-24.0 fails to compile: x86_64-pc-linux-gnu-gcc: error: argument to -fmessage-length= should be a non-negative integer
Summary: [guru] sci-mathematics/frama-c-24.0 fails to compile: x86_64-pc-linux-gnu-gcc...
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: François-Xavier Carton
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-25 09:05 UTC by Agostino Sarubbo
Modified: 2022-06-01 11:17 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,111.30 KB, text/plain)
2022-05-25 09:05 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 2022-05-25 09:05:41 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-mathematics/frama-c-24.0 fails to compile.
Discovered on: amd64 (internal ref: guru_ci)
Comment 1 Agostino Sarubbo gentoo-dev 2022-05-25 09:05:43 UTC
Created attachment 780737 [details]
build.log

build log and emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-25 09:27:56 UTC
x86_64-pc-linux-gnu-gcc -fPIC -c -I/usr/lib64/ocaml-O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0-Wall -o src/libraries/utils/c_bindings.o src/libraries/utils/c_bindings.c
mkdir -p /var/tmp/portage/sci-mathematics/frama-c-24.0/work/frama-c-24.0-Chromium/lib/fc
mkdir -p /var/tmp/portage/sci-mathematics/frama-c-24.0/work/frama-c-24.0-Chromium/lib/fc
mkdir -p /var/tmp/portage/sci-mathematics/frama-c-24.0/work/frama-c-24.0-Chromium/lib/fc
x86_64-pc-linux-gnu-gcc: error: argument to ‘-fmessage-length=’ should be a non-negative integer

Weird lack of space after 0! Probably dodgy build system flag munging.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-25 09:28:14 UTC
Oh and ditto with -O2 at the beginning.
Comment 4 François-Xavier Carton 2022-05-31 01:30:58 UTC
Yeah, that's my bad. I've pushed a fix.
Comment 5 Larry the Git Cow gentoo-dev 2022-06-01 11:17:16 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=13b13d22809a890a172790271c6f13449911453a

commit 13b13d22809a890a172790271c6f13449911453a
Author:     François-Xavier Carton <fx.carton91@gmail.com>
AuthorDate: 2022-05-31 01:16:28 +0000
Commit:     François-Xavier Carton <fx.carton91@gmail.com>
CommitDate: 2022-05-31 01:16:28 +0000

    sci-mathematics/frama-c: fix CFLAGS replacement
    
    Closes: https://bugs.gentoo.org/847424
    Signed-off-by: François-Xavier Carton <fx.carton91@gmail.com>

 sci-mathematics/frama-c/frama-c-24.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)