Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 672754 - >=net-misc/wget-1.20 with distcc: configure: error: <wchar.h> cannot be used with this compiler
Summary: >=net-misc/wget-1.20 with distcc: configure: error: <wchar.h> cannot be used ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 671950
  Show dependency tree
 
Reported: 2018-12-08 17:11 UTC by Thomas Deutschmann
Modified: 2019-12-06 08:34 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,10.50 KB, text/plain)
2018-12-08 17:11 UTC, Thomas Deutschmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Deutschmann gentoo-dev Security 2018-12-08 17:11:03 UTC
Created attachment 557334 [details]
build.log

> checking for C/C++ restrict keyword... __restrict
> checking whether <wchar.h> uses 'inline' correctly... no
> configure: error: <wchar.h> cannot be used with this compiler (x86_64-pc-linux-gnu-gcc -DNDEBUG -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.
Comment 1 Thomas Deutschmann gentoo-dev Security 2018-12-08 19:33:53 UTC
See updated tracker bug: This is caused by FEATURES=distcc-pump. Using distcc without pump feature works.
Comment 2 Necktwi Ozfguah 2019-03-21 15:33:22 UTC
not just wget; gzip, libpipeline, sed etc. have the same issue. Its the issue with distcc or pump.
Comment 3 Shawn Landden 2019-03-27 01:44:21 UTC
Distcc main maintainer here. I cannot reproduce this with upstream tar or wget. I do not use pump, and pump is really a hack that can never be supported on arbitrary code.