Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 671952

Summary: >=app-editors/nano-3.2 with distcc: configure: error: <wchar.h> cannot be used with this compiler
Product: Gentoo Linux Reporter: Thomas Deutschmann (RETIRED) <whissi>
Component: Current packagesAssignee: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Status: RESOLVED WONTFIX    
Severity: normal CC: bensberg
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 671950    
Attachments: build.log

Description Thomas Deutschmann (RETIRED) gentoo-dev 2018-11-26 12:00:51 UTC
Created attachment 556286 [details]
build.log

> checking for alloca... yes
> checking whether <wchar.h> uses 'inline' correctly... no
> configure: error: <wchar.h> cannot be used with this compiler (x86_64-pc-linux-gnu-gcc -O2 -pipe -march=sandybridge -mtune=sandybridge ).
> This is a known interoperability problem of glibc <= 2.5 with gcc >= 4.3 in
> C99 mode. You have four options:
>   - Add the flag -fgnu89-inline to CC and reconfigure, or
>   - Fix your include files, using parts of
>     <https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=b037a293a48718af30d706c2e18c929d0e69a621>, or
>   - Use a gcc version older than 4.3, or
>   - Don't use the flags -std=c99 or -std=gnu99.
> Configuration aborted.
> 
> !!! Please attach the following file when seeking support:
> !!! /var/tmp/portage/app-editors/nano-3.2/work/nano-3.2/config.log
>  * ERROR: app-editors/nano-3.2::gentoo failed (configure phase):
>  *   econf failed
>
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2018-12-08 19:33:41 UTC
See updated tracker bug: This is caused by FEATURES=distcc-pump. Using distcc without pump feature works.
Comment 2 Matt Turner gentoo-dev 2020-03-28 02:41:38 UTC
FEATURES=distcc-pump has been removed from portage.