Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 929257 - net-analyzer/nagios-plugins-2.4.6 - [clang] configure: error: <wchar.h> cannot be used with this compiler (clang -O3 -pipe -march=native -fno-diagnostics-colo
Summary: net-analyzer/nagios-plugins-2.4.6 - [clang] configure: error: <wchar.h> canno...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Orlitzky
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-13 07:40 UTC by Toralf Förster
Modified: 2024-04-14 14:58 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.67 KB, text/plain)
2024-04-13 07:40 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,121.82 KB, text/plain)
2024-04-13 07:40 UTC, Toralf Förster
Details
environment (environment,37.23 KB, text/plain)
2024-04-13 07:40 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.19 KB, application/x-xz)
2024-04-13 07:40 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,33.94 KB, application/x-xz)
2024-04-13 07:40 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,20.72 KB, application/x-xz)
2024-04-13 07:40 UTC, Toralf Förster
Details
net-analyzer:nagios-plugins-2.4.6:20240413-005119.log (net-analyzer:nagios-plugins-2.4.6:20240413-005119.log,18.36 KB, text/plain)
2024-04-13 07:40 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,204.78 KB, text/plain)
2024-04-13 07:40 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,268.41 KB, application/x-xz)
2024-04-13 07:40 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-04-13 07:40:24 UTC
checking wctype.h presence... yes
checking for wctype.h... yes
checking whether the preprocessor supports include_next... yes
checking whether system header files limit the line length... no
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 (clang -O3 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int ).
This is a known interoperability problem of glibc <= 2.5 with gcc >= 4.3 in
C99 mode. You have four options:

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_llvm-20240411-061503

  -------------------------------------------------------------------

CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 18.1.3+libcxx
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.3+libcxx
Python 3.11.9
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.77.1 *
The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
go version go1.22.2 linux/amd64

  HEAD of ::gentoo
commit 0218134f9a89b2a734b2c5f55f071034a40cfc46
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Apr 12 19:49:09 2024 +0000

    2024-04-12 19:49:09 UTC

emerge -qpvO net-analyzer/nagios-plugins
[ebuild  N    ] net-analyzer/nagios-plugins-2.4.6  USE="ipv6 nagios-dns postgres ssh ssl -ldap -mysql -nagios-game -nagios-ping -radius -samba (-selinux) -snmp"
Comment 1 Toralf Förster gentoo-dev 2024-04-13 07:40:25 UTC
Created attachment 890648 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-04-13 07:40:26 UTC
Created attachment 890649 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-04-13 07:40:27 UTC
Created attachment 890650 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-04-13 07:40:28 UTC
Created attachment 890651 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-04-13 07:40:29 UTC
Created attachment 890652 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-04-13 07:40:30 UTC
Created attachment 890653 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-04-13 07:40:30 UTC
Created attachment 890654 [details]
net-analyzer:nagios-plugins-2.4.6:20240413-005119.log
Comment 8 Toralf Förster gentoo-dev 2024-04-13 07:40:32 UTC
Created attachment 890655 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2024-04-13 07:40:33 UTC
Created attachment 890656 [details]
temp.tar.xz
Comment 10 Michael Orlitzky gentoo-dev 2024-04-14 13:04:14 UTC
I think something got messed up on the tinderbox. The error from config.log is,

configure:22080: clang -c -O3 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int  conftest.c >&5
configure:22083: $? = 0
ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/Scrt1.o is incompatible with elf32-i386

There are two similar reports in bug 929935 and bug 930010.
Comment 11 Toralf Förster gentoo-dev 2024-04-14 14:58:11 UTC
(In reply to Michael Orlitzky from comment #10)
> I think something got messed up on the tinderbox. The error from config.log

Ok, I stopped that image.