Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 832372 - dev-lang/ruby-2.6.9: fails to compile
Summary: dev-lang/ruby-2.6.9: fails to compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-30 14:17 UTC by Matthias Coppens
Modified: 2022-05-23 16:45 UTC (History)
1 user (show)

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


Attachments
emerge --info (file_832372.txt,6.81 KB, text/plain)
2022-01-30 14:18 UTC, Matthias Coppens
Details
build.log (build.log,46.00 KB, text/plain)
2022-01-30 14:22 UTC, Matthias Coppens
Details
emerge -pqv (file_832372.txt,167 bytes, text/plain)
2022-01-30 14:32 UTC, Matthias Coppens
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Coppens 2022-01-30 14:17:29 UTC
Compilation of dev-lang/ruby-2.6.9 fails with

compile.c:8493:38: error: expected identifier or '(' before 'char'

Reproducible: Always

Steps to Reproduce:
1. Run world update
2. portage tries to compile dev-lang/ruby:2.6
Actual Results:  
Compilation fails

Expected Results:  
Compilation shouldn't fail
Comment 1 Matthias Coppens 2022-01-30 14:18:18 UTC
Created attachment 763967 [details]
emerge --info
Comment 2 Matthias Coppens 2022-01-30 14:22:29 UTC
Created attachment 763968 [details]
build.log
Comment 3 Matthias Coppens 2022-01-30 14:32:54 UTC
Created attachment 763969 [details]
emerge -pqv
Comment 4 Matthias Coppens 2022-05-23 16:45:54 UTC
This happened due to the CFLAG -w (see https://forums.gentoo.org/viewtopic-t-1134744-start-0.html). Without it, ruby compiles correctly.