Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 662390 - sys-apps/man-db-2.8.4 won't configure; complains of wchar.h not using inline correctly
Summary: sys-apps/man-db-2.8.4 won't configure; complains of wchar.h not using inline ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-29 04:01 UTC by Chris Slycord
Modified: 2018-08-01 09:41 UTC (History)
1 user (show)

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


Attachments
config.log (man-db-2.8.4_config.log,219.81 KB, text/plain)
2018-07-29 04:01 UTC, Chris Slycord
Details
config.log (man-db-2.8.4_config.log,219.81 KB, text/plain)
2018-07-29 04:02 UTC, Chris Slycord
Details
build.log (man-db-2.8.4_build.log,16.20 KB, text/plain)
2018-07-29 04:02 UTC, Chris Slycord
Details
emerge --info (man-db-2.8.4_emerge_info,5.62 KB, text/plain)
2018-07-29 04:03 UTC, Chris Slycord
Details
environment (man-db-2.8.4_environment,72.99 KB, text/plain)
2018-07-29 04:03 UTC, Chris Slycord
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Slycord 2018-07-29 04:01:12 UTC
Created attachment 541594 [details]
config.log

checking whether <wchar.h> uses 'inline' correctly... no
configure: error: <wchar.h> cannot be used with this compiler (x86_64-pc-linux-gnu-gcc -march=haswell -mabm -mno-aes -mno-avx2 -mno-avx -mno-bmi2 -mno-bmi -mno-f16c -mno-fma -mno-xsave -mno-xsaveopt -mtune=haswell -O2 -pipe -Wall ).
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 Chris Slycord 2018-07-29 04:02:15 UTC
Created attachment 541596 [details]
config.log
Comment 2 Chris Slycord 2018-07-29 04:02:47 UTC
Created attachment 541598 [details]
build.log
Comment 3 Chris Slycord 2018-07-29 04:03:17 UTC
Created attachment 541600 [details]
emerge --info
Comment 4 Chris Slycord 2018-07-29 04:03:48 UTC
Created attachment 541602 [details]
environment
Comment 5 Chris Slycord 2018-07-29 04:07:04 UTC
Note that the configure output says that this is an interoperability issue between new versions of gcc with glibc <= 2.5, but I currently have sys-libs/glibc-2.27-r5 installed.
Comment 6 Chris Slycord 2018-07-29 09:38:53 UTC
After setting FEATURES="-distcc -distcc-pump" (completely disabling distcc), the package installed perfectly fine. Not sure if this means it should be resolved as invalid.
Comment 7 Chris Slycord 2018-08-01 09:41:58 UTC
Invalid is as good as anything, as distcc issues probably can't be reproduced easily.